Browse Source

库存余额字段顺序调整

master
李胜楠 1 year ago
parent
commit
1b684828ac
  1. 70
      src/views/wms/inventoryManage/balance/balance.data.ts

70
src/views/wms/inventoryManage/balance/balance.data.ts

@ -5,6 +5,23 @@ import { dateFormatter } from '@/utils/formatTime'
* @returns {Array} * @returns {Array}
*/ */
export const Balance = useCrudSchemas(reactive<CrudSchema[]>([ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '物料代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '批次',
field: 'batch',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{ {
label: '包装号', label: '包装号',
field: 'packingNumber', field: 'packingNumber',
@ -24,21 +41,34 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
}, },
{ {
label: '物料代码', label: '数量',
field: 'itemCode', field: 'qty',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
form: {
component: 'InputNumber',
}
}, },
{ {
label: '批次', label: '计量单位',
field: 'batch', field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
}, },
{ {
label: '替代批次', label: '替代批次',
@ -116,14 +146,6 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '库位组代码', label: '库位组代码',
field: 'locationGroupCode', field: 'locationGroupCode',
@ -167,28 +189,6 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{ {
label: '锁定数量', label: '锁定数量',
field: 'lockedQty', field: 'lockedQty',

Loading…
Cancel
Save