From ca817b63de6b852dbd882080ddda0a4f533a2780 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期一, 08 五月 2023 14:56:28 +0800
Subject: [PATCH] yxh
---
.env.development | 4
vue.config.js | 4
src/views/project/donateconsolationfundlist/index.vue | 552 +++++----------------------
src/views/project/travelexpenseslistrecord/index.vue | 634 ++++++-------------------------
4 files changed, 235 insertions(+), 959 deletions(-)
diff --git a/.env.development b/.env.development
index 15c0372..230c5c9 100644
--- a/.env.development
+++ b/.env.development
@@ -5,8 +5,8 @@
ENV = 'development'
# 绠$悊绯荤粺/寮�鍙戠幆澧�
-VUE_APP_BASE_API = '/prod-api'
-# VUE_APP_BASE_API = '/dev-api'
+# VUE_APP_BASE_API = '/prod-api'
+VUE_APP_BASE_API = '/dev-api'
# 璺敱鎳掑姞杞�
VUE_CLI_BABEL_TRANSPILE_MODULES = true
diff --git a/src/views/project/donateconsolationfundlist/index.vue b/src/views/project/donateconsolationfundlist/index.vue
index 8854533..2376373 100644
--- a/src/views/project/donateconsolationfundlist/index.vue
+++ b/src/views/project/donateconsolationfundlist/index.vue
@@ -1,54 +1,26 @@
<template>
<div class="app-container">
- <el-form
- :model="queryParams"
- ref="queryForm"
- :inline="true"
- v-show="showSearch"
- label-width="80px"
- >
+ <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="80px">
<el-row>
<el-col :span="9">
<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="handleQuery"
- >
+ <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="handleQuery">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="鐢宠浜�" label-width="180px" prop="APPLICANT">
- <el-input
- v-model="queryParams.APPLICANT"
- placeholder="璇疯緭鍏ョ敵璇蜂汉濮撳悕"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
+ <el-input v-model="queryParams.APPLICANT" placeholder="璇疯緭鍏ョ敵璇蜂汉濮撳悕" clearable size="small"
+ @keyup.enter.native="handleQuery" />
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="瀹℃壒鐘舵��" prop="CHECKFLAG" style="float: left">
- <el-select
- v-model="queryParams.CHECKFLAG"
- placeholder="璇烽�夋嫨"
- style="width: 100%"
- >
- <el-option
- v-for="item in checkFlagOptions"
- :key="item.value"
- :label="item.label"
- :value="item.value"
- >
+ <el-select v-model="queryParams.CHECKFLAG" placeholder="璇烽�夋嫨" style="width: 100%">
+ <el-option v-for="item in checkFlagOptions" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</el-form-item>
@@ -57,70 +29,28 @@
</el-form>
<el-row type="flex" :gutter="10" align="right" class="mb8">
<el-col>
- <el-button
- type="primary"
- icon="el-icon-search"
- size="mini"
- @click="flowconclusion"
- >鎼滅储</el-button
- >
- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
- >閲嶇疆</el-button
- >
+ <el-button type="primary" icon="el-icon-search" size="mini" @click="flowconclusion">鎼滅储</el-button>
+ <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">閲嶇疆</el-button>
</el-col>
</el-row>
<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"
- >
+ <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-if="scope.row.checkFlag == 0"><i class="el-icon-check"
+ style="color: #5fb878; font-weight: bold"></i></span>
<!-- <span v-else>寰呭鏍�</span> -->
</template>
</el-table-column>
- <el-table-column
- label="鐢宠鏃ユ湡"
- width="120"
- align="center"
- prop="createTime"
- >
+ <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="donorno"
- width="240px"
- />
- <el-table-column
- label="鎹愮尞鑰�"
- align="center"
- prop="donorname"
- width="120px"
- />
+ <el-table-column label="鐢宠浜�" align="center" prop="username" width="120px" />
+ <el-table-column label="鎹愮尞缂栧彿" align="center" prop="donorno" width="240px" />
+ <el-table-column label="鎹愮尞鑰�" align="center" prop="donorname" width="120px" />
<!-- <el-table-column
label="宸ヤ綔鍗曚綅"
align="center"
@@ -133,142 +63,57 @@
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="amountrequested"
- width="120px"
- />
+ <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="amountrequested" width="120px" />
- <el-table-column
- label="瀹℃牳鐘舵��"
- align="center"
- prop="recordstatus"
- width="180"
- >
+ <el-table-column label="瀹℃牳鐘舵��" align="center" prop="recordstatus" width="180">
<template slot-scope="scope">
- <dict-tag
- :options="dict.type.sys_recordstatus"
- :value="scope.row.recordstatus"
- />
+ <dict-tag :options="dict.type.sys_recordstatus" :value="scope.row.recordstatus" />
</template>
</el-table-column>
- <el-table-column
- label="棰勬敮璐圭敤"
- align="center"
- prop="prepaidamount"
- width="120px"
- />
- <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"
- >
+ <el-table-column label="棰勬敮璐圭敤" align="center" prop="prepaidamount" width="120px" />
+ <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
- >
- <el-button
- v-if="scope.row.checkFlag == 1"
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
-
- >瀹℃牳</el-button
- >
+ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.checkFlag == 0"
+ @click="handleShow(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>
<!-- 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="dayin(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-dialog
- :visible.sync="dialogOpen"
- width="1200px"
- :title="title"
- style="text-align: center"
- >
+ <el-dialog :visible.sync="dialogOpen" width="1400px" :title="title" style="text-align: center">
<el-form ref="form" :model="form" label-width="120px" :rules="rules">
<!-- <el-form ref="applyForm" :model="applicationForm" label-width="120px"> -->
- <el-row
- ><el-col :span="7">
+ <el-row><el-col :span="7">
<el-form-item label="鐢宠鏃ユ湡" prop="createTime">
<!-- <el-input v-model="form.donorno" placeholder="璇疯緭鍏ョ敵璇锋棩鏈�" /> -->
- <el-date-picker
- clearable
- style="width: 100%"
- v-model="form.createTime"
- type="date"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="鐢宠鏃ユ湡"
- >
+ <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date"
+ value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="鎹愮尞缂栧彿" prop="donorno">
- <el-input
- disabled
- v-model="form.donorno"
- placeholder="璇疯緭鍏ユ崘鐚紪鍙�"
- clearable
- />
+ <el-input disabled v-model="form.donorno" placeholder="璇疯緭鍏ユ崘鐚紪鍙�" clearable />
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="鎹愮尞鑰�" prop="donorname">
- <el-input
- disabled
- v-model="form.donorname"
- placeholder="璇疯緭鍏ユ崘鐚�呭鍚�"
- clearable
- />
+ <el-input disabled v-model="form.donorname" placeholder="璇疯緭鍏ユ崘鐚�呭鍚�" clearable />
</el-form-item>
</el-col>
</el-row>
@@ -280,41 +125,23 @@
placeholder="璇疯緭鍏ョ敵璇蜂汉濮撳悕"
clearable
/> -->
- <el-select
- v-model="form.username"
- placeholder="鐢宠浜哄鍚�"
- clearable
- filterable
- allow-create
- style="width: 100%"
- >
- <el-option
- v-for="dict in userlist"
- :key="dict.index"
- :label="dict.nickname"
- :value="dict.nickname"
- ></el-option>
+ <el-select v-model="form.username" placeholder="鐢宠浜哄鍚�" clearable filterable allow-create
+ style="width: 100%">
+ <el-option v-for="dict in userlist" :key="dict.index" :label="dict.nickname"
+ :value="dict.nickname"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="鑱旂郴鐢佃瘽" prop="phone">
- <el-input
- v-model="form.phone"
- placeholder="璇疯緭鍏ョ敵璇疯�呯殑鑱旂郴鏂瑰紡"
- clearable
- />
+ <el-input v-model="form.phone" placeholder="璇疯緭鍏ョ敵璇疯�呯殑鑱旂郴鏂瑰紡" clearable />
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="宸ヤ綔鍗曚綅" prop="unitno">
- <org-selecter
- ref="orgSelecter"
- :org-type="'3'"
- v-model="form.unitno"
- />
+ <org-selecter ref="orgSelecter" :org-type="'3'" v-model="form.unitno" />
</el-form-item>
</el-col>
</el-row>
@@ -329,86 +156,38 @@
:disabled="form.id != null"
>{{ dict.label }}</el-radio
> -->
- <el-radio v-model="form.applytype" label="1"
- >涓撳璐圭敤鐢宠</el-radio
- >
+ <el-radio v-model="form.applytype" label="1">涓撳璐圭敤鐢宠</el-radio>
</el-radio-group>
</el-form-item>
</el-row>
<el-row>
<el-col :span="4">
- <el-button
- type="primary"
- plain
- icon="el-icon-plus"
- size="mini"
- @click="addRow"
- v-if="show === 1"
- >鏂板涓撳璐�</el-button
- >
+ <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="addRow"
+ v-if="show === 1">鏂板涓撳璐�</el-button>
</el-col>
</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-column
- prop="orderno"
- align="center"
- label="搴忓彿"
- width="150"
- >
+ <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>
</el-table-column>
- <el-table-column
- prop="applytype"
- align="center"
- label="璐圭敤绫诲瀷"
- width="220"
- >
+ <el-table-column prop="applytype" align="center" label="璐圭敤绫诲瀷" width="220">
<template slot-scope="scope">
- <el-select
- v-model="scope.row.applytype"
- placeholder="璐圭敤绫诲瀷"
- @change="LoadItemTypeArr(scope.row)"
- >
- <el-option
- v-for="dict in fundtypeArr"
- :key="dict.index"
- :label="dict.label"
- :value="dict.value"
- ></el-option>
+ <el-select v-model="scope.row.applytype" placeholder="璐圭敤绫诲瀷" @change="LoadItemTypeArr(scope.row)">
+ <el-option v-for="dict in fundtypeArr" :key="dict.index" :label="dict.label"
+ :value="dict.value"></el-option>
</el-select>
</template>
</el-table-column>
- <el-table-column
- prop="itemtype"
- align="center"
- label="鏈嶅姟椤圭洰"
- width="200"
- >
+ <el-table-column prop="itemtype" align="center" label="鏈嶅姟椤圭洰" width="200">
<template slot-scope="scope">
- <el-select
- v-model="scope.row.itemid"
- placeholder="鏈嶅姟椤圭洰"
- clearable
- filterable
- allow-create
- >
- <el-option
- v-for="dict in scope.row.itemArr"
- :key="dict.index"
- :label="dict.itemName"
- :value="dict.id"
- ></el-option>
+ <el-select v-model="scope.row.itemid" placeholder="鏈嶅姟椤圭洰" clearable filterable allow-create>
+ <el-option v-for="dict in scope.row.itemArr" :key="dict.index" :label="dict.itemName"
+ :value="dict.id"></el-option>
<!-- <el-option
v-for="dict in itemArr"
:key="dict.index"
@@ -418,163 +197,66 @@
</el-select>
</template>
</el-table-column>
- <el-table-column
- v-if="show === 1"
- prop="servicesscopename"
- align="center"
- label="璐圭敤璇存槑"
- width="150"
- >
+ <el-table-column v-if="show === 1" prop="servicesscopename" align="center" label="璐圭敤璇存槑" width="150">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.servicesscopename"
- placeholder="璐圭敤璇存槑"
- />
+ <el-input v-model="scope.row.servicesscopename" placeholder="璐圭敤璇存槑" />
</template>
</el-table-column>
- <el-table-column
- prop="beneficiaryno"
- align="center"
- label="濮撳悕"
- width="120"
- >
+ <el-table-column prop="beneficiaryno" align="center" label="濮撳悕" width="120">
<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-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>
</el-select>
- </template> </el-table-column
- ><el-table-column
- prop="title"
- align="center"
- label="鑱岀О"
- width="150"
- >
+ </template> </el-table-column><el-table-column prop="title" align="center" label="鑱岀О" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.title" placeholder="鑱岀О" />
</template>
</el-table-column>
- <el-table-column
- v-if="show === 1"
- prop="amount"
- align="center"
- label="绋庡墠閲戦"
- width="100"
- >
+ <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"
- >
+ <el-table-column v-if="show === 1" prop="taxedamount" align="center" label="绋庡悗閲戦" width="100">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.taxedamount"
- placeholder="绋庡悗閲戦"
- />
+ <el-input v-model="scope.row.taxedamount" placeholder="绋庡悗閲戦" />
</template>
</el-table-column>
- <el-table-column
- prop="unitno"
- align="center"
- label="宸ヤ綔鍗曚綅"
- width="180"
- >
+ <el-table-column prop="unitno" align="center" label="宸ヤ綔鍗曚綅" width="180">
<template slot-scope="scope">
- <org-selecter
- :ref="'unitSel' + scope.$index"
- :org-type="'3'"
- v-model="scope.row.unitno"
- />
+ <org-selecter :ref="'unitSel' + scope.$index" :org-type="'3'" v-model="scope.row.unitno" />
</template>
</el-table-column>
- <el-table-column
- prop="idcardno"
- align="center"
- label="韬唤璇佸彿"
- width="200"
- >
+ <el-table-column prop="idcardno" align="center" label="韬唤璇佸彿" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.idcardno" placeholder="韬唤璇佸彿" />
</template>
</el-table-column>
- <el-table-column
- prop="depositbank"
- align="center"
- label="寮�鎴烽摱琛�"
- width="240"
- >
+ <el-table-column prop="depositbank" align="center" label="寮�鎴烽摱琛�" width="240">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.depositbank"
- placeholder="寮�鎴烽摱琛�"
- />
+ <el-input v-model="scope.row.depositbank" placeholder="寮�鎴烽摱琛�" />
</template>
</el-table-column>
- <el-table-column
- prop="bankcardno"
- align="center"
- label="閾惰鍗″彿"
- width="220"
- >
+ <el-table-column prop="bankcardno" align="center" label="閾惰鍗″彿" width="220">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.bankcardno"
- placeholder="閾惰鍗″彿"
- />
+ <el-input v-model="scope.row.bankcardno" placeholder="閾惰鍗″彿" />
</template>
</el-table-column>
- <el-table-column
- fixed="right"
- align="center"
- label="鎿嶄綔"
- width="120"
- >
+ <el-table-column fixed="right" align="center" label="鎿嶄綔" width="120">
<template slot-scope="scope">
- <el-button
- @click="saveRows(scope.row, scope.$index)"
- type="text"
- size="small"
- v-if="show === 1"
- >
+ <el-button @click="saveRows(scope.row, scope.$index)" type="text" size="small" v-if="show === 1">
淇濆瓨
</el-button>
- <el-button
- @click.native.prevent="
- deleteRows(scope.row, scope.$index, fundDetailArr)
- "
- type="text"
- size="small"
- v-hasPermi="['project:expertFeeCheck:delete']"
- >
+ <el-button @click.native.prevent="
+ deleteRows(scope.row, scope.$index, fundDetailArr)
+ " type="text" size="small" v-hasPermi="['project:expertFeeCheck:delete']">
鍒犻櫎
</el-button>
</template>
@@ -598,14 +280,8 @@
<el-col :span="7">
<el-form-item label="鐢宠鏃ユ湡" prop="createTime">
<!-- <el-input v-model="form.donorno" placeholder="璇疯緭鍏ョ敵璇锋棩鏈�" /> -->
- <el-date-picker
- clearable
- style="width: 100%"
- v-model="form.createTime"
- type="date"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="鐢宠鏃ユ湡"
- >
+ <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date"
+ value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
@@ -623,36 +299,17 @@
<el-row style="margin-top: 5px; margin-bottom: 5px">
<el-table :data="fundflowList" border>
- <el-table-column
- label="瀹℃牳浜�"
- align="center"
- prop="checkusername"
- />
- <el-table-column
- label="瀹℃牳鏃ユ湡"
- align="center"
- prop="createTime"
- />
- <el-table-column
- label="瀹℃牳缁撴灉"
- align="center"
- prop="flowconclusion"
- ><template slot-scope="scope"
- ><span v-if="scope.row.flowconclusion == 1">閫氳繃</span
- ><span v-if="scope.row.flowconclusion == 2"
- >涓嶉�氳繃</span
- ></template
- >
+ <el-table-column label="瀹℃牳浜�" align="center" prop="checkusername" />
+ <el-table-column label="瀹℃牳鏃ユ湡" align="center" prop="createTime" />
+ <el-table-column label="瀹℃牳缁撴灉" align="center" prop="flowconclusion"><template slot-scope="scope"><span
+ v-if="scope.row.flowconclusion == 1">閫氳繃</span><span
+ v-if="scope.row.flowconclusion == 2">涓嶉�氳繃</span></template>
</el-table-column>
- <el-table-column
- label="瀹℃牳澶囨敞"
- align="center"
- prop="flowcontent"
- />
+ <el-table-column label="瀹℃牳澶囨敞" align="center" prop="flowcontent" />
</el-table>
</el-row>
- <el-row style="margin-top: 25px; margin-bottom: 5px" v-if="dialogType=='edit'">
+ <el-row style="margin-top: 25px; margin-bottom: 5px" v-if="dialogType == 'edit'">
<el-col :span="7">
<el-form-item label="瀹℃牳" align="left">
<el-radio-group v-model="newobj.flowlevelone" align="left">
@@ -663,16 +320,13 @@
</el-col>
<el-col :span="12">
<el-form-item label="瀹℃牳澶囨敞">
- <el-input
- v-model="newobj.flowconclusion"
- placeholder="鐢虫姤璐圭敤"
- />
+ <el-input v-model="newobj.flowconclusion" placeholder="鐢虫姤璐圭敤" />
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="dundcheck" v-if="dialogType=='edit'">淇濆瓨</el-button>
+ <el-button type="primary" @click="dundcheck" v-if="dialogType == 'edit'">淇濆瓨</el-button>
<el-button @click="cancel">鍙栨秷</el-button>
</div>
</el-dialog>
@@ -908,8 +562,8 @@
userlist: [],
approveLevel: 5,
show: 0,
- fundtypeArrAll:[],
- dialogType:"show",
+ fundtypeArrAll: [],
+ dialogType: "show",
};
},
watch: {},
@@ -1018,7 +672,7 @@
},
getlistOrganization() {
- listOrganization().then((res) => {});
+ listOrganization().then((res) => { });
},
totaldayin(e) {
@@ -1111,7 +765,7 @@
});
},
//鍔ㄦ�佽绠楃◣鍓嶉噾棰�
- change(scope) {},
+ change(scope) { },
autodonorno() {
listDonatebaseinfo().then((res) => {
// console.log("鎵�鏈夋崘鐚�呭垪琛細",res);
@@ -1327,7 +981,7 @@
infoid: infoid,
count: this.idss,
};
- listFunddetails(aaa).then((res) => {});
+ listFunddetails(aaa).then((res) => { });
},
//鍒濆鍖栬垂鐢ㄧ敵璇疯〃鍗曠晫闈�
@@ -1565,7 +1219,7 @@
//鍔犺浇鏈嶅姟椤圭洰
LoadItemTypeArr(row) {
- let list = this.fundtypeArrAll.filter(r=>r.itemType == row.applytype);
+ let list = this.fundtypeArrAll.filter(r => r.itemType == row.applytype);
row.itemArr = list[0].itemDetails;
row.itemid = null;
this.$forceUpdate();
@@ -1595,7 +1249,7 @@
},
getItemArr(rowindex, row) {
- let list = this.fundtypeArrAll.filter(r=>r.itemType == row.applytype);
+ let list = this.fundtypeArrAll.filter(r => r.itemType == row.applytype);
row.itemArr = list[0].itemDetails;
this.$set(this.fundDetailArr, rowindex, row);
//this.loading = true;
diff --git a/src/views/project/travelexpenseslistrecord/index.vue b/src/views/project/travelexpenseslistrecord/index.vue
index 7d2eec7..ae31fab 100644
--- a/src/views/project/travelexpenseslistrecord/index.vue
+++ b/src/views/project/travelexpenseslistrecord/index.vue
@@ -1,60 +1,29 @@
<template>
<div class="app-container">
- <el-form
- :model="queryParams"
- ref="queryForm"
- :inline="true"
- v-show="showSearch"
- label-width="68px"
- >
+ <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
<el-row>
<el-col :span="6">
<el-form-item label="鍑哄樊浜�" prop="travelers">
- <el-input
- v-model="queryParams.travelers"
- placeholder="璇疯緭鍏ュ嚭宸汉"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
+ <el-input v-model="queryParams.travelers" placeholder="璇疯緭鍏ュ嚭宸汉" clearable size="small"
+ @keyup.enter.native="handleQuery" />
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="鎶ラ攢浜�" prop="username">
- <el-input
- v-model="queryParams.username"
- placeholder="璇疯緭鍏ユ姤閿�浜�"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- />
+ <el-input v-model="queryParams.username" placeholder="璇疯緭鍏ユ姤閿�浜�" clearable size="small"
+ @keyup.enter.native="handleQuery" />
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="瀹℃牳鐘舵��" prop="recordstatus">
- <el-input
- v-model="queryParams.recordstatus"
- placeholder="璇烽�夋嫨瀹℃牳鐘舵��"
- clearable
- size="small"
- v-if="0"
- @keyup.enter.native="handleQuery"
- />
- <el-select
- v-model="queryParams.recordstatus"
- placeholder="璇烽�夋嫨瀹℃牳鐘舵��"
- clearable
- size="small"
- >
- <el-option
- v-for="dict in dict.type.sys_recordstatus"
- :key="dict.value"
- :label="dict.label"
- :value="dict.value"
- />
+ <el-input v-model="queryParams.recordstatus" placeholder="璇烽�夋嫨瀹℃牳鐘舵��" clearable size="small" v-if="0"
+ @keyup.enter.native="handleQuery" />
+ <el-select v-model="queryParams.recordstatus" placeholder="璇烽�夋嫨瀹℃牳鐘舵��" clearable size="small">
+ <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>
@@ -63,265 +32,111 @@
<el-row>
<el-col :span="8">
<el-form-item label="鎶ラ攢鏃ユ湡" prop="createTime">
- <el-date-picker
- format="yyyy-MM-dd"
- value-format="yyyy-MM-dd"
- v-model="value1"
- type="daterange"
- @blur="onpick"
- range-separator="鑷�"
- start-placeholder="鎶ラ攢寮�濮嬫棩鏈�"
- end-placeholder="鎶ラ攢缁撴潫鏃ユ湡"
- @keyup.enter.native="handleQuery"
- >
+ <el-date-picker format="yyyy-MM-dd" value-format="yyyy-MM-dd" v-model="value1" type="daterange" @blur="onpick"
+ range-separator="鑷�" start-placeholder="鎶ラ攢寮�濮嬫棩鏈�" end-placeholder="鎶ラ攢缁撴潫鏃ユ湡" @keyup.enter.native="handleQuery">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item>
- <el-button
- type="primary"
- icon="el-icon-search"
- size="mini"
- @click="handleQuery"
- >鎼滅储</el-button
- >
- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
- >閲嶇疆</el-button
- >
- </el-form-item>
+ <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">鎼滅储</el-button>
+ <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">閲嶇疆</el-button>
+ </el-form-item>
</el-col>
</el-row>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
- <el-button
- type="warning"
- plain
- icon="el-icon-download"
- size="mini"
- :loading="exportLoading"
- @click="handleExport"
- >瀵煎嚭</el-button
- >
+ <el-button type="warning" plain icon="el-icon-download" size="mini" :loading="exportLoading"
+ @click="handleExport">瀵煎嚭</el-button>
</el-col>
<!-- v-hasPermi="['project:funddetail:export']" -->
- <right-toolbar
- :showSearch.sync="showSearch"
- @queryTable="getList"
- ></right-toolbar>
+ <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
- <el-table
- border
- v-loading="loading"
- :data="reimbursementList"
- @selection-change="handleSelectionChange"
- >
+ <el-table border v-loading="loading" :data="reimbursementList" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center" /> -->
- <el-table-column
- label="瀹℃壒鐘舵��"
- width="120"
- align="center"
- prop="checkFlag"
- >
+ <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-if="scope.row.checkFlag == 0"><i class="el-icon-check"
+ style="color: #5fb878; font-weight: bold"></i></span>
<!-- <span v-else>寰呭鏍�</span> -->
</template>
</el-table-column>
- <el-table-column
- label="鎶ラ攢褰掔被"
- width="120"
- align="center"
- prop="costtype"
- >
+ <el-table-column label="鎶ラ攢褰掔被" width="120" align="center" prop="costtype">
<template slot-scope="scope">
- <dict-tag
- :options="dict.type.sys_travelexpensebelong"
- :value="scope.row.costtype"
- />
+ <dict-tag :options="dict.type.sys_travelexpensebelong" :value="scope.row.costtype" />
</template>
</el-table-column>
- <el-table-column
- label="鐢宠鏃ユ湡"
- width="120"
- align="center"
- prop="createTime"
- >
+ <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="鎶ラ攢浜�"
- width="120"
- align="center"
- prop="username"
- >
+ <el-table-column label="鎶ラ攢浜�" width="120" align="center" prop="username">
</el-table-column>
- <el-table-column
- label="鍑哄樊浜�"
- width="180"
- align="center"
- prop="travelers"
- >
+ <el-table-column label="鍑哄樊浜�" width="180" align="center" prop="travelers">
</el-table-column>
- <el-table-column
- label="鎶ラ攢閲戦"
- width="120"
- align="center"
- prop="amountrequested"
- >
+ <el-table-column label="鎶ラ攢閲戦" width="120" align="center" prop="amountrequested">
</el-table-column>
- <el-table-column
- label="鍑哄樊浜嬬敱"
- align="center"
- width="280"
- prop="reason"
- >
+ <el-table-column label="鍑哄樊浜嬬敱" align="center" width="280" prop="reason">
</el-table-column>
<el-table-column label="鑱旂郴鐢佃瘽" width="120" align="center" prop="phone">
</el-table-column>
- <el-table-column
- label="寮�鎴烽摱琛�"
- width="180"
- align="center"
- prop="depositbank"
- >
+ <el-table-column label="寮�鎴烽摱琛�" width="180" align="center" prop="depositbank">
</el-table-column>
- <el-table-column
- label="閾惰鍗″彿"
- width="180"
- align="center"
- prop="bankcardno"
- >
+ <el-table-column label="閾惰鍗″彿" width="180" align="center" prop="bankcardno">
</el-table-column>
<!-- <el-table-column label="鎶ラ攢鍚堣" align="center" prop="financechecher">
</el-table-column> -->
- <el-table-column
- label="璐㈠姟瀹℃牳"
- width="120"
- align="center"
- prop="financechecher"
- >
+ <el-table-column label="璐㈠姟瀹℃牳" width="120" align="center" prop="financechecher">
</el-table-column>
- <el-table-column
- label="鎹愮尞鑰�"
- width="120"
- align="center"
- prop="donorname"
- >
+ <el-table-column label="鎹愮尞鑰�" width="120" align="center" prop="donorname">
</el-table-column>
- <el-table-column
- label="鎿嶄綔"
- align="center"
- fixed="right"
- class-name="small-padding fixed-width"
- width="270"
- >
+ <el-table-column label="鎿嶄綔" align="center" fixed="right" class-name="small-padding fixed-width" width="270">
<template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- v-if="scope.row.checkFlag == 1"
- @click="handleUpdate(scope.row)"
- >瀹℃壒</el-button
- >
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- v-if="scope.row.checkFlag == 0"
- @click="handleShow(scope.row)"
- >璇︽儏</el-button
- >
+ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.checkFlag == 1"
+ @click="handleUpdate(scope.row)">瀹℃壒</el-button>
+ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.checkFlag == 0"
+ @click="handleShow(scope.row)">璇︽儏</el-button>
<!-- v-hasPermi="['project:funddetail:edit']" -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-download"
- @click="gettable(scope.row)"
- >
+ <el-button size="mini" type="text" icon="el-icon-download" @click="gettable(scope.row)">
涓嬭浇
</el-button>
<!-- v-hasPermi="['project:funddetail:edit']" -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-delete"
- disabled
- @click="handleDelete(scope.row)"
- >鍒犻櫎</el-button
- >
+ <el-button size="mini" type="text" icon="el-icon-delete" disabled
+ @click="handleDelete(scope.row)">鍒犻櫎</el-button>
<!-- v-hasPermi="['project:funddetail:remove']" -->
</template>
</el-table-column>
</el-table>
<!-- v-hasPermi="['project:donateconsolationfund:edit']" -->
- <pagination
- v-show="total > 0"
- :total="total"
- :page.sync="queryParams.pageNum"
- :limit.sync="queryParams.pageSize"
- @pagination="getList"
- />
+ <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
+ @pagination="getList" />
<!-- 娣诲姞鎴栦慨鏀硅垂鐢ㄧ敵璇锋槑缁嗗璇濇 -->
- <el-dialog
- :title="title"
- :visible.sync="open"
- width="1100px"
- append-to-body
- >
+ <el-dialog :title="title" :visible.sync="open" width="1400px" append-to-body>
<el-form ref="form" :model="form" label-width="120px">
<el-row>
<el-col :span="7">
<el-form-item label="鎹愮尞鑰�" prop="infoid">
- <el-select
- v-model="form.infoid"
- @change="selectbaseinfo"
- filterable
- disabled
- placeholder="璇烽�夋嫨鎹愮尞鑰�"
- >
- <el-option
- v-for="item in baselist"
- :key="item.index"
- :label="item.name"
- :value="item.infoid"
- >
+ <el-select v-model="form.infoid" @change="selectbaseinfo" filterable disabled placeholder="璇烽�夋嫨鎹愮尞鑰�">
+ <el-option v-for="item in baselist" :key="item.index" :label="item.name" :value="item.infoid">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="鎹愮尞缂栧彿" prop="donorno">
- <el-input
- disabled
- v-model="form.donorno"
- placeholder="鎹愮尞缂栧彿"
- />
+ <el-input disabled v-model="form.donorno" placeholder="鎹愮尞缂栧彿" />
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="鐢宠鏃ユ湡" prop="createTime">
- <el-date-picker
- style="width: 100%"
- v-model="form.createTime"
- disabled
- type="date"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="鐢宠鏃ユ湡"
- >
+ <el-date-picker style="width: 100%" v-model="form.createTime" disabled type="date"
+ value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
@@ -341,8 +156,7 @@
<el-col :span="7">
<el-form-item label="鍖哄煙缁勯暱" prop="managerno">
<el-input v-model="form.managerno" placeholder="鍖哄煙缁勯暱" />
- </el-form-item> </el-col
- ></el-row>
+ </el-form-item> </el-col></el-row>
<el-row>
<el-col :span="7">
<el-form-item label="寮�鎴烽摱琛�" prop="depositbank">
@@ -352,13 +166,11 @@
<el-col :span="8">
<el-form-item label="閾惰璐﹀彿" prop="bankcardno">
<el-input v-model="form.bankcardno" placeholder="寮�鎴烽摱琛�" />
- </el-form-item> </el-col
- ><el-col :span="7">
+ </el-form-item> </el-col><el-col :span="7">
<el-form-item label="鑱旂郴鐢佃瘽" prop="phone">
<el-input v-model="form.phone" placeholder="鑱旂郴鐢佃瘽" />
</el-form-item>
- </el-col> </el-row
- ><el-row>
+ </el-col> </el-row><el-row>
<el-col :span="21">
<el-form-item label="鍑哄樊浜嬬敱" prop="reason">
<el-input v-model="form.reason" placeholder="鍑哄樊浜嬬敱" />
@@ -378,72 +190,28 @@
<el-row type="flex" :gutter="10" align="right" class="mb8">
<el-col :span="6">
- <el-button
- type="primary"
- plain
- icon="el-icon-plus"
- size="mini"
- disabled
- @click="addRow"
- >鏂板涓�琛�</el-button
- >
+ <el-button type="primary" plain icon="el-icon-plus" size="mini" disabled @click="addRow">鏂板涓�琛�</el-button>
</el-col>
</el-row>
<el-row>
<el-table :data="applicationDetailArr" border highlight-current-row>
- <el-table-column
- prop="starttime"
- slot=""
- label="鍑哄彂鏃ユ湡"
- align="center"
- width="150"
- >
+ <el-table-column prop="starttime" slot="" label="鍑哄彂鏃ユ湡" align="center" width="150">
<template slot-scope="scope">
- <el-date-picker
- clearable
- size="small"
- style="width: 100%"
- v-model="scope.row.starttime"
- type="date"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="鍑哄彂鏃ユ湡"
- @change="getStandard(scope.row)"
- >
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.starttime" type="date"
+ value-format="yyyy-MM-dd HH:mm:ss" placeholder="鍑哄彂鏃ユ湡" @change="getStandard(scope.row)">
</el-date-picker>
</template>
</el-table-column>
- <el-table-column
- prop="departure"
- slot=""
- label="鍑哄彂鍦扮偣"
- align="center"
- width="120"
- >
+ <el-table-column prop="departure" slot="" label="鍑哄彂鍦扮偣" align="center" width="120">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.departure"
- placeholder="鍑哄彂鍦扮偣"
- />
+ <el-input v-model="scope.row.departure" placeholder="鍑哄彂鍦扮偣" />
</template>
</el-table-column>
- <el-table-column
- prop="endtime"
- slot=""
- label="鍒拌揪鏃ユ湡"
- align="center"
- width="150"
- >
+ <el-table-column prop="endtime" slot="" label="鍒拌揪鏃ユ湡" align="center" width="150">
<template slot-scope="scope">
- <el-date-picker
- clearable
- size="small"
- style="width: 100%"
- v-model="scope.row.endtime"
- type="date"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="鍒拌揪鏃ユ湡"
- >
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.endtime" type="date"
+ value-format="yyyy-MM-dd HH:mm:ss" placeholder="鍒拌揪鏃ユ湡">
</el-date-picker>
</template>
</el-table-column>
@@ -460,208 +228,94 @@
@change="selcetdestination(scope.row)"
></li_area_select>
</template>
- </el-table-column> --><el-table-column
- label="鍒拌揪鍦扮偣"
- prop="destination"
- align="center"
- width="320"
- >
+ </el-table-column> --><el-table-column label="鍒拌揪鍦扮偣" prop="destination" align="center" width="320">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.destination"
- placeholder="鍑哄彂鍦扮偣"
- />
+ <el-input v-model="scope.row.destination" placeholder="鍑哄彂鍦扮偣" />
</template>
</el-table-column>
<el-table-column prop="days" label="澶╂暟" width="80" align="center">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.days"
- @blur="getStandard(scope.row)"
- placeholder="澶╂暟"
- />
+ <el-input v-model="scope.row.days" @blur="getStandard(scope.row)" placeholder="澶╂暟" />
</template>
</el-table-column>
- <el-table-column
- prop="traffictype"
- label="浜ら�氬伐鍏�"
- align="center"
- width="120"
- >
+ <el-table-column prop="traffictype" label="浜ら�氬伐鍏�" align="center" width="120">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.traffictype"
- placeholder="浜ら�氬伐鍏�"
- />
+ <el-input v-model="scope.row.traffictype" placeholder="浜ら�氬伐鍏�" />
</template>
</el-table-column>
- <el-table-column
- prop="trafficexpense"
- label="浜ら�氳垂"
- align="center"
- width="100"
- >
+ <el-table-column prop="trafficexpense" label="浜ら�氳垂" align="center" width="100">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.trafficexpense"
- placeholder="浜ら�氳垂"
- @blur="
- (val) => {
- sumTotalFee(scope.row);
- }
- "
- />
+ <el-input v-model="scope.row.trafficexpense" placeholder="浜ら�氳垂" @blur="(val) => {
+ sumTotalFee(scope.row);
+ }
+ " />
</template>
</el-table-column>
- <el-table-column
- prop="cityfee"
- label="甯傚唴浜ら�氳垂"
- align="center"
- width="100"
- >
+ <el-table-column prop="cityfee" label="甯傚唴浜ら�氳垂" align="center" width="100">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.cityfee"
- placeholder="甯傚唴浜ら�氳垂"
- @blur="
- (val) => {
- sumTotalFee(scope.row);
- }
- "
- >{{ Number(scope.row.cityfee).toFixed(2) }}
+ <el-input v-model="scope.row.cityfee" placeholder="甯傚唴浜ら�氳垂" @blur="(val) => {
+ sumTotalFee(scope.row);
+ }
+ ">{{ Number(scope.row.cityfee).toFixed(2) }}
</el-input>
</template>
</el-table-column>
- <el-table-column
- prop="hotelexpense"
- label="浣忓璐�"
- align="center"
- width="100"
- >
+ <el-table-column prop="hotelexpense" label="浣忓璐�" align="center" width="100">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.hotelexpense"
- placeholder="浣忓璐�"
- @blur="
- (val) => {
- sumTotalFee(scope.row);
- }
- "
- />
+ <el-input v-model="scope.row.hotelexpense" placeholder="浣忓璐�" @blur="(val) => {
+ sumTotalFee(scope.row);
+ }
+ " />
</template>
</el-table-column>
- <el-table-column
- prop="otherexpense"
- label="鏉傝垂"
- align="center"
- width="100"
- >
+ <el-table-column prop="otherexpense" label="鏉傝垂" align="center" width="100">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.otherexpense"
- placeholder="鏉傝垂"
- @blur="
- (val) => {
- sumTotalFee(scope.row);
- }
- "
- />
+ <el-input v-model="scope.row.otherexpense" placeholder="鏉傝垂" @blur="(val) => {
+ sumTotalFee(scope.row);
+ }
+ " />
</template>
</el-table-column>
- <el-table-column
- prop="foodexpenses"
- label="浼欓璐规姤閿�"
- align="center"
- width="100"
- >
+ <el-table-column prop="foodexpenses" label="浼欓璐规姤閿�" align="center" width="100">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.foodexpenses"
- placeholder="浼欓璐规姤閿�"
- @blur="
- (val) => {
- sumTotalFee(scope.row);
- }
- "
- />
+ <el-input v-model="scope.row.foodexpenses" placeholder="浼欓璐规姤閿�" @blur="(val) => {
+ sumTotalFee(scope.row);
+ }
+ " />
</template>
</el-table-column>
- <el-table-column
- prop="foodallowance"
- label="浼欓璐硅ˉ鍔�"
- align="center"
- width="100"
- >
+ <el-table-column prop="foodallowance" label="浼欓璐硅ˉ鍔�" align="center" width="100">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.foodallowance"
- placeholder="浼欓璐硅ˉ鍔�"
- @blur="
- (val) => {
- sumTotalFee(scope.row);
- }
- "
- />
- </template> </el-table-column
- ><el-table-column
- prop="otherfeeamount"
- label="鍏朵粬璐圭敤"
- align="center"
- width="100"
- >
+ <el-input v-model="scope.row.foodallowance" placeholder="浼欓璐硅ˉ鍔�" @blur="(val) => {
+ sumTotalFee(scope.row);
+ }
+ " />
+ </template> </el-table-column><el-table-column prop="otherfeeamount" label="鍏朵粬璐圭敤" align="center"
+ width="100">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.otherfeeamount"
- placeholder="鍏朵粬璐圭敤"
- @blur="
- (val) => {
- sumTotalFee(scope.row);
- }
- "
- />
+ <el-input v-model="scope.row.otherfeeamount" placeholder="鍏朵粬璐圭敤" @blur="(val) => {
+ sumTotalFee(scope.row);
+ }
+ " />
</template>
</el-table-column>
- <el-table-column
- prop="departure"
- slot=""
- label="鍏朵粬璐圭敤璇存槑"
- align="center"
- width="120"
- >
+ <el-table-column prop="departure" slot="" label="鍏朵粬璐圭敤璇存槑" align="center" width="120">
<template slot-scope="scope">
- <el-input
- v-model="scope.row.otherfeedesc"
- placeholder="鍏朵粬璐圭敤璇存槑"
- />
+ <el-input v-model="scope.row.otherfeedesc" placeholder="鍏朵粬璐圭敤璇存槑" />
</template>
</el-table-column>
- <el-table-column
- prop="total"
- label="鍚堣"
- align="center"
- width="140"
- >
+ <el-table-column prop="total" label="鍚堣" align="center" width="140">
<template slot-scope="scope">
<el-input v-model="scope.row.total" placeholder="鍚堣" />
</template>
</el-table-column>
- <el-table-column
- fixed="right"
- label="鎿嶄綔"
- align="center"
- width="120"
- >
+ <el-table-column fixed="right" label="鎿嶄綔" align="center" width="120">
<!-- deleteRow(scope.$index, applicationDetailArr) -->
<template slot-scope="scope">
- <el-button
- @click.native.prevent="
- deleteRow(scope.$index, applicationDetailArr, scope.row)
- "
- type="text"
- size="small"
- disabled
- >
+ <el-button @click.native.prevent="
+ deleteRow(scope.$index, applicationDetailArr, scope.row)
+ " type="text" size="small" disabled>
鍒犻櫎
</el-button>
</template>
@@ -700,72 +354,40 @@
<el-col :span="6">
<el-form-item label="璐㈠姟鍓櫌闀�" prop="finvicepresident">
- <el-input
- v-model="form.finvicepresident"
- placeholder="璐㈠姟鍓櫌闀�"
- />
+ <el-input v-model="form.finvicepresident" placeholder="璐㈠姟鍓櫌闀�" />
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="涓氬姟鍓櫌闀�" prop="busvicepresident">
- <el-input
- v-model="form.busvicepresident"
- placeholder="涓氬姟鍓櫌闀�"
- />
- </el-form-item> </el-col></el-row
- ><el-row>
+ <el-input v-model="form.busvicepresident" placeholder="涓氬姟鍓櫌闀�" />
+ </el-form-item> </el-col></el-row><el-row>
<el-col :span="6">
<el-form-item label="鍔炲叕瀹や富浠�" prop="officedirector">
- <el-input
- v-model="form.officedirector"
- placeholder="鍔炲叕瀹や富浠�"
- />
+ <el-input v-model="form.officedirector" placeholder="鍔炲叕瀹や富浠�" />
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="璐㈠姟閮ㄤ富浠�" prop="financedirector">
- <el-input
- v-model="form.financedirector"
- placeholder="璐㈠姟閮ㄤ富浠�"
- />
+ <el-input v-model="form.financedirector" placeholder="璐㈠姟閮ㄤ富浠�" />
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="璐㈠姟瀹℃牳" prop="financechecher">
<el-input v-model="form.financechecher" placeholder="璐㈠姟瀹℃牳" />
- </el-form-item> </el-col
- ></el-row>
+ </el-form-item> </el-col></el-row>
</el-form>
<el-form label-width="120px">
<el-table :data="fundflowList" border>
- <el-table-column
- label="瀹℃牳浜�"
- align="center"
- width="120"
- prop="checkusername"
- />
- <el-table-column
- label="瀹℃牳鏃ユ湡"
- align="center"
- width="160"
- prop="createTime"
- />
- <el-table-column
- label="瀹℃牳缁撴灉"
- align="center"
- width="200"
- prop="flowconclusion"
- ><template slot-scope="scope"
- ><span v-if="scope.row.flowconclusion == 1">閫氳繃</span
- ><span v-if="scope.row.flowconclusion == 2"
- >涓嶉�氳繃</span
- ></template
- >
+ <el-table-column label="瀹℃牳浜�" align="center" width="120" prop="checkusername" />
+ <el-table-column label="瀹℃牳鏃ユ湡" align="center" width="160" prop="createTime" />
+ <el-table-column label="瀹℃牳缁撴灉" align="center" width="200" prop="flowconclusion"><template
+ slot-scope="scope"><span v-if="scope.row.flowconclusion == 1">閫氳繃</span><span
+ v-if="scope.row.flowconclusion == 2">涓嶉�氳繃</span></template>
</el-table-column>
<el-table-column label="瀹℃牳澶囨敞" align="center" prop="flowcontent" />
</el-table>
- <el-row style="margin-top: 25px; margin-bottom: 5px" v-if="dialogType=='edit'">
+ <el-row style="margin-top: 25px; margin-bottom: 5px" v-if="dialogType == 'edit'">
<el-col :span="7">
<el-form-item label="瀹℃牳缁撴灉" align="left">
<el-radio-group v-model="newobj.flowlevelone" align="left">
@@ -775,7 +397,7 @@
</el-form-item>
</el-col>
</el-row>
- <el-row v-if="dialogType=='edit'">
+ <el-row v-if="dialogType == 'edit'">
<el-col :span="17">
<el-form-item label="瀹℃牳澶囨敞" align="left">
<el-input v-model="newobj.flowconclusion" placeholder="澶囨敞" />
@@ -784,7 +406,7 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="checksubmit" v-if="dialogType=='edit'">淇� 瀛�</el-button>
+ <el-button type="primary" @click="checksubmit" v-if="dialogType == 'edit'">淇� 瀛�</el-button>
<el-button @click="cancel">鍙� 娑�</el-button>
</div>
</el-dialog>
@@ -994,10 +616,10 @@
}
checkfund(checkfundobj).then((res) => {
this.reset();
- this.open=false;
+ this.open = false;
this.getList();
this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
-
+
});
},
getStandard(row) {
@@ -1376,7 +998,7 @@
this.getList();
this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
})
- .catch(() => {});
+ .catch(() => { });
},
/** 瀵煎嚭鎸夐挳鎿嶄綔 */
handleExport() {
@@ -1391,7 +1013,7 @@
this.$download.name(response.msg);
this.exportLoading = false;
})
- .catch(() => {});
+ .catch(() => { });
},
//鏂板涓�琛�
@@ -1491,7 +1113,7 @@
}
this.form.amountrequested = allSum.toFixed(2);
this.form.bigstrmoney = this.convertCurrency(this.form.amountrequested);
- } catch {}
+ } catch { }
},
//閲戦澶у啓
diff --git a/vue.config.js b/vue.config.js
index cd9a916..c0ca227 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,10 +35,10 @@
[process.env.VUE_APP_BASE_API]: {
//target: `http://192.168.2.3:8080`,
//target: `https://slb.hospitalstar.com:9093`,
- target:`http://www.hxsoft.com:8085`,
+ target:`http://116.62.18.175:8080`,
changeOrigin: true,
pathRewrite: {
- ['^' + process.env.VUE_APP_BASE_API]: 'ruoyi-admin/prod-api'
+ ['^' + process.env.VUE_APP_BASE_API]: ''
}
}
},
--
Gitblit v1.9.3