yxh
13 小时以前 38c26c3049d55ffda598ce0263498448b7c60834
src/views/project/fund/applyDetail/index.vue
@@ -178,18 +178,18 @@
                <el-input v-model="scope.row.amount" placeholder="金额" />
              </template>
            </el-table-column>
            <el-table-column prop="taxamount" align="center" label="扣税金额" width="120" v-if="
            <el-table-column prop="taxamount" align="center" label="劳务个税" width="120" v-if="
              ismanager == true &&
              (businessType == '1' || businessType == '2')
            ">
              <template slot-scope="scope">
                <el-input v-model="scope.row.taxamount" placeholder="扣税金额" />
                <el-input v-model="scope.row.taxamount" placeholder="劳务个税" />
              </template>
            </el-table-column>
            <el-table-column prop="taxedamount" align="center" label="税后金额" width="120"
            <el-table-column prop="taxedamount" align="center" label="劳务税后" width="120"
              v-if="businessType == '1' || businessType == '2'">
              <template slot-scope="scope">
                <el-input v-model="scope.row.taxedamount" placeholder="税后金额" />
                <el-input v-model="scope.row.taxedamount" placeholder="劳务税后" />
              </template>
            </el-table-column>
            <el-table-column prop="beneficiaryname" column-key="sdad" align="center" :label="beneficiarylabel"
@@ -542,7 +542,7 @@
          </el-table-column>
          <el-table-column prop="amount" align="center" :label="amountlabel">
          </el-table-column>
          <el-table-column prop="taxedamount" align="center" label="税后金额" v-if="
          <el-table-column prop="taxedamount" align="center" label="劳务税后" v-if="
            (this.ismanager == true) &
            (form.applytype == '1' || form.applytype == '2')
          ">
@@ -1654,7 +1654,7 @@
            }
            this.rbDetails[i] = tempDetail;
          }
          //计算当前行报销内容费用合计,税前金额(amount)、扣税金额(taxamount)、税后金额(taxedamount)
          //计算当前行报销内容费用合计,税前金额(amount)、劳务个税(taxamount)、劳务税后(taxedamount)
          if (this.businessType == "2") {
            for (let j = 0; j < this.rbDetails.length; j++) {
              let tempDetail = this.rbDetails[j];
@@ -2257,7 +2257,7 @@
      });
    },
    //计算个税:type(A:已知税前金额,计算税后金额;B:已知税后金额,计算税前金额)
    //计算个税:type(A:已知税前金额,计算劳务税后;B:已知劳务税后,计算税前金额)
    calculateTax(row, type) {
      for (let i = 0; i < this.rbDetails.length; i++) {
        if (!this.rbDetails[i].amount) {
@@ -2433,7 +2433,7 @@
              }
              this.rbDetails[i] = tempDetail;
            }
            //计算当前行报销内容费用合计,税前金额(amount)、扣税金额(taxamount)、税后金额(taxedamount)
            //计算当前行报销内容费用合计,税前金额(amount)、劳务个税(taxamount)、劳务税后(taxedamount)
            if (this.businessType == "2") {
              for (let j = 0; j < this.rbDetails.length; j++) {
                let tempDetail = this.rbDetails[j];