liudan 4 months ago
parent 7090c14ba3
commit 8551738664
  1. 9
      pages/goods/cashier/index.vue
  2. 1
      pages/guide/index.vue
  3. 2
      pages/users/shiming/index.vue

@ -285,7 +285,7 @@
psdPayHandle(newV){ psdPayHandle(newV){
checkPsw({password:newV}).then(res=>{ checkPsw({password:newV}).then(res=>{
if(res.status!=200){ if(res.status!=200){
console.log(res)
uni.showToast({ uni.showToast({
title: res.msg, title: res.msg,
icon: 'none', icon: 'none',
@ -295,6 +295,13 @@
this.psdShow = false; this.psdShow = false;
this.goPay(this.number,this.paytype) this.goPay(this.number,this.paytype)
} }
}).catch((res)=>{
uni.showToast({
title: res,
icon: 'none',
duration: 2000
});
}) })
}, },
goPay(number, paytype) { goPay(number, paytype) {

@ -42,6 +42,7 @@
if (tagDate === nowDate) { if (tagDate === nowDate) {
if(this.isLogin){ if(this.isLogin){
getUserInfo().then(res => { getUserInfo().then(res => {
uni.setStorageSync('mark',res.data.renzheng.company_name)
if(res.data.renzheng&&res.data.renzheng.status==1){ if(res.data.renzheng&&res.data.renzheng.status==1){
uni.switchTab({ uni.switchTab({
url: '/pages/index/index' url: '/pages/index/index'

@ -206,7 +206,7 @@
}).then(res => { }).then(res => {
if(res.code=='100014'){ if(res.code=='100014'){
uni.setStorageSync('mark',this.infoForm.companyName)
this.status = 3 this.status = 3
} }
}) })

Loading…
Cancel
Save