Commit ef9d6402 by LJM

预警

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