Browse Source

提成修改

qymljy 1 year ago
parent
commit
663a9fbe82

+ 10 - 1
src/HDrpManagement/ProductMag/modules/components/addScheme.vue

@@ -166,7 +166,16 @@ export default {
         })
       })
     },
-    onClose(){}
+    onClose(){
+      this.form = {
+        "action": "0",//0 新增 1 更新
+        "categories": "",//商品大类
+        "categoriesreward": []
+      }
+      this.list = []
+      this.dialogVisible = false
+      this.$emit('addSuccess')
+    }
   },
   created() {
     this.tablecols = this.tool.tabelCol(this.$route.name).commissionSet.tablecols

+ 10 - 1
src/HDrpManagement/ProductMag/modules/components/editScheme.vue

@@ -175,7 +175,16 @@ export default {
         })
       })
     },
-    onClose(){}
+    onClose(){
+      this.form = {
+        "action": "1",//0 新增 1 更新
+        "categories": "",//商品大类
+        "categoriesreward": []
+      }
+      this.list = []
+      this.dialogVisible = false
+      this.$emit('editSuccess')
+    }
   },
   created() {
     this.tablecols = this.tool.tabelCol(this.$route.name).commissionSet.tablecols