lilei 8 月之前
父節點
當前提交
952fd395c3

+ 5 - 0
src/views/salesManagement/salesQueryNew/comps/productList.vue

@@ -452,6 +452,11 @@ export default {
   watch: {
     salesBillSn (newValue, oldValue) {
       this.resetSearchForm()
+    },
+    spinning (a, b) {
+      if (a) {
+        this.$emit('spinning', a)
+      }
     }
   },
   methods: {

+ 7 - 0
src/views/salesManagement/salesQueryNew/comps/productNormalList.vue

@@ -291,6 +291,13 @@ export default {
       showStockCol: false // 是否显示第三方库存
     }
   },
+  watch: {
+    spinning (a, b) {
+      if (a) {
+        this.$emit('spinning', a)
+      }
+    }
+  },
   computed: {
     // 已选产品数量
     selectTotal () {

+ 2 - 0
src/views/salesManagement/salesQueryNew/edit.vue

@@ -37,6 +37,7 @@
           <productNormalList
             ref="productNormalList"
             @insterOk="insterActiveOk"
+            @spinning="e=>spinning=e"
             @openCpModal="openProductModal"
             @allThreeStock="searchAllThreeStock"
             :showTotal="showTotal"
@@ -70,6 +71,7 @@
             :id="item.promoRuleSn"
             @openCpModal="openProductModal"
             @insterOk="insterActiveOk"
+            @spinning="e=>spinning=e"
             @showDesc="v => showDescOk(v,item)"
             @upActive="upActive"
             :promo="item"