我司署名人回显

This commit is contained in:
宋伟佳
2022-03-28 09:45:55 +08:00
parent 4c0a0b2a77
commit 0c6589eea9
@@ -790,7 +790,7 @@
></el-input>
</el-form-item>
<el-form-item v-show="form.standInData === '0'" label="我司署名人" prop="wssmr" class="add-form-item form-item-disabled">
<el-input v-model="form.wssmr" placeholder="选择我司署名人" @click.native="choiceWSSMR('wssmr', '选择我司署名人', form.wssmrId)">
<el-input v-model="form.wssmr" placeholder="选择我司署名人" @click.native="choiceWSSMR('wssmr', '选择我司署名人', form.wssmr)">
</el-input>
<!-- <el-select :popper-append-to-body="false" v-model="form.wssmr" placeholder="请选择我司署名人" multiple>-->
<!-- <el-option-->
@@ -2530,7 +2530,18 @@ export default {
},
choiceWSSMR(type, title, id) {
this.nodeList3 = []
this.nodeList.push(id)
if(id){
let nameId = id.split(',')
let idList = []
nameId.forEach(item => {
let a, b
a = item.substring(item.indexOf('(') +1)
b = a.substring(0, a.lastIndexOf(')'))
idList.push(b)
})
idList = idList.join(',')
this.nodeList3.push(idList)
}
this.userType = type
this.drawerTitle = title
this.modalShowRoleFlag5 = true