更新了结算订单

This commit is contained in:
weipengfei 2023-11-29 11:44:00 +08:00
parent fcc75803ef
commit 2c7734dd4b
1 changed files with 5 additions and 5 deletions

View File

@ -80,11 +80,11 @@
<view class="turnover">结算金额</view> <view class="turnover">结算金额</view>
</view> </view>
<view class="conter"> <view class="conter">
<view class="item acea-row row-between-wrapper" v-for="(item, index) in list" :key="index" @click="navToOrder(item)"> <view class="item acea-row row-between-wrapper" v-for="(item, index) in list" :key="index">
<view class="data">{{ item.day }}</view> <view class="data">{{ item.day }}</view>
<view class="browse">{{ item.total }}</view> <view class="browse">{{ item.total }}</view>
<view class="turnover">{{ item.pay_price }}</view> <view class="turnover" @click="navToOrder(item, 2)">{{ item.pay_price }}</view>
<view class="turnover">{{ toFixed2(item.settlement_price) }}</view> <view class="turnover" @click="navToOrder(item, 4)">{{ toFixed2(item.settlement_price) }}</view>
</view> </view>
</view> </view>
</view> </view>
@ -280,9 +280,9 @@
}else str = str.toFixed(2); }else str = str.toFixed(2);
return str || '0.00'; return str || '0.00';
}, },
navToOrder(item){ navToOrder(item, type=2){
uni.navigateTo({ uni.navigateTo({
url: `/pages/admin/orderList/index?merId=${this.mer_id}&types=2&pay_time=${item.pay_time.split(' ')[0]}` url: `/pages/admin/orderList/index?merId=${this.mer_id}&types=${type}&pay_time=${item.pay_time.split(' ')[0]}`
}) })
} }
}, },