Merge remote-tracking branch 'origin/dev' into dev
| | |
| | | // 计算本次开票金额 |
| | | row.currentInvoiceAmount = row.currentInvoiceNum * row.taxInclusiveUnitPrice |
| | | // 计算未开票数 |
| | | row.noInvoiceNum = row.noInvoiceNum - row.currentInvoiceNum |
| | | row.noInvoiceNum = row.originalNoInvoiceNum - row.currentInvoiceNum |
| | | // 计算未开票金额 |
| | | row.noInvoiceAmount = row.noInvoiceNum * row.taxInclusiveUnitPrice |
| | | } |
| | |
| | | productList({salesLedgerId: row.id, type: 1}).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) |
| | | }) |
| | |
| | | }).catch(() => { |
| | | proxy.$modal.msg("已取消") |
| | | }) |
| | | |
| | | |
| | | } |
| | | } |
| | | // 关闭产品弹框 |
| | |
| | | |
| | | <style scoped lang="scss"> |
| | | |
| | | </style> |
| | | </style> |