Commit 39733a68 by 王昆

gsb

parent c3007dba
...@@ -94,6 +94,7 @@ class ChannelCtl extends CtlBase { ...@@ -94,6 +94,7 @@ class ChannelCtl extends CtlBase {
obj.origin_merchant_id = offlinecompany.id; obj.origin_merchant_id = offlinecompany.id;
} }
} }
obj.channel_id = Number(obj.channel_id || 0);
return await this.service.merchantSave(obj); return await this.service.merchantSave(obj);
} catch (e) { } catch (e) {
console.log(e); console.log(e);
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<div style="width: 862px; height: 1px;background-color: #E3E3E3;margin: 17px 20px 0px -20px"></div> <div style="width: 862px; height: 1px;background-color: #E3E3E3;margin: 17px 20px 0px -20px"></div>
</div> </div>
<el-form :model="dkcompany" :rules="rules" ref="dkcompany" label-width="150px" label="right" style="padding:0px 100px;" > <el-form :model="dkcompany" :rules="rules" ref="dkcompany" label-width="150px" label="right" style="padding:0px 100px;" >
<div style="0px 10px; line-height: 15px;padding-bottom:40px;"> <div style="line-height: 15px;padding-bottom:40px;">
<div style="width:2px;height:15px;float: left;background-color: #54C4A7"> <div style="width:2px;height:15px;float: left;background-color: #54C4A7">
</div> </div>
<span style="font-size:15px;color: #333333;float: left;font-weight:bold;margin-left: 7px;">渠道信息</span> <span style="font-size:15px;color: #333333;float: left;font-weight:bold;margin-left: 7px;">渠道信息</span>
......
...@@ -32,10 +32,6 @@ ...@@ -32,10 +32,6 @@
merchant_name: '' merchant_name: ''
}, },
rules: { rules: {
channel_id : [
{ required: true, message: '请选择渠道名称', trigger: 'blur' },
{ validator: validMethod, trigger: 'blur' }
],
origin_id : [ origin_id : [
{ required: true, message: '请选择商户来源', trigger: 'blur' }, { required: true, message: '请选择商户来源', trigger: 'blur' },
{ validator: validMethod, trigger: 'blur' } { validator: validMethod, trigger: 'blur' }
......
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