Commit 60c0d1b1 authored by qinj's avatar qinj

注册传参修改

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