Commit 8a59a19f by LJM

修复bug

parent efb03d17
...@@ -845,8 +845,6 @@ ...@@ -845,8 +845,6 @@
if (res.code === 0) { if (res.code === 0) {
if (res.data.list.length > 0) { if (res.data.list.length > 0) {
this.preCheckList = res.data.list; this.preCheckList = res.data.list;
} else {
this.hasMoreData = false;
} }
} else { } else {
uni.showToast({ uni.showToast({
......
...@@ -297,15 +297,6 @@ ...@@ -297,15 +297,6 @@
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 validData = result.every(item => item == 0 || item == 2);
// if (!validData) {
// uni.showToast({
// title: '待看货货品不能上架',
// icon: 'none'
// });
// 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];
......
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