From 4ef4fea7f3e36342100d82061c40b00c45a18801 Mon Sep 17 00:00:00 2001 From: whycq <123456> Date: 星期一, 17 十月 2022 08:49:50 +0800 Subject: [PATCH] # --- pages/basics/pakin.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue index e1a916a..4d39b4d 100644 --- a/pages/basics/pakin.vue +++ b/pages/basics/pakin.vue @@ -100,7 +100,7 @@ <view class="changeBox"> <view class="num-box"> <text style="display: inline-block;float: left;width: 50px;">鎵瑰彿锛�</text> - <uni-number-box :value="count" :max="9999" color="#747474" @change="changeValue"/> + <uni-number-box :value="count" :max="9999999" color="#747474" @change="changeValue"/> </view> </view> <view class="revise-box-buttom"> @@ -195,6 +195,7 @@ resst() { this.matList = [] this.barcode = '' + this.matnr = '' this.barcodeFocuss() uni.vibrateShort(); }, @@ -248,9 +249,13 @@ 'token':uni.getStorageSync('token') }, success(result) { + console.log(result); uni.hideLoading(); var res = result.data if (res.code === 200) { + const innerAudioContext = uni.createInnerAudioContext(); + innerAudioContext.src = '/static/music/pakinOk.mp3'; + innerAudioContext.play() that.resst(); uni.showToast({ title: res.msg, -- Gitblit v1.9.1