whj 1 năm trước cách đây
mục cha
commit
8f6af91723

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

@@ -291,7 +291,6 @@ export default {
       typeMap: {},
       ipqcMap: [],
       flagMap: {},
-      tokenType: 1,
       model: {},
       sbId: null,
       rows: [],
@@ -306,7 +305,6 @@ export default {
       cbustypeMap: {},
       confirmLoading: false,
       oldOrNew: null
-
     }
   },
 
@@ -317,7 +315,6 @@ export default {
     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.soMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SO_TYPE)
-    this.setTree(1)
   },
   methods: {
     disabledDate (current) {
@@ -414,6 +411,7 @@ export default {
       })
     },
     handleSpareStoreSelect () {
+      console.log(this.oldOrNew)
       this.$refs.spareStoreSelectModal.base({ tokenType: this.oldOrNew })
     },
     handleBomSpareStoreSelect () {