From 589f1fe764d5982b11dcd2f580e7a10cf3391a5c Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期五, 03 五月 2024 17:19:56 +0800 Subject: [PATCH] # --- pages/pakin/pickOut.vue | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/pages/pakin/pickOut.vue b/pages/pakin/pickOut.vue index 6122a92..5ec2606 100644 --- a/pages/pakin/pickOut.vue +++ b/pages/pakin/pickOut.vue @@ -456,7 +456,7 @@ combConfirm(type) { this.msgType = type this.title = '璀﹀憡' - this.content = '鏄惁鐜板湪缁勬墭!' + this.content = '鏄惁鐜板湪琛ユ枡鍑哄簱!' this.$refs.combConfirm.open() }, combClose() { @@ -483,10 +483,11 @@ } } uni.request({ - url: that.baseUrl + '/mobile/comb/auth', + url: that.baseUrl + '/locComb/out/start', data: JSON.stringify({ - barcode: that.barcode, - combMats: that.dataList + devpNo: that.floor, + list: that.newDataList, + locNo: that.barcode }), method: 'POST', header: { @@ -495,12 +496,14 @@ success(result) { var res = result.data if (res.code === 200) { - that.resst(); - that.messageText = "缁勬墭鎴愬姛" + console.log(res); + that.dataList = [] + that.newDataList = [] + that.barcode = '' + that.floor = null + that.messageText = res.msg that.messageToggle('success') - const innerAudioContext = uni.createInnerAudioContext(); - innerAudioContext.src = '/static/music/pakinOk.mp3'; - innerAudioContext.play() + that.barcodeFocuss() } else if (res.code == 403) { that.messageText = res.msg that.messageToggle('error') @@ -549,7 +552,7 @@ margin-top: 360rpx; } .list:last-child { - /* margin-bottom: 120rpx; */ + margin-bottom: 20rpx; } .code { width: 100%; -- Gitblit v1.9.1