From 00a78d2e39370d54593fad7e3386b4669edc8346 Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Mon, 14 Jul 2025 18:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8PayStatus=E9=A1=B5=E9=9D=A2=E6=96=B0?= =?UTF-8?q?=E5=8A=A0=E6=8C=89=E9=92=AE=EF=BC=9B=E6=96=B0=E5=A2=9E=E6=8A=AC?= =?UTF-8?q?=E5=A4=B4=E7=9A=84input=E6=A0=BC=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageA/my/pendinPayDetail.vue | 3 +++ packageA/my/pendinPayStatus.vue | 14 ++++++++++++++ packageB/invoice/addHead.vue | 8 ++++---- packageB/invoice/addInvoice.vue | 1 + packageB/invoice/invoiceCenter.vue | 3 ++- pages/my/index.vue | 16 ++++++++++------ 6 files changed, 34 insertions(+), 11 deletions(-) diff --git a/packageA/my/pendinPayDetail.vue b/packageA/my/pendinPayDetail.vue index 38bdb69..0a97add 100644 --- a/packageA/my/pendinPayDetail.vue +++ b/packageA/my/pendinPayDetail.vue @@ -92,7 +92,9 @@ 付款时间 {{ formattime(detailAny.paytime) }} + + {{detailAny.status}} @@ -492,6 +494,7 @@ // this.qrList = res.data.detail.ordercode; this.qrimages = res.data.detail.ordercode; this.detailAny = res.data.detail; + console.log('{{detailAny.status}}',detailAny.status,detailAny); this.generateAllQRCodes() } else { uni.showToast({ diff --git a/packageA/my/pendinPayStatus.vue b/packageA/my/pendinPayStatus.vue index a8ea597..c7fa1a4 100644 --- a/packageA/my/pendinPayStatus.vue +++ b/packageA/my/pendinPayStatus.vue @@ -125,6 +125,14 @@ + + 去支付 + + 申请售后 @@ -255,6 +263,12 @@ url: `/packageA/center/detail?id=${this.detail.activity_id}` }) }, + // 去支付 + toPay(id, order_no) { + uni.navigateTo({ + url: "/packageA/my/pendinPay?id=" + id + "&order_no=" + order_no + }) + }, //申请售后 service(id) { uni.navigateTo({ diff --git a/packageB/invoice/addHead.vue b/packageB/invoice/addHead.vue index 3404363..f4780f2 100644 --- a/packageB/invoice/addHead.vue +++ b/packageB/invoice/addHead.vue @@ -80,12 +80,12 @@ - - - - diff --git a/packageB/invoice/addInvoice.vue b/packageB/invoice/addInvoice.vue index 2dae1f1..078c231 100644 --- a/packageB/invoice/addInvoice.vue +++ b/packageB/invoice/addInvoice.vue @@ -369,6 +369,7 @@ } }, onLoad(options) { + this.headShow = false; console.log('options:', options.num, options.order_nos); this.num = options.num this.order_nos = options.order_nos diff --git a/packageB/invoice/invoiceCenter.vue b/packageB/invoice/invoiceCenter.vue index 7717511..b9eaa70 100644 --- a/packageB/invoice/invoiceCenter.vue +++ b/packageB/invoice/invoiceCenter.vue @@ -340,6 +340,7 @@ // status: 9, // keywords: this.keywords, invoice_status: 0, + have_invoice:1, } }).then(res => { console.log('code', res.code); @@ -441,7 +442,7 @@ // keywords: this.keywords, page: this.page, limit: this.limit, - status: this.recordeStatus + status: this.recordeStatus, } }).then(res => { if (res.code == 1) { diff --git a/pages/my/index.vue b/pages/my/index.vue index 22fd002..ffd6952 100644 --- a/pages/my/index.vue +++ b/pages/my/index.vue @@ -329,7 +329,7 @@ const activityInfo = uni.getStorageSync('activityInfo') const niName = uni.getStorageSync('niName') if (niName) { - console.log(1, 'niName', niName) + console.log('1-',1, 'niName', niName) this.userName = niName } else { console.log(2) @@ -419,7 +419,7 @@ }) }, callPhone(phone) { - console.log(phone) + console.log('phone',phone) uni.showToast({ title: '开发中,敬请期待~', icon: 'none' @@ -498,7 +498,7 @@ // }) }, to(url) { - console.log(url) + console.log('url',url) uni.navigateTo({ url: url }); @@ -575,11 +575,12 @@ //小程序静默登录 miniLogin() { + console.log('小程序静默登录'); let _this = this; uni.getProvider({ service: 'oauth', success: function(res) { - console.log(res) + console.log('小程序静默登录-res',res) if (~res.provider.indexOf('weixin')) { uni.login({ provider: 'weixin', @@ -645,7 +646,9 @@ getPhoneNumber(e) { var _this = this; //_this.miniLogin() + console.log('获取手机号',e,e.detail.iv); if (!e.detail.iv) { + console.log('!e.detail.iv'); uni.showToast({ title: '授权失败,请重新授权', icon: 'none', @@ -694,7 +697,7 @@ iv: data.iv, sessionKey: data.sessionKey, }).then(res => { - console.log('res', res) + console.log('解析手机号-res', res) if (res.code == 1) { _this.userRegister(res.data.phoneNumber, openidInfo.openid); } else { @@ -713,7 +716,7 @@ //用户注册 userRegister(mobile, openid) { var _this = this; - console.log(uni.getStorageInfoSync("code")) + console.log('用户注册-uni.getStorageInfoSync("code")',uni.getStorageInfoSync("code")) uni.$u.http.post('/api/user/registerLogin', { mobile: mobile, openid: openid, @@ -834,6 +837,7 @@ clickTop() { + console.log('clickTop'); // uni.navigateTo({ // url: '/packageA/my/person-detail' // })