Browse Source

盘点修改

master_hella_20240701
zhaoxuebing 6 months ago
parent
commit
3c5f69c54f
  1. 7
      src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts

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

@ -76,7 +76,7 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '物料忽略名单', label: '物料选择名单',
field: 'ignoreListOfItem', field: 'ignoreListOfItem',
sort: 'custom', sort: 'custom',
table: { table: {
@ -86,7 +86,7 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
multiple:true,//是否可以多选 multiple:true,//是否可以多选
searchListPlaceholder: '请选择物料忽略名单', // 输入框占位文本 searchListPlaceholder: '请选择物料选择名单', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物料信息', // 查询弹窗标题 searchTitle: '物料信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
@ -477,6 +477,9 @@ export const CountPlanMainRules = reactive({
type: [ type: [
{ required: true, message: '请选择盘点类型', trigger: 'change' } { required: true, message: '请选择盘点类型', trigger: 'change' }
], ],
ignoreListOfItem: [
{ required: true, message: '请选物料选择名单', trigger: 'change' }
],
crontab: [ crontab: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],

Loading…
Cancel
Save