shish 2 лет назад
Родитель
Сommit
40c8a62ed2
1 измененных файлов с 10 добавлено и 4 удалено
  1. 10 4
      hdApp/src/pagesPurchase/purDetails.vue

+ 10 - 4
hdApp/src/pagesPurchase/purDetails.vue

@@ -149,6 +149,7 @@
         <view class="commodity-view">
           <view class="infoAEdit">
             <text>商品信息</text>
+            <text style="float:right;color:green;">{{ detailInfo.customName ? detailInfo.customName : '' }}</text>
           </view>
           <view class="commodity-list">
             <view v-for="(s, idx) in detailInfo.product" :key="idx" class="commodity-item" style="position:relative;">
@@ -263,6 +264,13 @@
 
     </view>
     <view class="app-footer open_btn">
+
+      <block v-if="detailInfo.status != 1">
+        <block v-if="afterSale == 1">
+          <button class="admin-button-com big" style="margin-right:60upx;" @click="refundOrder()">申请售后</button>
+        </block>
+      </block>
+
       <button class="admin-button-com blue big" open-type="share" v-if="detailInfo.status!=5 && detailInfo.payStatus != 1" 
       style="margin-right:50upx;padding-left:50upx;padding-right:50upx;">邀请付款</button>
 
@@ -278,10 +286,8 @@
       <block v-if="detailInfo.status == 1">
         <button class="admin-button-com blue big" @click="toPay">去付款</button>
       </block>
-      <block v-else>
-        <block v-if="afterSale == 1">
-          <button class="admin-button-com blue big" style="margin-right:60upx;" @click="refundOrder()">申请售后</button>
-        </block>
+
+      <block v-if="detailInfo.status != 1">
         <button class="admin-button-com blue big" @click="clearOrder" v-if="detailInfo.debt == 1">结清本单</button>
       </block>