Commit cc970603 authored by Smile's avatar Smile Committed by wux

bug164:复制“未发布”/“已启用”的记录,不修改任何数据,不应该提交成功

parent f36bf981
...@@ -344,6 +344,7 @@ export default { ...@@ -344,6 +344,7 @@ export default {
let params = deepClone(this.queryParams) let params = deepClone(this.queryParams)
params.status = null params.status = null
params.enableDate = null params.enableDate = null
params.ruleNumber = null
addNewMemberLevel(params).then((res) => { addNewMemberLevel(params).then((res) => {
this.$message.success(this.$t("保存成功")) this.$message.success(this.$t("保存成功"))
this.$router.go(-1) this.$router.go(-1)
...@@ -371,6 +372,7 @@ export default { ...@@ -371,6 +372,7 @@ export default {
if (valid) { if (valid) {
let params = deepClone(this.queryParams) let params = deepClone(this.queryParams)
params.status = "1" params.status = "1"
params.ruleNumber = null
addNewMemberLevel(params).then((res) => { addNewMemberLevel(params).then((res) => {
this.$message.success(this.$t("保存成功")) this.$message.success(this.$t("保存成功"))
this.$router.go(-1) this.$router.go(-1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment