Commit 187fb2c4 by LJM

add

parent bdb66553
......@@ -53,8 +53,10 @@
}
}
.scan-view {
font-size: 48rpx;
color: #197adb;
.iconfont {
font-size: 48rpx;
color: #197adb;
}
}
}
.receiving-information {
......@@ -220,13 +222,17 @@
}
}
.btn {
position: relative;
position: fixed;
bottom: 10rpx;
z-index: 2;
left: 0;
right: 0;
height: 88rpx;
background: #197adb;
border-radius: 4rpx;
font-size: 28rpx;
color: #ffffff;
margin: 0 24rpx;
}
}
......
......@@ -227,12 +227,15 @@
"selectedIconPath": "static/1s.png",
"text": "首页"
},
// #ifdef MP-WEIXIN
{
"pagePath": "pages/tallyGoods/exception",
"iconPath": "static/4.png",
"selectedIconPath": "static/4s.png",
"text": "异常"
}, {
},
// #endif
{
"pagePath": "pages/mine/index",
"iconPath": "static/3.png",
"selectedIconPath": "static/3s.png",
......
......@@ -30,7 +30,7 @@
</view>
<view class="box row verCenter">
<text class="label">登记数量</text>
<view class="input-wrap row bothSide">
<view class="input-wrap row verCenter bothSide">
<input type="number" v-model="form.total_num" placeholder="请输入" class="uni-input" placeholder-style="color:#404547;font-weight:bold;" />
<view class="tab row verCenter">
<view class="tab-panel row rowCenter verCenter" @click="changeTab(index, 2)" :class="{ curr: unitIndex == index }" v-for="(item, index) in unitArr" :key="index">{{ item }}</view>
......@@ -48,7 +48,7 @@
</view>
<view class="box row verCenter" v-if="currentIndex == 0">
<text class="label">物流单号</text>
<view class="uni-input-box row bothSide">
<view class="uni-input-box row verCenter bothSide">
<input type="text" class="uni-input" placeholder="请输入物流单号" placeholder-style="color:#404547;font-weight:bold;" v-model="form.logistics_number" @input="handleInput($event,1)" />
<view class="scan-view row verCenter" @click="scanChange()">
<text class="iconfont icon-juxing6"></text>
......@@ -148,6 +148,9 @@
}
});
},
/**
* 扫描入仓号
*/
scanChangeErp() {
this.form.erp_order_sn = '';
uni.scanCode({
......@@ -166,6 +169,9 @@
}
});
},
/**
* 扫描物料单号
*/
scanChange() {
this.form.logistics_number = '';
uni.scanCode({
......@@ -311,6 +317,7 @@
handleInput: debounce(function(event, type) {
var value = event.target.value;
if (value) {
uni.hideKeyboard();
this.erpOrderSn = [];
this.getErpOrderSn(value);
}
......
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 sign in to comment