| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="vatAmount" |
| | | align="right" |
| | | header-align="right" |
| | | class-name="money-column" |
| | | label="增值税" |
| | | width="110" |
| | | :formatter="formatMoney" |
| | | /> |
| | | <el-table-column |
| | | prop="cityTaxAmount" |
| | | align="right" |
| | | header-align="right" |
| | | class-name="money-column" |
| | | label="城建税" |
| | | width="110" |
| | | :formatter="formatMoney" |
| | | /> |
| | | <el-table-column |
| | | prop="laborPretaxAmount" |
| | | align="right" |
| | | header-align="right" |
| | | class-name="money-column" |
| | | label="劳务税前" |
| | | width="120" |
| | | :formatter="formatMoney" |
| | | /> |
| | | <el-table-column |
| | | prop="taxamount" |
| | | align="right" |
| | | header-align="right" |
| | |
| | | @blur="normalizeMoney(scope.row, 'taxamount'); chargeSum()" |
| | | v-model="scope.row.taxamount" |
| | | class="money-input" |
| | | placeholder="劳务个税" |
| | | placeholder="个税" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | align="right" |
| | | header-align="right" |
| | | class-name="money-column" |
| | | label="劳务税后" |
| | | label="税后金额" |
| | | width="120" |
| | | :formatter="formatMoney"> |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | v-model="scope.row.taxedamount" |
| | | class="money-input" |
| | | placeholder="劳务税后" |
| | | placeholder="税后金额" |
| | | @blur="normalizeMoney(scope.row, 'taxedamount'); queenchargeSum()" |
| | | /> |
| | | </template> |
| | |
| | | this.showSelectionDialog = false; |
| | | }, |
| | | handleUploadError() {}, |
| | | /** 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 rbDetails = [...this.rbDetails]; |
| | | if (this.activeName == 1) { |
| | | this.fileListto.splice(this.fileListto.indexOf(file), 1); |
| | | rbDetails[this.atpresent].annexfilesList = this.fileListto; |
| | | this.spliceByName(this.fileListto, file && file.name); |
| | | this.spliceByName( |
| | | rbDetails[this.atpresent].annexfilesList, |
| | | file && file.name |
| | | ); |
| | | } else { |
| | | this.invoicefileListto.splice(this.invoicefileListto.indexOf(file), 1); |
| | | rbDetails[this.atpresent].invoicefilesList = this.invoicefileListto; |
| | | this.spliceByName(this.invoicefileListto, file && file.name); |
| | | this.spliceByName( |
| | | rbDetails[this.atpresent].invoicefilesList, |
| | | file && file.name |
| | | ); |
| | | } |
| | | }, |
| | | // 获取请求头 |