From 8e934624716853283e73310e80d324eea1c133b6 Mon Sep 17 00:00:00 2001 From: bjang03 <259278618@qq.com> Date: Wed, 3 Jul 2024 17:24:12 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E7=9B=98=E7=82=B9=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BB=BB=E5=8A=A1=E6=8B=86=E5=88=86=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/countPlanMain/index.ts | 1 + src/utils/dict.ts | 1 + .../count/countPlanMain/countPlanMain.data.ts | 17 +++++++++++++++++ 3 files changed, 19 insertions(+) diff --git a/src/api/wms/countPlanMain/index.ts b/src/api/wms/countPlanMain/index.ts index 69cc8d502..e292f6d42 100644 --- a/src/api/wms/countPlanMain/index.ts +++ b/src/api/wms/countPlanMain/index.ts @@ -8,6 +8,7 @@ export interface CountPlanMainVO { ignoreListOfItem: string ignoreListOfLocation: string scopeList: string + countSplitType: string number: string businessType: string remark: string diff --git a/src/utils/dict.ts b/src/utils/dict.ts index d7a5442ae..c94fbd934 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -224,6 +224,7 @@ export enum DICT_TYPE { REQEUST_MODE = 'reqeust_mode', // 申请模式 TIME_UNIT = 'time_unit', // 时间单位 COUNT_TYPE = 'count_type', // 盘点类型 + COUNT_SPLIT_TYPE = 'count_split_type', // 盘点拆分方式 COUNT_SCOPE_TYPE = 'count_scope_type', // 盘点范围类型 BARCODE_PREFIX = 'barcode_prefix', // 条码前缀 SETTLEMENT_TYPE = 'settlement_type', // 结算类型 diff --git a/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts b/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts index 124281f36..c7a00e435 100644 --- a/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts +++ b/src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts @@ -48,6 +48,20 @@ export const CountPlanMain = useCrudSchemas(reactive([ }, isSearch: true }, + { + label: '任务拆分方式', + field: 'countSplitType', + dictType: DICT_TYPE.COUNT_SPLIT_TYPE, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + form: { + value:'LOCATION_CODE', + } + }, { label: '',//执行周期 field: 'crontab', @@ -506,6 +520,9 @@ export const CountPlanMainRules = reactive({ type: [ { required: true, message: '请选择盘点类型', trigger: 'change' } ], + countSplitType: [ + { required: true, message: '请选择任务拆分方式', trigger: 'change' } + ], crontab: [ { required: false, message: '请填写执行周期', trigger: ['change','blur'] },{ max: 50, message: '不得超过50个字符', trigger: 'blur' } ],