|
@@ -41,7 +41,9 @@ function calculateTaxAmount(index: number) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
- paymentPlan.value[index].taxAmount = +((amount * taxRate / 100).toFixed(2))
|
|
|
|
|
|
+ const shui = taxRate / 100
|
|
|
|
+ const zhi = amount / (1 + shui) * shui
|
|
|
|
+ paymentPlan.value[index].taxAmount = +(zhi.toFixed(2))
|
|
}
|
|
}
|
|
|
|
|
|
// 上传附件
|
|
// 上传附件
|
|
@@ -99,9 +101,9 @@ defineExpose({
|
|
placeholder="回款日期" style="width: 150px;" />
|
|
placeholder="回款日期" style="width: 150px;" />
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="回款金额" width="180">
|
|
|
|
|
|
+ <el-table-column label="金额(含税)" width="180">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- <el-input v-model="scope.row.amount" v-enter-number placeholder="回款金额" style="width: 150px;">
|
|
|
|
|
|
+ <el-input v-model="scope.row.amount" v-enter-number placeholder="金额(含税)" style="width: 150px;">
|
|
<template #prefix>
|
|
<template #prefix>
|
|
<el-text class="mx-1" type="info">¥</el-text>
|
|
<el-text class="mx-1" type="info">¥</el-text>
|
|
</template>
|
|
</template>
|