From 4ab124f41c545363113cf17d3a6a33100efbcb07 Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期六, 15 十月 2022 08:35:23 +0800 Subject: [PATCH] # --- pages/basics/pakin.vue | 26 +++++++++++++++++++------- 1 files changed, 19 insertions(+), 7 deletions(-) diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue index 06603a2..3fed5a0 100644 --- a/pages/basics/pakin.vue +++ b/pages/basics/pakin.vue @@ -87,15 +87,20 @@ <!-- 寮圭獥 --> <!-- 淇敼鏁伴噺 --> - <uni-popup ref="revise" background-color="#fff" @change="change"> - <view class="revise-box"> + <uni-popup ref="revise" background-color="#fff"> + <view class="revise-box "> <view class="revise-box-top"> <view class="color-block-blue"></view> - <text class="title">淇敼鏁伴噺</text> + <text class="title">淇敼鎵瑰彿/鏁伴噺</text> + </view> + <view class="" style="position: relative;left: 50px;margin-bottom: 20px;"> + <text style="display: inline-block;float: left;width: 50px;">鎵瑰彿锛�</text> + <input type="text" style="width: 100px;border-bottom: 1px solid #9e9e9e;" v-model="batch"> </view> <view class="changeBox"> <view class="num-box"> - <uni-number-box :value="count" :max="9999" color="#747474" @change="changeValue"/> + <text style="display: inline-block;float: left;width: 50px;">鎵瑰彿锛�</text> + <uni-number-box :value="count" :max="999999" color="#747474" @change="changeValue"/> </view> </view> <view class="revise-box-buttom"> @@ -131,6 +136,7 @@ check:false, checkText:'鍏ㄩ��', checkedData:[], + batch:'' } }, onShow() { @@ -189,6 +195,7 @@ resst() { this.matList = [] this.barcode = '' + this.matnr = '' this.barcodeFocuss() uni.vibrateShort(); }, @@ -245,6 +252,9 @@ 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, @@ -399,6 +409,7 @@ }, confirm() { this.matList[this.rowNum].anfme = this.count + this.matList[this.rowNum].batch = this.batch this.$refs.revise.close() this.$forceUpdate() // 寮哄埗鍒锋柊 }, @@ -453,8 +464,9 @@ /* @import "../../colorui/main.css"; @import "../../colorui/icon.css"; */ .revise-box { - width: 400rpx; - height: 300rpx; + position: relative; + width: 500rpx; + height: 400rpx; border-radius: 25px; } .revise-box-top { @@ -470,7 +482,7 @@ margin-left: 100rpx; } .revise-box-buttom{ - margin-left: 130rpx; + margin-left: 190rpx; } .pak-seach-box { background-color: #FFFFFF; -- Gitblit v1.9.1