修改新增出库查询的列表

This commit is contained in:
2026-02-05 10:29:58 +08:00
parent f198ab6bd7
commit 5b5e2ceb4f
2 changed files with 11 additions and 2 deletions

View File

@@ -1,5 +1,14 @@
import request from "@/utils/request";
// 新增出库查询
export function addGetOutbound(data) {
return request({
url: "/wisdom/stock/listByBillNo",
method: "get",
params: data,
});
}
// 新增出库
export function addOutbound(data) {
return request({

View File

@@ -937,9 +937,9 @@ import {
updateBill,
updateRecord,
} from "@/api/wisdom/bill";
import { listStock } from "@/api/wisdom/stock";
import {
addGetOutbound,
addOutbound,
recordFinish,
backoutRecord,
@@ -1158,7 +1158,7 @@ function searchPlan() {
if (outQueryParams.value.cangku.length > 0) {
outQueryParams.value.cangku = outQueryParams.value.cangku[1];
}
listStock(outQueryParams.value).then((response) => {
addGetOutbound(outQueryParams.value).then((response) => {
if (response.rows.length == 0) {
proxy.$modal.msgWarning("库存无数据");
planList.value = [];