Commit a534116a by LJM

bug

parent 04113bc9
Showing with 18 additions and 9 deletions
......@@ -845,6 +845,8 @@
if (res.code === 0) {
if (res.data.list.length > 0) {
this.preCheckList = res.data.list;
} else {
this.preCheckList = [];
}
} else {
uni.showToast({
......@@ -923,7 +925,14 @@
getData() {
this.request(API.stockInMobileRegisterList, 'POST', { page: this.page, limit: this.limit, is_register: 0, ...this.searchParams }, true).then(res => {
if (res.code === 0) {
this.getStockPreCheckList(this.searchParams.mobile_register_all_search); //查询预检单
//全量搜索的时候出发查询预检单
if (this.index == 0) {
if (this.searchParams.mobile_register_all_search) {
this.getStockPreCheckList(this.searchParams.mobile_register_all_search);
} else {
this.preCheckList = [];
}
}
if (res.data.list.length > 0) {
this.total = res.data.total;
this.hasMoreData = true;
......
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
// const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
// const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
// const API_BASE = 'http://wms.liexindev.net'; //WMS系统
// const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
// const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
// const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
// const API_BASE = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
const API_BASE = 'https://wms.ichunt.net'; //WMS系统
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
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