From c8004a7b1135c96c5005f453d4e3de10d48c23c8 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Wed, 16 Jul 2025 12:17:35 +0800 Subject: [PATCH] 采购中的转增记录 使用记录处理完成 --- src/api/resource/printAllocationStorehouseApi.js | 33 +++++++++++++++++++++++++++++++++ src/i18n/resourceI18n.js | 3 +++ src/router/index.js | 5 +++++ src/views/resource/allocationStorehouseDetailedList.vue | 57 +++++++++++++++++++-------------------------------------- src/views/resource/allocationUserStorehouseManageList.vue | 1 + src/views/resource/assetInventoryManageList.vue | 34 +++++++--------------------------- src/views/resource/printAllocationStorehouseLang.js | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ src/views/resource/printAllocationStorehouseList.vue | 260 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/views/resource/resourceStoreUseRecordManageList.vue | 1 + 9 files changed, 377 insertions(+), 65 deletions(-) create mode 100644 src/api/resource/printAllocationStorehouseApi.js create mode 100644 src/views/resource/printAllocationStorehouseLang.js create mode 100644 src/views/resource/printAllocationStorehouseList.vue diff --git a/src/api/resource/printAllocationStorehouseApi.js b/src/api/resource/printAllocationStorehouseApi.js new file mode 100644 index 0000000..a1ab4f4 --- /dev/null +++ b/src/api/resource/printAllocationStorehouseApi.js @@ -0,0 +1,33 @@ +import request from '@/utils/request' + +// 获取调拨申请单信息 +export function listAllocationStorehouseApplys(params) { + return new Promise((resolve, reject) => { + request({ + url: '/resourceStore.listAllocationStorehouseApplys', + method: 'get', + params + }).then(response => { + const res = response.data + resolve(res) + }).catch(error => { + reject(error) + }) + }) +} + +// 获取调拨仓库物品列表 +export function listAllocationStorehouses(params) { + return new Promise((resolve, reject) => { + request({ + url: '/resourceStore.listAllocationStorehouses', + method: 'get', + params + }).then(response => { + const res = response.data + resolve(res) + }).catch(error => { + reject(error) + }) + }) +} \ No newline at end of file diff --git a/src/i18n/resourceI18n.js b/src/i18n/resourceI18n.js index 9af7f96..2f009df 100644 --- a/src/i18n/resourceI18n.js +++ b/src/i18n/resourceI18n.js @@ -21,6 +21,7 @@ import { messages as resourceStoreUseRecordManageMessages } from '../views/resou import { messages as printEquipmentAccountLabelMessages } from '../views/resource/printEquipmentAccountLabelLang' import { messages as resourceDetailMessages } from '../views/resource/resourceDetailLang' import { messages as allocationStorehouseDetailMessages } from '../views/resource/allocationStorehouseDetailLang' +import { messages as printAllocationStorehouseMessages } from '../views/resource/printAllocationStorehouseLang' export const messages = { @@ -47,6 +48,7 @@ export const messages = { ...printEquipmentAccountLabelMessages.en, ...resourceDetailMessages.en, ...allocationStorehouseDetailMessages.en, + ...printAllocationStorehouseMessages.en, }, zh: { ...resourceAuditFlowMessages.zh, @@ -71,5 +73,6 @@ export const messages = { ...printEquipmentAccountLabelMessages.zh, ...resourceDetailMessages.zh, ...allocationStorehouseDetailMessages.zh, + ...printAllocationStorehouseMessages.zh, } } \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 092b25a..699b55e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -714,6 +714,11 @@ const routes = [ name: '/pages/property/printCommonReportTable', component: () => import('@/views/report/printCommonReportTableList.vue') }, + { + path:'/pages/property/printAllocationStorehouse', + name:'/pages/property/printAllocationStorehouse', + component: () => import('@/views/resource/printAllocationStorehouseList.vue') + }, ] const router = new VueRouter({ diff --git a/src/views/resource/allocationStorehouseDetailedList.vue b/src/views/resource/allocationStorehouseDetailedList.vue index 3616098..b1911a3 100644 --- a/src/views/resource/allocationStorehouseDetailedList.vue +++ b/src/views/resource/allocationStorehouseDetailedList.vue @@ -1,25 +1,27 @@