| | |
| | | <span>{{ parseTime(scope.row.applyTime, "{y}-{m}-{d}") }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="申请金额" align="center" prop="pretaxcost" width="120px" /> |
| | | <el-table-column label="申请金额" align="right" header-align="right" prop="pretaxcost" width="120px" / class-name="money-column" :formatter="formatMoney"> |
| | | <el-table-column label="经办人" align="center" prop="username" width="90px" /> |
| | | <!--<el-table-column label="捐献编号" align="center" prop="donorno" />--> |
| | | <!-- |
| | | <el-table-column label="预支费用" align="center" prop="prepaidamount" width="120px" /> |
| | | <el-table-column label="预支费用" align="right" header-align="right" prop="prepaidamount" width="120px" / class-name="money-column" :formatter="formatMoney"> |
| | | <el-table-column label="工作单位" align="center" prop="unitname" width="230px" /> |
| | | <el-table-column label="联系电话" align="center" prop="phone" width="160" /> |
| | | <el-table-column label="当前审核级别" width="180" align="center" prop="flowlevel"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="税后金额" prop="amountrequested"> |
| | | <el-input v-model="form.taxedcost" placeholder="税后金额合计" :disabled="true" /> |
| | | <el-form-item label="劳务税后" prop="amountrequested"> |
| | | <el-input v-model="form.taxedcost" placeholder="劳务税后合计" :disabled="true" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | |
| | | </el-select> |
| | | </template> |
| | | </el-table-column>--> |
| | | <el-table-column prop="amount" align="center" label="税前金额" width="120" v-if="form.applytype != 3"> |
| | | <el-table-column prop="amount" align="right" header-align="right" label="税前金额" width="120" v-if="form.applytype != 3" class-name="money-column" :formatter="formatMoney"> |
| | | <template slot-scope="scope"> |
| | | <el-select v-model="scope.row.amount" placeholder="税前金额" clearable filterable allow-create |
| | | @change="selectamount(scope.row)"> |
| | |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="taxamount" align="center" label="扣税" width="120" v-if="form.applytype != '3'"> |
| | | <el-table-column prop="vatAmount" align="right" header-align="right" label="增值税" width="120" v-if="form.applytype != '3'" / class-name="money-column" :formatter="formatMoney"> |
| | | <el-table-column prop="cityTaxAmount" align="right" header-align="right" label="城建税" width="120" v-if="form.applytype != '3'" / class-name="money-column" :formatter="formatMoney"> |
| | | <el-table-column prop="laborPretaxAmount" align="right" header-align="right" label="劳务税前" width="120" v-if="form.applytype != '3'" / class-name="money-column" :formatter="formatMoney"> |
| | | <el-table-column prop="taxamount" align="right" header-align="right" label="劳务个税" width="120" v-if="form.applytype != '3'" class-name="money-column" :formatter="formatMoney"> |
| | | <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" v-if="form.applytype != '3'"> |
| | | <el-table-column prop="taxedamount" align="right" header-align="right" label="劳务税后" width="120" v-if="form.applytype != '3'" class-name="money-column" :formatter="formatMoney"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.taxedamount" placeholder="税后金额" /> |
| | | <el-input v-model="scope.row.taxedamount" placeholder="劳务税后" /> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column prop="amount" align="center" label="金额" width="120" v-if="form.applytype == '3'"> |
| | | <el-table-column prop="amount" align="right" header-align="right" label="金额" width="120" v-if="form.applytype == '3'" class-name="money-column" :formatter="formatMoney"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.amount" placeholder="价格" /> |
| | | </template> |
| | |
| | | console.log(response.msg); |
| | | } |
| | | }, |
| | | // 下载文件 |
| | | // 预览/下载文件 |
| | | downFile(item) { |
| | | const ext = String(item.name || "") |
| | | .split(".") |
| | | .pop() |
| | | .toLowerCase(); |
| | | if (["pdf", "jpg", "jpeg", "png", "gif", "bmp", "webp"].includes(ext)) { |
| | | const list = (this.fileList || []).map(f => ({ |
| | | name: f.name, |
| | | url: f.url |
| | | })); |
| | | const index = list.findIndex(f => f.url === item.url); |
| | | this.$previewFile(list, index > -1 ? index : 0); |
| | | return; |
| | | } |
| | | const url = process.env.VUE_APP_BASE_API + item.url; |
| | | var a = document.createElement("a"); |
| | | var event = new MouseEvent("click"); |