Commit efb03d17 by LJM

add

parent 59c04d86
...@@ -288,7 +288,6 @@ ...@@ -288,7 +288,6 @@
this.formParams.logistics_sn = last22; this.formParams.logistics_sn = last22;
} }
} }
} }
}, },
/** /**
...@@ -540,15 +539,16 @@ ...@@ -540,15 +539,16 @@
this.$refs.showRight.open(); this.$refs.showRight.open();
this.image_list = []; this.image_list = [];
this.warehouse_index = 0; //仓库清空 this.warehouse_index = 0; //仓库清空
this.formParams.warehouse_id = this.warehouse_arr[0].value; this.formParams.warehouse_id = this.warehouse_arr[0].value; //仓库
this.formParams.register_time = this.getCurrentDate(); this.formParams.register_time = this.getCurrentDateTime(); //到货时间
this.formParams.register_type = 1; this.formParams.register_type = 1; //类型
this.register_type_index = 0; this.register_type_index = 0; //类型恢复
this.formParams.logistics_company = ''; this.formParams.logistics_company = ''; //物流公司
this.logistics_company_index = -1; this.logistics_company_index = -1;
this.formParams.logistics_sn = ''; this.formParams.logistics_sn = ''; //物流单号
this.formParams.other_info = ''; this.formParams.num = ''; //件数
this.formParams.register_pic = ''; this.formParams.other_info = ''; //其他信息
this.formParams.register_pic = ''; //登记照片
}, },
/** /**
* 确认登记 * 确认登记
......
...@@ -297,19 +297,18 @@ ...@@ -297,19 +297,18 @@
this.is_submit = true; this.is_submit = true;
//所选仓库必须要一样 //所选仓库必须要一样
if (isAllElementsEqual) { if (isAllElementsEqual) {
var result = this.list.filter(item => this.filter_id.includes(item.tally_id)).map(item => item.watch_status); // var result = this.list.filter(item => this.filter_id.includes(item.tally_id)).map(item => item.watch_status);
var validData = result.every(item => item == 0 || item == 2); // var validData = result.every(item => item == 0 || item == 2);
if (!validData) { // if (!validData) {
uni.showToast({ // uni.showToast({
title: '待看货货品不能上架', // title: '待看货货品不能上架',
icon: 'none' // icon: 'none'
}); // });
return false; // return false;
} // }
this.$refs.showRight.open(); this.$refs.showRight.open();
this.warehouse_id = warehouse_id[0]; this.warehouse_id = warehouse_id[0];
this.stock_in_type = stock_in_type[0]; this.stock_in_type = stock_in_type[0];
} else { } else {
uni.showToast({ uni.showToast({
title: '请勾选相同仓库', title: '请勾选相同仓库',
......
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