shish hace 4 años
padre
commit
fd8b98b77f
Se han modificado 1 ficheros con 10 adiciones y 2 borrados
  1. 10 2
      hdApp/src/pagesPurchase/order.vue

+ 10 - 2
hdApp/src/pagesPurchase/order.vue

@@ -9,6 +9,7 @@
               <view class="store_title">{{ghsInfo.name}}</view>
               <view class="accumulative"></view>
             </view>
+            <text class="debt-amount" v-if="Number(ghsInfo.debtAmount)>0">-¥{{parseFloat(ghsInfo.debtAmount)}}</text>
             <view class="cg-button" @click="enterShop(ghsInfo)">进店</view>
             <view :class="[ghsInfo.kiloFee && Number(ghsInfo.kiloFee)>0 ? 'could-book' : 'not-book', 'book-button']"  @click="bookItem(ghsInfo)">预订</view>
             <view :class="[ghsInfo.kiloFee && Number(ghsInfo.kiloFee)>0 ? 'could-book-text' : 'not-book-text', 'book-button-text']">
@@ -19,7 +20,7 @@
               <view class="btn_entrance" @click="pageTo({ url: '/admin/clear/list',query: {ghsId: ghsInfo.id}})">结账单</view>
               <view class="btn_entrance" @click="pageTo({url:'/pagesPurchase/shopping'})" > 采购记录 </view>
               <view class="btn_entrance" @click="settleAccounts(ghsInfo)"> 待结订单 </view>
-              <view class="btn_entrance" @click="pageTo({ url: '/admin/ghs/debtChange',query: {ghsId: ghsInfo.id}})">欠款变动明细-¥{{parseFloat(ghsInfo.debtAmount)}}</view>
+              <view class="btn_entrance" @click="pageTo({ url: '/admin/ghs/debtChange',query: {ghsId: ghsInfo.id}})">欠款变动明细</view>
             </view>
           </view>
         </block>
@@ -137,6 +138,13 @@ export default {
         font-size:22upx;
         color:white;
       }
+      .debt-amount{
+        color:red;
+        position: absolute;
+        top:65upx;
+        font-size:26upx;
+        right:260upx;
+      }
       .cg-button{
           display: inline-block;
           font-size: 28upx;
@@ -223,7 +231,7 @@ export default {
           font-size: 28upx;
           color: #BBBBBB;
           padding: 10upx 10upx;
-          margin-left: 20upx;
+          margin-left: 32upx;
           text-decoration: underline;
           color:#666666;
         }