diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 060b1bb1b..1418edfc1 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -273,4 +273,5 @@ export enum DICT_TYPE { BIND_TYPE = 'bind_type', // 器具绑定类型 CONTAINER_STATUS = 'container_status', // 容器状态 PREDICT_TIME_TYPE = 'predict_time_type', // 预测时间类型 + PACK_UNIT_TYPE = 'pack_unit_type', // 包装规格类型 } diff --git a/src/views/wms/inventoryManage/balance/balance.data.ts b/src/views/wms/inventoryManage/balance/balance.data.ts index 428cd540e..13b27264d 100644 --- a/src/views/wms/inventoryManage/balance/balance.data.ts +++ b/src/views/wms/inventoryManage/balance/balance.data.ts @@ -62,6 +62,33 @@ export const Balance = useCrudSchemas(reactive([ width: 150 }, }, + { + label: '库区类型', + field: 'areaType', + sort: 'custom', + dictType: DICT_TYPE.AREA_TYPE, + dictClass: 'string', + isTable: true, + table: { + width: 150 + }, + }, + { + label: '包装规格', + field: 'packUnit', + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '包装数量', + field: 'packQty', + sort: 'custom', + table: { + width: 150 + }, + }, { label: '库位代码', field: 'locationCode', diff --git a/src/views/wms/inventoryManage/transaction/transaction.data.ts b/src/views/wms/inventoryManage/transaction/transaction.data.ts index cf934cf7a..0e6c6f9da 100644 --- a/src/views/wms/inventoryManage/transaction/transaction.data.ts +++ b/src/views/wms/inventoryManage/transaction/transaction.data.ts @@ -88,6 +88,33 @@ export const Transaction = useCrudSchemas(reactive([ width: 150 }, }, + { + label: '库区类型', + field: 'areaType', + sort: 'custom', + dictType: DICT_TYPE.AREA_TYPE, + dictClass: 'string', + isTable: true, + table: { + width: 150 + }, + }, + { + label: '包装规格', + field: 'packUnit', + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '包装数量', + field: 'packQty', + sort: 'custom', + table: { + width: 150 + }, + }, { label: '单价', field: 'singlePrice',