diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index 85e460036..dd1669767 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -768,7 +768,19 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive key: 'available', value: 'TRUE', isMainValue: false - }], + }, { + key: 'workshopCode', + value: 'workshopCode', + message: '请填写车间代码!', + isMainValue: true + }, + // { + // key: 'productionLineCode', + // value: 'productionLineCode', + // message: '请填写生产线代码!', + // isMainValue: true + // } + ], isRepeat: true,//tableForm下方输入框是否可以重复添加该条数据 verificationParams: [{ key: 'code', @@ -793,7 +805,19 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive key: 'available', value: 'TRUE', isMainValue: false - }], + },{ + key: 'workshopCode', + value: 'workshopCode', + message: '请填写车间代码!', + isMainValue: true + }, + // { + // key: 'productionLineCode', + // value: 'productionLineCode', + // message: '请填写生产线代码!', + // isMainValue: true + // } + ], verificationParams: [{ key: 'code', action: '==', diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts index 2c1becb57..e632c9a82 100644 --- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts @@ -777,7 +777,20 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive key: 'available', value: 'TRUE', isMainValue: false - }], + }, + { + key: 'workshopCode', + value: 'workshopCode', + message: '请填写车间代码!', + isMainValue: true + }, + // { + // key: 'productionLineCode', + // value: 'productionLineCode', + // message: '请填写生产线代码!', + // isMainValue: true + // } + ], isRepeat: true,//tableForm下方输入框是否可以重复添加该条数据 verificationParams: [{ key: 'code', @@ -802,7 +815,19 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive key: 'available', value: 'TRUE', isMainValue: false - }], + }, { + key: 'workshopCode', + value: 'workshopCode', + message: '请填写车间代码!', + isMainValue: true + }, + // { + // key: 'productionLineCode', + // value: 'productionLineCode', + // message: '请填写生产线代码!', + // isMainValue: true + // } + ], verificationParams: [{ key: 'code', action: '==', diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts index 20af979d6..fd3e49d1e 100644 --- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts @@ -777,7 +777,20 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive key: 'available', value: 'TRUE', isMainValue: false - }], + }, + { + key: 'workshopCode', + value: 'workshopCode', + message: '请填写车间代码!', + isMainValue: true + }, + // { + // key: 'productionLineCode', + // value: 'productionLineCode', + // message: '请填写生产线代码!', + // isMainValue: true + // } + ], verificationParams: [{ key: 'code', action: '==', @@ -801,7 +814,19 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive key: 'available', value: 'TRUE', isMainValue: false - }], + },{ + key: 'workshopCode', + value: 'workshopCode', + message: '请填写车间代码!', + isMainValue: true + }, + // { + // key: 'productionLineCode', + // value: 'productionLineCode', + // message: '请填写生产线代码!', + // isMainValue: true + // } + ], verificationParams: [{ key: 'code', action: '==',