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

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

@@ -268,8 +268,14 @@
       <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>
 
-      <button class="admin-button-com blue big" v-if="detailInfo.status== 3 || detailInfo.status== 2" @click="confirmTake()" style="margin-right:50upx;padding-left:50upx;padding-right:50upx;">确认收货</button>
-      <button class="admin-button-com blue big" v-if="detailInfo.status== 4" @click="confirmTake()" style="margin-right:50upx;padding-left:50upx;padding-right:50upx;">修改价格</button>
+      <block v-if="detailInfo.book == 0">
+        <button class="admin-button-com blue big" v-if="detailInfo.status== 3 || detailInfo.status== 2" @click="confirmTake()" style="margin-right:50upx;padding-left:50upx;padding-right:50upx;">确认收货</button>
+      </block>
+      <block v-else>
+        <button class="admin-button-com blue big" v-if="detailInfo.status== 3" @click="confirmTake()" style="margin-right:50upx;padding-left:50upx;padding-right:50upx;">确认收货</button>
+      </block>
+
+      <button class="admin-button-com blue big" v-if="detailInfo.status== 4" @click="confirmTake()" style="margin-right:50upx;padding-left:50upx;padding-right:50upx;">再改价格</button>
 
       <block v-if="detailInfo.status == 1">
         <button class="admin-button-com blue big" @click="toPay">去付款</button>