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 } })