gaoluyang
9 天以前 9b0ee652e8ac293d3a35539ed95af753df5bbc96
src/views/procurementManagement/invoiceEntry/components/Modal.vue
@@ -398,7 +398,8 @@
               result.data.productData.forEach(item => {
                  allProductData.push({
                     ...item,
                     id: contractId, // 明确设置合同ID
                  id: item.id, // 保留产品原本的ID
                  salesLedgerId: contractId, // 合同ID存储在salesLedgerId字段
                     purchaseLedgerNo: contract.purchaseContractNumber, // 添加采购合同号
                     supplierName: contract.supplierName, // 添加供应商名称
                     projectName: contract.projectName // 添加项目名称