nidapeng
2024-04-11 556227f639fc5d5bc7b35c3da437634d8215d263
company/src/components/enterprise/OperaInsuranceApplyWindow.vue
@@ -298,11 +298,15 @@
        if (index === 0) {
          sums[index] = '总价'
        } else if (index === 7) {
          let total = 0
          this.tableData.forEach(item => {
            total += item.fee
          })
          sums[index] = total.toFixed(2)
          if(this.item.type == 1){
            sums[index] = "-"
          }else{
            let total = 0
            this.tableData.forEach(item => {
              total += item.fee
            })
            sums[index] = total.toFixed(2)
          }
        }
      })
      return sums