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