Commit 60c0d1b1 authored by qinj's avatar qinj

注册传参修改

parent 4835c646
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
<el-select v-model="formData.ExtLockCity_SDK" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据"> <el-select v-model="formData.ExtLockCity_SDK" style="width: 91%" multiple filterable placeholder="请选择" no-match-text="无匹配数据">
<el-option <el-option
v-for="item in province" v-for="item in province"
:key="item.AccountID" :key="item.Code"
:label="item.Name" :label="item.Name"
:value="item.ExtSocialUnifiedCreditCode_SDK" :value="item.Code"
/> />
</el-select> </el-select>
</template> </template>
......
...@@ -433,6 +433,15 @@ export default { ...@@ -433,6 +433,15 @@ export default {
}) })
}, },
handleApprove(){ handleApprove(){
this.aOptions.forEach(el=>{
this.formData.ExtProvinceName_SDK=el[this.formData.extProvince_SDK]
})
this.bOptions.forEach(el=>{
this.formData.extCityName_SDK=el[this.formData.extCity_SDK]
})
this.cOptions.forEach(el=>{
this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
})
this.formData.ExtCustomerType_SDK=111 this.formData.ExtCustomerType_SDK=111
// this.loading=true // this.loading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => { this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
......
...@@ -524,8 +524,16 @@ export default { ...@@ -524,8 +524,16 @@ export default {
// return false; // return false;
// } // }
// }); // });
this.aOptions.forEach(el=>{
this.formData. ExtCustomerType_SDK=101 this.formData.ExtProvinceName_SDK=el[this.formData.extProvince_SDK]
})
this.bOptions.forEach(el=>{
this.formData.extCityName_SDK=el[this.formData.extCity_SDK]
})
this.cOptions.forEach(el=>{
this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
})
this.formData.ExtCustomerType_SDK=101
// this.loading=true // this.loading=true
this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => { this.$request(Customer.searchUrl,this.paramsToFormData(this.formData)).then((resp) => {
// this.loading=false // this.loading=false
......
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