Browse Source

品番拉动修改页面

intex
叶佳兴 3 days ago
parent
commit
39dcae8276
  1. 42
      src/views/wms/basicDataManage/itemPull/itemPull.data.ts

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

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

Loading…
Cancel
Save