From e9cce359085a78c4e35fb20741766d6ca1247981 Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期五, 23 九月 2022 09:47:01 +0800 Subject: [PATCH] # --- pages/user/user.vue | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/pages/user/user.vue b/pages/user/user.vue index c02f676..d4ef273 100644 --- a/pages/user/user.vue +++ b/pages/user/user.vue @@ -6,6 +6,11 @@ <y-input title="搴撲綅鐮�" @input="show" v-model="locno"/> <y-input title="鎵樼洏鐮�" v-model="barcode" /> <y-input title="璁㈠崟鐮�" v-model="orderNo"></y-input> + <y-input-btn title="璁㈠崟鐮�" v-model="orderNo" btnTitle="鎻愬彇+" @confrim="changge"></y-input-btn> + <view>鍟嗗搧鐮�:{{matnr}}</view> + <view>搴撲綅鐮�:{{locno}}</view> + <view>鎵樼洏鐮�:{{barcode}}</view> + <view>璁㈠崟鐮�:{{orderNo}}</view> </scroll-view> </view> </template> @@ -32,6 +37,10 @@ }, show() { console.log(this.matnr,this.locno); + }, + changge() { + this.matnr = '' + console.log(this.barcode,this.orderNo); } } -- Gitblit v1.9.1