shish 3 yıl önce
ebeveyn
işleme
29b266c0a3

+ 1 - 2
ghsApp/src/pagesOrder/detail.vue

@@ -117,8 +117,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 || detailInfo.debt == 1" style="margin-left: 20upx;">发起退款</view>
-					<view @click.stop="goRefund()" v-else style="margin-left:20upx;">发起线下退款</view>
+					<view @click.stop="goRefund()" style="margin-left: 20upx;">发起退款</view>
 				</view>
 			</view>
 			<view class="module-com content-box">

+ 9 - 1
ghsApp/src/pagesOrder/refund.vue

@@ -51,6 +51,15 @@
 			<view class="refund-label">备注:</view>
 			<textarea v-model="remark" />
 		</view>
+		<view style="padding:20upx 0 20upx 0;font-size:34upx;font-weight:bold;">
+			<text v-if="orderInfo.onlinePay == 2" style="color:green;">注意:提交后,钱会自动按原路退回给客户</text>
+			<block v-else>
+				<text v-if="orderInfo.debt == 1 || Number(orderInfo.debtAmount)>0" style="color:#3385ff;">
+				注意:提交后,欠款金额会自动减少
+				</text>
+				<text v-else style="color:red;">注意:客户线下付款,提交后请线下转账给客户</text>
+			</block>
+		</view>
 		<view class="flex-center btn-box" style="margin-bottom:50upx;margin-top:20upx;">
 			<view class="flex-center btn" @tap="cancelRefund">取消</view>
 			<view class="flex-center btn active" @tap="confirmRefund" style="margin-left: 80upx">确定</view>
@@ -83,7 +92,6 @@ export default {
 	},
 	computed:{
 		refundPrice(){
-			console.log('tttt')
 			let price = 0
 			if(this.product){
 				for (const item of this.product) {