Browse Source

库存余额字段顺序调整

master
李胜楠 12 months 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}
*/
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: '包装号',
field: 'packingNumber',
@ -24,21 +41,34 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
},
{
label: '物料代码',
field: 'itemCode',
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '批次',
field: 'batch',
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '替代批次',
@ -116,14 +146,6 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位组代码',
field: 'locationGroupCode',
@ -167,28 +189,6 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
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: '锁定数量',
field: 'lockedQty',

Loading…
Cancel
Save