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 | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/pages/user/user.vue b/pages/user/user.vue
index 0c62e3e..d4ef273 100644
--- a/pages/user/user.vue
+++ b/pages/user/user.vue
@@ -2,8 +2,15 @@
<view class="">
<scroll-view class="scroll-Y">
<button size="mini" @click="up">btn</button>
- <y-input title="鍟嗗搧鐮�" @input="show" v-model="matnr"/>
+ <y-input title="鍟嗗搧鐮�" @input="show" v-model="matnr" placeholder=" 鎵爜 / 杈撳叆"/>
<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>
@@ -13,8 +20,11 @@
data () {
return {
scrollY:true,
- matnr:'1',
- locno: 55
+ matnr:'1100878-10000-21074558989',
+ locno: '0100509',
+ barcode: '80006098',
+ orderNo: 'JK20220923'
+
}
},
methods: {
@@ -27,6 +37,10 @@
},
show() {
console.log(this.matnr,this.locno);
+ },
+ changge() {
+ this.matnr = ''
+ console.log(this.barcode,this.orderNo);
}
}
--
Gitblit v1.9.1