|
|
@@ -70,27 +70,29 @@
|
|
|
<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.stop="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:50upx;">
|
|
|
+ 按单去结账 》》
|
|
|
+ </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">
|
|
|
+ 余额 ¥{{ ghsInfo.balance ? parseFloat(ghsInfo.balance) : 0 }} 待结余款
|
|
|
+ <text style="margin-left:50upx;">
|
|
|
+ 输金额结账 》》
|
|
|
+ </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>
|
|
|
@@ -122,7 +124,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>
|
|
|
@@ -197,9 +198,9 @@ export default {
|
|
|
this.closeToShow()
|
|
|
this.pageTo({url: '/admin/ghs/rechargeChange?ghsId='+this.currentGhs.id})
|
|
|
},
|
|
|
- recharge(){
|
|
|
+ recharge(currentGhs){
|
|
|
this.closeToShow()
|
|
|
- this.pageTo({url: '/admin/ghs/pay?id='+this.currentGhs.id+'&salt='+this.currentGhs.salt})
|
|
|
+ this.pageTo({url: '/admin/ghs/pay?id='+currentGhs.id+'&salt='+currentGhs.salt})
|
|
|
},
|
|
|
balanceChange(){
|
|
|
this.closeToShow()
|