Przeglądaj źródła

Merge branch 'develop_cuxiao' of http://git.chelingzhu.com/jianguan-web/jg-ocs-html into develop_cuxiao

chenrui 1 rok temu
rodzic
commit
d49c775625
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/views/salesManagement/salesQueryNew/edit.vue

+ 3 - 3
src/views/salesManagement/salesQueryNew/edit.vue

@@ -371,19 +371,19 @@ export default {
       }).then(res => {
         if(res.status == 200){
           const mlist = []
-          const nt = this.$refs['productList-'+promo[1]][0]
-          const ot = this.$refs['productList-'+oldPromo.promoRuleSn][0]
-          const pnt = this.$refs.productNormalList
           this.spinning = true
           // 刷新新参与活动
           if(data != 0){
+            const nt = this.$refs['productList-'+promo[1]][0]
             nt&&nt.resetSearchForm()
             mlist.push(nt)
           }
           // 刷新正常活动
+          const pnt = this.$refs.productNormalList
           pnt&&pnt.resetSearchForm()
           mlist.push(pnt)
           // 刷新当前活动
+          const ot = this.$refs['productList-'+oldPromo.promoRuleSn][0]
           ot&&ot.upAcitveSuccess()
           mlist.push(ot)