修改到件扫描时间

This commit is contained in:
liuyp 2024-06-15 13:28:47 +08:00
parent 71eca1a389
commit 4547701f78
2 changed files with 5 additions and 9 deletions

View File

@ -303,7 +303,9 @@ export default {
} }
// this.form.scanType = '10'; // this.form.scanType = '10';
this.form.scanDate = new Date(); let currentDate = new Date();
this.form.scanDate = currentDate.setMinutes(currentDate.getMinutes() - 10);
// this.form.scanDate = new Date();
let record =Object.assign({}, this.form) let record =Object.assign({}, this.form)
record.billCode=scanRstItem.billCode; record.billCode=scanRstItem.billCode;
record.scanType = "30"; record.scanType = "30";
@ -552,7 +554,8 @@ export default {
} }
// this.form.scanType = '10'; // this.form.scanType = '10';
this.form.scanDate = new Date(); let currentDate = new Date();
this.form.scanDate = currentDate.setMinutes(currentDate.getMinutes() - 10);
let record =Object.assign({}, this.form) let record =Object.assign({}, this.form)
record.billCode=scanRstItem.billCode; record.billCode=scanRstItem.billCode;
record.scanType = '30'; record.scanType = '30';

View File

@ -543,7 +543,6 @@ export default {
let that = this; let that = this;
// let newList = []; // let newList = [];
this.$modal.confirm('是否确认删除').then(async function(isPass) { this.$modal.confirm('是否确认删除').then(async function(isPass) {
debugger;
console.log(that.form) console.log(that.form)
if(isPass){ if(isPass){
for(let i=0; i < ids.length; i++){ for(let i=0; i < ids.length; i++){
@ -554,15 +553,9 @@ export default {
return; return;
} }
} }
// that.tmsScanList.forEach(item => {
// if(ids.indexOf(item.id) == -1){
// newList.push(item)
// }
// });
if(that.form.delChecked){ if(that.form.delChecked){
that.form.delRemark = null; that.form.delRemark = null;
} }
// that.tmsScanList = newList;
that.getList(); that.getList();
that.ids = []; that.ids = [];
that.single = true; that.single = true;