From c4717434cb864536b0f40aa97005af04fa50b49b Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期五, 17 十月 2025 09:08:37 +0800
Subject: [PATCH] 12
---
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