| | |
| | | |
| | | // 采购审批:用审批事由字段承载的"采购合同号"去查采购详情 |
| | | else if (row.businessType === 5) { |
| | | const purchaseContractNumber = row?.purchaseContractNumber; |
| | | if (purchaseContractNumber) { |
| | | const res = await getPurchaseByCode({ purchaseContractNumber }); |
| | | const businessId = row?.businessId; |
| | | if (businessId) { |
| | | const res = await getPurchaseByCode({ businessId }); |
| | | detailData.value = res || {}; |
| | | } |
| | | } |
| | |
| | | |
| | | // 采购审批:用审批事由字段承载的"采购合同号"去查采购详情 |
| | | else if (row.businessType === 5) { |
| | | const purchaseContractNumber = row?.purchaseContractNumber; |
| | | if (purchaseContractNumber) { |
| | | const res = await getPurchaseByCode({ purchaseContractNumber }); |
| | | const businessId = row?.businessId; |
| | | if (businessId) { |
| | | const res = await getPurchaseByCode({ businessId }); |
| | | detailData.value = res || {}; |
| | | } |
| | | } |