shish 1 сар өмнө
parent
commit
154b94f07b

+ 2 - 22
hdApp/src/pagesPurchase/purDetails.vue

@@ -168,9 +168,9 @@
           </view>
         </view>
 
-        <view class="order-info_box" style="margin-top:35upx;" v-if="Number(detailInfo.debtAmount)>0 && detailInfo.showForPay==1">
+        <view class="order-info_box" style="margin-top:35upx;" v-if="Number(detailInfo.remainDebtAmount)>0 && detailInfo.showForPay==1">
           <view>累计待结:</view>
-          <view style="font-weight:bold;color:red;font-size:29upx;">¥{{detailInfo.debtAmount?parseFloat(detailInfo.debtAmount):0}}</view>
+          <view style="font-weight:bold;color:red;font-size:29upx;">¥{{detailInfo.remainDebtAmount?parseFloat(detailInfo.remainDebtAmount):0}}</view>
           <view class="price" v-if="loginStyle != 0">
             <button @click="goToSettle(detailInfo)" class="admin-button-com" style="padding:20upx 15upx;" v-if="detailInfo.remainDebtAmount>0">
             选订单结账
@@ -178,26 +178,6 @@
           </view>
         </view>
 
-        <block v-if="Number(detailInfo.inMyGhsBalance)>0">
-          <view class="order-info_box" style="margin-top:35upx;" v-if="detailInfo.remainDebtAmount>0">
-            <view>减去余额:</view>
-            <view style="font-weight:bold;color:#3385ff;font-size:29upx;">
-              ¥{{detailInfo.inMyGhsBalance?parseFloat(detailInfo.inMyGhsBalance):0}} 实欠 ¥{{detailInfo.remainDebtAmount?parseFloat(detailInfo.remainDebtAmount):0}}
-            </view>
-            <view class="price" v-if="loginStyle != 0">
-              <button @click="goToRecharge(detailInfo)" class="admin-button-com" style="padding:20upx 15upx;">
-              按金额结账
-              </button>
-            </view>
-          </view>
-          <view class="order-info_box" style="margin-top:35upx;" v-if="detailInfo.remainDebtAmount<0">
-            <view>账户余额:</view>
-            <view style="font-weight:bold;color:#3385ff;font-size:29upx;">
-              ¥{{Math.abs(detailInfo.remainDebtAmount)}} 已结清
-            </view>
-          </view>
-        </block>
-
       </view>
 
       <view class="module-com content-box proInfo">