Commit 59e5961c authored by huangyuanyuan's avatar huangyuanyuan

修改投诉详情判断,变更报表合计和查看

parent c1dc0961
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
<span>已赔金额:</span>{{getBackMoney()}} <span>已赔金额:</span>{{getBackMoney()}}
</li> </li>
<li <li
v-if="ComplainInfo.DisposeStatus===4&&(getLocalStorage().EmployeeId===ComplainDetial[ComplainDetial.length-1].CreateBy||authority.indexOf('S_Complain_Finance')!=-1)"> v-if="ComplainInfo.DisposeStatus===4&&(getLocalStorage().EmployeeId===ComplainInfo[ComplainInfo.length-1].CreateBy||getLocalStorage().EmployeeId===ComplainDetial[ComplainDetial.length-1].CreateBy||authority.indexOf('S_Complain_Finance')!=-1)">
<span>立即制单:</span> <span>立即制单:</span>
<span v-for="compensation in ComplainCompensation" class="CD_dealResult" href="javascript:void(0)" <span v-for="compensation in ComplainCompensation" class="CD_dealResult" href="javascript:void(0)"
@click="setFinance(compensation)">{{compensation.CompensateMoney}}</span> @click="setFinance(compensation)">{{compensation.CompensateMoney}}</span>
......
...@@ -505,7 +505,7 @@ Vue.component("TCIDJump", { ...@@ -505,7 +505,7 @@ Vue.component("TCIDJump", {
} }
} }
}); });
Vue.component("TCNUMJump", { Vue.component("TCNUMJumpNew", {
// 团队跳转 // 团队跳转
template: `<div> template: `<div>
<span style="cursor: pointer" v-if="rowData.DataType===1" @click="goUrl('TravelControlList',rowData.TCNUM)">{{rowData.TCNUM}}</span> <span style="cursor: pointer" v-if="rowData.DataType===1" @click="goUrl('TravelControlList',rowData.TCNUM)">{{rowData.TCNUM}}</span>
...@@ -730,7 +730,7 @@ export default { ...@@ -730,7 +730,7 @@ export default {
filterMultiple: false, filterMultiple: false,
type: "text", type: "text",
isFrozen: true, isFrozen: true,
componentName: "TCNUMJump" componentName: "TCNUMJumpNew"
}, },
{ {
field: "Is_Transport", field: "Is_Transport",
......
...@@ -639,6 +639,7 @@ Vue.component("TCIDJump", { ...@@ -639,6 +639,7 @@ Vue.component("TCIDJump", {
} }
} }
}); });
// v-show="rowData.IsHaveChange==1&&rowData.LineName!='合计'"
Vue.component("TCNUMJump", { Vue.component("TCNUMJump", {
// 团队跳转 // 团队跳转
template: `<div> template: `<div>
...@@ -648,7 +649,7 @@ Vue.component("TCNUMJump", { ...@@ -648,7 +649,7 @@ Vue.component("TCNUMJump", {
<span style="cursor: pointer" v-if="rowData.DataType===4" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer" v-if="rowData.DataType===4" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===6">{{rowData.TCNUM}}</span> <span style="cursor: pointer" v-if="rowData.DataType===6">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===7">{{rowData.TCNUM}}</span> <span style="cursor: pointer" v-if="rowData.DataType===7">{{rowData.TCNUM}}</span>
<span v-if="rowData.IsHaveChange==1" style="padding:0 10px;" @click="goUrlExtend('ChangeRevenueDetail',rowData.TCID)" class="normalBtn detailBtn">查看详情</span> <span style="cursor: pointer;background:#e95252;color:#fff;padding:3px 10px;" v-show="rowData.IsHaveChange==1&&rowData.LineName!='合计'" @click="goUrlExtend('ChangeRevenueDetail',rowData.TCID)">查看历史</span>
</div>`, </div>`,
props: { props: {
rowData: { rowData: {
...@@ -660,6 +661,9 @@ Vue.component("TCNUMJump", { ...@@ -660,6 +661,9 @@ Vue.component("TCNUMJump", {
index: { index: {
type: Number type: Number
} }
},
created(){
}, },
methods: { methods: {
goUrl(path, id) { goUrl(path, id) {
...@@ -857,7 +861,7 @@ export default { ...@@ -857,7 +861,7 @@ export default {
componentName: "TCIDJump" componentName: "TCIDJump"
}, },
{ {
field: "TCNUM", field: "",
title: "团号", title: "团号",
width: 210, width: 210,
titleAlign: "left", titleAlign: "left",
...@@ -1812,8 +1816,8 @@ export default { ...@@ -1812,8 +1816,8 @@ export default {
return x1 + x2; return x1 + x2;
}, },
columnCellClass(rowIndex, columnName, rowData) { columnCellClass(rowIndex, columnName, rowData) {
console.log(rowData,'rowdataataaaa'); // console.log(rowData,'rowdataataaaa');
if(rowData.IsHaveChange==1){ if(rowData.IsHaveChange==1 && rowData.LineName!="合计"){
if(rowData.YingShou !=rowData.ChangeModel.YingShou && columnName=="YingShou"){ if(rowData.YingShou !=rowData.ChangeModel.YingShou && columnName=="YingShou"){
return "column-cell-class-name-test-red" return "column-cell-class-name-test-red"
} }
......
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