|
|
@@ -8,47 +8,51 @@
|
|
|
<button class="admin-button-com mini-btn blue" style="margin-left:16upx;padding-top:17upx;padding-bottom:17upx;" @click="pageTo({url:'/pagesPurchase/open'})">商城功能开关</button>
|
|
|
</view>
|
|
|
|
|
|
-<template v-if="!$util.isEmpty(supplierList)">
|
|
|
+ <template v-if="!$util.isEmpty(supplierList)">
|
|
|
|
|
|
- <view class="ghs_list_area flex-col justify-end">
|
|
|
+ <view class="ghs_list_area flex-col justify-end">
|
|
|
|
|
|
- <view class="ghs_box flex-col justify-end" v-for="(ghsInfo, index) in supplierList" :key="index">
|
|
|
- <view class="image-text_7 flex-row justify-between">
|
|
|
- <view class="section_1 flex-col">
|
|
|
- <image class="logo" :src="ghsInfo.avatar" />
|
|
|
+ <view class="ghs_box flex-col justify-end" v-for="(ghsInfo, index) in supplierList" :key="index">
|
|
|
+ <view class="image-text_7 flex-row justify-between">
|
|
|
+ <view class="section_1 flex-col">
|
|
|
+ <image class="logo" :src="ghsInfo.avatar" />
|
|
|
+ </view>
|
|
|
+ <view class="text-group_7 flex-col justify-between">
|
|
|
+ <text class="text_8">{{ghsInfo.name}}</text>
|
|
|
+ <text class="text_9"></text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="box_4 flex-col"></view>
|
|
|
+ <view class="box_9">
|
|
|
+ <view class="tag_2" @click="pageTo({ url: '/admin/ghs/debtChange?ghsId='+ghsInfo.id})"> <text>欠款变动记录</text> </view>
|
|
|
+ <view class="tag_2" @click="pageTo({ url: '/admin/clear/list?ghsId='+ghsInfo.id})"> <text>结账记录</text> </view>
|
|
|
+ <view class="tag_2" @click="pageTo({url:'/pagesPurchase/shopping'})"> <text>买花记录</text> </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <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">待结订单 {{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" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="button_4 flex-col" v-if="ghsInfo.isOpen == 1" @click="enterShop(ghsInfo)"><text class="text_13">买花</text></view>
|
|
|
+ <view class="button_5 flex-col" v-else @click="enterShop(ghsInfo)"><text class="text_13">买花</text></view>
|
|
|
+ <text style="position:absolute;left:646upx;top:235upx;color:#a9a2a2;" @click.stop="bpSj(ghsInfo)">屏蔽</text>
|
|
|
</view>
|
|
|
- <view class="text-group_7 flex-col justify-between">
|
|
|
- <text class="text_8">{{ghsInfo.name}}</text>
|
|
|
- <text class="text_9"></text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="box_4 flex-col"></view>
|
|
|
- <view class="box_9">
|
|
|
- <view class="tag_2" @click="pageTo({ url: '/admin/ghs/debtChange?ghsId='+ghsInfo.id})"> <text>欠款变动记录</text> </view>
|
|
|
- <view class="tag_2" @click="pageTo({ url: '/admin/clear/list?ghsId='+ghsInfo.id})"> <text>结账记录</text> </view>
|
|
|
- <view class="tag_2" @click="pageTo({url:'/pagesPurchase/shopping'})"> <text>买花记录</text> </view>
|
|
|
-
|
|
|
- </view>
|
|
|
- <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">待结订单 {{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" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="button_4 flex-col" v-if="ghsInfo.isOpen == 1" @click="enterShop(ghsInfo)"><text class="text_13">买花</text></view>
|
|
|
- <view class="button_5 flex-col" v-else @click="enterShop(ghsInfo)"><text class="text_13">买花</text></view>
|
|
|
- <text style="position:absolute;left:646upx;top:235upx;color:#a9a2a2;" @click.stop="bpSj(ghsInfo)">屏蔽</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
- </template>
|
|
|
- <block v-else>
|
|
|
- <emptyComponent title="暂无供货商" :is-empty="$util.isEmpty(supplierList)" />
|
|
|
- </block>
|
|
|
+ </template>
|
|
|
+ <block v-else>
|
|
|
+ <emptyComponent title="暂无供货商" :is-empty="$util.isEmpty(supplierList)" />
|
|
|
+ </block>
|
|
|
+
|
|
|
+ <view class="app-footer open_btn">
|
|
|
+ <view @click="addGhs()" class="admin-button-com big blue">新增供货商</view>
|
|
|
+ </view>
|
|
|
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -71,7 +75,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
- hasPb(){
|
|
|
+ addGhs(){
|
|
|
|
|
|
},
|
|
|
suggest(){
|