11
WXL
2024-06-01 a895a615b2b6a40be7ee0740d3e0b998d811744f
11
已修改1个文件
14 ■■■■ 文件已修改
src/views/project/tallage/computingBill/index.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/tallage/computingBill/index.vue
@@ -800,11 +800,17 @@
    handleUploadError() {},
    // 弹框添加
    AddDispatchpatients() {
      this.donorchargeorgans = this.donorchargeorgans.concat(this.overallCase);
      console.log(this.donorchargeorgans, "donorchargeorgans");
      this.donorchargeorgans.forEach(item => {
        CalculationDetail({ id: item.id, fundTaxId: this.form.id });
      let newArr = this.donorchargeorgans.concat(this.overallCase);
      this.donorchargeorgans = newArr.filter((item, index, self) => {
        return !self.slice(index + 1).some(other => other.id === item.id);
      });
      console.log(this.donorchargeorgans, "donorchargeorgans");
      if (this.form.id) {
        this.donorchargeorgans.forEach(item => {
          CalculationDetail({ id: item.id, fundTaxId: this.form.id });
        });
      }
      this.donorchargeorgans.forEach(item => {
        item.taXmoney = item.pretaxcost - item.taxedcost;
        item.taXmoney = item.taXmoney.toFixed(2);