yxh
7 天以前 9e7c8d26cfbe9eca1f0d0e1302581832e3b7d22a
src/views/project/tallage/computingBill/index.vue
@@ -148,7 +148,7 @@
              align="center"
              fixed
              label="序号"
              width="120"
              width="60"
            >
            </el-table-column>
            <el-table-column
@@ -161,7 +161,7 @@
              <template slot-scope="scope">
                <el-input
                  v-model="scope.row.donorname"
                  placeholder="案例捐献者"
                  placeholder="捐献者"
                  :disabled="true"
                />
              </template>
@@ -185,7 +185,7 @@
              prop="deptmentname"
              align="center"
              label="所属组别"
              width="280"
              width="150"
            >
              <template slot-scope="scope">
                <el-input
@@ -199,7 +199,7 @@
              prop="applyTime"
              align="center"
              label="申请日期"
              width="200"
              width="150"
            >
              <template slot-scope="scope">
                <el-date-picker
@@ -215,7 +215,7 @@
                </el-date-picker>
              </template>
            </el-table-column>
            <el-table-column prop="pretaxcost" align="center" label="税前金额">
            <el-table-column prop="pretaxcost" align="right" label="税前金额" width="120" header-align="right" class-name="money-column" :formatter="formatMoney">
              <template slot-scope="scope">
                <el-input
                  v-model="scope.row.pretaxcost"
@@ -224,7 +224,7 @@
                />
              </template>
            </el-table-column>
            <el-table-column prop="vatCost" align="center" label="增值税">
            <el-table-column prop="vatCost" align="right" label="增值税" width="120" header-align="right" class-name="money-column" :formatter="formatMoney">
              <template slot-scope="scope">
                <el-input
                  v-model="scope.row.vatCost"
@@ -233,7 +233,7 @@
                />
              </template>
            </el-table-column>
            <el-table-column prop="cityTaxCost" align="center" label="城建税">
            <el-table-column prop="cityTaxCost" align="right" label="城建税" width="120" header-align="right" class-name="money-column" :formatter="formatMoney">
              <template slot-scope="scope">
                <el-input
                  v-model="scope.row.cityTaxCost"
@@ -242,7 +242,7 @@
                />
              </template>
            </el-table-column>
            <el-table-column prop="laborPretaxCost" align="center" label="劳务税前">
            <el-table-column prop="laborPretaxCost" align="right" label="劳务税前" width="120" header-align="right" class-name="money-column" :formatter="formatMoney">
              <template slot-scope="scope">
                <el-input
                  v-model="scope.row.laborPretaxCost"
@@ -251,7 +251,7 @@
                />
              </template>
            </el-table-column>
            <el-table-column label="劳务个税" align="center" prop="taxcost">
            <el-table-column label="劳务个税" prop="taxcost" width="120" align="right" header-align="right" class-name="money-column" :formatter="formatMoney">
              <template slot-scope="scope">
                <el-input
                  v-model="scope.row.taxcost"
@@ -261,7 +261,7 @@
              </template>
            </el-table-column>
            <el-table-column prop="taxedcost" align="center" label="劳务税后">
            <el-table-column prop="taxedcost" label="劳务税后" width="120" align="right" header-align="right" class-name="money-column" :formatter="formatMoney">
              <template slot-scope="scope">
                <el-input
                  @blur="chargeSum"
@@ -450,37 +450,37 @@
                  prop="pretaxcost"
                  label="税前金额"
                  show-overflow-tooltip
                >
                 align="right" header-align="right" class-name="money-column" :formatter="formatMoney">
                </el-table-column>
                <el-table-column
                  prop="vatCost"
                  label="增值税"
                  show-overflow-tooltip
                >
                 align="right" header-align="right" class-name="money-column" :formatter="formatMoney">
                </el-table-column>
                <el-table-column
                  prop="cityTaxCost"
                  label="城建税"
                  show-overflow-tooltip
                >
                 align="right" header-align="right" class-name="money-column" :formatter="formatMoney">
                </el-table-column>
                <el-table-column
                  prop="laborPretaxCost"
                  label="劳务税前"
                  show-overflow-tooltip
                >
                 align="right" header-align="right" class-name="money-column" :formatter="formatMoney">
                </el-table-column>
                <el-table-column
                  prop="taxcost"
                  label="劳务个税"
                  show-overflow-tooltip
                >
                 align="right" header-align="right" class-name="money-column" :formatter="formatMoney">
                </el-table-column>
                <el-table-column
                  prop="taxedcost"
                  label="劳务税后"
                  show-overflow-tooltip
                >
                 align="right" header-align="right" class-name="money-column" :formatter="formatMoney">
                </el-table-column>
                <el-table-column
                  prop="remark"
@@ -1268,11 +1268,24 @@
      return sums;
    },
    // 文件------------------------
    /** 2026-11-23:按文件名从列表中精确删除一项,避免用预览列表(blob)整表覆盖附件字段 */
    spliceByName(list, name) {
      if (!list || !name) {
        return;
      }
      const idx = list.findIndex(item => item && item.name === name);
      if (idx > -1) {
        list.splice(idx, 1);
      }
    },
    remove(file, fileList) {
      const donorchargeorgans = [...this.donorchargeorgans];
      this.fileListto.splice(this.fileListto.indexOf(file), 1);
      donorchargeorgans[this.atpresent].annexFilesList = this.fileListto;
      this.spliceByName(this.fileListto, file && file.name);
      this.spliceByName(
        donorchargeorgans[this.atpresent].annexFilesList,
        file && file.name
      );
    },
    uploadSccess(response, file, fileList) {