|
|
@@ -10,8 +10,8 @@
|
|
|
<view class="refund-label">退货商品:</view>
|
|
|
<view>
|
|
|
<view class="list" v-for="(res,i) in product" :key="i">
|
|
|
- <view class="flex list-title" >
|
|
|
- {{res.name}} ¥{{parseFloat(res.xhUnitPrice)}} x {{res.xhNum}}{{res.xhUnitName}} = ¥{{parseFloat(res.xhPrice)}}
|
|
|
+ <view class="flex list-title">
|
|
|
+ {{res.name}} ¥{{parseFloat(res.xhUnitPrice)}}x{{res.xhNum}}{{res.xhUnitName}}=¥{{parseFloat(res.xhPrice)}}
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -28,19 +28,20 @@
|
|
|
<view class="refund-label">驳回原因:</view>
|
|
|
<view class="list">{{info.rejectReason?info.rejectReason:''}}</view>
|
|
|
</view>
|
|
|
- <view class=" refund-item">
|
|
|
+ <view class=" refund-item" v-if="!$util.isEmpty(info.remark)">
|
|
|
<view class="refund-label">备注信息:</view>
|
|
|
<view class="list">{{info.remark?info.remark:''}}</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <view class=" refund-item">
|
|
|
+ <view class=" refund-item" v-if="from == 1">
|
|
|
+ <view class="refund-label">订单信息:</view>
|
|
|
+ <view class="list" style="color:#3385FF;font-weight:800;" @click="goToOrder(info)">点击查看</view>
|
|
|
+ </view>
|
|
|
+ <view class=" refund-item" v-if="info.smallImgList && !$util.isEmpty(info.smallImgList)">
|
|
|
<view class="refund-label">售后图片:</view>
|
|
|
<view class="list">
|
|
|
- <block v-if="info.smallImgList && !$util.isEmpty(info.smallImgList)">
|
|
|
- <block v-for="(itemImg, indexImg) in info.smallImgList" :key="indexImg">
|
|
|
- <image :src="itemImg" style="width:100upx;height:100upx;float:left;margin-left:20upx;margin-bottom:10upx;" @click="showBig(indexImg)" mode="widthFix"></image>
|
|
|
- </block>
|
|
|
- </block>
|
|
|
+ <block v-for="(itemImg, indexImg) in info.smallImgList" :key="indexImg">
|
|
|
+ <image :src="itemImg" style="width:100upx;height:100upx;float:left;margin-left:20upx;margin-bottom:10upx;" @click="showBig(indexImg)" mode="widthFix"></image>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -59,7 +60,7 @@
|
|
|
|
|
|
<uni-popup ref="rejectRef" background-color="#fff" type="center" :animation="false" class="class-popup-style">
|
|
|
<view style="padding:30upx;">
|
|
|
- <textarea v-model="rejectReason" style="border:1upx solid #cccccc;height:140upx;" placeholder="驳回原因..."></textarea>
|
|
|
+ <textarea v-model="rejectReason" style="border:1upx solid #cccccc;height:140upx;font-size:28upx;" placeholder="驳回原因..."></textarea>
|
|
|
<view style="text-align:center;">
|
|
|
<button class="admin-button-com big default" style="margin:30upx auto 10upx auto;width:45%;" @click="cancelReject()">取消</button>
|
|
|
<button class="admin-button-com big blue" style="margin:30upx auto 10upx 20upx;width:45%;" @click="confirmReject()">确认</button>
|
|
|
@@ -79,12 +80,19 @@ export default {
|
|
|
refundType:1,
|
|
|
remark:'',
|
|
|
info:[],
|
|
|
- rejectReason:''
|
|
|
+ rejectReason:'',
|
|
|
+ from:0
|
|
|
};
|
|
|
},
|
|
|
- onShow() {
|
|
|
+ onLoad() {
|
|
|
+ if(this.option.from){
|
|
|
+ this.from = this.option.from
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
+ goToOrder(info){
|
|
|
+ this.$util.pageTo({ url: '/pagesOrder/detail?id='+info.relateOrderId})
|
|
|
+ },
|
|
|
cancelReject(){
|
|
|
this.$refs.rejectRef.close()
|
|
|
},
|
|
|
@@ -172,10 +180,12 @@ export default {
|
|
|
padding-bottom: 30upx;
|
|
|
border-bottom: 1upx solid #dddddd;
|
|
|
.refund-label{
|
|
|
+ font-size:28upx;
|
|
|
width: 200upx;
|
|
|
text{color: red;}
|
|
|
}
|
|
|
.list{
|
|
|
+ font-size:28upx;
|
|
|
margin-bottom: 10upx;
|
|
|
.list-title{
|
|
|
height: 60upx;
|
|
|
@@ -196,7 +206,13 @@ export default {
|
|
|
.refund-item{
|
|
|
display: flex;
|
|
|
padding: 20upx 0;
|
|
|
- .refund-label{width: 200upx;text{color: red;}}
|
|
|
+ .refund-label{
|
|
|
+ font-size:28upx;
|
|
|
+ width: 200upx;
|
|
|
+ text{
|
|
|
+ color: red;
|
|
|
+ }
|
|
|
+ }
|
|
|
input{
|
|
|
border: 1upx solid #ddd;
|
|
|
}
|