From 985c4f084d77d04e9982bf3f514702122dd151cd Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期六, 13 八月 2022 17:06:29 +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