Commit 911204e1 authored by 张海景's avatar 张海景

update:修改采购入库扫描按钮改成输入框

parent 3fa49ee5
......@@ -2,8 +2,8 @@
<view>
<NavBar title="采购入库扫描"></NavBar>
<view class="btn">
<u-button @tap="handleScanCode" type="primary">扫描库位</u-button>
<u-button @tap="handleScanCode" type="primary">扫描产品包装条码/外箱码</u-button>
<uni-easyinput prefixIcon="search" class="topSearch" v-model="value" focus placeholder="请扫描库位" @input="handleInput"></uni-easyinput>
<uni-easyinput prefixIcon="search" v-model="wxparams" focus placeholder="请扫描产品包装条码/外箱码" @input="handleInput"></uni-easyinput>
</view>
<view class="total">
<view class="left">入库明细</view>
......@@ -106,13 +106,18 @@ export default {
return {
number: 2,
total: 200,
show: true
show: true,
value: '',
wxparams: ''
};
},
methods: {
handleBack() {
uni.navigateBack();
},
handleInput(e) {
console.log(e, 'eee')
},
handleScanCode() {
uni.scanCode({
success: function (res) {
......@@ -131,9 +136,10 @@ page {
}
.btn {
padding: 20rpx;
display: flex;
justify-content: space-between;
background: #fff;
.topSearch{
margin-bottom: 20rpx;
}
}
.bottomBtn {
position: sticky;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment