|
@@ -94,6 +94,22 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+ <a-col :sm="20" >
|
|
|
+ <a-form-item
|
|
|
+ label="业务类型"
|
|
|
+ :labelCol="BaseTool.Constant.labelCol"
|
|
|
+ :wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
+ >
|
|
|
+ <a-select v-decorator="['cbustype', {rules: [{required: true, message: '业务类型不能为空'}]}]" placeholder="请选择">
|
|
|
+ <a-select-option
|
|
|
+ v-for="(label,value) in cbustypeMap"
|
|
|
+ :key="value"
|
|
|
+ :label="label"
|
|
|
+ :value="parseInt(value)">{{ label }}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
<a-col :sm="20" >
|
|
|
<a-form-item
|
|
|
label="项目"
|
|
@@ -263,6 +279,7 @@ export default {
|
|
|
infoNum: 0,
|
|
|
cptcodeMap: {},
|
|
|
deptMap: {},
|
|
|
+ cbustypeMap: {},
|
|
|
confirmLoading: false
|
|
|
}
|
|
|
},
|
|
@@ -272,7 +289,7 @@ export default {
|
|
|
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.deptMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YONG_YOU_DEPT)
|
|
|
-
|
|
|
+ this.cbustypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_BUSINESS_TYPE)
|
|
|
this.setTree(1)
|
|
|
},
|
|
|
methods: {
|