From 85517386646508a9d88a9cf7dac01250090f6b78 Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Sun, 21 Jul 2024 17:49:52 +0800 Subject: [PATCH] 1 --- pages/goods/cashier/index.vue | 9 ++++++++- pages/guide/index.vue | 1 + pages/users/shiming/index.vue | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pages/goods/cashier/index.vue b/pages/goods/cashier/index.vue index 7c4ae4f..b04cb25 100644 --- a/pages/goods/cashier/index.vue +++ b/pages/goods/cashier/index.vue @@ -285,7 +285,7 @@ psdPayHandle(newV){ checkPsw({password:newV}).then(res=>{ if(res.status!=200){ - console.log(res) + uni.showToast({ title: res.msg, icon: 'none', @@ -295,6 +295,13 @@ this.psdShow = false; this.goPay(this.number,this.paytype) } + }).catch((res)=>{ + + uni.showToast({ + title: res, + icon: 'none', + duration: 2000 + }); }) }, goPay(number, paytype) { diff --git a/pages/guide/index.vue b/pages/guide/index.vue index afdc466..bc36cf5 100644 --- a/pages/guide/index.vue +++ b/pages/guide/index.vue @@ -42,6 +42,7 @@ if (tagDate === nowDate) { if(this.isLogin){ getUserInfo().then(res => { + uni.setStorageSync('mark',res.data.renzheng.company_name) if(res.data.renzheng&&res.data.renzheng.status==1){ uni.switchTab({ url: '/pages/index/index' diff --git a/pages/users/shiming/index.vue b/pages/users/shiming/index.vue index ab98526..ec0b2af 100644 --- a/pages/users/shiming/index.vue +++ b/pages/users/shiming/index.vue @@ -206,7 +206,7 @@ }).then(res => { if(res.code=='100014'){ - + uni.setStorageSync('mark',this.infoForm.companyName) this.status = 3 } })