Commit 50f6ed15 by LJM

js

parent 2027d8bc
Showing with 5 additions and 1 deletions
......@@ -260,6 +260,7 @@ export default {
} else if (this.index == 2) {
this.searchParams.stock_in_with_stock_in_items_inhouse = '';
}
this.stock_in_item_id = this.detail.stock_in_item_id;
this.getData();
},
/**
......@@ -272,6 +273,7 @@ export default {
this.searchParams.stock_in_sn = '';
this.searchParams.stock_in_with_stock_in_items_inhouse = '';
if (val) {
this.stock_in_item_id = '';
if (type == 1) {
this.searchParams.tracking_no = val;
} else if (type == 2) {
......@@ -281,6 +283,7 @@ export default {
}
this.input_flag = true;
} else {
this.stock_in_item_id = this.detail.stock_in_item_id;
this.input_flag = false;
}
this.getData();
......@@ -295,9 +298,10 @@ export default {
this.detail = res.data.list[0];
this.formParams.tally_qty = res.data.list[0].wait_tally_qty;
this.formParams.date_code = res.data.list[0].expect_date_code;
if (res.data.list[0].mobile_default_img) {
this.image_list = res.data.list[0].mobile_default_img.split(',');
} else {
this.image_list = [];
}
uni.setNavigationBarTitle({
title: res.data.list[0].stock_in_sn + '-理货'
......
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