Commit 8421f127 by LJM

拣货图片优化

parent 43461798
...@@ -107,13 +107,37 @@ ...@@ -107,13 +107,37 @@
} }
.pick_img_list { .pick_img_list {
flex-wrap: wrap; flex-wrap: wrap;
.default {
width: 120rpx;
height: 120rpx;
background: #f5f5f7;
border-radius: 10rpx;
margin-right: 15rpx;
.iconfont {
font-size: 60rpx;
color: #c6c7cc;
}
}
.img_list { .img_list {
position: relative;
width: 120rpx; width: 120rpx;
height: 120rpx; height: 120rpx;
background: #f5f5f7; background: #f5f5f7;
border-radius: 10rpx; border-radius: 10rpx;
margin-right: 15rpx; margin-right: 15rpx;
margin-bottom: 15rpx; margin-bottom: 15rpx;
image {
width: 120rpx;
height: 120rpx;
}
.iconfont {
position: absolute;
right: 0;
top: 0;
font-size: 30rpx;
color: #ff3700;
z-index: 9;
}
} }
} }
} }
......
...@@ -91,13 +91,37 @@ ...@@ -91,13 +91,37 @@
} }
.pick_img_list { .pick_img_list {
flex-wrap: wrap; flex-wrap: wrap;
.default {
width: 120rpx;
height: 120rpx;
background: #f5f5f7;
border-radius: 10rpx;
margin-right: 15rpx;
.iconfont {
font-size: 60rpx;
color: #c6c7cc;
}
}
.img_list { .img_list {
position: relative;
width: 120rpx; width: 120rpx;
height: 120rpx; height: 120rpx;
background: #f5f5f7; background: #f5f5f7;
border-radius: 10rpx; border-radius: 10rpx;
margin-right: 15rpx; margin-right: 15rpx;
margin-bottom: 15rpx; margin-bottom: 15rpx;
image {
width: 120rpx;
height: 120rpx;
}
.iconfont {
position: absolute;
right: 0;
top: 0;
font-size: 30rpx;
color: #ff3700;
z-index: 9;
}
} }
} }
} }
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<input class="uni-input" placeholder="请输入入仓号" placeholder-style="color:#919399" focus v-model="searchParams.stock_in_with_stock_in_items_inhouse" @input="handleInput(2, $event)" :maxlength="maxInputLength" /> <input class="uni-input" placeholder="请输入入仓号" placeholder-style="color:#919399" focus v-model="searchParams.stock_in_with_stock_in_items_inhouse" @input="handleInput(2, $event)" :maxlength="maxInputLength" />
</template> </template>
<template v-else-if="index == 2"> <template v-else-if="index == 2">
<input class="uni-input" placeholder="请输入FedEx" placeholder-style="color:#919399" focus v-model="searchParams.tracking_no" @input="handleInput(3, $event)" style="width: 400rpx;" /> <input class="uni-input" placeholder="请输入FedEx" placeholder-style="color:#919399" focus v-model="searchParams.tracking_no" @input="handleInput(3, $event)" />
</template> </template>
<text class="iconfont icon-a-juxing11" @click="clearInput()" v-if="input_flag"></text> <text class="iconfont icon-a-juxing11" @click="clearInput()" v-if="input_flag"></text>
</view> </view>
...@@ -752,6 +752,7 @@ ...@@ -752,6 +752,7 @@
this.searchParams.stock_in_with_stock_in_items_inhouse = ''; this.searchParams.stock_in_with_stock_in_items_inhouse = '';
if (val) { if (val) {
if (type == 1) { if (type == 1) {
//全量搜索
this.searchParams.mobile_register_all_search = val; this.searchParams.mobile_register_all_search = val;
} else if (type == 2) { } else if (type == 2) {
//入仓号 //入仓号
...@@ -762,8 +763,13 @@ ...@@ -762,8 +763,13 @@
this.searchParams.stock_in_with_stock_in_items_inhouse = str.slice(0, -1); this.searchParams.stock_in_with_stock_in_items_inhouse = str.slice(0, -1);
} }
} else if (type == 3) { } else if (type == 3) {
var last12 = val.slice(22); // 截取后12位 //FedEx
this.searchParams.tracking_no = last12; if (val.length > 22) {
let last22 = val.slice(22); // 截取后22位
this.searchParams.tracking_no = last22;
} else {
this.searchParams.tracking_no = val;
}
} }
this.input_flag = true; this.input_flag = true;
} else { } else {
......
...@@ -140,6 +140,14 @@ const API = { ...@@ -140,6 +140,14 @@ const API = {
* */ * */
getAllPickedList: API_BASE + '/api/stockOut/getAllPickedList', getAllPickedList: API_BASE + '/api/stockOut/getAllPickedList',
/** /**
* 拣货图片更新
* */
updatePickPics: API_BASE + '/api/stockOut/updatePickPics',
/**
* 复核图片更新
* */
updateCheckedPics: API_BASE + '/api/stockRecheck/updateCheckedPics',
/**
* 取消拣货 * 取消拣货
* */ * */
cancelPicking: API_BASE + '/api/stockOut/cancelPicking', cancelPicking: API_BASE + '/api/stockOut/cancelPicking',
......
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