소스 검색

提成修改

qymljy 1 년 전
부모
커밋
663a9fbe82
2개의 변경된 파일20개의 추가작업 그리고 2개의 파일을 삭제
  1. 10 1
      src/HDrpManagement/ProductMag/modules/components/addScheme.vue
  2. 10 1
      src/HDrpManagement/ProductMag/modules/components/editScheme.vue

+ 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