From b95f96d36c98cc0249f7758ab78a309a9f08abfd Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 11 十月 2022 13:45:30 +0800 Subject: [PATCH] # --- pages/basics/pakin.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue index 1a0eeee..3039192 100644 --- a/pages/basics/pakin.vue +++ b/pages/basics/pakin.vue @@ -87,7 +87,7 @@ <!-- 寮圭獥 --> <!-- 淇敼鏁伴噺 --> - <uni-popup ref="revise" background-color="#fff" @change="change"> + <uni-popup ref="revise" background-color="#fff"> <view class="revise-box "> <view class="revise-box-top"> <view class="color-block-blue"></view> @@ -195,6 +195,7 @@ resst() { this.matList = [] this.barcode = '' + this.matnr = '' this.barcodeFocuss() uni.vibrateShort(); }, @@ -251,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, @@ -274,7 +278,7 @@ let that = this uni.vibrateShort(); uni.navigateTo({ - url: "matSelect", + url: "matSelect3", events: { // 涓烘寚瀹氫簨浠舵坊鍔犱竴涓洃鍚櫒锛岃幏鍙栬鎵撳紑椤甸潰浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹� 鍙﹀涓�涓〉闈紶杩囨潵鐨� acceptDataFromOpenedPage: function(data) { -- Gitblit v1.9.1