Commit 1f4e2682 by LJM

app

parent 87f0980d
...@@ -390,6 +390,7 @@ export default { ...@@ -390,6 +390,7 @@ export default {
* @param {Object} event * @param {Object} event
*/ */
handleInput: debounce(function(event) { handleInput: debounce(function(event) {
this.resetChange();
var val = event.target.value; var val = event.target.value;
if (val) { if (val) {
this.input_flag = true; this.input_flag = true;
...@@ -433,7 +434,7 @@ export default { ...@@ -433,7 +434,7 @@ export default {
this.formParams.real_shipping_id = res.data.stock_out_address.real_shipping_id; //物流公司 this.formParams.real_shipping_id = res.data.stock_out_address.real_shipping_id; //物流公司
let real_shipping_id_index = this.findIndex(this.real_shipping_id_data, this.formParams.real_shipping_id); let real_shipping_id_index = this.findIndex(this.real_shipping_id_data, this.formParams.real_shipping_id);
console.log(real_shipping_id_indexs); console.log(real_shipping_id_index);
this.real_shipping_id_index = real_shipping_id_index[0]; this.real_shipping_id_index = real_shipping_id_index[0];
this.formParams.real_shipping_mode = res.data.stock_out_address.real_shipping_mode; //物流模式 this.formParams.real_shipping_mode = res.data.stock_out_address.real_shipping_mode; //物流模式
...@@ -542,6 +543,13 @@ export default { ...@@ -542,6 +543,13 @@ export default {
}); });
} }
}); });
},
/**
* 重置
*/
resetChange() {
this.list = [];
this.page = 1;
} }
} }
}; };
......
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
limit: 50, limit: 50,
index: 0, index: 0,
indexContainer: -1, indexContainer: -1,
array: ['全量搜索', '入仓号', 'FedEx', 'DigKey', 'Rochester', 'TME', 'Chip1stop'], array: ['全量搜索', '入仓号', 'FedEx', 'DigKey', 'Rochester'],
list: [], list: [],
filter_list: [], //筛选已选中的列表 filter_list: [], //筛选已选中的列表
filter_id: [], //入库单列表的入库登记 filter_id: [], //入库单列表的入库登记
......
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