shish 3 лет назад
Родитель
Сommit
51109b4032
1 измененных файлов с 7 добавлено и 3 удалено
  1. 7 3
      ghsApp/src/pagesOrder/detail.vue

+ 7 - 3
ghsApp/src/pagesOrder/detail.vue

@@ -64,7 +64,7 @@
 				<view class="order-info_box" v-if="detailInfo.status != 1 && detailInfo.status!=5">
 					<view>付款方式:</view>
 					<view>
-						<text :class="[detailInfo.payWay==3 ? 'red-mind' : '']">
+						<text :class="[detailInfo.payWay==3 && detailInfo.clearId == 0 ? 'red-mind' : 'normal-mind']">
 							{{ detailInfo.payWay==0?'微信':detailInfo.payWay==1?'支付宝':detailInfo.payWay==2?'余额':detailInfo.payWay==4?'现金':detailInfo.payWay==5?'银行卡':detailInfo.payWay==3?'欠款':'--' }}
 						</text>
 						<text v-if="Number(detailInfo.clearId)>0" style="color:#3385ff;font-weight:bold;">(已结清)</text>
@@ -73,7 +73,7 @@
 						<button @click="pageTo({url: '/admin/clear/customInfo',query: {id: detailInfo.clearId}})" class="admin-button-com">查看结账单</button>
 					</view>
 					<view class="price" v-if="detailInfo.debt == 1">
-						<button @click='pageTo({url:"/pagesArrears/details",query: {id: detailInfo.customId}})' class="admin-button-com">全部欠款</button>
+						<button @click='pageTo({url:"/pagesArrears/details",query: {id: detailInfo.customId}})' class="admin-button-com" style="border:1upx solid red;color:red;">全部欠款</button>
 					</view>
 				</view>
 				<view class="order-info_box">
@@ -104,7 +104,7 @@
 			<view class="flex-space title">
 				商品信息
 				<view class="flex" style="color: #3385ff;font-weight: 400" v-if="detailInfo.status == 4">
-					<view @click.stop="goRefund()" v-if="detailInfo.onlinePay == 2" style="margin-left: 20upx;">发起退款</view>
+					<view @click.stop="goRefund()" v-if="detailInfo.onlinePay == 2 || detailInfo.debt == 1" style="margin-left: 20upx;">发起退款</view>
 					<view @click.stop="goRefund()" v-else style="margin-left:20upx;">发起线下退款</view>
 				</view>
 			</view>
@@ -677,6 +677,10 @@ export default {
 				color:red;
 				font-weight:bold;
 			}
+			.normal-mind{
+				color:#3385ff;
+				font-weight:bold;
+			}
 		}
 	}
 	.content-box {