Commit 96185c5a by 张权

删除参数

1 parent 3903df1f
...@@ -362,7 +362,11 @@ export default { ...@@ -362,7 +362,11 @@ export default {
openCostPrice : this.costPrice ? 1 : 0, openCostPrice : this.costPrice ? 1 : 0,
createDetailRequests: params createDetailRequests: params
} }
if(this.showGh) delete targetParams.createDetailRequests if(this.showGh){
delete targetParams.createDetailRequests
}else{
delete targetParams.openCostPrice
}
if (this.add == true) { if (this.add == true) {
targetParams.merchantIds = this.merchantIds, targetParams.merchantIds = this.merchantIds,
this.$apis.openconfig.addConfig(targetParams).then(res => { this.$apis.openconfig.addConfig(targetParams).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!