chenrui
5 天以前 274894a41f857dac30877a5dee1c711a2a8049b6
src/views/salesManagement/invoiceRegistration/index.vue
@@ -15,7 +15,6 @@
      </div>
      <div>
        <el-button type="primary" @click="openForm">新增登记</el-button>
        <el-button @click="handleOut">导出</el-button>
      </div>
    </div>
    <div class="table_list">
@@ -200,7 +199,7 @@
// 表格选择数据
const handleSelectionChange = (selection) => {
  console.log('selection', selection)
  selectedRows.value = selection
  selectedRows.value = selection.filter(item => item.salesContractNo !== undefined);
}
const expandedRowKeys = ref([])
// 展开行
@@ -334,7 +333,7 @@
  // 计算本次开票金额
  row.currentInvoiceAmount = row.currentInvoiceNum * row.taxInclusiveUnitPrice
  // 计算未开票数
  row.noInvoiceNum = row.noInvoiceNum - row.currentInvoiceNum
  row.noInvoiceNum = row.originalNoInvoiceNum - row.currentInvoiceNum
  // 计算未开票金额
  row.noInvoiceAmount = row.noInvoiceNum * row.taxInclusiveUnitPrice
}