|
@@ -42,15 +42,15 @@ Page({
|
|
|
width: 330,
|
|
|
key: 'openingbalance'
|
|
|
}, {
|
|
|
- title: '出货总金额(2022-01-01至今)',
|
|
|
+ title: '开票总金额(2022-01-01至今)',
|
|
|
width: 400,
|
|
|
- key: 'sumreceivableamount'
|
|
|
+ key: 'receivableamount'
|
|
|
}, {
|
|
|
title: '收入总金额(2022-01-01至今)',
|
|
|
width: 400,
|
|
|
- key: 'sumrevenueamount'
|
|
|
+ key: 'revenueamount'
|
|
|
}, {
|
|
|
- title: '出货总应收',
|
|
|
+ title: '开票总应收',
|
|
|
width: 200,
|
|
|
key: 'totalamount'
|
|
|
}],
|
|
@@ -92,6 +92,8 @@ Page({
|
|
|
v.openingbalance = CNY(v.openingbalance)
|
|
|
v.sumreceivableamount = CNY(v.sumreceivableamount)
|
|
|
v.sumrevenueamount = CNY(v.sumrevenueamount)
|
|
|
+ v.receivableamount = CNY(v.receivableamount)
|
|
|
+ v.revenueamount = CNY(v.revenueamount)
|
|
|
v.totalamount = CNY(v.totalamount)
|
|
|
return v
|
|
|
})
|
|
@@ -144,7 +146,33 @@ Page({
|
|
|
},
|
|
|
pointChange(e) {
|
|
|
this.setData({
|
|
|
- 'content.point': this.data.points[e.detail.value]
|
|
|
+ 'content.point': this.data.points[e.detail.value],
|
|
|
+ table: [{
|
|
|
+ title: '客户名称',
|
|
|
+ width: 330,
|
|
|
+ key: 'enterprisename',
|
|
|
+ fun: 'toDetail'
|
|
|
+ }, {
|
|
|
+ title: '业务员',
|
|
|
+ width: 200,
|
|
|
+ key: 'name'
|
|
|
+ }, {
|
|
|
+ title: '期初余额(2021-12-31)',
|
|
|
+ width: 330,
|
|
|
+ key: 'openingbalance'
|
|
|
+ }, {
|
|
|
+ title: this.data.points[e.detail.value] + '总金额(2022-01-01至今)',
|
|
|
+ width: 400,
|
|
|
+ key: 'receivableamount'
|
|
|
+ }, {
|
|
|
+ title: '收入总金额(2022-01-01至今)',
|
|
|
+ width: 400,
|
|
|
+ key: 'revenueamount'
|
|
|
+ }, {
|
|
|
+ title: this.data.points[e.detail.value] + '总应收',
|
|
|
+ width: 200,
|
|
|
+ key: 'totalamount'
|
|
|
+ }],
|
|
|
})
|
|
|
this.getList(true)
|
|
|
},
|