From c6fe15bb4eab7708a8465e0574dce6d72293bb14 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 15 八月 2022 14:52:15 +0800 Subject: [PATCH] # --- pages/basics/outPakin.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pages/basics/outPakin.vue b/pages/basics/outPakin.vue index d2c5a92..7c2daef 100644 --- a/pages/basics/outPakin.vue +++ b/pages/basics/outPakin.vue @@ -281,6 +281,7 @@ }, // 娣诲姞鎵弿鏃ュ織 addLog(matCode,userName) { + let that = this; uni.request({ url: that.commonUrl + "/mobile/addLog/auth", @@ -293,6 +294,11 @@ }, // method:"POST", success(result) { + var res = result.data + if(res.code === 200) { + // uni.showToast({title: "娣诲姞鎴愬姛", icon: "none",position: 'center'}) + } + } }) @@ -334,15 +340,14 @@ // return; // uni.showLoading(); uni.request({ - url: that.commonUrl + '/mat/auth', + url: that.commonUrl + '/barcode/check/auth', data: { - matnr:matnr + barcode:that.matnrId }, header: { 'token':uni.getStorageSync('token') }, success(result) { - console.log(result) uni.hideLoading(); // uni.vibrateShort(); let res = result.data -- Gitblit v1.9.1