From e3251246279968bf504be488bd0973d859342a59 Mon Sep 17 00:00:00 2001 From: yinq Date: Tue, 31 Mar 2026 18:36:30 +0800 Subject: [PATCH] =?UTF-8?q?1.1.9=20=E5=B7=B2=E9=87=87=E8=B4=AD=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=8B=E6=96=B9=E6=B7=BB=E5=8A=A0=E6=9C=AA=E9=87=87?= =?UTF-8?q?=E8=B4=AD=E7=89=A9=E6=96=99=E6=B8=85=E5=8D=95=E3=80=90=E5=B7=B2?= =?UTF-8?q?=E9=87=87=E8=B4=AD=E7=BB=BF=E8=89=B2=E3=80=81=E9=83=A8=E5=88=86?= =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=BB=84=E8=89=B2=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/oa/erp/contractOrder/index.ts | 12 +++ src/views/oa/erp/orderLedger/index.vue | 109 +++++++++++++++++++++++-- 2 files changed, 113 insertions(+), 8 deletions(-) diff --git a/src/api/oa/erp/contractOrder/index.ts b/src/api/oa/erp/contractOrder/index.ts index b7f3a87..e274c1d 100644 --- a/src/api/oa/erp/contractOrder/index.ts +++ b/src/api/oa/erp/contractOrder/index.ts @@ -1,6 +1,7 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; import { ProjectInfoVO, ProjectInfoForm, ProjectInfoQuery } from '@/api/oa/erp/projectInfo/types'; +import { ContractOrderPurchaseMaterialVO } from '@/api/oa/erp/contractOrder/types'; /** * 查询合同订单列表 @@ -75,3 +76,14 @@ export const getContractOrder = (projectId: string | number): AxiosPromise => { + return request({ + url: '/oa/erp/contractOrder/purchaseMaterialList/' + projectId, + method: 'get' + }); +}; + diff --git a/src/views/oa/erp/orderLedger/index.vue b/src/views/oa/erp/orderLedger/index.vue index b705fd8..bc832d1 100644 --- a/src/views/oa/erp/orderLedger/index.vue +++ b/src/views/oa/erp/orderLedger/index.vue @@ -76,7 +76,7 @@
- 采购信息 + 已采购信息 {{ purchaseTotal }} 条
@@ -128,6 +128,56 @@ @pagination="loadPurchaseList" class="pagination-wrapper" /> + +
+
+
+ + 未采购物料清单 + + {{ purchaseMaterialList.length }} 条 + +
+
+ + + + + + + + + + + + + + + + + + + + +
@@ -283,7 +333,8 @@