From 633557de35e34715f04af8786d7a03fb52e4b7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=B8=85?= <3115919733@qq.com> Date: Wed, 28 May 2025 10:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=85=E6=9D=90=E7=9B=98=E7=9B=88=E7=9B=98?= =?UTF-8?q?=E4=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/StockIn/index.ts | 38 ++++-- src/api/check/index.ts | 5 +- src/views/check/auditSheet/index.vue | 2 +- src/views/check/auxiliaryOutIn/index.vue | 156 +++++++++++++++++++---- 4 files changed, 163 insertions(+), 38 deletions(-) diff --git a/src/api/StockIn/index.ts b/src/api/StockIn/index.ts index 438c974..af152ad 100644 --- a/src/api/StockIn/index.ts +++ b/src/api/StockIn/index.ts @@ -47,18 +47,6 @@ export function getBarCode(ChangeParams: any) { }) } -/** - * 无单据入库确定 - * @param ChangeParams - */ -export function QTRCommit(ChangeParams: any) { - return request({ - url: '/api/NoInvoice/QTRCommit', - method: 'post', - data: ChangeParams - }) -} - export function CreateBox(ChangeParams: any) { return request({ url: '/api/MaterialReceiveAct/TrackOutBox', @@ -187,3 +175,29 @@ export function confirm(data: any) { }); } +/** + * 盘盈入库 + * @param data + * @returns + */ +export function QTRCommit(data: any) { + return request({ + url: '/api/MaterialReceiveAct/QTRCommit', + method: 'post', + data: data + }) +} + +/** + * 盘亏出库 + * @param data + * @returns + */ +export function QTCCommit(data: any) { + return request({ + url: '/api/MaterialReceiveAct/QTCCommit', + method: 'post', + data: data + }) +} + diff --git a/src/api/check/index.ts b/src/api/check/index.ts index 7f142ea..d25a3fe 100644 --- a/src/api/check/index.ts +++ b/src/api/check/index.ts @@ -47,12 +47,13 @@ export function createCheckPlan(data: any) { /** * 获取成本中心 - * @param data + * @param params * @returns */ -export function getCostCenter() { +export function getCostCenter(params) { return request({ url: '/api/CostCenter/getCostCenter', method: 'get', + params: params }) } \ No newline at end of file diff --git a/src/views/check/auditSheet/index.vue b/src/views/check/auditSheet/index.vue index 112cdef..368cb8a 100644 --- a/src/views/check/auditSheet/index.vue +++ b/src/views/check/auditSheet/index.vue @@ -217,7 +217,7 @@ function audit() { } function getCost(){ - getCostCenter().then((res: any) => { + getCostCenter({erpFactory: JSON.parse(localStorage.get('orgNo'))}).then((res: any) => { state.costCenterList = res.data; }) } diff --git a/src/views/check/auxiliaryOutIn/index.vue b/src/views/check/auxiliaryOutIn/index.vue index 5c6c5b9..577d458 100644 --- a/src/views/check/auxiliaryOutIn/index.vue +++ b/src/views/check/auxiliaryOutIn/index.vue @@ -49,12 +49,19 @@ - + +
+ + 确认
@@ -67,7 +74,7 @@ -