|
@@ -25,8 +25,8 @@
|
|
|
<!-- 列表数据 -->
|
|
|
<view class="table item" v-for="item in listdata" :key="item.id">
|
|
|
<view>{{item.reserveFinishDate}}</view>
|
|
|
- <view>{{item.totalAllWeight/1000 || 0}}</view>
|
|
|
- <view>{{item.originalAllAmount || 0}}</view>
|
|
|
+ <view>{{item.totalWeight/1000 || 0}}</view>
|
|
|
+ <view>{{item.originalAmount || 0}}</view>
|
|
|
</view>
|
|
|
<view class="nodata" v-if="listdata.length==0 && status!='loading'">
|
|
|
<u-empty src="/static/def_result.png" :text="noDataText" icon-size="260"></u-empty>
|
|
@@ -138,8 +138,8 @@
|
|
|
beginDate: this.searchForm.beginDate?moment(this.searchForm.beginDate).format('YYYY-MM-DD 00:00:00'):'',
|
|
|
endDate: this.searchForm.endDate ? moment(this.searchForm.endDate).format('YYYY-MM-DD 23:59:59'):''}).then(res=>{
|
|
|
if(res.status==200 && res.data){
|
|
|
- this.totalWeight = res.data.totalAllWeight/1000 || 0
|
|
|
- this.totalMoney = res.data.originalAllAmount || 0
|
|
|
+ this.totalWeight = res.data.totalWeight/1000 || 0
|
|
|
+ this.totalMoney = res.data.originalAmount || 0
|
|
|
} else {
|
|
|
this.totalWeight = 0
|
|
|
this.totalMoney = 0
|