@ -182,10 +182,6 @@ const openForm = (type: string, row?: any) => {
// form表单提交
const formsSuccess = async (formType,data) => {
if(endDay.value<beginDay.value){
message.error('结束日期不能小于开始日期')
return;
}
var isHave =SupplierApbalanceCalendar.allSchemas.formSchema.some(function (item) {
return item.field === 'activeTime' || item.field === 'expireTime';
});
@ -38,7 +38,7 @@ export const SupplierApbalanceCalendar = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '开始日期',
label: '日期',
field: 'beginDay',
sort: 'custom',
@ -47,11 +47,11 @@ export const SupplierApbalanceCalendar = useCrudSchemas(reactive<CrudSchema[]>([
// field: 'endMonth',
// sort: 'custom',
// },
label: '结束日期',
field: 'endDay',
// {
// label: '结束日期',
// field: 'endDay',
label: '描述',
field: 'descriiption',