Commit ffee7e45 authored by Mac's avatar Mac

1

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