|
@@ -13,15 +13,15 @@
|
|
|
<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:'/pagesPurchase/shopping'})" > 采购记录 </view>
|
|
|
|
|
- <view class="btn_entrance" style="color:red;" @click="settleAccounts(ghsInfo)"> 待结订单 </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" style="color:red;font-weight:bold;" @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 style="position:absolute;top:275upx;font-size:33upx;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}}元 <text style="text-decoration:underline;margin-left:18upx;">查看</text></view>
|
|
|
</view>
|
|
</view>
|
|
|
</block>
|
|
</block>
|
|
|
<block v-else>
|
|
<block v-else>
|
|
@@ -153,26 +153,28 @@ export default {
|
|
|
}
|
|
}
|
|
|
.cg-button{
|
|
.cg-button{
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
- font-size: 28upx;
|
|
|
|
|
|
|
+ font-size: 33upx;
|
|
|
|
|
+ font-weight:bold;
|
|
|
color: white;
|
|
color: white;
|
|
|
border: 1px solid #3385FF;
|
|
border: 1px solid #3385FF;
|
|
|
- border-radius: 110upx;
|
|
|
|
|
- padding: 20upx 35upx;
|
|
|
|
|
|
|
+ border-radius: 45upx;
|
|
|
|
|
+ padding: 20upx 40upx;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top:50upx;
|
|
|
|
|
- right:70upx;
|
|
|
|
|
|
|
+ top:56upx;
|
|
|
|
|
+ right:90upx;
|
|
|
background: #3385FF;
|
|
background: #3385FF;
|
|
|
}
|
|
}
|
|
|
.cg-button-rest{
|
|
.cg-button-rest{
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
- font-size: 28upx;
|
|
|
|
|
|
|
+ font-size: 33upx;
|
|
|
|
|
+ font-weight:bold;
|
|
|
color: white;
|
|
color: white;
|
|
|
border: 1px solid #CCCCCC;
|
|
border: 1px solid #CCCCCC;
|
|
|
- border-radius: 110upx;
|
|
|
|
|
- padding: 20upx 35upx;
|
|
|
|
|
|
|
+ border-radius: 45upx;
|
|
|
|
|
+ padding: 20upx 40upx;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top:50upx;
|
|
|
|
|
- right:70upx;
|
|
|
|
|
|
|
+ top:56upx;
|
|
|
|
|
+ right:90upx;
|
|
|
background: #CCCCCC;
|
|
background: #CCCCCC;
|
|
|
}
|
|
}
|
|
|
.book-button{
|
|
.book-button{
|
|
@@ -246,10 +248,10 @@ export default {
|
|
|
left: 0upx;
|
|
left: 0upx;
|
|
|
& > .btn_entrance {
|
|
& > .btn_entrance {
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
- font-size: 32upx;
|
|
|
|
|
|
|
+ font-size: 33upx;
|
|
|
color: #BBBBBB;
|
|
color: #BBBBBB;
|
|
|
padding: 10upx 10upx;
|
|
padding: 10upx 10upx;
|
|
|
- margin-left: 25upx;
|
|
|
|
|
|
|
+ margin-left: 16upx;
|
|
|
text-decoration: underline;
|
|
text-decoration: underline;
|
|
|
color:#666666;
|
|
color:#666666;
|
|
|
}
|
|
}
|