| | |
| | | }, |
| | | |
| | | // 获取子表B数据(根据实际业务调整) |
| | | getTableDataB(orderNo) { |
| | | getTableDataB(itemName) { |
| | | let that = this; |
| | | that.detailLoading = true; |
| | | |
| | | // 构建请求参数 |
| | | let params = { |
| | | order_no: orderNo, |
| | | item_name: itemName, |
| | | curr: that.detailCurrentPage, |
| | | limit: that.detailPageSize |
| | | }; |
| | |
| | | this.currentRow = row; |
| | | this.detailDialogVisible = true; |
| | | this.detailCurrentPage = 1; |
| | | this.getTableDataB(row.orderNo); |
| | | this.getTableDataB(row.itemName); |
| | | }, |
| | | |
| | | // 关闭详情弹窗 |
| | |
| | | this.detailPageSize = val; |
| | | this.detailCurrentPage = 1; |
| | | if (this.currentRow) { |
| | | this.getTableDataB(this.currentRow.orderNo); |
| | | this.getTableDataB(this.currentRow.itemName); |
| | | } |
| | | }, |
| | | |
| | |
| | | handleDetailCurrentChange(val) { |
| | | this.detailCurrentPage = val; |
| | | if (this.currentRow) { |
| | | this.getTableDataB(this.currentRow.orderNo); |
| | | this.getTableDataB(this.currentRow.itemName); |
| | | } |
| | | }, |
| | | |