Commit 4b9c7dfe authored by liudong1993's avatar liudong1993

1 手配费收入优化

parent 67acbf1c
...@@ -36,20 +36,26 @@ ...@@ -36,20 +36,26 @@
</div> </div>
<div class="_fnDm_content" v-loading='loading'> <div class="_fnDm_content" v-loading='loading'>
<el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%" row-key="FinanceId"> <el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%" row-key="FinanceId">
<el-table-column prop="" label="公司" width="150"> <el-table-column prop="" label="公司" width="100">
<template slot-scope="scope">{{ scope.row.BranchName }}</template> <template slot-scope="scope">{{ scope.row.BranchName }}</template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="类型" width="70">
<template slot-scope="scope">{{ scope.row.OtherType == 61?'单酒店': scope.row.OtherType == 66?'单门票': '团队' }}</template>
</el-table-column>
<el-table-column prop="" label="团队信息" width="200"> <el-table-column prop="" label="团队信息" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.OtherType==0"> <template v-if="scope.row.OtherType==61">
{{ scope.row.TCNUM }}({{scope.row.TCID}}) <span style="cursor: pointer; color: #00c6ff;" @click="goTravelInfo(scope.row)">{{scope.row.TCID}}</span>
</template>
<template v-else-if="scope.row.OtherType==66">
<span style="cursor: pointer; color: #00c6ff;" @click="goTravelInfo(scope.row)">{{scope.row.TCID}}</span>
</template> </template>
<template v-else> <template v-else>
{{scope.row.TCID}} <span style="cursor: pointer; color: #00c6ff;" @click="goTravelInfo(scope.row)">{{ scope.row.TCNUM }}({{scope.row.TCID}})</span>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="类型" width="180"> <el-table-column prop="" label="科目" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-for="(subItem,subIndex) in scope.row.CostTypeList"> <template v-for="(subItem,subIndex) in scope.row.CostTypeList">
<span :key="subIndex"> {{subItem.CostTypeName}} <span :key="subIndex"> {{subItem.CostTypeName}}
...@@ -58,7 +64,7 @@ ...@@ -58,7 +64,7 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="数量" width="150"> <el-table-column prop="" label="制单数量" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-for="(subItem,subIndex) in scope.row.CostTypeList"> <template v-for="(subItem,subIndex) in scope.row.CostTypeList">
<span :key="subIndex"> <span :key="subIndex">
...@@ -68,7 +74,7 @@ ...@@ -68,7 +74,7 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="" label="金额" width="150"> <el-table-column prop="" label="手配金额" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-for="(subItem,subIndex) in scope.row.CostTypeList"> <template v-for="(subItem,subIndex) in scope.row.CostTypeList">
<span :key="subIndex"> <span :key="subIndex">
...@@ -80,12 +86,12 @@ ...@@ -80,12 +86,12 @@
</el-table-column> </el-table-column>
<el-table-column prop="" label="酒店信息"> <el-table-column prop="" label="酒店信息">
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.OtherType==0 && scope.row.HotelList&&scope.row.HotelList.length>0"> <template v-if="scope.row.HotelList&&scope.row.HotelList.length>0">
<template v-for="(subItem,subIndex) in scope.row.HotelList"> <template v-for="(subItem,subIndex) in scope.row.HotelList">
<span :key="subIndex+40000"> {{subItem.UseDay}} <span :key="subIndex+40000"> {{subItem.UseDay}}
<template v-if="subItem.SubList&&subItem.SubList.length>0"> <template v-if="subItem.SubList&&subItem.SubList.length>0">
<template v-for="(childItem) in subItem.SubList"> <template v-for="(childItem) in subItem.SubList">
{{childItem.NewHotelName}} {{childItem.NewHotelName}}{{childItem.SupplierName==''?"未设置供应商":childItem.SupplierName}}
</template> </template>
</template> </template>
</span> </span>
...@@ -196,6 +202,38 @@ ...@@ -196,6 +202,38 @@
this.loading = false; this.loading = false;
} }
); );
},
goTravelInfo(item){
if(item.OtherType==61){
let query = {
OrderId: item.TCID,
blank: "y",
};
this.$router.push({
path: "/singleProductHotelOrderOP",
query
});
}
else if(item.OtherType==66){
let query = {
OrderId: item.TCID,
blank: "y",
};
this.$router.push({
path: "/SingleticketOrderListOP",
query
});
}
else{
let query = {
TCNUM: item.TCNUM,
blank: "y",
};
this.$router.push({
path: "/dmcTotalTable",
query
});
}
} }
} }
} }
......
...@@ -3996,7 +3996,7 @@ export default { ...@@ -3996,7 +3996,7 @@ export default {
name: 'HandFeeQuery', name: 'HandFeeQuery',
component: resolve => require(['@/components/FinancialModule/HandFee/HandFeeQuery'], resolve), component: resolve => require(['@/components/FinancialModule/HandFee/HandFeeQuery'], resolve),
meta: { meta: {
title: '手配收入查询' title: '团队手配查询'
}, },
}, },
{ //财务 财务单据 手配收入查询 { //财务 财务单据 手配收入查询
......
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