Commit ef9d6402 by LJM

预警

parent 1bb3f78c
Showing with 15 additions and 13 deletions
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
limit: 10, limit: 10,
list: [], list: [],
total: 0, total: 0,
items: ['', '', ''], items: ['已理货未装箱', '已装箱未封箱', '已封箱未报关'],
input_flag: false, input_flag: false,
is_focus: true, //获取焦点动态化 is_focus: true, //获取焦点动态化
current: 0, current: 0,
...@@ -198,9 +198,11 @@ ...@@ -198,9 +198,11 @@
} }
this.request(API.getRetentionList, 'GET', { page: this.page, limit: this.limit, ...this.searchParams }, true).then(res => { this.request(API.getRetentionList, 'GET', { page: this.page, limit: this.limit, ...this.searchParams }, true).then(res => {
if (res.err_code === 0) { if (res.err_code === 0) {
this.items[0] = `已理货未装箱 (${res.data.retentionDetail.unBoxedQty})`; this.items = [
this.items[1] = `已装箱未封箱 (${res.data.retentionDetail.unCloseBoxQty})`; `已理货未装箱 (${res.data.retentionDetail.unBoxedQty})`,
this.items[2] = `已装箱未封箱 (${res.data.retentionDetail.unPlateQty})`; `已装箱未封箱 (${res.data.retentionDetail.unCloseBoxQty})`,
`已封箱未报关 (${res.data.retentionDetail.unPlateQty})`
];
this.total = res.data.total; this.total = res.data.total;
if (res.data.list.length > 0) { if (res.data.list.length > 0) {
this.hasMoreData = true; this.hasMoreData = true;
...@@ -208,7 +210,7 @@ ...@@ -208,7 +210,7 @@
} else { } else {
this.hasMoreData = false; this.hasMoreData = false;
} }
this.$forceUpdate();
} else { } else {
uni.showToast({ uni.showToast({
title: res.err_msg, title: res.err_msg,
......
const API_BASE = 'https://api.ichunt.com'; // const API_BASE = 'https://api.ichunt.com';
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统 // const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const API_BASE_OSS_HK = 'http://hk.image.semour.com'; //oss系统 HK // const API_BASE_OSS_HK = 'http://hk.image.semour.com'; //oss系统 HK
const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统 // const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE = 'http://api.liexin.com'; const API_BASE = 'http://api.liexin.com';
// const API_BASE_OSS = 'http://image.liexindev.net'; const API_BASE_OSS = 'http://image.liexindev.net';
// const API_BASE_OSS_HK = 'http://image.liexindev.net'; //oss系统 HK const API_BASE_OSS_HK = 'http://image.liexindev.net'; //oss系统 HK
// const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统 const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统
const API = { const API = {
......
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