1.修复扫码单据库存校验失败问题,删除无用的debugger关键字

zhairh
x_z 3 years ago
parent a9cabedd5b
commit 8d9790cc2d

@ -1005,6 +1005,11 @@ export default {
}, },
findSubStorageMethod(val) { findSubStorageMethod(val) {
this.subInvList.forEach(item => {
if (item.code === val) {
this.formData.locStorageCode = item.parentId;
}
});
this.getBusType(); this.getBusType();
let cQuery = { let cQuery = {
code: this.formData.invWarehouseCode, code: this.formData.invWarehouseCode,
@ -1224,8 +1229,6 @@ export default {
this.query.limit = parseInt(this.query.limit); this.query.limit = parseInt(this.query.limit);
this.query.corpOrderId = query.id; this.query.corpOrderId = query.id;
} }
this.formData.invWarehouseCode = this.$store.getters.locSubInvCode;
this.formData.locStorageCode = this.$store.getters.locInvCode;
if (this.$isNotBlank(this.formData.locStorageCode)) { if (this.$isNotBlank(this.formData.locStorageCode)) {
this.findStorageMethod(); this.findStorageMethod();
} }

@ -530,7 +530,6 @@ export default {
// this.filterQuery.status = 1; // this.filterQuery.status = 1;
// this.filterQuery.statusOrOne = -1; // this.filterQuery.statusOrOne = -1;
if (isBlank(this.filterQuery.locStorageCode)) { if (isBlank(this.filterQuery.locStorageCode)) {
debugger
this.filterQuery.locStorageCode = this.$store.getters.locInvCode; this.filterQuery.locStorageCode = this.$store.getters.locInvCode;
this.filterQuery.invWarehouseCode = this.$store.getters.locSubInvCode; this.filterQuery.invWarehouseCode = this.$store.getters.locSubInvCode;
} }

@ -479,7 +479,6 @@ export default {
this.findSubStorageMethod(); this.findSubStorageMethod();
}, },
subStorageChange(item) { subStorageChange(item) {
debugger
// this.formData.fromSubInvCode = null; // this.formData.fromSubInvCode = null;
this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode) this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode)
this.formData.corpId=this.subInvList.find(item => item.code == this.formData.invWarehouseCode).code this.formData.corpId=this.subInvList.find(item => item.code == this.formData.invWarehouseCode).code

Loading…
Cancel
Save