|
@@ -100,7 +100,7 @@
|
|
>
|
|
>
|
|
<a-select v-decorator="['cdepcode', {rules: [{required: true, message: '申请部门不能为空'}]}]" placeholder="请选择">
|
|
<a-select v-decorator="['cdepcode', {rules: [{required: true, message: '申请部门不能为空'}]}]" placeholder="请选择">
|
|
<a-select-option
|
|
<a-select-option
|
|
- v-for="(label,value) in deptMap"
|
|
|
|
|
|
+ v-for="(label,value) in oldOrNew===2?deptMap:deptNewMap"
|
|
:key="value"
|
|
:key="value"
|
|
:label="label"
|
|
:label="label"
|
|
:value="value">{{ label }}
|
|
:value="value">{{ label }}
|
|
@@ -368,6 +368,7 @@ export default {
|
|
infoNum: 0,
|
|
infoNum: 0,
|
|
cptcodeMap: {},
|
|
cptcodeMap: {},
|
|
deptMap: {},
|
|
deptMap: {},
|
|
|
|
+ deptNewMap: {},
|
|
soMap: {},
|
|
soMap: {},
|
|
date: false,
|
|
date: false,
|
|
cbustypeMap: {},
|
|
cbustypeMap: {},
|
|
@@ -380,7 +381,8 @@ export default {
|
|
this.flagMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.PROJECT_NEW_AND_OLD)
|
|
this.flagMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.PROJECT_NEW_AND_OLD)
|
|
this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_TYPE)
|
|
this.typeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_TYPE)
|
|
this.cptcodeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_ORDER_PLAN_TYPE)
|
|
this.cptcodeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_ORDER_PLAN_TYPE)
|
|
- this.deptMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YONG_YOU_DEPT_NEW)
|
|
|
|
|
|
+ this.deptMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YONG_YOU_DEPT)
|
|
|
|
+ this.deptNewMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YONG_YOU_DEPT_NEW)
|
|
this.cbustypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_BUSINESS_TYPE)
|
|
this.cbustypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_BUSINESS_TYPE)
|
|
this.soMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SO_TYPE)
|
|
this.soMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SO_TYPE)
|
|
},
|
|
},
|