| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="120px"> |
| | | <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="90px"> |
| | | <el-row> |
| | | <el-col :span="5"> |
| | | <el-form-item label="捐献案例" prop="donorname" style="float: left"> |
| | |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="申请日期" prop="applyTime"> |
| | | <el-date-picker format="yyyy-MM-dd" @change="selectapplication" value-format="yyyy-MM-dd" v-model="applyTime" |
| | | type="daterange" range-separator="至" start-placeholder="申请开始日期" end-placeholder="申请结束日期" |
| | | @keyup.enter.native="flowconclusion"> |
| | | <el-date-picker format="yyyy-MM-dd" @change="selectapplication" value-format="yyyy-MM-dd" |
| | | v-model="applyTime" type="daterange" range-separator="至" start-placeholder="申请开始日期" |
| | | end-placeholder="申请结束日期" @keyup.enter.native="flowconclusion"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <span>{{ parseTime(scope.row.applyTime, "{y}-{m}-{d}") }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="申请金额" align="center" prop="pretaxcost" width="200px" /> |
| | | <el-table-column label="经办人" align="center" prop="username" width="150px" /> |
| | | <el-table-column label="申请材料状态" width="140" align="center" prop="checkFlag"> |
| | | <el-table-column label="申请金额" align="center" prop="pretaxcost" width="120px" /> |
| | | <el-table-column label="经办人" align="center" prop="username" width="90px" /> |
| | | <el-table-column label="材料预审状态" width="140px" align="center" prop="checkFlag"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_stage_type" :value="scope.row.checkstatus" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="审核状态" align="center" prop="recordstatus" width="200"> |
| | | <el-table-column label="审核状态" align="center" prop="recordstatus" width="140px"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_recordstatus" :value="scope.row.recordstatus" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="个税计算情况" align="center" prop="recordstatus" width="200"> |
| | | <el-table-column label="个税计算情况" align="center" prop="recordstatus" width="120px"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_tax" :value="scope.row.istax" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="所属组别" align="center" prop="deptmentname" width="200px" /> |
| | | <el-table-column label="组长" align="center" prop="managername" width="150px" /> |
| | | <el-table-column label="捐献者" align="center" prop="donorname" width="120px" /> |
| | | <el-table-column label="所属组别" align="center" prop="deptmentname" width="140px" /> |
| | | <el-table-column label="组长" align="center" prop="managername" width="90px" /> |
| | | <el-table-column label="捐献者" align="center" prop="donorname" width="90px" /> |
| | | <el-table-column label="备注" align="center" prop="remark" /> |
| | | <!--<el-table-column label="捐献编号" align="center" prop="donorno" /> |
| | | <el-table-column label="财务审核" align="center" prop="financechecher" width="140" />--> |
| | | <el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="260px"> |
| | | <el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="200px"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.checkFlag == 0" |
| | | @click="handleDetail(scope.row)">详情</el-button> |
| | |
| | | <el-button v-if="scope.row.checkFlag == 1" size="mini" type="text" icon="el-icon-edit" |
| | | @click="handleCheck(scope.row)">审核</el-button> |
| | | <!-- v-hasPermi="['project:donateconsolationfund:edit']" --> |
| | | <el-button size="mini" type="text" icon="el-icon-download" @click="totaldayin(scope.row.id)">下载</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-download" |
| | | @click="totaldayin(scope.row.id)">下载</el-button> |
| | | <!-- <el-popover placement="right" width="400" trigger="click"> |
| | | <el-table :data="gridData"> |
| | | <el-table-column |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" |
| | | @pagination="getlistbypower" /> |
| | | <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" @pagination="getlistbypower" /> |
| | | </el-row> |
| | | </el-form> |
| | | |
| | |
| | | </el-row> |
| | | |
| | | <el-row style="margin-top: 5px; margin-bottom: 5px"> |
| | | <el-table :data="fundDetailArr" :summary-method="getSummaries" border highlight-current-row v-loading="loading"> |
| | | <el-table :data="fundDetailArr" :summary-method="getSummaries" border highlight-current-row |
| | | v-loading="loading"> |
| | | <el-table-column prop="orderno" align="center" label="排序" width="80"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.orderno" placeholder="排序" /> |
| | |
| | | <template slot-scope="scope"> |
| | | <el-select filterable allow-create ref="getReportname" default-first-option |
| | | @change="selectpersonmsg(scope.row)" v-model="scope.row.beneficiaryname" placeholder="请选择"> |
| | | <el-option v-for="item in arrr3" :key="item.reportNo" :label="item.reportName" :value="item.reportName"> |
| | | <el-option v-for="item in arrr3" :key="item.reportNo" :label="item.reportName" |
| | | :value="item.reportName"> |
| | | </el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="amount" align="center" label="税前金额" width="150"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.amount" @blur="val => { |
| | | sumTotalFee(); |
| | | } |
| | | " placeholder="税前金额" /> |
| | | <el-input v-model="scope.row.amount" @blur=" |
| | | val => { |
| | | sumTotalFee(); |
| | | } |
| | | " placeholder="税前金额" /> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column |
| | |
| | | </el-table-column> --> |
| | | <el-table-column prop="taxedamount" align="center" label="税后金额" width="150"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.taxedamount" placeholder="税后金额" @blur="val => { |
| | | sumTotalFee(); |
| | | } |
| | | " /> |
| | | <el-input v-model="scope.row.taxedamount" placeholder="税后金额" @blur=" |
| | | val => { |
| | | sumTotalFee(); |
| | | } |
| | | " /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="unitno" align="center" label="单位" width="180"> |
| | |
| | | import Li_area_select from "@/components/Address"; |
| | | import OrgSelecter from "@/views/project/components/orgselect"; |
| | | import { getUserProfile } from "@/api/system/user"; |
| | | import { getToken } from "@/utils/auth"; |
| | | |
| | | // 导入本地存储的方法 |
| | | import { setItem, grtItem, removeItem } from "@/utils/storage.js"; |
| | | |
| | |
| | | //捐献案例列表数据 |
| | | // donationCaseTableData:[], |
| | | donatebaseinfoList: [], |
| | | headers: { |
| | | Authorization: "Bearer " + getToken() |
| | | }, |
| | | gridData: [ |
| | | { |
| | | date: "2016-05-02", |
| | |
| | | return; |
| | | } |
| | | checkfund(checkfundobj).then(res => { |
| | | console.log("审核费用", res); |
| | | this.dialogOpen = false; |
| | | this.reset(); |
| | | this.$modal.msgSuccess("审核完成!"); |
| | | this.getlistbypower(); |
| | | if (res.code == 200) { |
| | | console.log("审核费用", res); |
| | | this.dialogOpen = false; |
| | | this.reset(); |
| | | this.$modal.msgSuccess("审核完成!"); |
| | | this.getlistbypower(); |
| | | } else { |
| | | this.dialogOpen = false; |
| | | if (res.msg) { |
| | | this.$modal.msgError("操作失误"); |
| | | } else { |
| | | this.$modal.msgError(res.msg); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | getlistUser() { |
| | |
| | | console.log(url); |
| | | const link = document.createElement("a"); |
| | | link.href = url; |
| | | const name=fileUrl["downloadName"] |
| | | const name = fileUrl["downloadName"]; |
| | | link.setAttribute("download", name); // 替换file.pdf为实际的文件名 |
| | | document.body.appendChild(link); |
| | | link.click(); |
| | |
| | | // this.defaultperson = response.data; |
| | | // this.standardlevel = response.data.standardlevel; |
| | | if ( |
| | | response.data.userName === "001" || |
| | | response.data.userName === "053" || |
| | | response.data.userName === "002" || |
| | | response.data.userName === "admin" |
| | | ) { |