From b16657df1e9c6de6319375a86870df8f3d2ede01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=A6=E5=BD=A6=E7=A5=96?= <605893810@qq.com> Date: Thu, 14 Aug 2025 12:01:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=AD=BE=E5=90=88=E5=90=8C=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine_package/mine_order/mine_order.vue | 52 ++++++++++---------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/pages/mine_package/mine_order/mine_order.vue b/pages/mine_package/mine_order/mine_order.vue index f88e3b7..3bf80b5 100644 --- a/pages/mine_package/mine_order/mine_order.vue +++ b/pages/mine_package/mine_order/mine_order.vue @@ -189,11 +189,10 @@ - - - + + + @@ -204,7 +203,7 @@ import DownPopup from '@/components/common/down-popup.vue' import { getOrderList, confirmReceipt, getSignUrl, signContract, isSignContract, getMiniProgramSignUrl } from '@/api/order.js'; import dayjs from 'dayjs'; import { formatDate1, copyData } from '@/utils/index.js' -import {getUserInfo} from '@/api/auth.js' +import { getUserInfo } from '@/api/auth.js' export default { components: { DownPopup }, @@ -285,7 +284,7 @@ export default { signUrl: null, downShow: false, selectItem: null, - userInfo:null + userInfo: null } }, @@ -304,24 +303,24 @@ export default { getValue, formatDate1, copyData, - onTipsCancel(){ - this.tipsShow =false; + onTipsCancel() { + this.tipsShow = false; }, - userinfo(){ - getUserInfo().then(res=>{ - if(res.bizcode == 100){ + userinfo() { + getUserInfo().then(res => { + if (res.bizcode == 100) { this.userInfo = res.data; } - console.log('res',res) + console.log('res', res) }) }, - onCancel(){ + onCancel() { this.downShow = false; }, - onConfirm(){ + onConfirm() { this.onTipsCancel(); uni.navigateTo({ - url:'/pages/mine_package/mine_authentication/mine_authentication' + url: '/pages/mine_package/mine_authentication/mine_authentication' }) }, copyMobile(mobile) { @@ -439,13 +438,6 @@ export default { */ confirmReceiptOk(item) { const then = this; - - if (!this.isCheckSigne) { - - this.selectItem = item; - this.downShow = true; - return; - } uni.showModal({ title: '提示', content: '是否确认收货?', @@ -465,6 +457,12 @@ export default { this.orderList = []; this.form.page = 1; this.loadData(); + if (!this.isCheckSigne) { + + this.selectItem = item; + this.downShow = true; + return; + } } }, @@ -478,11 +476,11 @@ export default { // 发起合同签章 async onSignContract() { - if(this.userInfo.certStatus == 0){ + if (this.userInfo.certStatus == 0) { this.downShow = false; - this.tipsShow = true; + this.tipsShow = true; return; - }else if(this.userInfo.certStatus == 1){ + } else if (this.userInfo.certStatus == 1) { this.downShow = false; this.$refs.uToastRef.show({ type: 'success', @@ -490,7 +488,7 @@ export default { }); return; } - + const params = { // 需要的参数 orderId: this.selectItem.id,