| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col><el-col :span="5"> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item align="left" label="业务组" prop="deptnos"> |
| | | <el-select |
| | | v-model="queryParams.deptnos" |
| | | placeholder="请选择案例状态" |
| | | > |
| | | <el-option |
| | | v-for="item in deptList" |
| | | :label="item.deptName" |
| | | :value="item.deptId" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="5"> |
| | | <el-form-item label="经办人" prop="APPLICANT" style="float: left"> |
| | | <el-input v-model="queryParams.APPLICANT" placeholder="请输入申请人姓名" clearable size="small" |
| | | @keyup.enter.native="flowconclusion" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="5"> |
| | | <el-form-item label="报销金额" prop="money" style="float: left"> |
| | | <el-input v-model="queryParams.money" placeholder="请输入申请人金额" clearable size="small" |
| | |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="申请日期" prop="createTime"> |
| | | <el-date-picker format="yyyy-MM-dd" @change="selectapplication" value-format="yyyy-MM-dd" v-model="createTime" |
| | | 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="createTime" type="daterange" range-separator="至" start-placeholder="申请开始日期" |
| | | end-placeholder="申请结束日期" @keyup.enter.native="flowconclusion"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | style="color: #5fb878; font-weight: bold"></i></span> |
| | | <span v-else>待审核</span> |
| | | </template> |
| | | </el-table-column> |
| | | --> |
| | | </el-table-column> |
| | | --> |
| | | <el-table-column type="selection" width="45"> </el-table-column> |
| | | <!-- <el-table-column |
| | | label="个税计算" |
| | |
| | | </template> |
| | | </el-table-column> --> |
| | | <el-table-column label="报销单号" align="center" prop="bh" width="150px" /> |
| | | <el-table-column label="申请日期" width="120" align="center" prop="createTime"> |
| | | <el-table-column label="申请日期" width="120" align="center" prop="applyTime"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span> |
| | | <span>{{ parseTime(scope.row.applyTime, "{y}-{m}-{d}") }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="申请金额" align="center" prop="pretaxcost" width="200px" /> |
| | |
| | | <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="dayin(scope.row.id)">下载</el-button> |
| | | <el-button size="mini" type="text" icon="el-icon-download" |
| | | @click="totaldayin(scope.row.id)">下载</el-button> |
| | | </template> |
| | | </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-option v-for="dict in dict.type.sys_recordstatus" :key="dict.value" :label="dict.label" |
| | | :value="dict.value" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form-item> |
| | | </el-col>--> |
| | | </el-row> |
| | | <el-row> |
| | |
| | | </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="title" align="center" label="职称" width="150"> |
| | |
| | | </el-table-column> |
| | | <el-table-column v-if="show === 1" prop="amount" align="center" label="税前金额" width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.amount" v-on:input="val => { |
| | | change(scope.row); |
| | | } |
| | | " placeholder="税前金额" /> |
| | | <el-input v-model="scope.row.amount" v-on:input=" |
| | | val => { |
| | | change(scope.row); |
| | | } |
| | | " placeholder="税前金额" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="show === 1" prop="taxedamount" align="center" label="税后金额" width="100"> |
| | |
| | | exportExternalperson |
| | | } from "@/api/project/externalperson"; |
| | | import { getUserProfile } from "@/api/system/user"; |
| | | import { listDept } from "@/api/system/dept"; |
| | | import { |
| | | listDonatebaseinfo, |
| | | getDonatebaseinfo |
| | |
| | | import Li_area_select from "@/components/Address"; |
| | | import OrgSelecter from "@/views/project/components/orgselect"; |
| | | import { setItem, grtItem, removeItem } from "@/utils/storage.js"; |
| | | import { getToken } from "@/utils/auth"; |
| | | |
| | | export default { |
| | | components: { |
| | |
| | | APPLICATIONENDTIME: null, |
| | | CHECKFLAG: 1, |
| | | APPLYTYPE: 1, |
| | | money: null |
| | | money: null, |
| | | donorname: null, |
| | | deptnos: null |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | |
| | | approveLevel: 5, |
| | | show: 0, |
| | | fundtypeArrAll: [], |
| | | dialogType: "show" |
| | | dialogType: "show", |
| | | headers: { |
| | | Authorization: "Bearer " + getToken() |
| | | } |
| | | }; |
| | | }, |
| | | watch: {}, |
| | |
| | | //this.resetForm(); |
| | | this.getCurFundType(); |
| | | this.getUsermsg(); |
| | | this.listDept(); |
| | | }, |
| | | mounted() { |
| | | if (grtItem("expertFeeCheck")) { |
| | |
| | | } else { |
| | | this.show = 3; |
| | | } |
| | | }); |
| | | }, |
| | | listDept() { |
| | | listDept({}).then(response => { |
| | | this.deptList = response.data; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | selectapplication() { |
| | |
| | | return; |
| | | } |
| | | checkfund(checkfundobj).then(res => { |
| | | this.reset(); |
| | | this.$modal.msgSuccess("审核完成!"); |
| | | this.getlistbypower(); |
| | | this.dialogOpen = false; |
| | | if (res.code == 200) { |
| | | this.reset(); |
| | | this.$modal.msgSuccess("审核完成!"); |
| | | this.getlistbypower(); |
| | | this.dialogOpen = false; |
| | | } else { |
| | | if (res.msg) { |
| | | this.$modal.msgError("操作失误"); |
| | | } else { |
| | | this.$modal.msgError(res.msg); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | getlistUser() { |
| | |
| | | |
| | | totaldayin(e) { |
| | | // const id =this.row.id |
| | | getdownloadBX(e).then(res => { |
| | | if (res.downloadUrl) { |
| | | var fileUrl = res; |
| | | //获取当前网址 |
| | | var urlBase = process.env.VUE_APP_BASE_API; |
| | | var curWWWPath = window.document.location.href; |
| | | var pos = curWWWPath.indexOf(window.document.location.pathname); |
| | | // 创建a标签 |
| | | var aEle = document.createElement("a"); |
| | | aEle.href = |
| | | curWWWPath.substring(0, pos) + urlBase + fileUrl["downloadUrl"]; |
| | | aEle.click(); |
| | | this.$alert("下载成功", "提示", { |
| | | confirmButtonText: "确定", |
| | | type: "success" |
| | | getdownloadLW(e).then(res => { |
| | | var fileUrl = res; |
| | | //获取当前网址 |
| | | var urlBase = process.env.VUE_APP_BASE_API; |
| | | var curWWWPath = window.document.location.href; |
| | | var pos = curWWWPath.indexOf(window.document.location.pathname); |
| | | // 创建a标签 |
| | | var aEle = document.createElement("a"); |
| | | aEle.href = |
| | | curWWWPath.substring(0, pos) + urlBase + fileUrl["downloadUrl"]; |
| | | console.log(aEle.href); |
| | | // 添加Authorization头部 |
| | | fetch(aEle.href, { |
| | | headers: this.headers |
| | | }) |
| | | .then(response => { |
| | | // 将文件下载链接作为blob对象进行下载 |
| | | return response.blob(); |
| | | }) |
| | | .then(blob => { |
| | | const url = window.URL.createObjectURL(new Blob([blob])); |
| | | console.log(url); |
| | | const link = document.createElement("a"); |
| | | link.href = url; |
| | | const name = fileUrl["downloadName"]; |
| | | link.setAttribute("download", name); // 替换file.pdf为实际的文件名 |
| | | document.body.appendChild(link); |
| | | link.click(); |
| | | link.parentNode.removeChild(link); |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | |
| | | |
| | | this.ids.forEach(item => { |
| | | if (this.overallids.includes(item)) { |
| | | |
| | | } else { |
| | | this.overallids.push(item); |
| | | const obj = selection.find(obj => obj.id === item); |
| | | this.overallidsvalue.push(obj); |
| | | } |
| | | }); |
| | | |
| | | }, |
| | | // 切换页后恢复选中 |
| | | Restorecheck() { |
| | |
| | | if (row.code == 200) { |
| | | this.$modal.msgSuccess(row.msg); |
| | | } else { |
| | | ; |
| | | this.$modal.msgError(row.msg); |
| | | } |
| | | }) |
| | |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | updateFunddetail(this.fundDetailArr).then(res => { |
| | | }); |
| | | updateFunddetail(this.fundDetailArr).then(res => { }); |
| | | }) |
| | | .catch(() => { |
| | | //几点取消的提示 |