| | |
| | | <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">button</button> |
| | | <y-input title="商品码" @input="show" v-model="matnr"/> |
| | | <y-input title="库位码" @input="show" v-model="locno"/> |
| | | </scroll-view> |
| | | </view> |
| | | </template> |
| | |
| | | data () { |
| | | return { |
| | | scrollY:true, |
| | | matnr:'1' |
| | | matnr:'1', |
| | | locno: '' |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | this.$refs.yPopup.open('center') |
| | | }, |
| | | up() { |
| | | // setTimeout(()=>{ |
| | | // this.matnr = '1024' |
| | | // },300) |
| | | this.matnr = '1024' |
| | | this.matnr = '1024' |
| | | console.log(this.matnr); |
| | | }, |
| | | show() { |
| | | console.log(this.matnr,this.locno); |
| | | } |
| | | } |
| | | |