From 36c5ea0dac00ca30e36f6cd13d623b299d0be4c5 Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期五, 23 九月 2022 12:32:27 +0800 Subject: [PATCH] # --- pages/user/user.vue | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/pages/user/user.vue b/pages/user/user.vue index 0c62e3e..b9b113a 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"/> + <view style="margin: 2%;border-radius: 5rpx;background-color: #fff;width: 96%;min-height: 50rpx; + box-shadow: 0 0 10upx rgba(0, 0, 0, 0.1);"> + <y-title title="title" /> + </view> + <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> </scroll-view> </view> </template> @@ -13,8 +20,14 @@ data () { return { scrollY:true, - matnr:'1', - locno: 55 + matnr:'1100878-10000-21074558989', + locno: '0100509', + barcode: '80006098', + orderNo: 'JK20220923', + matList: [{id:1},{id:2},{id:1},{id:2},{id:2}, + {id:1},{id:2},{id:2},{id:1},{id:2},{id:2},{id:1}, + {id:2},{id:2},{id:1},{id:2},{id:2},{id:1},{id:2}] + } }, methods: { @@ -27,6 +40,10 @@ }, show() { console.log(this.matnr,this.locno); + }, + changge() { + this.matnr = '' + console.log(this.barcode,this.orderNo); } } -- Gitblit v1.9.1