Commit b9ccc881 by LJM

移动端-复核--从【全量搜索】找到后进来复核页面未显示出库单号,其他地方进来是正常显示出库单号

parent 82df2014
......@@ -270,6 +270,9 @@
} else if (this.index == 1) {
//入仓号
this.searchParams.stock_in_with_stock_in_items_inhouse = '';
} else if (this.index == 2) {
//箱号
this.searchParams.box_sn = '';
}
this.getData();
},
......
......@@ -189,15 +189,16 @@
this.searchParams.search_mod = 1;
this.searchParams.search_keyword = val;
}
this.getData((data, msg) => {
this.getData((data) => {
if (data.length == 1) {
uni.navigateTo({
url: '/pages/stockRecheck/sort?stock_out_id=' + this.list[0].stock_out_id + '&stock_out_sn=' + this.searchParams.stock_out_sn
url: '/pages/stockRecheck/sort?stock_out_id=' + this.list[0].stock_out_id + '&stock_out_sn=' + this.list[0].stock_out_sn
});
}
});
} else {
this.input_flag = false;
this.getData();
}
}, 500),
/**
......
......@@ -657,6 +657,8 @@
this.searchParams.mobile_have_tally_all_search = '';
} else if (this.index == 1) {
this.searchParams.stock_in_with_stock_in_items_inhouse = '';
} else if (this.index == 2) {
this.searchParams.box_sn = '';
}
this.input_flag = false;
this.clearInputAndFocus(); //再次获取焦点
......
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