whj 1 year ago
parent
commit
b7578d64eb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/purchase/purchase-order-page/modules/BaseForm.vue

+ 2 - 1
src/views/purchase/purchase-order-page/modules/BaseForm.vue

@@ -105,7 +105,7 @@
                   v-for="(label,value) in cbustypeMap"
                   :key="value"
                   :label="label"
-                  :value="parseInt(value)">{{ label }}
+                  :value="value">{{ label }}
                 </a-select-option>
               </a-select>
             </a-form-item>
@@ -290,6 +290,7 @@ export default {
     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)
+    console.log(this.cbustypeMap)
     this.setTree(1)
   },
   methods: {