Browse Source

1、盘点申请增加任务拆分方式字段

hella_online_20240829
bjang03 4 months ago
parent
commit
8e93462471
  1. 1
      src/api/wms/countPlanMain/index.ts
  2. 1
      src/utils/dict.ts
  3. 17
      src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts

1
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

1
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', // 结算类型

17
src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts

@ -48,6 +48,20 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
},
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' }
],

Loading…
Cancel
Save