Browse Source

业务类型

hella_online_20241030
zhaoxuebing 4 weeks ago
parent
commit
611fe3c4fd
  1. 95
      src/views/wms/inventoryManage/balanceChangeHistory/balanceChangeHistory.data.ts

95
src/views/wms/inventoryManage/balanceChangeHistory/balanceChangeHistory.data.ts

@ -7,109 +7,157 @@ export const BalanceChangeHistoryRules = reactive({
export const BalanceChangeHistory = useCrudSchemas(reactive<CrudSchema[]>([ export const BalanceChangeHistory = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '变更前_物料代码', label: '前-物料代码',
field: 'beforeItemCode', field: 'beforeItemCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 180
},
}, },
{ {
label: '变更前_批次', label: '前-批次',
field: 'beforeBatch', field: 'beforeBatch',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 180
},
}, },
{ {
label: '变更前_包装号', label: '前-包装号',
field: 'beforePackingNumber', field: 'beforePackingNumber',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 220
},
}, },
{ {
label: '变更前_库存状态', label: '前-库存状态',
field: 'beforeInventoryStatus', field: 'beforeInventoryStatus',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 180
},
form: { form: {
component: 'Radio' component: 'Radio'
}, },
}, },
{ {
label: '变更前_库位代码', label: '前-库位代码',
field: 'beforeLocationCode', field: 'beforeLocationCode',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
isSearch: true, isSearch: true,
}, },
{ {
label: '变更前_数量', label: '前-数量',
field: 'beforeQty', field: 'beforeQty',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
isSearch: true, isSearch: true,
}, },
{ {
label: '变更前_事务号', label: '前-事务号',
field: 'beforeTransNumber', field: 'beforeTransNumber',
sort: 'custom', sort: 'custom',
table: {
width: 220
},
isSearch: true, isSearch: true,
}, },
{ {
label: '变更前_id', label: '前-ID',
field: 'beforeId', field: 'beforeId',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
table: {
width: 180
},
form: { form: {
component: 'InputNumber', component: 'InputNumber',
value: 0 value: 0
}, },
}, },
{ {
label: '变更后_物料代码', label: '后-物料代码',
field: 'afterItemCode', field: 'afterItemCode',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
isSearch: true, isSearch: true,
}, },
{ {
label: '变更后_批次', label: '后-批次',
field: 'afterBatch', field: 'afterBatch',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
isSearch: true, isSearch: true,
}, },
{ {
label: '变更后_包装号', label: '后-包装号',
field: 'afterPackingNumber', field: 'afterPackingNumber',
sort: 'custom', sort: 'custom',
table: {
width: 220
},
isSearch: true, isSearch: true,
}, },
{ {
label: '变更后_库存状态', label: '后-库存状态',
field: 'afterInventoryStatus', field: 'afterInventoryStatus',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
isSearch: true, isSearch: true,
form: { form: {
component: 'Radio' component: 'Radio'
}, },
}, },
{ {
label: '变更后_库位代码', label: '后-库位代码',
field: 'afterLocationCode', field: 'afterLocationCode',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
isSearch: true, isSearch: true,
}, },
{ {
label: '变更后_数量', label: '后-数量',
field: 'afterQty', field: 'afterQty',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
isSearch: true, isSearch: true,
}, },
{ {
label: '变更后_事务号', label: '后-事务号',
field: 'afterTransNumber', field: 'afterTransNumber',
sort: 'custom', sort: 'custom',
table: {
width: 220
},
isSearch: true, isSearch: true,
}, },
{ {
label: '变更前_id', label: '后-ID',
field: 'afterId', field: 'afterId',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
isSearch: true, isSearch: true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
@ -119,12 +167,18 @@ export const BalanceChangeHistory = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
table: {
width: 180
},
sort: 'custom', sort: 'custom',
}, },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
table: {
width: 180
},
formatter: dateFormatter, formatter: dateFormatter,
isSearch: true, isSearch: true,
search: { search: {
@ -137,13 +191,4 @@ export const BalanceChangeHistory = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false, isForm: false,
}, },
// {
// label: '操作',
// field: 'action',
// isForm: false,
// table: {
// width: 150,
// fixed: 'right'
// }
// }
])) ]))

Loading…
Cancel
Save