Browse Source

库位类型隐藏 补全库区类型字典

master_hella_20240701
陈薪名 9 months ago
parent
commit
b3d3286364
  1. 3
      src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts
  2. 30
      src/views/wms/basicDataManage/factoryModeling/location/location.data.ts

3
src/views/wms/basicDataManage/factoryModeling/areabasic/areabasic.data.ts

@ -225,4 +225,7 @@ export const AreaRules = reactive({
available: [
{ required: true, message: '请选择是否可用', trigger: 'change' }
],
type: [
{ required: true, message: '请选择类型', trigger: 'change' }
],
})

30
src/views/wms/basicDataManage/factoryModeling/location/location.data.ts

@ -130,18 +130,18 @@ export const Location = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
}
},
{
label: '类型',
field: 'type',
dictType: DICT_TYPE.LOCATION_TYPE,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
// {
// label: '类型',
// field: 'type',
// dictType: DICT_TYPE.LOCATION_TYPE,
// dictClass: 'string',
// isSearch: true,
// isTable: true,
// sort: 'custom',
// table: {
// width: 150
// },
// },
{
label: '巷道',
field: 'aisle',
@ -396,9 +396,9 @@ export const LocationRules = reactive({
erpLocationCode: [
{ required: true, message: '请选择ERP库位类型', trigger: 'change' }
],
type: [
{ required: true, message: '请选择类型', trigger: 'change' }
],
// type: [
// { required: true, message: '请选择类型', trigger: 'change' }
// ],
pickPriority: [
{ required: true, message: '请输入拣料优先级', trigger: 'blur' }
],

Loading…
Cancel
Save