调整订单退款
This commit is contained in:
parent
c676d944c5
commit
4e897e94e8
|
@ -142,7 +142,6 @@
|
||||||
// 上一个页面传递的售后参数
|
// 上一个页面传递的售后参数
|
||||||
const eventChannel = instance.getOpenerEventChannel();
|
const eventChannel = instance.getOpenerEventChannel();
|
||||||
eventChannel.on('orderDetail', function(data) {
|
eventChannel.on('orderDetail', function(data) {
|
||||||
console.log(data);
|
|
||||||
refundForm.id = data.id;
|
refundForm.id = data.id;
|
||||||
refundForm.old_cart_id = data.old_cart_id;
|
refundForm.old_cart_id = data.old_cart_id;
|
||||||
refundForm.refund_type = data.refund_type;
|
refundForm.refund_type = data.refund_type;
|
||||||
|
@ -215,7 +214,6 @@
|
||||||
//图片 refund_reason_wap_img
|
//图片 refund_reason_wap_img
|
||||||
if (fileList1.value.length > 0) {
|
if (fileList1.value.length > 0) {
|
||||||
fileList1.value.map(i => {
|
fileList1.value.map(i => {
|
||||||
console.log(i.url.uri);
|
|
||||||
urls.push(i.url.uri);
|
urls.push(i.url.uri);
|
||||||
});
|
});
|
||||||
refundForm.refund_reason_wap_img = urls.join(',');
|
refundForm.refund_reason_wap_img = urls.join(',');
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
<view class="scroll-wrap">
|
<view class="scroll-wrap">
|
||||||
<scroll-view style="max-height: 50vh;padding-bottom: 20rpx;" scroll-y>
|
<scroll-view style="max-height: 50vh;padding-bottom: 20rpx;" scroll-y>
|
||||||
<block v-for="(item,index) in goodsList" :key="index">
|
<block v-for="(item,index) in goodsList" :key="index">
|
||||||
<view class="goods">
|
<view v-if="item.status == 0" class="goods">
|
||||||
<view class="goods-item">
|
<view class="goods-item">
|
||||||
<view class="goods-item-left">
|
<view class="goods-item-left">
|
||||||
<view class="goods-item-left-img">
|
<view class="goods-item-left-img">
|
||||||
|
@ -264,7 +264,7 @@
|
||||||
let goodsListSel = [];
|
let goodsListSel = [];
|
||||||
goodsList.value.map(i => {
|
goodsList.value.map(i => {
|
||||||
if (i.isSelected) {
|
if (i.isSelected) {
|
||||||
ids.push(i.old_cart_id);
|
ids.push(i.id);
|
||||||
goodsListSel.push(i);
|
goodsListSel.push(i);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue