|
|
|
@ -12,16 +12,16 @@ Scene({ |
|
|
|
height: app.globalData.fragmentHeight, |
|
|
|
form: {}, |
|
|
|
columns: [ |
|
|
|
{ prop: 'datetime', width: 200, label: '品类', color: '#55C355' }, |
|
|
|
{ prop: 'sign_in_time', width: 200, label: '结算重量(吨)' }, |
|
|
|
{ prop: 'sign_out_time', width: 200, label: '实收金额(元)' }, |
|
|
|
{ prop: 'work_hour', width: 150, label: '代卖费(元)' } |
|
|
|
{ prop: 'productCategoryName', width: 200, label: '品类', color: '#55C355' }, |
|
|
|
{ prop: 'settleWeight', width: 200, label: '结算重量(吨)' }, |
|
|
|
{ prop: 'paidPrice', width: 200, label: '实收金额(元)' }, |
|
|
|
{ prop: 'proxyPaySurcharge', width: 150, label: '代卖费(元)' } |
|
|
|
], |
|
|
|
reportInfo:{ |
|
|
|
productGrossProfitReportList: [], |
|
|
|
totalGrossProfit: 0, |
|
|
|
totalSalesPrice: 0, |
|
|
|
totalReceiptPrice: 0 |
|
|
|
productAgencySalesReportList: [], |
|
|
|
totalPaidPrice: 0, |
|
|
|
totalProxyPaySurcharge: 0, |
|
|
|
totalSettleWeight: 0 |
|
|
|
}, |
|
|
|
show: false |
|
|
|
}, |
|
|
|
@ -67,7 +67,7 @@ Scene({ |
|
|
|
if(result.data){ |
|
|
|
this.setData({ reportInfo: result.data }) |
|
|
|
} else { |
|
|
|
this.setData({ reportInfo: { productGrossProfitReportList: [], totalGrossProfit: 0, totalSalesPrice: 0, totalReceiptPrice: 0 } }) |
|
|
|
this.setData({ reportInfo: { productAgencySalesReportList: [], totalPaidPrice: 0, totalProxyPaySurcharge: 0, totalSettleWeight: 0 } }) |
|
|
|
} |
|
|
|
wx.hideLoading() |
|
|
|
}).catch(err => { |
|
|
|
|