lichao 3 éve
szülő
commit
8cfee7c4cf
3 módosított fájl, 14 hozzáadás és 0 törlés
  1. 3 0
      src/page/index/tags.vue
  2. 1 0
      src/store/getters.js
  3. 10 0
      src/store/modules/ifdetail.js

+ 3 - 0
src/page/index/tags.vue

@@ -347,6 +347,9 @@ export default {
         if (tag.label == "进项发票") {
           this.$store.commit("INCOME_OUT_DETAIL");
         }
+        if (tag.label == "采购订单(N)") {
+          this.$store.commit("DOMCG_OUT_DETAIL");
+        }
         this.$store.commit("DEL_TAG", tag);
         if (tag.value === this.tag.value) {
           tag = this.tagList[key === 0 ? key : key - 1]; //如果关闭本标签让前推一个

+ 1 - 0
src/store/getters.js

@@ -39,6 +39,7 @@ const getters = {
   settleStatus: state => state.ifdetail.settleStatus,
   domSaleStatus: state => state.ifdetail.domSaleStatus,
   domStockDetail: state => state.ifdetail.domStockDetail,
+  domPurStatus: state => state.ifdetail.domPurStatus,
   outputStatus: state => state.ifdetail.outputStatus,
   incomeStatus: state => state.ifdetail.incomeStatus,
 }

+ 10 - 0
src/store/modules/ifdetail.js

@@ -13,6 +13,7 @@ const ifdetail = {
     settleStatus:false,//结算明细
     domSaleStatus: false, // 内贸销售
     domStockDetail: false, // 国内库存账
+    domPurStatus: false, // 内贸采购
     outputStatus:false,//销项发票
     incomeStatus:false,//进项发票
   },
@@ -127,6 +128,12 @@ const ifdetail = {
     DOMKC_OUT_DETAIL(state) {
       state.domStockDetail = false;
     },
+    DOMCG_IN_DETAIL(state) {
+      state.domPurStatus = true;
+    },
+    DOMCG_OUT_DETAIL(state) {
+      state.domPurStatus = false;
+    },
     //财务销项发票
     OUTPUT_IN_DETAIL(state) {
       state.outputStatus = true;
@@ -188,6 +195,9 @@ const ifdetail = {
       if (tag.label == '销售订单(N)') {
         state.domSaleStatus = true
       }
+      if (tag.label == '采购订单(N)') {
+        state.domPurStatus = true
+      }
       if (tag.label == '锁定订单明细') {
         state.domStockDetail = true
       }