Commit e657d868 by LJM

add

parent ea10fd35
Showing with 27 additions and 26 deletions
...@@ -1145,6 +1145,7 @@ ...@@ -1145,6 +1145,7 @@
uni.hideLoading(); uni.hideLoading();
let data = JSON.parse(uploadFileRes.data); let data = JSON.parse(uploadFileRes.data);
if (data.code === 0) { if (data.code === 0) {
this.$forceUpdate();
this.noexebshowFalg = true; this.noexebshowFalg = true;
this.image_list.push({ this.image_list.push({
pic_id: data.data.oss_image_id, pic_id: data.data.oss_image_id,
...@@ -1353,15 +1354,15 @@ ...@@ -1353,15 +1354,15 @@
}); });
//当前登录组织为深贸电子才必填 //当前登录组织为深贸电子才必填
if (this.company_id == 2) { // if (this.company_id == 2) {
if (pic_ids <= 0) { // if (pic_ids <= 0) {
uni.showToast({ // uni.showToast({
title: '请至少上传一张拣货图片', // title: '请至少上传一张拣货图片',
icon: 'none' // icon: 'none'
}); // });
return false; // return false;
} // }
} // }
this.request(API.pick, 'POST', { this.request(API.pick, 'POST', {
...@@ -1419,15 +1420,15 @@ ...@@ -1419,15 +1420,15 @@
}); });
//当前登录组织为深贸电子才必填 //当前登录组织为深贸电子才必填
if (this.company_id == 2) { // if (this.company_id == 2) {
if (pic_ids <= 0) { // if (pic_ids <= 0) {
uni.showToast({ // uni.showToast({
title: '请至少上传一张拣货图片', // title: '请至少上传一张拣货图片',
icon: 'none' // icon: 'none'
}); // });
return false; // return false;
} // }
} // }
var lock_ids = ''; var lock_ids = '';
......
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统 // const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统 // const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
const API_BASE = 'http://wms.liexindev.net'; //WMS系统 // const API_BASE = 'http://wms.liexindev.net'; //WMS系统
const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统 // const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
// const API_BASE_USER = 'https://user.ichunt.net'; //用户系统 const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
// const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统 const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
// const API_BASE = 'https://wms.ichunt.net'; //WMS系统 const API_BASE = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统 const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
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