From c5e381984c6342fed7ab3380ec21459451751929 Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期五, 23 九月 2022 13:15:22 +0800
Subject: [PATCH] #
---
pages/user/user.vue | 38 ++++++++++++++++++++++++++------------
1 files changed, 26 insertions(+), 12 deletions(-)
diff --git a/pages/user/user.vue b/pages/user/user.vue
index bc5912f..b9b113a 100644
--- a/pages/user/user.vue
+++ b/pages/user/user.vue
@@ -1,13 +1,16 @@
<template>
<view class="">
<scroll-view class="scroll-Y">
- <!-- <button @click="open">鐐瑰嚮</button> -->
- <!-- <y-popup ref="yPopup" title="杈撳叆鍐呭">
-
- </y-popup> -->
- <button size="mini" @click="up">button</button>
- <y-input title="鍟嗗搧鐮�" :inputVal="matnr" />
- <y-input title="搴撲綅鐮�" />
+ <button size="mini" @click="up">btn</button>
+ <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>
@@ -17,7 +20,14 @@
data () {
return {
scrollY:true,
- matnr:'1'
+ 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: {
@@ -25,11 +35,15 @@
this.$refs.yPopup.open('center')
},
up() {
- // setTimeout(()=>{
- // this.matnr = '1024'
- // },300)
- this.matnr = '1024'
+ this.matnr = ''
console.log(this.matnr);
+ },
+ show() {
+ console.log(this.matnr,this.locno);
+ },
+ changge() {
+ this.matnr = ''
+ console.log(this.barcode,this.orderNo);
}
}
--
Gitblit v1.9.1