This commit is contained in:
cun-nan 2024-01-29 09:13:11 +08:00
parent 285616700b
commit d51d2d3bb3

View File

@ -179,7 +179,7 @@
<span style="float: left">
<dict-tag :options="dict.type.payment_channel" :value="item.merchantName"/>
</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>
</el-option>
</el-select>
@ -400,7 +400,7 @@ export default {
submitOilConfig(){
this.$refs["form"].validate(valid => {
if (valid) {
this.form.storeId = this.merchantConfig.storeId
this.form.storeId = this.id
if (this.form.id) {
editOilConfig(this.form).then(response => {
this.$modal.msgSuccess("修改通道成功");
@ -410,13 +410,13 @@ export default {
});
} else {
addOilConfig(this.form).then( response => {
if (response.data==0){
this.$modal.msgError("已存在当前通道商户号的规则");
}else {
if (response.data==1){
this.$modal.msgSuccess("新增通道成功");
this.getList();
this.dialogFormVisible = false;
this.isDis = false;
}else {
this.$modal.msgError("已存在当前通道商户号的规则");
}
})
}