Преглед на файлове

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

刘俊俊 преди 3 месеца
родител
ревизия
bb1e237aac
променени са 2 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 1 1
      src/views/promotionManagement/subsidizedProducts/editModal.vue
  2. 2 1
      src/views/promotionManagement/subsidizedProducts/list.vue

+ 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()
         }
       })
     },