| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form |
| | | class="opo-query-form" |
| | | :model="queryParams" |
| | | ref="queryForm" |
| | | :inline="true" |
| | |
| | | style="width: 100%" |
| | | v-model="form.applyTime" |
| | | type="date" format="yyyy-MM-dd" |
| | | value-format="yyyy-MM-dd" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="申请日期" |
| | | > |
| | | </el-date-picker> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="税后金额" prop="pretaxcost"> |
| | | <el-input v-model="form.taxedcost" placeholder="税后金额合计" :disabled="true" /> |
| | | <el-form-item label="劳务税后" prop="pretaxcost"> |
| | | <el-input v-model="form.taxedcost" placeholder="劳务税后合计" :disabled="true" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | |
| | | <el-table-column |
| | | prop="taxamount" |
| | | align="center" |
| | | label="扣税" |
| | | label="劳务个税" |
| | | width="120" |
| | | v-if="form.applytype != '3'" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | v-model="scope.row.taxamount" |
| | | placeholder="扣税" |
| | | placeholder="劳务个税" |
| | | @blur=" |
| | | val => { |
| | | sumTotalFee(scope.row); |
| | |
| | | <el-table-column |
| | | prop="taxedamount" |
| | | align="center" |
| | | label="税后金额" |
| | | label="劳务税后" |
| | | width="120" |
| | | v-if="form.applytype != '3'" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | v-model="scope.row.taxedamount" |
| | | placeholder="税后金额" |
| | | placeholder="劳务税后" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | if (response.code == 200) { |
| | | this.form.filename = file.raw.name; |
| | | this.$modal.msgSuccess(response.msg); |
| | | this.fileList.push({ name: response.fileName, url: response.fileName }); |
| | | // 2026-10-15:列表里的 name 用操作人的原始文件名,不要用 response.fileName(那是存储路径)。 |
| | | // 保存时只回写 url(form.annexbankcard 存的是逗号拼接的 url),所以这里只影响上传框的显示。 |
| | | this.fileList.push({ name: file.raw.name, url: response.fileName }); |
| | | } else { |
| | | console.log(response.msg); |
| | | } |
| | | }, |
| | | // 下载文件 |
| | | // 预览/下载文件 |
| | | downFile(item) { |
| | | const ext = String(item.name || "") |
| | | .split(".") |
| | | .pop() |
| | | .toLowerCase(); |
| | | if (["pdf", "jpg", "jpeg", "png", "gif", "bmp", "webp"].includes(ext)) { |
| | | this.$previewFile([{ name: item.name, url: item.url }]); |
| | | return; |
| | | } |
| | | const url = process.env.VUE_APP_BASE_API + item.url; |
| | | var a = document.createElement("a"); |
| | | var event = new MouseEvent("click"); |