whj 1 жил өмнө
parent
commit
d479c69988

+ 1 - 0
src/utils/dict.js

@@ -339,6 +339,7 @@ DictCache.TYPE = {
   DRAW_TYPE: 'DRAW_TYPE', // 领料方式
   DRAW_TYPE: 'DRAW_TYPE', // 领料方式
   SUPPLY_TYPE: 'SUPPLY_TYPE', // 供应类型
   SUPPLY_TYPE: 'SUPPLY_TYPE', // 供应类型
   YONG_YOU_DEPT: 'YONG_YOU_DEPT', // 部门
   YONG_YOU_DEPT: 'YONG_YOU_DEPT', // 部门
+  YONG_YOU_DEPT_NEW: 'YONG_YOU_DEPT_NEW',
   LONG_YAN_PURCHASE_BUSINESS_TYPE: 'LONG_YAN_PURCHASE_BUSINESS_TYPE', // 业务类型
   LONG_YAN_PURCHASE_BUSINESS_TYPE: 'LONG_YAN_PURCHASE_BUSINESS_TYPE', // 业务类型
   LONG_YAN_PURCHASE_ORDER_STATUS: 'LONG_YAN_PURCHASE_ORDER_STATUS', // 采购单状态
   LONG_YAN_PURCHASE_ORDER_STATUS: 'LONG_YAN_PURCHASE_ORDER_STATUS', // 采购单状态
   GROUP_TYPE: 'GROUP_TYPE', // 计量单位组类别
   GROUP_TYPE: 'GROUP_TYPE', // 计量单位组类别

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

@@ -380,7 +380,7 @@ 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)
+    this.deptMap = 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)
   },
   },