From 131ed52dc99f68b3dfb3acc77c009e212df16267 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 26 六月 2023 14:23:46 +0800 Subject: [PATCH] 验质页面增加计算折扣率 --- pages/customer-page/customer-index/customer-index.vue | 33 ++++++++++++++++----------------- 1 files changed, 16 insertions(+), 17 deletions(-) diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue index 499b969..d4837a0 100644 --- a/pages/customer-page/customer-index/customer-index.vue +++ b/pages/customer-page/customer-index/customer-index.vue @@ -20,19 +20,19 @@ @click="cardBodyClick(item)"> <view class="first-line"> <view class="dispatch-receive"> - <view class="dispatch">{{ item.filedName }}</view> + <view class="dispatch">{{ item.filedName||'' }}</view> </view> - <view class="point-number"> - <text class="residue">{{ item.cars2 }}</text> - <text>/{{ item.carNum }}</text> - </view> + <!-- <view class="point-number"> + <text class="residue">{{ item.cars2||'' }}</text> + <text>/{{ item.carNum ||''}}</text> + </view> --> </view> <view class="second-line"> <view class="coal-name"> - <view class="">{{ item.coalName }}</view> + <view class="">{{ item.coalName ||''}}</view> <view class="black-bar"></view> <view class="coal-type" - v-if="item.orderType">{{ item.orderType }}</view> + v-if="item.orderType">{{ item.orderType||'' }}</view> </view> </view> <view class="third-line"> @@ -44,13 +44,13 @@ <view class="send-date">{{ item.sendDate }}</view> </view> <view class="fourth-line"> - <view class="receive" + <!-- <view class="receive" @click.stop="receiveClick(item)"> - <view class="button-image">棰嗗彇</view> - </view> + <view class="button-image">楠岃川</view> + </view> --> <view class="forward" - @click.stop="forwardClick(item)"> - <view class="button-image">杞彂</view> + @click.stop="forwardClick(index)"> + <view class="button-image">楠岃川</view> </view> </view> </view> @@ -313,7 +313,7 @@ // 鎻愮叅鍗曡鎯� cardBodyClick(v) { uni - .navigateTo({ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2}` }); + .navigateTo({ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2}` }); }, // 鐐瑰嚮鍘嗗彶鎻愮叅鍗曡幏鍙栬鎯� faYundetail(v) { @@ -322,10 +322,9 @@ }); }, // 杞彂 - forwardClick(obj) { - if (obj.cars2 == 0) return this.$u.toast('璇峰厛棰嗗彇鍚庡啀杞彂'); + forwardClick(index) { uni - .navigateTo({ url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}` }); + .navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail?index=${index}` }); } } }; @@ -574,7 +573,7 @@ width: 100%; height: vww(30); @include flex; - justify-content: flex-start; + justify-content: flex-end; position: relative; bottom: vww(10); left: 25%; -- Gitblit v1.9.1