新增盘点单据 修改货位盘点查询接口

This commit is contained in:
猫猫guowen
2025-09-18 10:28:05 +08:00
parent d7f70237f2
commit 0a0d4c44db
7 changed files with 81 additions and 4 deletions

View File

@@ -42,3 +42,12 @@ export function delCargoSpace(cargoSpaceId) {
method: 'delete'
})
}
// 查询库存信息列表(根据巷道出库锁状态过滤)
export function listCargoSpaceByRoadway(query) {
return request({
url: '/bas/cargoSpace/listByRoadway',
method: 'get',
params: query
})
}

View File

@@ -254,7 +254,7 @@
import { listWarehouse } from "@/api/bas/warehouse";
import { saveCheckStock } from "@/api/check/stockCheck";
import { listManagement} from "@/api/stock/management"
import { listCargoSpace} from "@/api/bas/cargoSpace"
import { listCargoSpaceByRoadway} from "@/api/bas/cargoSpace"
export default {
name: "AddOutStock",
@@ -320,7 +320,8 @@
productName: null,
cargoSpaceName: null,
warehouseId: null,
status: null
status: null,
locked:null
},
// 托盘详情弹窗显示状态
trayDetailVisible: false,
@@ -382,7 +383,8 @@
if (this.formData.checkType==='2'){
this.trayQueryParams.warehouseId = "01";
this.trayQueryParams.status = 2;
listCargoSpace(this.trayQueryParams).then(response => {
this.trayQueryParams.locked='N';
listCargoSpaceByRoadway(this.trayQueryParams).then(response => {
this.trayOptions = response.rows;
this.trayTotal = response.total;
this.trayLoading = false;