diff --git a/yxt-as-ui/src/api/statement/purchasereport.js b/yxt-as-ui/src/api/statement/purchasereport.js new file mode 100644 index 0000000000..818f912192 --- /dev/null +++ b/yxt-as-ui/src/api/statement/purchasereport.js @@ -0,0 +1,22 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 -- 采购明细报表 + purDetailReForm: function(params) { + return request({ + url: '/apiadmin/pms/pmspurchasebill/purDetailReForm', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + }, + // 查询分页列表 -- 采购汇总报表 + purSumReForm: function(params) { + return request({ + url: '/apiadmin/pms/pmspurchasebill/purSumReForm', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + } +} diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js index a61ccce1f2..9ac6396a60 100644 --- a/yxt-as-ui/src/router/index.js +++ b/yxt-as-ui/src/router/index.js @@ -96,6 +96,18 @@ export const constantRoutes = [ component: () => import('@/views/statement/warehousereport/receiptandreceiptrecord.vue'), name: 'ReceiptAndReceiptRecord', meta: { title: '收发存明细报表', noCache: true } + }, + { + path: '/purchasereport/detailedpurchasereport', + component: () => import('@/views/statement/purchasereport/detailedpurchasereport.vue'), + name: 'DetailedPurchaseReport', + meta: { title: '采购明细报表', noCache: true } + }, + { + path: '/purchasereport/purchasesummaryreport', + component: () => import('@/views/statement/purchasereport/purchasesummaryreport.vue'), + name: 'PurchaseSummaryReport', + meta: { title: '采购汇总报表', noCache: true } } ] }, diff --git a/yxt-as-ui/src/views/statement/purchasereport/detailedpurchasereport.vue b/yxt-as-ui/src/views/statement/purchasereport/detailedpurchasereport.vue new file mode 100644 index 0000000000..5c927f9ba6 --- /dev/null +++ b/yxt-as-ui/src/views/statement/purchasereport/detailedpurchasereport.vue @@ -0,0 +1,193 @@ + + + + diff --git a/yxt-as-ui/src/views/statement/purchasereport/purchasesummaryreport.vue b/yxt-as-ui/src/views/statement/purchasereport/purchasesummaryreport.vue new file mode 100644 index 0000000000..77d32cf725 --- /dev/null +++ b/yxt-as-ui/src/views/statement/purchasereport/purchasesummaryreport.vue @@ -0,0 +1,191 @@ + + + +