| | |
| | | <el-form ref="infoform" label-width="100px"> |
| | | <el-row> |
| | | <el-table v-loading="loading" border :data="donateconsolationfundList" @selection-change="handleSelectionChange"> |
| | | <!-- |
| | | <el-table-column label="审批状态" width="120" align="center" prop="checkFlag"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.checkFlag == 0"><i class="el-icon-check" |
| | | style="color: #5fb878; font-weight: bold"></i></span> |
| | | <!-- <span v-else>待审核</span> --> |
| | | <span v-else>待审核</span> |
| | | </template> |
| | | </el-table-column> |
| | | --> |
| | | <el-table-column label="申请日期" width="120" align="center" prop="createTime"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="经办人" align="center" prop="username" width="120px" /> |
| | | <el-table-column label="所属组别" align="center" prop="deptmentname" width="160px" /> |
| | | <el-table-column label="组长" align="center" prop="managername" width="120px" /> |
| | | <el-table-column label="经办人" align="center" prop="username" width="150px" /> |
| | | <el-table-column label="申请金额" align="center" prop="pretaxcost" width="200px" /> |
| | | <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="unitname" width="230px" /> --> |
| | | <!-- <el-table-column label="联系电话" align="center" prop="phone" width="160" /> --> |
| | | <el-table-column label="税前金额" align="center" prop="pretaxcost" width="120px" /> |
| | | <el-table-column label="税后金额" align="center" prop="taxedcost" width="120px" /> |
| | | <!-- <el-table-column label="税后金额" align="center" prop="taxedcost" width="120px" /> |
| | | <el-table-column label="申请金额" align="center" prop="amountrequested" width="120px" /> |
| | | <el-table-column label="预支费用" align="center" prop="prepaidamount" width="120px" /> |
| | | <el-table-column label="审核状态" align="center" prop="recordstatus" width="180"> |
| | | <el-table-column label="预支费用" align="center" prop="prepaidamount" width="120px" /> --> |
| | | <el-table-column label="审核状态" align="center" prop="recordstatus" width="200"> |
| | | <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="donorname" width="120px" /> |
| | | <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="160px"> |
| | | <template slot-scope="scope"> |
| | | <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.checkFlag == 0" |
| | | @click="handleShow(scope.row)">详情</el-button> |
| | | @click="handleDetail(scope.row)">详情</el-button> |
| | | <el-button v-if="scope.row.checkFlag == 1" size="mini" type="text" icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)">审核</el-button> |
| | | @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> |
| | | </template> |
| | |
| | | </el-form-item></el-col> |
| | | <el-col :span="10"> |
| | | <el-form-item label="申请说明" prop="remark"> |
| | | <el-input disabled v-model="form.remark" placeholder="请输入捐献者姓名" clearable /> |
| | | <el-input disabled v-model="form.remark" placeholder="请输入申请说明" clearable /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | |
| | | --> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="5"> |
| | | <el-form-item label="合计金额" prop="amountrequested"> |
| | | <!-- <el-col :span="5"> |
| | | <el-form-item label="扣税金额" prop="amountrequested"> |
| | | <el-input v-model="form.amountrequested" placeholder="申请金额" :disabled="true" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | <el-col :span="5"> |
| | | <el-form-item label="税前金额" prop="amountrequested"> |
| | | <el-form-item label="税前合计" prop="pretaxcost"> |
| | | <el-input v-model="form.pretaxcost" placeholder="税前金额合计" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="税后金额" prop="amountrequested"> |
| | | <el-form-item label="税后合计" prop="taxedcost"> |
| | | <el-input v-model="form.taxedcost" placeholder="税后金额合计" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col><!-- |
| | | <el-col :span="5"> |
| | | <el-form-item label="申请状态" prop="recordstatus"> |
| | | <!-- <el-input v-model="form.recordstatus" placeholder="审核意见"/> --> |
| | | <el-select v-model="form.recordstatus" placeholder="请选择审核状态" clearable size="small" :disabled="true"> |
| | | <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-col> |
| | | </el-form-item> |
| | | </el-col>--> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="4"> |
| | |
| | | // this.standardlevel = response.data.standardlevel; |
| | | if ( |
| | | response.data.userName === "001" || |
| | | response.data.userName === "002" || |
| | | response.data.userName === "002" || |
| | | response.data.userName === "012" || |
| | | response.data.userName === "admin" |
| | | ) { |
| | | this.show = 1; |
| | | } else { |
| | | this.show = 3; |
| | | } |
| | | console.log("where", this.show); |
| | | console.log(response.data.userName, this.show); |
| | | }); |
| | | }, |
| | | selectapplication() { |
| | |
| | | } |
| | | }, |
| | | /** 修改按钮操作 */ |
| | | handleUpdate(row) { |
| | | handleCheck(row) { |
| | | this.$router.push({ |
| | | path: "/finance/applyDetail/", |
| | | query: { |
| | | id: row.id, |
| | | businessType: "1", |
| | | operationType: "check" |
| | | } |
| | | }); |
| | | return; |
| | | |
| | | this.isopen = 0; |
| | | this.reset(); |
| | | this.queryParams.params = {}; |
| | |
| | | }, |
| | | |
| | | //查看审核详情 |
| | | handleShow(row) { |
| | | handleDetail(row) { |
| | | this.$router.push({ |
| | | path: "/finance/applyDetail/", |
| | | query: { |
| | | id: row.id, |
| | | businessType: "1", |
| | | operationType: "detail" |
| | | } |
| | | }); |
| | | return; |
| | | |
| | | this.isopen = 0; |
| | | this.reset(); |
| | | this.queryParams.params = {}; |