Browse Source

物料库区配置表中隐藏与上架策略中重复的属性及最下面的列表

hella_online_20240829
王宇飞 6 months ago
parent
commit
4121b52619
  1. 310
      src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts

310
src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts

@ -458,161 +458,161 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false isTable: false
}, },
{ // {
label: '优先空库位', // label: '优先空库位',
field: 'emptyLocationFirst', // field: 'emptyLocationFirst',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
form: { // form: {
component: 'Switch', // component: 'Switch',
value: 'TRUE', // value: 'TRUE',
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
} // }
}, // },
}, // },
{ // {
label: '优先非空库位', // label: '优先非空库位',
field: 'notEmptyLocationFirst', // field: 'notEmptyLocationFirst',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
form: { // form: {
component: 'Switch', // component: 'Switch',
value: 'FALSE', // value: 'FALSE',
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled: true // disabled: true
} // }
}, // },
}, // },
{ // {
label: '可以混批次', // label: '可以混批次',
field: 'enableMixLot', // field: 'enableMixLot',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
form: { // form: {
component: 'Switch', // component: 'Switch',
value: 'TRUE', // value: 'TRUE',
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE' // activeValue: 'TRUE'
} // }
}, // },
}, // },
{ // {
label: '可以混物品', // label: '可以混物品',
field: 'enableMixItem', // field: 'enableMixItem',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
form: { // form: {
component: 'Switch', // component: 'Switch',
value: 'FALSE', // value: 'FALSE',
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE' // activeValue: 'TRUE'
} // }
}, // },
}, // },
{ // {
label: '可以混状态', // label: '可以混状态',
field: 'enableMixStatus', // field: 'enableMixStatus',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
form: { // form: {
component: 'Switch', // component: 'Switch',
value: 'TRUE', // value: 'TRUE',
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE' // activeValue: 'TRUE'
} // }
}, // },
}, // },
{ // {
label: '巷道排序方向', // label: '巷道排序方向',
field: 'aisleOrder', // field: 'aisleOrder',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.BATCH_DIRECTION, // dictType: DICT_TYPE.BATCH_DIRECTION,
dictClass: 'string', // dictClass: 'string',
// colorType: 'danger', // // colorType: 'danger',
isTable: true, // isTable: true,
form: { // form: {
component: 'Select', // component: 'Select',
value: 'ASC', // value: 'ASC',
componentProps: { // componentProps: {
inactiveValue: 'DESC', // inactiveValue: 'DESC',
activeValue: 'ASC' // activeValue: 'ASC'
} // }
}, // },
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ // {
label: '货架排序方向', // label: '货架排序方向',
field: 'sheIfOrder', // field: 'sheIfOrder',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.BATCH_DIRECTION, // dictType: DICT_TYPE.BATCH_DIRECTION,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
form: { // form: {
component: 'Select', // component: 'Select',
value: 'ASC', // value: 'ASC',
componentProps: { // componentProps: {
inactiveValue: 'DESC', // inactiveValue: 'DESC',
activeValue: 'ASC' // activeValue: 'ASC'
} // }
}, // },
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ // {
label: '行排序方向', // label: '行排序方向',
field: 'rowOrder', // field: 'rowOrder',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.BATCH_DIRECTION, // dictType: DICT_TYPE.BATCH_DIRECTION,
dictClass: 'string', // dictClass: 'string',
// colorType: 'danger', // // colorType: 'danger',
isTable: true, // isTable: true,
form: { // form: {
component: 'Select', // component: 'Select',
value: 'ASC', // value: 'ASC',
componentProps: { // componentProps: {
inactiveValue: 'DESC', // inactiveValue: 'DESC',
activeValue: 'ASC' // activeValue: 'ASC'
} // }
}, // },
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ // {
label: '列排序方向', // label: '列排序方向',
field: 'columOrder', // field: 'columOrder',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.BATCH_DIRECTION, // dictType: DICT_TYPE.BATCH_DIRECTION,
dictClass: 'string', // dictClass: 'string',
// colorType: 'danger', // // colorType: 'danger',
isTable: true, // isTable: true,
form: { // form: {
component: 'Select', // component: 'Select',
value: 'ASC', // value: 'ASC',
componentProps: { // componentProps: {
inactiveValue: 'DESC', // inactiveValue: 'DESC',
activeValue: 'ASC' // activeValue: 'ASC'
} // }
}, // },
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ {
label: '生效时间', label: '生效时间',
field: 'activeTime', field: 'activeTime',

Loading…
Cancel
Save