Commit ffee7e45 authored by Mac's avatar Mac

1

parent eaf665d7
......@@ -953,7 +953,7 @@
danjuType: '',
showModel: false,
CostTypeState:false,
huijiShow:false,
huijiShow:true,
}
},
components:{
......
......@@ -842,7 +842,7 @@
cursor: pointer;
background-color: #47BF8C;
outline: none;"
class="iconfont icon-sousuo" @click="goUrl('FinancialDocumentsDetail')">
class="iconfont icon-sousuo" @click="goUrl('FinancialDocumentsDetail',scope.row)">
</i>
<i v-if="scope.row.Type === 4" style="width: 30px;
height: 30px;
......@@ -855,11 +855,12 @@
cursor: pointer;
background-color: #47BF8C;
outline: none;"
class="iconfont icon-sousuo" @click="goUrl('CapitalAllocationDetail')">
class="iconfont icon-sousuo" @click="goUrl('CapitalAllocationDetail',scope.row)">
</i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="转交" placement="top">
<i v-if="scope.row.isExchange" style="width: 30px;
<!-- <i v-if="scope.row.isExchange" style="width: 30px;-->
<i style="width: 30px;
height: 30px;
display: inline-block;
color: white !important;
......@@ -870,7 +871,7 @@
cursor: pointer;
background-color: #47BF8C;
outline: none;"
class="iconfont icon-zhuanhuan1" @click="getExchange(scope.row,index)">
class="iconfont icon-zhuanhuan1" @click="getExchange(scope.row)">
</i>
</el-tooltip>
</span>
......@@ -890,7 +891,7 @@
<el-form label-width="100px">
<el-form-item label="制单人转交:">
<el-select v-model="zhuanjiaoMsg.CreateBy" filterable remote reserve-keyword
:placeholder="$t('pub.pleaseImport')" :remote-method="remoteMethod" @change="$forceUpdate()">
: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>
......@@ -1116,6 +1117,12 @@
});
},
methods: {
getExchange(rowData){
this.zhuanjiaoMsg.CreateBy = '';
this.zhuanjiaoMsg.FrIDList = [];
this.zhuanjiaoMsg.FrIDList.push(rowData.FrID);
this.zhuanjiaoBox = true;
},
customCompFunc(params) {},
sortChange(param) {
//自己写实现
......@@ -1138,17 +1145,30 @@
},
remoteMethod(query) { // 转交人模糊查询
if (query !== '' || this.addShow) {
this.apipost("admin_Get_Chat_All_SelectEmpName", {
EmName: query
}, res => {
if (res.data.resultCode == 1) {
this.searchList = res.data.data;
var qMsg = {
EmployeeName: 0
}
}, err => {});
qMsg.EmployeeName=query;
queryEmployee(qMsg).then(res => {
if(res.Code==1){
this.searchList = res.Data;
}
}).catch(() => {
})
} else {
this.searchList = [];
}
},
choicereciveN(Id){
if(this.searchList.length>0){
this.searchList.forEach(x=>{
if(x.Id==Id){
this.zhuanMsg.AuditEmIdName = x.EmployeeName
}
})
}
},
// 数据筛选
filterMethod(filters) {},
handleCurrentChanges(val) {
......@@ -1570,13 +1590,12 @@
this.msg.pageIndex = 1;
this.currentPage = 1;
},
goUrl(path, id, Conditon, pageIndex) {
goUrl(path, rowData, Conditon, pageIndex) {
this.$router.push({
name: path,
path:'/financial/financalDocument/'+ path,
query: {
"id": id,
"Conditon": Conditon,
"pageIndex": pageIndex,
"id": rowData.FrID,
blank: 'y',
tab: '单据详情'
}
......
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