Commit c63edc8d authored by Mac's avatar Mac

1

parent 90414718
...@@ -1051,7 +1051,7 @@ ...@@ -1051,7 +1051,7 @@
<el-form label-width="100px"> <el-form label-width="100px">
<el-form-item :label="$t('fnc.zhuanjiaoren')"> <el-form-item :label="$t('fnc.zhuanjiaoren')">
<el-select v-model="zhuanMsg.AuditEmId" filterable remote reserve-keyword <el-select v-model="zhuanMsg.AuditEmId" filterable remote reserve-keyword
:placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethod" @change="$forceUpdate()" :placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethod" @change="$forceUpdate(),choicereciveN(zhuanMsg.AuditEmId)"
:loading="loading2"> :loading="loading2">
<el-option v-for="item in searchList" :key="item.Id" :label="item.EmployeeName" :value="item.Id"> <el-option v-for="item in searchList" :key="item.Id" :label="item.EmployeeName" :value="item.Id">
<span style="float: left">{{ item.EmployeeName }}</span> <span style="float: left">{{ item.EmployeeName }}</span>
...@@ -1127,7 +1127,7 @@ ...@@ -1127,7 +1127,7 @@
<el-form label-width="100px"> <el-form label-width="100px">
<el-form-item label="制单人转交:"> <el-form-item label="制单人转交:">
<el-select v-model="zhuanjiaoMsg.CreateBy" filterable remote reserve-keyword <el-select v-model="zhuanjiaoMsg.CreateBy" filterable remote reserve-keyword
:placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethodEx" @change="$forceUpdate()"> :placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethodEx" @change="$forceUpdate(),choicereciveN2(zhuanjiaoMsg.CreateBy)">
<el-option v-for="item in searchList" :key="item.empId" :label="item.name" :value="item.empId"> <el-option v-for="item in searchList" :key="item.empId" :label="item.name" :value="item.empId">
<span style="float: left">{{ item.name }}</span> <span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.postName }}</span> <span style="float: right; color: #8492a6; font-size: 13px">{{ item.postName }}</span>
...@@ -1840,6 +1840,24 @@ ...@@ -1840,6 +1840,24 @@
this.loading2 = false; this.loading2 = false;
} }
}, },
choicereciveN(Id){
if(this.searchList.length>0){
this.searchList.forEach(x=>{
if(x.Id==Id){
this.zhuanMsg.AuditEmIdName = x.EmployeeName
}
})
}
},
choicereciveN2(Id){
if(this.searchList.length>0){
this.searchList.forEach(x=>{
if(x.Id==Id){
this.zhuanjiaoMsg.AuditEmIdName = x.EmployeeName
}
})
}
},
closeChangeMachie(done) { // 转交窗口关闭 closeChangeMachie(done) { // 转交窗口关闭
this.BOSSDialogText = false; this.BOSSDialogText = false;
done(); done();
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
</el-col> </el-col>
<el-col :span="12" :offset="1"> <el-col :span="12" :offset="1">
<el-form-item label="受委托人:"> <el-form-item label="受委托人:">
<el-select v-model='addMsg.reciveEmpId' filterable remote reserve-keyword placeholder="请输入关键词" :remote-method="remoteMethod" :loading="loading"> <el-select v-model='addMsg.reciveEmpId' filterable remote reserve-keyword placeholder="请输入关键词" :remote-method="remoteMethod" :loading="loading" @change="choicereciveN(addMsg.reciveEmpId)">
<el-option v-for='item in searchList' <el-option v-for='item in searchList'
:label='item.EmployeeName' :label='item.EmployeeName'
:value='item.Id' :value='item.Id'
...@@ -283,6 +283,15 @@ export default { ...@@ -283,6 +283,15 @@ export default {
}) })
} }
},
choicereciveN(Id){
if(this.searchList.length>0){
this.searchList.forEach(x=>{
if(x.Id==Id){
this.addMsg.AuditEmIdName = x.EmployeeName
}
})
}
} }
}, },
mounted(){ mounted(){
......
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