liding
2025-05-21 0186e6b9cc2e411ec16b7b56cfda9c822146a0f3
src/views/procurementManagement/invoiceEntry/index.vue
@@ -240,10 +240,10 @@
  if (expandedRows.length > 0) {
    expandedRowKeys.value = []
    try {
      productList({ salesLedgerId: row.purchaseLedgerId, type: 2 }).then(res => {
      productList({ salesLedgerId: row.id, type: 2 }).then(res => {
        const index = tableData.value.findIndex(item => item.id === row.id);
        if (index > -1) {
          tableData.value[index].children = res.rows;
          tableData.value[index].children = res;
        }
        expandedRowKeys.value.push(row.id)
      })