1.解决盘点分库货位查询问题

feature-order-fix
x_z 2 years ago
parent 6d38451dd3
commit 5949c2235f

@ -484,7 +484,8 @@ export default {
this.formSpaceList = []; this.formSpaceList = [];
let params = { let params = {
invStorageCode: this.formData.invStorageCode, invStorageCode: this.formData.invStorageCode,
invWarehouseCode: this.formData.invWarehouseCode invWarehouseCode: this.formData.invWarehouseCode,
status: true
}; };
getSpaceCodeList(params).then((res) => { getSpaceCodeList(params).then((res) => {
this.formSpaceList = res.data || []; this.formSpaceList = res.data || [];

@ -381,7 +381,8 @@ export default {
// //
let params = { let params = {
invStorageCode: this.filterQuery.invStorageCode, invStorageCode: this.filterQuery.invStorageCode,
invWarehouseCode: this.filterQuery.invWarehouseCode invWarehouseCode: this.filterQuery.invWarehouseCode,
status: true
}; };
getSpaceCodeList(params).then((res) => { getSpaceCodeList(params).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
@ -460,8 +461,9 @@ export default {
if (res.code === 20000) { if (res.code === 20000) {
if (!isBlank(res.data.locInvCode)) { if (!isBlank(res.data.locInvCode)) {
this.filterQuery.invStorageCode = res.data.locInvCode; this.filterQuery.invStorageCode = res.data.locInvCode;
this.filterQuery.invWarehouseCode = res.data.locSubInvCode;
this.invChange(); this.invChange();
this.filterQuery.invWarehouseCode = res.data.locSubInvCode;
this.invWarehouseChange();
} }
this.getList(); this.getList();
} }

@ -352,7 +352,8 @@ export default {
// //
let params = { let params = {
invStorageCode: this.filterQuery.invStorageCode, invStorageCode: this.filterQuery.invStorageCode,
invWarehouseCode: this.filterQuery.invWarehouseCode invWarehouseCode: this.filterQuery.invWarehouseCode,
status: true
}; };
getSpaceCodeList(params).then((res) => { getSpaceCodeList(params).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
@ -423,8 +424,9 @@ export default {
if (res.code === 20000) { if (res.code === 20000) {
if (!isBlank(res.data.locInvCode)) { if (!isBlank(res.data.locInvCode)) {
this.filterQuery.invStorageCode = res.data.locInvCode; this.filterQuery.invStorageCode = res.data.locInvCode;
this.filterQuery.invWarehouseCode = res.data.locSubInvCode;
this.invChange(); this.invChange();
this.filterQuery.invWarehouseCode = res.data.locSubInvCode;
this.invWarehouseChange();
} }
this.getList(); this.getList();
} }

@ -303,7 +303,8 @@ export default {
this.spaceCodeList = []; this.spaceCodeList = [];
let params = { let params = {
invStorageCode: this.filterQuery.invStorageCode, invStorageCode: this.filterQuery.invStorageCode,
invWarehouseCode: this.filterQuery.invWarehouseCode invWarehouseCode: this.filterQuery.invWarehouseCode,
status: true
} }
getSpaceCodeList(params).then((res) => { getSpaceCodeList(params).then((res) => {
this.spaceCodeList = res.data || []; this.spaceCodeList = res.data || [];
@ -363,6 +364,7 @@ export default {
this.filterQuery.invStorageCode = res.data.locInvCode; this.filterQuery.invStorageCode = res.data.locInvCode;
this.invChange(); this.invChange();
this.filterQuery.invWarehouseCode = res.data.locSubInvCode; this.filterQuery.invWarehouseCode = res.data.locSubInvCode;
this.subInvChange();
} }
this.getList(); this.getList();
} }

Loading…
Cancel
Save