Commit 1070e502 authored by liudong1993's avatar liudong1993

营收报表增加统计项

parent 55eb3fdf
......@@ -699,6 +699,21 @@ Vue.component("GuestNum", {
}
}
});
Vue.component("ManNum", {
// 人数
template: `<span>{{rowData.ManNum}}/{{rowData.WoManNum}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
}
});
Vue.component("Transport", {
// 是否联运团
template: `<span><span v-if="rowData.Is_Transport==='是'" style="color: red;">{{rowData.Is_Transport}}</span><span v-else>{{rowData.Is_Transport}}</span></span>`,
......@@ -972,6 +987,24 @@ export default {
isResize: true,
componentName: "GuestNum"
},
{
field: "ManNum",
title: "男/女",
width: 50,
titleAlign: "left",
columnAlign: "right",
isResize: true,
componentName: "ManNum"
},
{
field: "AgeAvg",
title: "平均年龄",
width: 50,
titleAlign: "left",
columnAlign: "right",
isResize: true,
componentName: "TCIDJumpWang"
},
{
field: "YaoQingHan",
formatter: this.moneyFormat,
......@@ -1112,6 +1145,16 @@ export default {
isResize: true,
componentName: "TCIDJumpWang"
},
{
field: "YongJinShouRuAvg",
formatter: this.moneyFormat,
title: "平均佣金收入",
width: 90,
titleAlign: "left",
columnAlign: "right",
isResize: true,
componentName: "TCIDJumpWang"
},
{
field: "YingFu",
formatter: this.moneyFormat,
......
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