回退版本

h5
fanfan 5 months ago
parent 24df0a93ba
commit 213339eb02
  1. 2
      pages/news3/seasoningCondimentsRecord.vue
  2. 2
      pages/news3/sendOutGoods.vue
  3. 2
      pages/news3/setOutRecords.vue
  4. 2
      pages/news3/shopOrder.vue
  5. 6
      pages/news3/shopOrderDetails.vue
  6. 3
      pages/news3/updateAddr.vue
  7. 2
      pages/news3/updatePrice.vue
  8. 2
      pages/order/detail.vue
  9. 8
      pages/order/refund/freight.vue
  10. 10
      pages/order/refund/index.vue
  11. 2
      pages/order/refund/refund.vue
  12. 2
      pages/order/refund/refundTips.vue

@ -105,7 +105,7 @@
} }
}, },
onLoad(o) { onLoad(o) {
this.form = JSON.parse(o.item) this.form = JSON.parse(decodeURIComponent(o.item))
this.send_name = this.modeList[this.form.send_type].text; this.send_name = this.modeList[this.form.send_type].text;
this.transferList = this.form.transfer_image_ids ? this.form.transfer_image_ids : []; this.transferList = this.form.transfer_image_ids ? this.form.transfer_image_ids : [];
this.chatList = this.form.chat_image_ids ? this.form.chat_image_ids : []; this.chatList = this.form.chat_image_ids ? this.form.chat_image_ids : [];

@ -162,7 +162,7 @@
}, },
}, },
onLoad(option) { onLoad(option) {
this.orderInfo = JSON.parse(option.item) this.orderInfo = JSON.parse(decodeURIComponent(option.item))
this.source = option.source; this.source = option.source;
if (this.source == 1) { if (this.source == 1) {
this.expressId = this.orderInfo.delivery[0].express_id this.expressId = this.orderInfo.delivery[0].express_id

@ -179,7 +179,7 @@
// //
onCondiments(e) { onCondiments(e) {
uni.navigateTo({ uni.navigateTo({
url: "/pages/news3/seasoningCondimentsRecord?item=" + JSON.stringify(e) url: "/pages/news3/seasoningCondimentsRecord?item=" + encodeURIComponent(JSON.stringify(e))
}) })
}, },
async getList(type) { async getList(type) {

@ -343,7 +343,7 @@
}, },
goJump(path, value, index) { goJump(path, value, index) {
uni.navigateTo({ uni.navigateTo({
url: path + '?item=' + JSON.stringify(value) + '&source=' + index, url: path + '?item=' + encodeURIComponent(JSON.stringify(value)) + '&source=' + index,
}) })
}, },
getListAfter() { getListAfter() {

@ -285,7 +285,7 @@
}; };
}, },
onLoad(option) { onLoad(option) {
this.order_id = JSON.parse(option.item).order_id this.order_id = JSON.parse(decodeURIComponent(option.item)).order_id
this.userInfo = uni.getStorageSync('userInfo'); this.userInfo = uni.getStorageSync('userInfo');
}, },
onShow() { onShow() {
@ -327,7 +327,7 @@
}, },
goJump(path, value, index) { goJump(path, value, index) {
uni.navigateTo({ uni.navigateTo({
url: path + '?item=' + JSON.stringify(value) + '&source=' + index, url: path + '?item=' + encodeURIComponent(JSON.stringify(value)) + '&source=' + index,
}) })
}, },
// //
@ -592,7 +592,7 @@
/* 收货地址 */ /* 收货地址 */
.shipping-address { .shipping-address {
height: 130upx; // height: 130upx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 4px 4px 4px 4px; border-radius: 4px 4px 4px 4px;
opacity: 1; opacity: 1;

@ -75,9 +75,8 @@
}; };
}, },
onLoad(optios) { onLoad(optios) {
console.log(JSON.parse(optios.item))
if (optios.item) { if (optios.item) {
this.orderInfo = JSON.parse(optios.item); this.orderInfo = JSON.parse(decodeURIComponent(optios.item));
this.cityInfo.province = this.orderInfo.address.region.province; this.cityInfo.province = this.orderInfo.address.region.province;
this.cityInfo.city = this.orderInfo.address.region.city; this.cityInfo.city = this.orderInfo.address.region.city;
this.cityInfo.area = this.orderInfo.address.region.region; this.cityInfo.area = this.orderInfo.address.region.region;

@ -129,7 +129,7 @@
} }
}, },
onLoad(option) { onLoad(option) {
this.orderInfo = JSON.parse(option.item) this.orderInfo = JSON.parse(decodeURIComponent(option.item))
this.expressPrice = this.orderInfo.express_price || 0 this.expressPrice = this.orderInfo.express_price || 0
} }

@ -700,7 +700,7 @@
// 退 // 退
onRefund(orderId, order, item) { onRefund(orderId, order, item) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/order/refund/index?orderId=' + orderId + '&order=' + JSON.stringify(order) + url: '/pages/order/refund/index?orderId=' + orderId + '&order=' + encodeURIComponent(JSON.stringify(order)) +
"&deliveryStatus=" + item.delivery_status + '&receiptStatus=' + item.receipt_status "&deliveryStatus=" + item.delivery_status + '&receiptStatus=' + item.receipt_status
}) })
}, },

@ -18,7 +18,7 @@
</view> </view>
</view> </view>
</view> </view>
<!-- <view class="fright-bd"> <!-- <view class="fright-bd">
<image :src="$picUrl+'/static/home/phone.jpg'" class="icon"></image> <image :src="$picUrl+'/static/home/phone.jpg'" class="icon"></image>
<view class="info"> <view class="info">
<view class="a">我要退货退款我要退货退款我要退货退款我要退货退款我要退货退款</view> <view class="a">我要退货退款我要退货退款我要退货退款我要退货退款我要退货退款</view>
@ -45,15 +45,15 @@
onLoad(op) { onLoad(op) {
console.log(op) console.log(op)
this.orderId = op.orderId; this.orderId = op.orderId;
this.order = op.order ? JSON.parse(op.order) : '' this.order = op.order ? JSON.parse(decodeURIComponent(op.order)) : ''
this.deliveryStatus = op.deliveryStatus; this.deliveryStatus = op.deliveryStatus;
this.receiptStatus = op.receiptStatus this.receiptStatus = op.receiptStatus
}, },
methods: { methods: {
openPage() { openPage() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/order/refund/refund?orderId=' + this.orderId + '&order=' + JSON.stringify(this url: '/pages/order/refund/refund?orderId=' + this.orderId + '&order=' + encodeURIComponent(JSON.stringify(this
.order) + .order)) +
"&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus "&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus
}) })
}, },

@ -48,9 +48,8 @@
}; };
}, },
onLoad(op) { onLoad(op) {
console.log(JSON.parse(op.order))
this.orderId = op.orderId; this.orderId = op.orderId;
this.order = op.order ? JSON.parse(op.order) : '' this.order = op.order ? JSON.parse(decodeURIComponent(op.order)) : ''
this.deliveryStatus = op.deliveryStatus; this.deliveryStatus = op.deliveryStatus;
this.receiptStatus = op.receiptStatus this.receiptStatus = op.receiptStatus
}, },
@ -58,14 +57,13 @@
openPage(index) { openPage(index) {
if (index == 4) { if (index == 4) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/order/refund/freight?orderId=' + this.orderId + '&order=' + JSON.stringify(this url: '/pages/order/refund/freight?orderId=' + this.orderId + '&order=' + encodeURIComponent(JSON.stringify(this.order))+
.order) +
"&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus "&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus
}) })
} else { } else {
uni.navigateTo({ uni.navigateTo({
url: '/pages/order/refund/refund?type='+index+'&orderId=' + this.orderId + '&order=' + JSON.stringify(this url: '/pages/order/refund/refund?type='+index+'&orderId=' + this.orderId + '&order=' + '&order=' + encodeURIComponent(JSON.stringify(this
.order) + .order)) +
"&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus "&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus
}) })
} }

@ -157,7 +157,7 @@
this.type = op.type; this.type = op.type;
this.receiptStatus = op.receiptStatus; this.receiptStatus = op.receiptStatus;
this.orderId = op.orderId this.orderId = op.orderId
this.order = op.order ? JSON.parse(op.order) : ''; this.order = op.order ? JSON.parse(decodeURIComponent(op.order)) : '';
this.value = this.order.is_user_grade ? this.order.grade_goods_price : this.order.goods_price; this.value = this.order.is_user_grade ? this.order.grade_goods_price : this.order.goods_price;
this.title = op.type==1?"申请退货退款":(op.type==2?"申请退款":"申请换货"); this.title = op.type==1?"申请退货退款":(op.type==2?"申请退款":"申请换货");
if(op.type==3){ if(op.type==3){

@ -32,7 +32,7 @@
onLoad(op) { onLoad(op) {
console.log(op) console.log(op)
this.orderId = op.orderId; this.orderId = op.orderId;
this.order = op.order ? JSON.parse(op.order) : '' this.order = op.order ?JSON.parse(decodeURIComponent(op.order)): ''
this.deliveryStatus = op.deliveryStatus; this.deliveryStatus = op.deliveryStatus;
this.receiptStatus = op.receiptStatus this.receiptStatus = op.receiptStatus
}, },

Loading…
Cancel
Save