|
|
@@ -32,11 +32,21 @@
|
|
|
<t-tr>
|
|
|
<t-td align="center">
|
|
|
<view style="color:black;font-size:25upx;">
|
|
|
- 斗南商家注意:这里的收入合计,暂未剔除运费和包装费
|
|
|
+ 以上合计的总收入,已包含了以下收入
|
|
|
</view>
|
|
|
</t-td>
|
|
|
</t-tr>
|
|
|
|
|
|
+ <view v-for="(it, idx) in costList" :key="idx">
|
|
|
+ <t-tr>
|
|
|
+ <t-td><view style="width:180upx;color:black;font-size:30upx;">{{it.name}}</view></t-td>
|
|
|
+ <t-td><view style="color:black;font-size:30upx;">数量:{{it.num}}</view></t-td>
|
|
|
+ <t-td><view style="color:black;font-size:30upx;">¥{{it.price?parseFloat(it.price):0}}</view></t-td>
|
|
|
+ <t-td> <view> </view> </t-td>
|
|
|
+ </t-tr>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
</t-table>
|
|
|
</block>
|
|
|
</view>
|
|
|
@@ -118,6 +128,7 @@ export default {
|
|
|
contain:0
|
|
|
},
|
|
|
profile:[],
|
|
|
+ costList:[],
|
|
|
totalIncome:0,
|
|
|
showDetailPop:false,
|
|
|
detailItem:[]
|
|
|
@@ -168,7 +179,8 @@ export default {
|
|
|
uni.showLoading()
|
|
|
getStatKdProfile(this.params).then(res => {
|
|
|
uni.hideLoading()
|
|
|
- that.profile = res.data.list
|
|
|
+ that.profile = res.data.list||[]
|
|
|
+ that.costList = res.data.costIncome||[]
|
|
|
that.totalIncome = res.data.totalIncome
|
|
|
})
|
|
|
}
|