14384 集团单位看不见 应该看见的相关方

2024年3月12日AIBOX&ALARM
liujun 2024-03-01 21:32:22 +08:00
parent 29c6388668
commit 96df5a95e4
1 changed files with 7 additions and 2 deletions

View File

@ -475,6 +475,11 @@ export default {
}
).then((data) => {
this.form = Object.assign(this.form, data.pd)
if (this.form.CORP_TYPE.indexOf('[') > -1) {
this.form.CORP_TYPE = JSON.parse(this.form.CORP_TYPE)
} else {
this.form.CORP_TYPE = [this.form.CORP_TYPE]
}
var sz = this.form.SELECT_FORM
var cdi = this.form.COMPETENT_DEPT_ID
var mdi = this.form.MANAGER_DEPARTMENT_ID
@ -493,10 +498,10 @@ export default {
if (data.pd.CITY != '') this.form.POSSESSION.push(data.pd.CITY)
if (data.pd.COUNTY != '') this.form.POSSESSION.push(data.pd.COUNTY)
if (data.pd.VILLAGE != '') this.form.POSSESSION.push(data.pd.VILLAGE)
this.form.CORP_TYPE = JSON.parse(this.form.CORP_TYPE)
this.AUDIT_STATE = this.form.STATE
resolve()
}).catch((e) => {
console.log(e)
this.$message({
message: '操作失败',
type: 'error'
@ -551,7 +556,7 @@ export default {
if (this.form.MANAGER_DEPARTMENT_ID) {
this.form.MANAGER_DEPARTMENT_ID = this.form.MANAGER_DEPARTMENT_ID.join(',')
}
this.form.CORP_TYPE = JSON.stringrelevantunitsify(this.form.CORP_TYPE)
this.form.CORP_TYPE = JSON.stringify(this.form.CORP_TYPE)
requestFN(
'/xgf/corp/editCorpInfo',
this.form