pifa
fanfan 4 months ago
parent e7464a86d5
commit ab10eebc32
  1. 14
      pages/order/detail.vue
  2. 7
      pages/order/index.vue
  3. 44
      pages/order/reviewOrder.vue
  4. 1
      pages/user/index.vue

@ -296,6 +296,8 @@
v-if="(order.pay_status == PayStatusEnum.SUCCESS.value && order.delivery_status == ReceiptStatusEnum.NOT_RECEIVED.value)||order.order_status == OrderStatusEnum.CANCELLED.value">
再次购买
</view>
<view class="buyAgain" @click="onShenOrder(order.order_id)" v-if="order.is_standard==1">审单
</view>
<view class="buyAgain" @click="onCopyLink(order.jd_link)" v-if="order.jd_link">
复制链接
</view>
@ -418,15 +420,15 @@
menushow: false,
Store: '',
userInfo: {},
setting: {}
setting: {},
dataType: ''
}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad({
orderId
}) {
orderId}) {
// ID
this.orderId = orderId
//
@ -470,6 +472,12 @@
}
},
methods: {
onShenOrder(orderId) {
uni.navigateTo({
url: '/pages/order/reviewOrder?orderId=' + orderId + '&dataType=' + this.dataType + '&type=' +
2
})
},
// 线
handleContact() {
//

@ -257,7 +257,7 @@
showQRCodePopup: false,
// url ()
qrcodeImage: '',
standard_status: ''
standard_status: '',
}
},
@ -382,7 +382,7 @@
},
onShenOrder(orderId) {
uni.navigateTo({
url: '/pages/order/reviewOrder?orderId=' + orderId
url: '/pages/order/reviewOrder?orderId=' + orderId+'&dataType='+this.getTabValue()+'&type='+1
})
},
onCopyLink(str) {
@ -554,7 +554,8 @@
//
goOrderDetail(orderId) {
this.$navTo('pages/order/detail', {
orderId
orderId,
dataType:this.getTabValue()
})
},
onCdDia(orderId) {

@ -39,7 +39,7 @@
<view class="shenRoide" style="border-top: none;">
<u-radio-group v-model="value_2" @change="radioChange_2">
<view class="radio-group">
<u-radio v-for="(item, index) in list_2" activeColor="red" :key="index" :name="item">
<u-radio v-for="(item, index) in list_2" activeColor="red" :key="index" :name="item">
{{item.name}}
</u-radio>
</view>
@ -88,8 +88,7 @@
提交审核
</view>
<view class="shendanCode" v-if="storeInfo.standard_image">
<image
@click="previewImage(storeInfo.standard_image.preview_url)"
<image @click="previewImage(storeInfo.standard_image.preview_url)"
:src="storeInfo.standard_image.preview_url" mode=""></image>
<view class="name">
审单疑问 欢迎咨询
@ -108,7 +107,7 @@
<view class="poptext">
我们会尽快审核哦!
</view>
<view class="knowBtn" @click="popShow = false">
<view class="knowBtn" @click="onClickYes()">
我知道了
</view>
</view>
@ -160,11 +159,15 @@
value_1: '',
value_2: '',
popShow: false,
orderId: ''
orderId: '',
dataType: 'all',
laiType: ''
}
},
onLoad(options) {
this.orderId = options.orderId
this.dataType = options.dataType || 'all'
this.laiType = options.type
this.storeInfo = JSON.parse(uni.getStorageSync("storeInfo"));
},
onShow() {
@ -190,6 +193,29 @@
}
},
methods: {
onClickYes() {
let that=this
that.popShow = false
const pages = getCurrentPages(); //
const prevPage = pages[pages.length - 2]; //
if (prevPage) {
if (that.laiType == 1) {
prevPage.onLoad({
dataType: that.dataType
}); // onLoad
}
if (that.laiType == 2) {
prevPage.onLoad({
orderId: that.orderId
}); // onLoad
}
}
//
uni.navigateBack({
delta: 1 // delta 1
});
},
previewImage(image_url) {
// API
uni.previewImage({
@ -198,11 +224,9 @@
});
},
// radio
radioChange_1(e) {
},
radioChange_1(e) {},
// radioradio-group
radioChange_2(e) {
},
radioChange_2(e) {},
toTextPage(type) {
uni.navigateTo({
url: '/pages/news1/text?pageFlag=' + type
@ -210,6 +234,8 @@
},
async nextSumbit() {
let that = this
that.popShow = true
return
if (!that.value_1) {
uni.showToast({
title: "请选择您的这单客户来源",

@ -1175,7 +1175,6 @@
});
},
goMember(type) {
console.log('啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦')
if (this.isLogin == false) {
this.goLogin();
return;

Loading…
Cancel
Save