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 @@ -