Commit 5074f9b6 by LJM

加入型号搜索

parent 1a1aa58c
Showing with 9 additions and 2 deletions
......@@ -21,6 +21,9 @@
<template v-else-if="index == 2">
<input class="uni-input" placeholder="请输入入仓号" placeholder-style="color:#919399" focus v-model="searchParams.stock_in_with_stock_in_items_inhouse" @input="handleInput(3, $event)" />
</template>
<template v-else-if="index == 3">
<input class="uni-input" placeholder="请输入型号" placeholder-style="color:#919399" focus v-model="searchParams.stock_in_with_stock_in_items_goods_sn" @input="handleInput(4, $event)" />
</template>
</view>
<text class="iconfont icon-a-juxing11" @click="clearInput()" v-if="input_flag"></text>
</view>
......@@ -181,7 +184,7 @@ export default {
page: 1,
limit: 50,
index: 0,
array: ['物流单号', '入库单号', '入仓号'],
array: ['物流单号', '入库单号', '入仓号', '型号'],
list: [],
filter_list: [], //筛选已选中的列表
filter_id: [], //过滤处理的id
......@@ -192,7 +195,8 @@ export default {
searchParams: {
stock_in_sn: '', //入库单号
tracking_no: '', //物流单号
stock_in_with_stock_in_items_inhouse: '' //入仓单号
stock_in_with_stock_in_items_inhouse: '', //入仓单号
stock_in_with_stock_in_items_goods_sn: '' //型号
},
formParams: {
warehouse_id: '',
......@@ -306,6 +310,7 @@ export default {
this.searchParams.tracking_no = '';
this.searchParams.stock_in_sn = '';
this.searchParams.stock_in_with_stock_in_items_inhouse = '';
this.searchParams.stock_in_with_stock_in_items_goods_sn = '';
if (val) {
if (type == 1) {
this.searchParams.tracking_no = val;
......@@ -313,6 +318,8 @@ export default {
this.searchParams.stock_in_sn = val;
} else if (type == 3) {
this.searchParams.stock_in_with_stock_in_items_inhouse = val;
} else if (type == 4) {
this.searchParams.stock_in_with_stock_in_items_goods_sn = val;
}
this.input_flag = true;
} else {
......
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