|
@@ -127,6 +127,22 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</row-item>
|
|
|
+ <row-item >
|
|
|
+ <a-form-item
|
|
|
+ label="需求跟踪方式"
|
|
|
+ :labelCol="BaseTool.Constant.labelCol"
|
|
|
+ :wrapperCol="BaseTool.Constant.wrapperCol"
|
|
|
+ >
|
|
|
+ <a-select v-decorator="['cestIrequireTrackStyle', {rules: [{required: true, message: '需求跟踪方式不能为空'}]}]" placeholder="请选择">
|
|
|
+ <a-select-option
|
|
|
+ v-for="(label,value) in soMap"
|
|
|
+ :key="value"
|
|
|
+ :label="label"
|
|
|
+ :value="parseInt(value)">{{ label }}
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </row-item>
|
|
|
<row-item>
|
|
|
<a-form-item
|
|
|
label="备注"
|
|
@@ -163,7 +179,8 @@ export default {
|
|
|
deptMap: {},
|
|
|
unitMap: {},
|
|
|
policyMap: {},
|
|
|
- planMap: {}
|
|
|
+ planMap: {},
|
|
|
+ soMap: {}
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
@@ -171,6 +188,7 @@ export default {
|
|
|
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.soMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SO_TYPE)
|
|
|
getInventoryTree().then(res => {
|
|
|
// 循环获取样式
|
|
|
this.treeData = res.data
|