From aae6f315bd40bb13dd6a54f0db11d6ff79e36e4a Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Wed, 27 Nov 2024 16:58:56 +0800 Subject: [PATCH] =?UTF-8?q?YT-1319=E3=80=81YT-1320=E8=A1=A5=E7=BB=99?= =?UTF-8?q?=E5=93=81=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92=E3=80=81=E5=8F=B7?= =?UTF-8?q?=E5=8F=A3=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92=E3=80=81=E8=A1=A5?= =?UTF-8?q?=E7=BB=99=E5=93=81=E6=94=B6=E8=B4=A7=E3=80=81=E5=8F=B7=E5=8F=A3?= =?UTF-8?q?=E5=93=81=E6=94=B6=E8=B4=A7=EF=BC=8C=E5=8E=BB=E6=8E=89=E7=8F=AD?= =?UTF-8?q?=E6=AC=A1=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionMain/productionMain.data.ts | 66 +++++++++---------- .../productionMainAssemble.data.ts | 66 +++++++++---------- .../productreceiptRequestMain.data.ts | 6 +- .../productreceiptAssembleRequestMain.data.ts | 6 +- 4 files changed, 72 insertions(+), 72 deletions(-) diff --git a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts index dc2f86c04..76e26ea30 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts @@ -199,39 +199,39 @@ export const ProductionMain = useCrudSchemas(reactive([ } } }, - // { - // label: '班次', - // field: 'shift', - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // // labelMessage: '信息提示说明!!!', - // componentProps: { - // enterSearch: true, - // isSearchList: true, - // searchListPlaceholder: '请选择班次', - // searchField: 'code', - // searchTitle: '班次信息', - // searchAllSchemas: Shift.allSchemas, - // searchPage: ShiftApi.getShiftPage, - // searchCondition:[{ - // key: 'available', - // value: 'TRUE', - // isMainValue: false - // }], - // verificationParams: [{ - // key: 'code', - // action: '==', - // value: '', - // isMainValue: false, - // isSearch: true, - // isFormModel: true, - // }], // 失去焦点校验参数 - // } - // } - // }, + { + label: '班次', + field: 'shift', + sort: 'custom', + table: { + width: 150 + }, + form: { + // labelMessage: '信息提示说明!!!', + componentProps: { + enterSearch: true, + isSearchList: true, + searchListPlaceholder: '请选择班次', + searchField: 'code', + searchTitle: '班次信息', + searchAllSchemas: Shift.allSchemas, + searchPage: ShiftApi.getShiftPage, + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 + } + } + }, // { // label: '物料代码', // field: 'detailItemCode', diff --git a/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts b/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts index c901d1e5f..7b43f9b8d 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts @@ -198,39 +198,39 @@ export const ProductionMain = useCrudSchemas(reactive([ } } }, - // { - // label: '班次', - // field: 'shift', - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // // labelMessage: '信息提示说明!!!', - // componentProps: { - // enterSearch: true, - // isSearchList: true, - // searchListPlaceholder: '请选择班次', - // searchField: 'code', - // searchTitle: '班次信息', - // searchAllSchemas: Shift.allSchemas, - // searchPage: ShiftApi.getShiftPage, - // searchCondition:[{ - // key: 'available', - // value: 'TRUE', - // isMainValue: false - // }], - // verificationParams: [{ - // key: 'code', - // action: '==', - // value: '', - // isMainValue: false, - // isSearch: true, - // isFormModel: true, - // }], // 失去焦点校验参数 - // } - // } - // }, + { + label: '班次', + field: 'shift', + sort: 'custom', + table: { + width: 150 + }, + form: { + // labelMessage: '信息提示说明!!!', + componentProps: { + enterSearch: true, + isSearchList: true, + searchListPlaceholder: '请选择班次', + searchField: 'code', + searchTitle: '班次信息', + searchAllSchemas: Shift.allSchemas, + searchPage: ShiftApi.getShiftPage, + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }], + verificationParams: [{ + key: 'code', + action: '==', + value: '', + isMainValue: false, + isSearch: true, + isFormModel: true, + }], // 失去焦点校验参数 + } + } + }, // { // label: '物料代码', // field: 'detailItemCode', diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index 156ffb314..d55e555f8 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -611,9 +611,9 @@ export const ProductreceiptRequestMainRules = reactive({ // team: [ // { required: true, message: '请选择班组代码', trigger: 'change' } // ], - shift: [ - { required: true, message: '请选择班次代码', trigger: 'change' } - ], + // shift: [ + // { required: true, message: '请选择班次代码', trigger: 'change' } + // ], // departmentCode: [ // { required: true, message: '请输入部门', trigger: 'blur' } // ], diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts index ca3098848..71beecd5b 100644 --- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/productreceiptAssembleRequestMain.data.ts @@ -617,9 +617,9 @@ export const ProductreceiptRequestMainRules = reactive({ // team: [ // { required: true, message: '请选择班组代码', trigger: 'change' } // ], - shift: [ - { required: true, message: '请选择班次代码', trigger: 'change' } - ], + // shift: [ + // { required: true, message: '请选择班次代码', trigger: 'change' } + // ], // departmentCode: [ // { required: true, message: '请输入部门', trigger: 'blur' } // ],