|
|
@@ -775,11 +775,9 @@
|
|
|
const count = height + scrollHeight;
|
|
|
//懒加载盒子高度+懒加载盒子距离顶部位置=计算出盒子底部的距离
|
|
|
const box_bottom = _this.$refs.box.offsetHeight + _this.$refs.box.offsetTop-500;
|
|
|
- console.log(count,box_bottom);
|
|
|
if (count >= box_bottom) { //懒加载条件限制判断
|
|
|
if (_this.显示记录列.length < _this.inventoryMissions.length) {//做一次判断
|
|
|
_this.addArr()//达到条件后执行这个函数
|
|
|
- console.log('达到加载条件,执行加载');
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -902,7 +900,6 @@
|
|
|
|
|
|
提交新增:_.throttle(function(e){
|
|
|
this.inputs().amount=e.target.value;
|
|
|
- console.log(this.inputs().amount);
|
|
|
this.提交新增并盘点();
|
|
|
},100,{trailing:false}),
|
|
|
selectingRow(e){
|
|
|
@@ -1364,7 +1361,6 @@
|
|
|
},
|
|
|
增加系统之外的盘点记录(location, barcode, count, inventoryId, owner_code, param) {
|
|
|
let _this = this;
|
|
|
- console.log(location, barcode, count, inventoryId, owner_code, param);
|
|
|
let url = '{{url('inventory/增加系统之外的盘点记录')}}';
|
|
|
axios.post(url, {location:location,barcode:barcode,count:count,inventoryId:inventoryId,owner_code:owner_code,param:param}).then(
|
|
|
function (response) {
|
|
|
@@ -1603,7 +1599,6 @@
|
|
|
delete inventoryMission.stockInventoryPersons;
|
|
|
delete inventoryMission.commodity;
|
|
|
});
|
|
|
- console.log(data);
|
|
|
let data = JSON.stringify(this.checkData);
|
|
|
excelExport(checkAllSign,data,url,this.sum,token);
|
|
|
}
|
|
|
@@ -1617,7 +1612,6 @@
|
|
|
正常盘点(){
|
|
|
let _this=this;
|
|
|
_this.blindReceive=false;
|
|
|
- console.log( _this.blindReceive)
|
|
|
$(document).off('keypress');
|
|
|
},
|
|
|
changeToManualInputAmount:function(){
|
|
|
@@ -1961,7 +1955,6 @@
|
|
|
}else{
|
|
|
window.tempTip.setDuration(1500);
|
|
|
window.tempTip.show('盲收盘点失败:'+response.data.fail_info);
|
|
|
- console.log(response);
|
|
|
data.focusDocument();
|
|
|
data.alertVibrate()
|
|
|
}
|