|
@@ -139,6 +139,33 @@ export default {
|
|
|
return this.unitMap[text]
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '成本默认计量单位编码',
|
|
|
+ checked: true,
|
|
|
+ width: '100px',
|
|
|
+ dataIndex: 'caComUnitCode',
|
|
|
+ customRender: (text) => {
|
|
|
+ return this.unitMap[text]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '计划方法',
|
|
|
+ checked: true,
|
|
|
+ width: '100px',
|
|
|
+ dataIndex: 'planMethod',
|
|
|
+ customRender: (text) => {
|
|
|
+ return this.planMap[text]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '供需政策',
|
|
|
+ checked: true,
|
|
|
+ width: '100px',
|
|
|
+ dataIndex: 'srpolicy',
|
|
|
+ customRender: (text) => {
|
|
|
+ return this.policyMap[text]
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
title: '备注',
|
|
|
checked: true,
|
|
@@ -205,6 +232,8 @@ export default {
|
|
|
// 下拉框map
|
|
|
this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.ADD_SPARE_STATUS)
|
|
|
this.unitMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SPARE_ADD_UNIT)
|
|
|
+ this.policyMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.CSR_POLICY)
|
|
|
+ this.planMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.PLAN_METHOD)
|
|
|
// this.tableOption()
|
|
|
},
|
|
|
methods: {
|