Explorar el Código

Merge branch 'develop_yh54' of jianguan-web/qpls-md-html into pre-release

刘俊俊 hace 3 meses
padre
commit
bb1e237aac

+ 1 - 1
src/views/promotionManagement/subsidizedProducts/editModal.vue

@@ -67,7 +67,7 @@ export default {
       subsidizedProductEdit({ subsidyAmount: _this.subsidyAmount, productSns: _this.itemSn }).then(res => {
         if (res.status == 200) {
           if (res.data) {
-            this.getErrorInfo(res.data)
+            _this.getErrorInfo(res.data)
           } else {
             _this.$message.success(res.message)
             _this.$emit('ok')

+ 2 - 1
src/views/promotionManagement/subsidizedProducts/list.vue

@@ -239,13 +239,14 @@ export default {
     },
     // 报错弹窗
     getErrorInfo (infoTip) {
+      const _this = this
       this.$info({
         title: '提示',
         content: infoTip,
         centered: true,
         onOk () {
           console.log('我知道了')
-          this.clearChooseData()
+          _this.clearChooseData()
         }
       })
     },