Browse Source

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

intex
叶佳兴 4 days ago
parent
commit
1f9eece122
  1. 40
      src/views/wms/basicDataManage/itemPull/itemPull.data.ts

40
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(
@ -27,7 +29,7 @@ export const ItemPull = useCrudSchemas(
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
multiple: false, multiple: true,
enterSearch: true, enterSearch: true,
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择ERP默认收货库位', // 输入框占位文本 searchListPlaceholder: '请选择ERP默认收货库位', // 输入框占位文本
@ -72,11 +74,6 @@ export const ItemPull = useCrudSchemas(
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
},
{
key: 'defaultErpLocationCode',
value: 'defaultErpLocationCode',
isMainValue: true
} }
], ],
verificationParams: [ verificationParams: [
@ -186,18 +183,25 @@ export const ItemPull = useCrudSchemas(
width: 120 width: 120
} }
}, },
{ {
label: '拉动方式', label: '拉动方式',
field: 'pullType', field: 'pullTypeList',
sort: 'custom', dictType: DICT_TYPE.PULL_TYPE,
dictType: DICT_TYPE.PULL_TYPE, dictClass: 'string',
dictClass: 'string', // dictAllOption:true,// 全选按钮
isSearch: true, // dictAllValue:'全选',
isTable: true, isTable: true,
table: { sort: 'custom',
width: 120 table: {
} width: 180
}, },
form: {
component:'Select',
componentProps: {
multiple: true,
},
}
},
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',

Loading…
Cancel
Save