|
|
@@ -216,28 +216,27 @@
|
|
|
<view class="tag_2" @click="pageTo({url:'/pagesPurchase/shopping'})"> <text>买花记录</text> </view>
|
|
|
<view class="tag_2" @click.stop="callUp(ghsInfo.telephone)" style="color:green;font-weight:bold;"> <text>联系我们</text> </view>
|
|
|
</view>
|
|
|
- <view class="box_6 flex-row" v-if="Number(ghsInfo.balance)>0" @click.stop="whyHave()">
|
|
|
+ <view class="box_6 flex-row" @click="settleAccounts(ghsInfo)" v-if="Number(ghsInfo.debtAmount)>0">
|
|
|
<view class="show_clear_area flex-row justify-between">
|
|
|
<image class="icon_2" referrerpolicy="no-referrer" src="/static/lanhu_020105gongyingshangliebiao/ps2pvfa1l5i34w5vqj2k7b3kejml3i3nmrba1421bf-caa2-491b-8773-af413df7e96d.png" />
|
|
|
- <text class="waite_clear_order" @click.stop="goBalanceChange(ghsInfo)">
|
|
|
- 余额 ¥{{ ghsInfo.balance ? parseFloat(ghsInfo.balance) : 0 }}
|
|
|
+ <text class="waite_clear_order">
|
|
|
+ 待结订单 {{ghsInfo.debtNum}}笔 合计¥{{ghsInfo.debtAmount?parseFloat(ghsInfo.debtAmount):0}}
|
|
|
+ <text style="margin-left:30upx;">选订单结 》</text>
|
|
|
</text>
|
|
|
</view>
|
|
|
- <view class="image-text_9 flex-row justify-between">
|
|
|
- <text class="text-group_4"></text>
|
|
|
- <image referrerpolicy="no-referrer" :src="`${constant.imgUrl}/ghs/why2.png`" style="width:33upx;height:31upx;" />
|
|
|
- </view>
|
|
|
</view>
|
|
|
- <view class="box_6 flex-row" @click="settleAccounts(ghsInfo)" v-if="Number(ghsInfo.debtAmount)>0">
|
|
|
+
|
|
|
+ <view class="box_6 flex-row" v-if="Number(ghsInfo.balance)>0" @click.stop="recharge(ghsInfo)">
|
|
|
<view class="show_clear_area flex-row justify-between">
|
|
|
<image class="icon_2" referrerpolicy="no-referrer" src="/static/lanhu_020105gongyingshangliebiao/ps2pvfa1l5i34w5vqj2k7b3kejml3i3nmrba1421bf-caa2-491b-8773-af413df7e96d.png" />
|
|
|
- <text class="waite_clear_order">待结订单 {{ghsInfo.debtNum}}笔 ¥{{ghsInfo.debtAmount?parseFloat(ghsInfo.debtAmount):0}}</text>
|
|
|
- </view>
|
|
|
- <view class="image-text_9 flex-row justify-between">
|
|
|
- <text class="text-group_4">去结账</text>
|
|
|
- <image class="icon_3" referrerpolicy="no-referrer" src="/static/lanhu_020105gongyingshangliebiao/ps83ag7scu3a8bfq22ciodg5hiu0x9cesxjbfb4c9ca-ee3f-45ec-a6d7-6f166e13d6e6.png" />
|
|
|
+ <text class="waite_clear_order">
|
|
|
+ <text v-if="Number(ghsInfo.balance)>0">有余额¥{{ ghsInfo.balance ? parseFloat(ghsInfo.balance) : 0 }}</text>
|
|
|
+ <text v-if="ghsInfo.remainDebtAmount>0" style="margin-left:15upx;">实欠¥{{ ghsInfo.remainDebtAmount }}</text>
|
|
|
+ <text style="margin-left:30upx;">按金额结 》</text>
|
|
|
+ </text>
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
<block v-if="ghsInfo.live == 1">
|
|
|
<view class="button_7 flex-col" @click.stop="goKmCg(ghsInfo)" v-if="ghsInfo.openKmCg && ghsInfo.openKmCg == 1"><text class="text_13">昆明直采</text></view>
|
|
|
<view class="button_4 flex-col" v-if="ghsInfo.isOpen == 1" @click="enterShop(ghsInfo)"><text class="text_13">买花</text></view>
|
|
|
@@ -274,7 +273,6 @@
|
|
|
|
|
|
<uni-popup ref="toShowMore" background-color="#fff" type="center" :animation="true" class="class-popup-style">
|
|
|
<view style="display:flex;width:100vw;padding:20upx 20upx 40upx 20upx;height:auto;justify-content: space-between;align-items:center;flex-wrap:wrap;max-height:100vh;overflow:auto;">
|
|
|
- <view style="width:100vw;margin-top:8upx;"><button @click="recharge()">充值销账</button></view>
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="rechargeChange()">充值记录</button></view>
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="balanceChange()">余额变动明细</button></view>
|
|
|
<view style="width:100vw;margin-top:8upx;"><button @click="bpSj()">屏蔽此商家</button></view>
|
|
|
@@ -517,9 +515,8 @@ export default {
|
|
|
that.confirmPb(that.currentGhs)
|
|
|
})
|
|
|
},
|
|
|
- recharge(){
|
|
|
- this.closeToShow()
|
|
|
- this.pageTo({url: '/admin/ghs/pay?id='+this.currentGhs.id+'&salt='+this.currentGhs.salt})
|
|
|
+ recharge(currentGhs){
|
|
|
+ this.pageTo({url: '/admin/ghs/pay?id='+currentGhs.id+'&salt='+currentGhs.salt})
|
|
|
},
|
|
|
confirmPb(ghs){
|
|
|
let that = this
|
|
|
@@ -1066,7 +1063,7 @@ export default {
|
|
|
.box_6 {
|
|
|
background-color: rgb(248, 242, 242);
|
|
|
width: 750upx;
|
|
|
- height:85upx;
|
|
|
+ height:95upx;
|
|
|
.show_clear_area {
|
|
|
width: 247upx;
|
|
|
height: 29upx;
|
|
|
@@ -1081,7 +1078,7 @@ export default {
|
|
|
height: 29upx;
|
|
|
overflow-wrap: break-word;
|
|
|
color: rgba(255, 40, 66, 1);
|
|
|
- font-size: 30upx;
|
|
|
+ font-size: 31upx;
|
|
|
font-weight:bold;
|
|
|
text-align: left;
|
|
|
white-space: nowrap;
|