From f2ebb20315f8e37aee568b3f0cc0fc806840e8fe Mon Sep 17 00:00:00 2001 From: "Mr.sun" <2290907227@qq.com> Date: Fri, 19 Apr 2024 17:20:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E7=9B=98=E7=82=B9=E5=B7=AE=E5=BC=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/libraryManage/inventory.js | 4 ++-- .../inventory/InventoryDifference.vue | 4 ++-- src/views/libraryManage/inventory/inventory.vue | 8 -------- src/views/taskManagement/index.vue | 14 ++++++++++++-- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/api/libraryManage/inventory.js b/src/api/libraryManage/inventory.js index ab3b287..c94f39e 100644 --- a/src/api/libraryManage/inventory.js +++ b/src/api/libraryManage/inventory.js @@ -109,9 +109,9 @@ export function generatorCheckInv(data) { }); } //差异处理列表中盘点确认 -export function confirm(data) { +export function diffConfirm(data) { return request({ - url: "/wms/stock/inv/confirm", + url: "/wms/stock/inv/diffConfirm", method: "post", data, }); diff --git a/src/views/libraryManage/inventory/InventoryDifference.vue b/src/views/libraryManage/inventory/InventoryDifference.vue index df11eb4..f98d672 100644 --- a/src/views/libraryManage/inventory/InventoryDifference.vue +++ b/src/views/libraryManage/inventory/InventoryDifference.vue @@ -92,7 +92,7 @@ import { mapGetters } from 'vuex' import { tableConfig } from './config.js' import { Debounce, getDictLabel } from '@/utils/index' import { listUser } from '@/api/libraryManage/common' -import { differenceList, generatorCheckInv, confirm, cancel } from '@/api/libraryManage/inventory' +import { differenceList, generatorCheckInv, diffConfirm, cancel } from '@/api/libraryManage/inventory' export default { name: 'Inventory', dicts: ['goods_unit', 'inv_type_dict'], @@ -164,7 +164,7 @@ export default { userName: this.enterForm.userName, ids: this.handleSelect } - confirm(obj) + diffConfirm(obj) .then((response) => { if (response.code === 200) { this.loading = false diff --git a/src/views/libraryManage/inventory/inventory.vue b/src/views/libraryManage/inventory/inventory.vue index 352a0a3..019c729 100644 --- a/src/views/libraryManage/inventory/inventory.vue +++ b/src/views/libraryManage/inventory/inventory.vue @@ -66,14 +66,6 @@ 盲盘 -