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