Commit 187fb2c4 by LJM

add

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