Commit 32ffa065 authored by qinj's avatar qinj

注册修改

parent ccd71ab8
...@@ -435,15 +435,15 @@ export default { ...@@ -435,15 +435,15 @@ export default {
handleApprove(){ handleApprove(){
this.$refs.formData.validate((valid) => { this.$refs.formData.validate((valid) => {
if (valid) { if (valid) {
this.aOptions.forEach(el=>{ // this.aOptions.forEach(el=>{
this.formData.ExtProvinceName_SDK=el[this.formData.extProvince_SDK] // this.formData.ExtProvinceName_SDK=el[this.formData.extProvince_SDK]
}) // })
this.bOptions.forEach(el=>{ // this.bOptions.forEach(el=>{
this.formData.extCityName_SDK=el[this.formData.extCity_SDK] // this.formData.extCityName_SDK=el[this.formData.extCity_SDK]
}) // })
this.cOptions.forEach(el=>{ // this.cOptions.forEach(el=>{
this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK] // 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) => {
......
...@@ -518,15 +518,15 @@ export default { ...@@ -518,15 +518,15 @@ export default {
handleApprove(){ handleApprove(){
this.$refs.formData.validate((valid) => { this.$refs.formData.validate((valid) => {
if (valid) { if (valid) {
this.aOptions.forEach(el=>{ // this.aOptions.forEach(el=>{
this.formData.ExtProvinceName_SDK=el[this.formData.extProvince_SDK] // this.formData.ExtProvinceName_SDK=el[this.formData.extProvince_SDK]
}) // })
this.bOptions.forEach(el=>{ // this.bOptions.forEach(el=>{
this.formData.extCityName_SDK=el[this.formData.extCity_SDK] // this.formData.extCityName_SDK=el[this.formData.extCity_SDK]
}) // })
this.cOptions.forEach(el=>{ // this.cOptions.forEach(el=>{
this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK] // this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
}) // })
this.formData.ExtCustomerType_SDK=101 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) => {
......
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