Commit 8646fb1e authored by liudong1993's avatar liudong1993

员工单据交接

parent bb11b252
......@@ -892,9 +892,9 @@
<el-form-item label="制单人转交:">
<el-select v-model="zhuanjiaoMsg.CreateBy" filterable remote reserve-keyword
:placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethod" @change="$forceUpdate(),choicereciveN(zhuanjiaoMsg.CreateBy)">
<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: right; color: #8492a6; font-size: 13px">{{ item.postName }}</span>
<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: right; color: #8492a6; font-size: 13px">{{ item.PostName }}</span>
</el-option>
</el-select>
......@@ -994,6 +994,7 @@
//转交信息
zhuanjiaoMsg: {
CreateBy: '',
RB_CreateByName: '',
FrIDList: []
},
DataList: [],
......@@ -1114,6 +1115,7 @@
var that = this;
that.MsgBus.$on('getRecQuery', function (FrID) {
that.zhuanjiaoMsg.CreateBy = '';
that.zhuanjiaoMsg.RB_CreateByName = '';
that.zhuanjiaoMsg.FrIDList = [];
that.zhuanjiaoMsg.FrIDList.push(FrID);
that.zhuanjiaoBox = true;
......@@ -1122,6 +1124,7 @@
methods: {
getExchange(rowData){
this.zhuanjiaoMsg.CreateBy = '';
this.zhuanjiaoMsg.RB_CreateByName = '';
this.zhuanjiaoMsg.FrIDList = [];
this.zhuanjiaoMsg.FrIDList.push(rowData.FrID);
this.zhuanjiaoBox = true;
......@@ -1167,7 +1170,8 @@
if(this.searchList.length>0){
this.searchList.forEach(x=>{
if(x.Id==Id){
this.zhuanMsg.AuditEmIdName = x.EmployeeName
this.zhuanMsg.AuditEmIdName = x.EmployeeName;
this.zhuanjiaoMsg.RB_CreateByName = x.EmployeeName;
}
})
}
......
......@@ -159,6 +159,11 @@
<q-item-label>账户</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="goWOrkTransfer(props.row.EmAccountId)">
<q-item-section>
<q-item-label>单据交接</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="resetSinglePwd(props.row)">
<q-item-section>
<q-item-label>重置密码</q-item-label>
......@@ -654,6 +659,12 @@
path: tempStr
});
},
goWOrkTransfer(Id){
var tempStr = '/financial/financalDocument/GetWOrkTransferPageLis?type=9'+'&id='+Id;
this.$router.push({
path: tempStr
});
},
GetFirst(val) {
if (val) {
return val.substr(0, 1);
......
......@@ -396,6 +396,11 @@ const routes = [{
component: () =>
import("pages/financial/financalDocument/FinancialDocuments.vue")
},
{
path: "/financial/financalDocument/GetWOrkTransferPageLis", //员工财务单据转交
component: () =>
import("pages/financial/financalDocument/GetWOrkTransferPageLis.vue")
},
{
path: "/financial/financalDocument/WorkEntrustmentMy", //工作委托
component: () =>
......
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