Commit 42821955 authored by 吴春's avatar 吴春

修改门店联系人名称

parent 4ddb1541
...@@ -54,7 +54,12 @@ ...@@ -54,7 +54,12 @@
<el-input class='w200' v-model='updateMsg.CustomerName'></el-input> <el-input class='w200' v-model='updateMsg.CustomerName'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="18"> <el-col :span="6">
<el-form-item label="门店名称:">
<el-input class='w200' v-model='updateMsg.Contact'></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20" style='margin-top:13px;'> <el-row :gutter="20" style='margin-top:13px;'>
...@@ -330,6 +335,7 @@ ...@@ -330,6 +335,7 @@
Address:'', Address:'',
Country:2, Country:2,
Province:0, Province:0,
Contact:'',
City:0, City:0,
District:0, District:0,
HousePhotos:[], HousePhotos:[],
...@@ -338,7 +344,9 @@ ...@@ -338,7 +344,9 @@
}, },
rules:{ rules:{
contactName:[ contactName:[
{ required: true, message: '请输入姓名', trigger: 'blur' } { required: true, message: '请输入门店名称', trigger: 'blur' }
],Contact:[
{ required: true, message: '请输入联系人名称', trigger: 'blur' }
], ],
contactDuty:[ contactDuty:[
{ required: true, message: '请选择职务', trigger: 'change' } { required: true, message: '请选择职务', trigger: 'change' }
...@@ -438,7 +446,8 @@ ...@@ -438,7 +446,8 @@
this.customerInfo.address=this.customerInfo.address this.customerInfo.address=this.customerInfo.address
} }
this.contact=res.data.data.contact this.contact=res.data.data.contact
this.updateMsg.CustomerName=x.customerName this.updateMsg.CustomerName=x.customerName
this.updateMsg.Contact=x.Contact
this.updateMsg.CustomerId=x.customerId this.updateMsg.CustomerId=x.customerId
this.updateMsg.Address=x.address this.updateMsg.Address=x.address
this.updateMsg.Province=x.province this.updateMsg.Province=x.province
......
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