@ -240,6 +240,14 @@ export const UnplannedissueJobMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
{
label: '目的地',
field: 'destination',
sort: 'custom',
table: {
label: '过期时间',
field: 'expiredTime',
@ -277,6 +277,14 @@ export const UnplannedissueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '从仓库代码',
field: 'fromWarehouseCode',
@ -478,6 +478,9 @@ const submitForm = async (formType, submitData) => {
if(data.masterId){
data.id = data.masterId
}
if(!data.destination){
message.error("未填写目的地,是否保存申请?")
data.subList = tableData.value // 拼接子表数据参数
try {
if (formType === 'create') {
@ -336,6 +336,14 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '申请时间',
field: 'requestTime',