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' } ],