|
@@ -9,17 +9,19 @@
|
|
|
<view class="store_title">{{ghsInfo.name}}</view>
|
|
<view class="store_title">{{ghsInfo.name}}</view>
|
|
|
<view class="accumulative"></view>
|
|
<view class="accumulative"></view>
|
|
|
</view>
|
|
</view>
|
|
|
- <text class="debt-amount" v-if="Number(ghsInfo.debtAmount)>0">-¥{{parseFloat(ghsInfo.debtAmount)}}</text>
|
|
|
|
|
- <view :class="[ghsInfo.isOpen == 0 ? 'cg-button-rest' : 'cg-button']" @click="enterShop(ghsInfo)">进店</view>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <view :class="[ghsInfo.isOpen == 0 ? 'cg-button-rest' : 'cg-button']" @click="enterShop(ghsInfo)">买花</view>
|
|
|
|
|
|
|
|
<view class="store_btn">
|
|
<view class="store_btn">
|
|
|
<view class="btn_entrance" @click="pageTo({ url: '/admin/clear/list?ghsId='+ghsInfo.id})">结账单</view>
|
|
<view class="btn_entrance" @click="pageTo({ url: '/admin/clear/list?ghsId='+ghsInfo.id})">结账单</view>
|
|
|
<view class="btn_entrance" @click="pageTo({url:'/pagesPurchase/shopping'})" > 采购记录 </view>
|
|
<view class="btn_entrance" @click="pageTo({url:'/pagesPurchase/shopping'})" > 采购记录 </view>
|
|
|
- <view class="btn_entrance" @click="settleAccounts(ghsInfo)"> 待结订单 </view>
|
|
|
|
|
|
|
+ <view class="btn_entrance" style="color:red;" @click="settleAccounts(ghsInfo)"> 待结订单 </view>
|
|
|
<view class="btn_entrance" @click="pageTo({ url: '/admin/ghs/debtChange?ghsId='+ghsInfo.id})">欠款变动明细</view>
|
|
<view class="btn_entrance" @click="pageTo({ url: '/admin/ghs/debtChange?ghsId='+ghsInfo.id})">欠款变动明细</view>
|
|
|
</view>
|
|
</view>
|
|
|
<text v-if="ghsInfo.isOpen == 0"
|
|
<text v-if="ghsInfo.isOpen == 0"
|
|
|
style="position:absolute;top:0upx;left:0upx;color:white;background-color:#CCCCCC;padding:3upx 18upx;font-size:24upx;">已休店</text>
|
|
style="position:absolute;top:0upx;left:0upx;color:white;background-color:#CCCCCC;padding:3upx 18upx;font-size:24upx;">已休店</text>
|
|
|
|
|
+ <view style="position:absolute;top:275upx;font-size:29upx;text-align:center;width:100vw;color:red;font-weight:bold;" @click="settleAccounts(ghsInfo)" v-if="Number(ghsInfo.debtAmount)>0"
|
|
|
|
|
+ >待结 {{ghsInfo.debtNum}}笔{{ghsInfo.debtAmount?parseFloat(ghsInfo.debtAmount):0}}元</view>
|
|
|
</view>
|
|
</view>
|
|
|
</block>
|
|
</block>
|
|
|
<block v-else>
|
|
<block v-else>
|
|
@@ -126,7 +128,7 @@ export default {
|
|
|
.list_item {
|
|
.list_item {
|
|
|
margin: 20upx 0 0;
|
|
margin: 20upx 0 0;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
- height: 300upx;
|
|
|
|
|
|
|
+ height: 350upx;
|
|
|
width: 100vw;
|
|
width: 100vw;
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -244,10 +246,10 @@ export default {
|
|
|
left: 0upx;
|
|
left: 0upx;
|
|
|
& > .btn_entrance {
|
|
& > .btn_entrance {
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
- font-size: 30upx;
|
|
|
|
|
|
|
+ font-size: 32upx;
|
|
|
color: #BBBBBB;
|
|
color: #BBBBBB;
|
|
|
padding: 10upx 10upx;
|
|
padding: 10upx 10upx;
|
|
|
- margin-left: 32upx;
|
|
|
|
|
|
|
+ margin-left: 25upx;
|
|
|
text-decoration: underline;
|
|
text-decoration: underline;
|
|
|
color:#666666;
|
|
color:#666666;
|
|
|
}
|
|
}
|