|
|
@ -131,12 +131,56 @@ const { tableObject, tableMethods } = useTable({ |
|
|
|
/** |
|
|
|
* DeliverRequestMain 成品发货申请 |
|
|
|
*/ |
|
|
|
DeliverRequestMain.allSchemas.formSchema.forEach(item => { |
|
|
|
if (item.field == 'dueTime') { |
|
|
|
item.label = '截止时间' |
|
|
|
} |
|
|
|
}) |
|
|
|
DeliverRequestMain.allSchemas.tableColumns.forEach(item => { |
|
|
|
if (item.field == 'dueTime') { |
|
|
|
item.label = '截止时间' |
|
|
|
} |
|
|
|
}) |
|
|
|
DeliverRequestMain.allSchemas.detailSchema.forEach(item => { |
|
|
|
if (item.field == 'dueTime') { |
|
|
|
item.label = '截止时间' |
|
|
|
} |
|
|
|
}) |
|
|
|
DeliverRequestMain.allSchemas.searchSchema.forEach(item => { |
|
|
|
if (item.field == 'dueTime') { |
|
|
|
item.label = '截止时间' |
|
|
|
} |
|
|
|
}) |
|
|
|
DeliverRequestMainRules.dueTime[0].required = false |
|
|
|
DeliverRequestMainRules.dueTime[0].message = '截止时间不能为空' |
|
|
|
if ( routeName.value == 'DeliverRequestMain') { |
|
|
|
tableObject.params = { |
|
|
|
businessType: 'Deliver' |
|
|
|
} |
|
|
|
businessType.value = 'Deliver' |
|
|
|
importFileName.value = '成品发货申请' |
|
|
|
DeliverRequestMain.allSchemas.formSchema.forEach(item => { |
|
|
|
if (item.field == 'dueTime') { |
|
|
|
item.label = '发货日期' |
|
|
|
} |
|
|
|
}) |
|
|
|
DeliverRequestMain.allSchemas.tableColumns.forEach(item => { |
|
|
|
if (item.field == 'dueTime') { |
|
|
|
item.label = '发货日期' |
|
|
|
} |
|
|
|
}) |
|
|
|
DeliverRequestMain.allSchemas.detailSchema.forEach(item => { |
|
|
|
if (item.field == 'dueTime') { |
|
|
|
item.label = '发货日期' |
|
|
|
} |
|
|
|
}) |
|
|
|
DeliverRequestMain.allSchemas.searchSchema.forEach(item => { |
|
|
|
if (item.field == 'dueTime') { |
|
|
|
item.label = '发货日期' |
|
|
|
} |
|
|
|
}) |
|
|
|
DeliverRequestMainRules.dueTime[0].required = true |
|
|
|
DeliverRequestMainRules.dueTime[0].message = '发货日期不能为空' |
|
|
|
} else if ( routeName.value == 'ZZBJDeliverRequestMain') { |
|
|
|
tableObject.params = { |
|
|
|
businessType: 'ZZBJDeliver' |
|
|
|