bug
This commit is contained in:
parent
285616700b
commit
d51d2d3bb3
@ -179,7 +179,7 @@
|
|||||||
<span style="float: left">
|
<span style="float: left">
|
||||||
<dict-tag :options="dict.type.payment_channel" :value="item.merchantName"/>
|
<dict-tag :options="dict.type.payment_channel" :value="item.merchantName"/>
|
||||||
</span>
|
</span>
|
||||||
<span style="color: #00ff80">(111({{ item.remark ? item.remark : "--" }}))</span>
|
<span style="color: #00ff80">({{ item.remark ? item.remark : "--" }})</span>
|
||||||
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.mchntCd }}</span>
|
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.mchntCd }}</span>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -400,7 +400,7 @@ export default {
|
|||||||
submitOilConfig(){
|
submitOilConfig(){
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.form.storeId = this.merchantConfig.storeId
|
this.form.storeId = this.id
|
||||||
if (this.form.id) {
|
if (this.form.id) {
|
||||||
editOilConfig(this.form).then(response => {
|
editOilConfig(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("修改通道成功");
|
this.$modal.msgSuccess("修改通道成功");
|
||||||
@ -410,13 +410,13 @@ export default {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
addOilConfig(this.form).then( response => {
|
addOilConfig(this.form).then( response => {
|
||||||
if (response.data==0){
|
if (response.data==1){
|
||||||
this.$modal.msgError("已存在当前通道商户号的规则");
|
|
||||||
}else {
|
|
||||||
this.$modal.msgSuccess("新增通道成功");
|
this.$modal.msgSuccess("新增通道成功");
|
||||||
this.getList();
|
this.getList();
|
||||||
this.dialogFormVisible = false;
|
this.dialogFormVisible = false;
|
||||||
this.isDis = false;
|
this.isDis = false;
|
||||||
|
}else {
|
||||||
|
this.$modal.msgError("已存在当前通道商户号的规则");
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user