From 5b5e2ceb4f8c087b0d084a761cd074234aea628b Mon Sep 17 00:00:00 2001 From: yangzifeng <2547435354@qq.com> Date: Thu, 5 Feb 2026 10:29:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E5=A2=9E=E5=87=BA?= =?UTF-8?q?=E5=BA=93=E6=9F=A5=E8=AF=A2=E7=9A=84=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wisdom/outbound.js | 9 +++++++++ src/views/wisdom/outbound/index.vue | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/api/wisdom/outbound.js b/src/api/wisdom/outbound.js index dba966e..f83c5e4 100644 --- a/src/api/wisdom/outbound.js +++ b/src/api/wisdom/outbound.js @@ -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({ diff --git a/src/views/wisdom/outbound/index.vue b/src/views/wisdom/outbound/index.vue index 9a19295..39ace73 100644 --- a/src/views/wisdom/outbound/index.vue +++ b/src/views/wisdom/outbound/index.vue @@ -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 = [];