Commit 2027d8bc by LJM

js

parent a07a0d26
Showing with 2 additions and 0 deletions
......@@ -291,6 +291,7 @@ export default {
getData() {
this.request(API.waitTallyReceiveList, 'POST', { page: this.page, limit: this.limit, stock_in_item_id: this.stock_in_item_id, ...this.searchParams }, false).then(res => {
if (res.code === 0) {
if (res.data.list.length > 0) {
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;
......@@ -301,6 +302,7 @@ export default {
uni.setNavigationBarTitle({
title: res.data.list[0].stock_in_sn + '-理货'
});
}
} else {
uni.showToast({
title: res.msg,
......
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