Browse Source

【品番拉动配置表】中拉动方式改为多选,进入消耗表的条件变更

intex_online20250725
叶佳兴 4 days ago
parent
commit
88539ebf9c
  1. 48
      src/views/wms/basicDataManage/itemPull/itemPull.data.ts

48
src/views/wms/basicDataManage/itemPull/itemPull.data.ts

@ -11,7 +11,9 @@ import { Area } from '@/views/wms/basicDataManage/factoryModeling/areabasic/area
export const ItemPullRules = reactive({ export const ItemPullRules = reactive({
defaultErpLocationCode: [required], defaultErpLocationCode: [required],
replenishType: [required], replenishType: [required],
pullType: [required] pullTypeList: [
{ required: true, message: '请选择拉动方式', trigger: 'change' }
],
}) })
export const ItemPull = useCrudSchemas( export const ItemPull = useCrudSchemas(
@ -181,18 +183,40 @@ export const ItemPull = useCrudSchemas(
width: 120 width: 120
} }
}, },
{ // {
label: '拉动方式', // label: '拉动方式',
field: 'pullType', // field: 'pullType',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.PULL_TYPE, // dictType: DICT_TYPE.PULL_TYPE,
dictClass: 'string', // dictClass: 'string',
isSearch: true, // isSearch: true,
isTable: true, // isTable: true,
table: { // multiple: true,
width: 120 // table: {
} // width: 120,
// }
// },
{
label: '拉动方式',
field: 'pullTypeList',
dictType: DICT_TYPE.PULL_TYPE,
dictClass: 'string',
// dictAllOption:true,// 全选按钮
// dictAllValue:'全选',
isTable: true,
sort: 'custom',
table: {
width: 180
}, },
form: {
component:'Select',
componentProps: {
multiple: true,
},
}
},
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',

Loading…
Cancel
Save