| | |
| | | <template> |
| | | <view class=""> |
| | | <scroll-view class="scroll-Y"> |
| | | <button size="mini" @click="up">btn</button> |
| | | <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> |
| | | <view class="user"> |
| | | <!-- 头像 --> |
| | | <view class="user-avatar"> |
| | | <img src="../../static/image/头像.jpg" alt=""> |
| | | <!-- <image src="" mode="aspectFit"></image> --> |
| | | </view> |
| | | <!-- 信息 --> |
| | | <view class="user-info"> |
| | | <view class="user-name">陈鹏 |
| | | </view> |
| | | |
| | | </view> |
| | | <!-- 更多 --> |
| | | <view></view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data () { |
| | | return { |
| | | scrollY:true, |
| | | matnr:'1100878-10000-21074558989', |
| | | locno: '0100509', |
| | | barcode: '80006098', |
| | | orderNo: 'JK20220923' |
| | | |
| | | } |
| | | }, |
| | | methods: { |
| | | open() { |
| | | this.$refs.yPopup.open('center') |
| | | }, |
| | | up() { |
| | | this.matnr = '' |
| | | console.log(this.matnr); |
| | | }, |
| | | show() { |
| | | console.log(this.matnr,this.locno); |
| | | }, |
| | | changge() { |
| | | this.matnr = '' |
| | | console.log(this.barcode,this.orderNo); |
| | | } |
| | | } |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | .vv { |
| | | width: 100%;height: 100rpx; |
| | | |
| | | } |
| | | .bb { |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | .user { |
| | | width: 100%; |
| | | height: 100%; |
| | | overflow: hidden; |
| | | height: 200rpx; |
| | | background-color: #f8f8f8; |
| | | display: grid; |
| | | grid-template-columns: 1fr 4fr 1fr; |
| | | } |
| | | .user-avatar { |
| | | height: 200rpx; |
| | | width: 200rpx; |
| | | /* background-color: aquamarine; */ |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | .user-avatar img { |
| | | height: 100rpx; |
| | | border-radius: 20rpx; |
| | | } |
| | | .user-info { |
| | | height: 200rpx; |
| | | display: grid; |
| | | grid-template-rows: 2fr 2fr; |
| | | align-items: end; |
| | | |
| | | /* background-color: aqua; */ |
| | | } |
| | | </style> |