Commit be83acaa by zhangxw

出入库记录订单类型字段修改

1 parent 0ae12d5f
...@@ -30,7 +30,7 @@ import { getInventoryTransactionRecordsPage } from '@api/stockManage' ...@@ -30,7 +30,7 @@ import { getInventoryTransactionRecordsPage } from '@api/stockManage'
import { Util, deepClone } from '@/common/util' import { Util, deepClone } from '@/common/util'
import { mapState, mapActions } from 'vuex' import { mapState, mapActions } from 'vuex'
import { baseConfig } from '@/main' import { baseConfig } from '@/main'
import dayjs from "dayjs" import { upgradeFlags } from '@/common/constants.js'
export default { export default {
name: 'TransferShipment', name: 'TransferShipment',
data() { data() {
...@@ -163,8 +163,11 @@ export default { ...@@ -163,8 +163,11 @@ export default {
}, },
{ {
label: '订单类型', label: '订单类型',
prop: 'orderType', prop: 'upgradeFlag',
width: 130 width: 130,
formatter: (cellValue) => {
return this.baseData.upgradeFlags.find(item => item.confId == cellValue.upgradeFlag)?.confValue || '-'
}
}, },
{ {
label: '出入库仓库', label: '出入库仓库',
...@@ -211,7 +214,8 @@ export default { ...@@ -211,7 +214,8 @@ export default {
}, { }, {
confId: '205', confId: '205',
confLabel: '自采入库' confLabel: '自采入库'
}] }],
upgradeFlags: upgradeFlags
}, },
paramsObj: {} paramsObj: {}
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!