liding
2025-05-21 0186e6b9cc2e411ec16b7b56cfda9c822146a0f3
采购台账,来票登记折叠展示
已修改2个文件
6 ■■■■ 文件已修改
src/views/procurementManagement/invoiceEntry/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/procurementManagement/procurementLedger/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)
      })
src/views/procurementManagement/procurementLedger/index.vue
@@ -413,7 +413,7 @@
      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)
      })