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