Browse Source

缺陷:HL-6412询证函开发

hella_online_20241121
zhaoxuebing 2 weeks ago
parent
commit
bc657a91ad
  1. 4
      src/views/wms/supplierManage/supplierApbalanceCalendar/index.vue
  2. 12
      src/views/wms/supplierManage/supplierApbalanceCalendar/supplierApbalanceCalendar.data.ts

4
src/views/wms/supplierManage/supplierApbalanceCalendar/index.vue

@ -182,10 +182,6 @@ const openForm = (type: string, row?: any) => {
// form // form
const formsSuccess = async (formType,data) => { const formsSuccess = async (formType,data) => {
if(endDay.value<beginDay.value){
message.error('结束日期不能小于开始日期')
return;
}
var isHave =SupplierApbalanceCalendar.allSchemas.formSchema.some(function (item) { var isHave =SupplierApbalanceCalendar.allSchemas.formSchema.some(function (item) {
return item.field === 'activeTime' || item.field === 'expireTime'; return item.field === 'activeTime' || item.field === 'expireTime';
}); });

12
src/views/wms/supplierManage/supplierApbalanceCalendar/supplierApbalanceCalendar.data.ts

@ -38,7 +38,7 @@ export const SupplierApbalanceCalendar = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '开始日期', label: '日期',
field: 'beginDay', field: 'beginDay',
sort: 'custom', sort: 'custom',
}, },
@ -47,11 +47,11 @@ export const SupplierApbalanceCalendar = useCrudSchemas(reactive<CrudSchema[]>([
// field: 'endMonth', // field: 'endMonth',
// sort: 'custom', // sort: 'custom',
// }, // },
{ // {
label: '结束日期', // label: '结束日期',
field: 'endDay', // field: 'endDay',
sort: 'custom', // sort: 'custom',
}, // },
{ {
label: '描述', label: '描述',
field: 'descriiption', field: 'descriiption',

Loading…
Cancel
Save