| | |
| | | </el-table-column> --> |
| | | <el-table-column |
| | | prop="amount" |
| | | align="center" |
| | | align="right" |
| | | header-align="right" |
| | | class-name="money-column" |
| | | label="税前金额" |
| | | width="120" |
| | | > |
| | | :formatter="formatMoney"> |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | v-model="scope.row.amount" |
| | | class="money-input" |
| | | placeholder="税前金额" |
| | | @blur="chargeSum" |
| | | @blur="normalizeMoney(scope.row, 'amount'); chargeSum()" |
| | | /> |
| | | </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="center" |
| | | align="right" |
| | | header-align="right" |
| | | class-name="money-column" |
| | | label="劳务个税" |
| | | width="120" |
| | | > |
| | | :formatter="formatMoney"> |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | @blur="chargeSum" |
| | | @blur="normalizeMoney(scope.row, 'taxamount'); chargeSum()" |
| | | v-model="scope.row.taxamount" |
| | | class="money-input" |
| | | placeholder="劳务个税" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="taxedamount" |
| | | align="center" |
| | | align="right" |
| | | header-align="right" |
| | | class-name="money-column" |
| | | label="劳务税后" |
| | | width="120" |
| | | > |
| | | :formatter="formatMoney"> |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | v-model="scope.row.taxedamount" |
| | | class="money-input" |
| | | placeholder="劳务税后" |
| | | @blur="queenchargeSum" |
| | | @blur="normalizeMoney(scope.row, 'taxedamount'); queenchargeSum()" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | * 规则与后端 AttachmentNameValidator 同口径:不强制含中文 / 去掉扩展名后主干 ≤20 字 / |
| | | * 不含空格及 / \ : * ? " < > | # % 等特殊字符。 |
| | | */ |
| | | /** |
| | | * 2026-11-17:附件名是否必须含中文 |
| | | * 专家劳务费(1)、伦理专家费(2) 不要求;绩效及其他类型必须含中文 |
| | | */ |
| | | requireChineseName() { |
| | | return !(this.businessType == "1" || this.businessType == "2"); |
| | | }, |
| | | checkUploadFileName(file) { |
| | | const raw = file && file.raw ? file.raw.name : file && file.name; |
| | | const r = checkFileName(raw); |
| | | const r = checkFileName(raw, { requireChinese: this.requireChineseName() }); |
| | | if (!r.ok) { |
| | | this.$modal.msgError(r.msg); |
| | | return false; |
| | |
| | | if (this.form && this.form.id) { |
| | | return true; |
| | | } |
| | | const c = checkDetails(this.rbDetails); |
| | | const c = checkDetails(this.rbDetails, { |
| | | requireChinese: this.requireChineseName() |
| | | }); |
| | | if (!c.ok) { |
| | | this.$modal.msgError(c.msg); |
| | | return false; |