Commit 8b5f0ebd authored by qinj's avatar qinj

审批多选下拉显示

parent 2e3fb366
...@@ -392,9 +392,18 @@ export default { ...@@ -392,9 +392,18 @@ export default {
} }
if (this.formData.ExtProcessNode_SDK == 2) { if (this.formData.ExtProcessNode_SDK == 2) {
this.formData.extChannelType_SDK = '' this.formData.extChannelType_SDK = ''
if(!this.formData.extLockRsp_SDK){
this.formData.ExtLockRsp_SDK =[]
}else{
this.formData.ExtLockRsp_SDK = this.formData.ExtLockRsp_SDK.split(',') this.formData.ExtLockRsp_SDK = this.formData.ExtLockRsp_SDK.split(',')
}
if(!this.formData.ExtLockCity_SDK){
this.formData.ExtLockCity_SDK = []
}else{
this.formData.ExtLockCity_SDK = this.formData.ExtLockCity_SDK.split(',') this.formData.ExtLockCity_SDK = this.formData.ExtLockCity_SDK.split(',')
} }
}
lockRsp({ extProvince_SDK: resp.results[0].ExtProvince_SDK }).then((resp) => { lockRsp({ extProvince_SDK: resp.results[0].ExtProvince_SDK }).then((resp) => {
this.province = resp.results this.province = resp.results
}) })
......
...@@ -365,8 +365,13 @@ export default { ...@@ -365,8 +365,13 @@ export default {
} }
} }
if (this.formData.ExtProcessNode_SDK == 2) { if (this.formData.ExtProcessNode_SDK == 2) {
if(!this.formData.ExtLockCity_SDK){
this.formData.ExtLockCity_SDK = []
}else{
this.formData.ExtLockCity_SDK = this.formData.ExtLockCity_SDK.split(',') this.formData.ExtLockCity_SDK = this.formData.ExtLockCity_SDK.split(',')
} }
}
const app = { provinceCode: resp.results[0].ExtProvince_SDK } const app = { provinceCode: resp.results[0].ExtProvince_SDK }
this.$request(Country.searchCity, app).then((resp) => { this.$request(Country.searchCity, app).then((resp) => {
this.province = resp.results this.province = resp.results
......
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