@@ -195,6 +195,7 @@ DictCache.TYPE = {
/* 盘点模块 */
STORE_CHECK_PLAN_STATUS: 'STORE_CHECK_PLAN_STATUS', // 计划状态,
STORE_CHECK_JOB_STATUS: 'STORE_CHECK_JOB_STATUS', // 任务状态,
+ SB_TRANS_FORM_TYPE: 'SB_TRANS_FORM_TYPE', // 变动类型
WHETHER: {
0: '否',
1: '是'
@@ -64,9 +64,13 @@ export default {
{
title: '操作类型',
dataIndex: 'transformType',
- width: 120
+ width: 120,
+ customRender: (text, record, index) => {
+ return this.actionMap[text]
+ }
}
],
+ actionMap: {},
loadData: parameter => {
parameter = {
...parameter,
@@ -85,6 +89,10 @@ export default {
},
+ created () {
+ this.actionMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SB_TRANS_FORM_TYPE)
+ console.log(this.actionMap)
+ },
methods: {
base (record) {
this.visible = true