chenrui 8 miesięcy temu
rodzic
commit
1fa16f859c

+ 5 - 5
src/views/easyPassManagement/promotionalActivities/edit.vue

@@ -442,10 +442,10 @@ export default {
     async handleDiscountType (val) {
       this.form.discountType = val
       this.resultValue = undefined
-      const res = await clearByPromoSn({ promoSn: this.$route.params.sn })
-      if (res.status == '200') {
-        this.$refs.chooseProductList.pageInit()
-      }
+      // const res = await clearByPromoSn({ promoSn: this.$route.params.sn })
+      // if (res.status == '200') {
+      //   this.$refs.chooseProductList.pageInit()
+      // }
     },
     // 添加产品成功
     addProductSuccess (list) {
@@ -455,7 +455,7 @@ export default {
           shopProductSn: item.shopProductSn,
           productSn: item.productSn,
           productCode: item.productCode,
-          productPrice:item.shopProductPrice
+          productPrice: item.shopProductPrice
         }
       })
       saveChooseProduct(productArr).then(res => {