commit
This commit is contained in:
@@ -38,12 +38,14 @@ layout("/layouts/platform.html"){
|
||||
|
||||
<el-form :model="formData" ref="form" :rules="formRules" label-width="120px">
|
||||
|
||||
<vi-title title="请选择活动"></vi-title>
|
||||
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="id" label="活动名称">
|
||||
<el-select v-model="formData.id"
|
||||
<el-form-item prop="activity_id" label="活动名称">
|
||||
<el-select v-model="formData.activity_id"
|
||||
style="width: 100%;"
|
||||
@change="activityChange(formData.id)"
|
||||
|
||||
filterable placeholder="请选择活动">
|
||||
<el-option
|
||||
v-for="item in activityOptions"
|
||||
@@ -54,24 +56,21 @@ layout("/layouts/platform.html"){
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<div style="margin-top: 10px">
|
||||
<span style="color: red">选择活动后自动填充活动基本信息,选择右侧小箭头可展开或折叠</span>
|
||||
</div>
|
||||
<el-col :span="12" v-if="formData.activity_id != null && formData.activity_id !== ''">
|
||||
<el-button @click="openView" type="primary">查看活动详细信息</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
|
||||
<el-row :gutter="20" v-if="formData.id != null && formData.id !== ''">
|
||||
<el-row :gutter="20" v-if="formData.activity_id != null && formData.activity_id !== ''">
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="id" label="实际参与人数">
|
||||
<el-form-item prop="activity_number" label="实际参与人数">
|
||||
<el-input-number v-model="formData.activity_number"
|
||||
style="width: 100%"
|
||||
placeholder="请输入实际参与人数"></el-input-number>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="12">
|
||||
<!--<el-col :span="12">
|
||||
<div style="padding: 4px 0 20px 0">
|
||||
<el-button type="primary" size="small" @click="doExportActivityApply">
|
||||
导出活动申请方案表
|
||||
@@ -83,155 +82,13 @@ layout("/layouts/platform.html"){
|
||||
@click="doExportActivitySignUpUser">导出活动参加人员
|
||||
</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-col>-->
|
||||
</el-row>
|
||||
|
||||
<el-collapse v-model="activeNames">
|
||||
<el-collapse-item title="活动基本信息" name="1">
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="user_name" label="申请人姓名">
|
||||
<el-input readonly v-model="formData.user_name" type="text"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="apply_time" label="申请时间">
|
||||
<el-input readonly v-model="formData.apply_time" type="text"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-row :gutter="20" v-if="formData.activity_id != null && formData.activity_id !== ''">
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="mobile" label="联系方式">
|
||||
<el-input readonly v-model="formData.mobile" type="text"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="activity_type" label="活动主体类型">
|
||||
{{ formData.activity_type == 40002 ? "分工会活动" : formData.activity_type ==
|
||||
40003 ? "协会活动"
|
||||
: "校工会活动"}}
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<vi-title title="活动费用预算及报销信息表"></vi-title>
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="projectCode" label="项目编号">
|
||||
<el-input readonly v-model="formData.projectCode"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="fundsUnitName" label="申请(承办)单位"
|
||||
v-if="formData.activity_type!=40003">
|
||||
<el-input readonly v-model="formData.fundsUnitName" type="text"></el-input>
|
||||
|
||||
</el-form-item>
|
||||
<el-form-item prop="clubId" label="申请协会"
|
||||
v-else-if="formData.activity_type==40003">
|
||||
<el-select placeholder="请选择申请协会"
|
||||
disabled
|
||||
style="width: 100%;" v-model="formData.clubId">
|
||||
<el-option
|
||||
:key="item.id"
|
||||
:label="item.name+' ('+item.code+')'"
|
||||
:value="item.id"
|
||||
v-for="item in fundsUnitNameOption">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="活动计划时间" prop="plannedDate">
|
||||
<el-date-picker
|
||||
end-placeholder="结束日期"
|
||||
range-separator="-"
|
||||
start-placeholder="开始日期"
|
||||
style="width: 100%"
|
||||
disabled
|
||||
type="daterange"
|
||||
v-model="formData.plannedDate"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="address" label="活动地点">
|
||||
<el-input v-model="formData.address" readonly type="text"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="funds_money" label="预算总费用">
|
||||
<el-input-number style="width: 100%" disabled v-model="formData.funds_money"
|
||||
:precision="2"></el-input-number>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<!--<el-col :span="12">
|
||||
<el-form-item prop="payee_username" label="收款人">
|
||||
<el-input v-model="formData.payee_username" readonly></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item label="支行名称" prop="activity_card_name">
|
||||
<el-input readonly v-model="formData.activity_card_name"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item prop="activity_card_number" label="报销卡号">
|
||||
<el-input readonly v-model="formData.activity_card_number"
|
||||
type="number"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>-->
|
||||
</el-row>
|
||||
<!--<el-table :data="formData.goods" border size="mini" style="width: 100%">
|
||||
|
||||
<el-table-column sortable type="index" width="100" label="序号"
|
||||
align="center" header-align="center">
|
||||
</el-table-column>
|
||||
<el-table-column prop="name" readonly label="物品名称" align="center"
|
||||
header-align="center">
|
||||
<template slot-scope="{row}">
|
||||
<el-input maxlength="50" readonly placeholder="费用项目名称" v-model="row.name"
|
||||
type="text"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="budgets" label="预算费用" align="center"
|
||||
header-align="center">
|
||||
<template slot-scope="{row}">
|
||||
<el-input maxlength="50" readonly placeholder="预算费用" v-model="row.budgets"
|
||||
type="number" @input="blur"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>-->
|
||||
</el-form-item>
|
||||
|
||||
<el-divider content-position="left" class="dia"><span
|
||||
style="color: #3ea1ec;">活动内容</span>
|
||||
</el-divider>
|
||||
<el-form-item prop="activity_content" class="is-required">
|
||||
<text-editor v-model="formData.activity_content"></text-editor>
|
||||
</el-form-item>
|
||||
|
||||
<el-divider content-position="left" class="dia"><span style="color: #3ea1ec;">附件</span>
|
||||
</el-divider>
|
||||
<el-row :gutter="40">
|
||||
<el-col :span="24" class="mb25">
|
||||
<el-form-item prop="files" label="附件">
|
||||
<file-upload :view="true" :files.sync="formData.files" card></file-upload>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
|
||||
<el-row :gutter="20" v-if="formData.id != null && formData.id !== ''">
|
||||
<el-divider content-position="left" class="dia"><span
|
||||
style="color: #3ea1ec;">活动费用预算及报销信息表</span></el-divider>
|
||||
<el-form-item label-width="40px">
|
||||
<span style="color: red">如有收款人请填写收款人、支行名称及报销卡号;如无收款人,请在备注栏中说明报销情况</span>
|
||||
<el-table :data="formData.budgets" border max-height="500" size="mini" style="width: 100%">
|
||||
@@ -337,8 +194,8 @@ layout("/layouts/platform.html"){
|
||||
</el-form-item>
|
||||
</el-row>
|
||||
|
||||
<el-divider content-position="left" class="dia"><span style="color: #3ea1ec;">其他报销附件</span>
|
||||
</el-divider>
|
||||
<vi-title title="其他报销附件"></vi-title>
|
||||
|
||||
<el-row :gutter="40">
|
||||
<el-col :span="12" class="mb25">
|
||||
<el-form-item prop="billFiles" label="发票">
|
||||
@@ -399,9 +256,8 @@ layout("/layouts/platform.html"){
|
||||
</el-col>
|
||||
</el-row>-->
|
||||
|
||||
<el-divider content-position="left" class="dia"><span
|
||||
style="color: #3ea1ec;">签  字</span>
|
||||
</el-divider>
|
||||
<vi-title title="签字"></vi-title>
|
||||
|
||||
<el-form-item label="签字" prop="sign">
|
||||
<sign prefix="medicalAid" :qz.sync="formData.sign"></sign>
|
||||
</el-form-item>
|
||||
@@ -416,6 +272,12 @@ layout("/layouts/platform.html"){
|
||||
</template>
|
||||
</guava>
|
||||
|
||||
<el-dialog
|
||||
title="活动详细信息"
|
||||
:visible.sync="activityDialogVisible"
|
||||
width="70%" top="2%">
|
||||
<tissue-info ref="info"></tissue-info>
|
||||
</el-dialog>
|
||||
|
||||
<!--<el-dialog
|
||||
title="活动报销须知"
|
||||
@@ -469,7 +331,6 @@ layout("/layouts/platform.html"){
|
||||
formData: {
|
||||
budgets: [{}]
|
||||
},
|
||||
formSign: {},
|
||||
pageForm: {
|
||||
searchName: "username",
|
||||
year: new Date().getFullYear() + ""
|
||||
@@ -484,15 +345,24 @@ layout("/layouts/platform.html"){
|
||||
activeNames: [],
|
||||
activityOptions: [],
|
||||
dialogVisible: false,
|
||||
|
||||
activityDialogVisible: false,
|
||||
}
|
||||
},
|
||||
components: {
|
||||
'search': httpVueLoader('/components/activityBx/ActivityBxSearch.vue'),
|
||||
'file-upload': httpVueLoader('/components/plugins/FileUpload.vue'),
|
||||
'activity-bx-info': httpVueLoader('/components/activityBx/ActivityBxInfo.vue?v=' + new Date().getTime()),
|
||||
'sign': httpVueLoader('/components/sign/sign.vue?v=2.0.1')
|
||||
'sign': httpVueLoader('/components/sign/sign.vue?v=2.0.1'),
|
||||
'tissue-info': httpVueLoader('/components/activity/school/tissueInfo.vue'),
|
||||
},
|
||||
methods: {
|
||||
openView() {
|
||||
this.activityDialogVisible = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs.info.getInfo(this.formData.activity_id)
|
||||
})
|
||||
},
|
||||
async remoteMethod(query) {
|
||||
if (query) {
|
||||
this.selectLoading = true;
|
||||
@@ -568,7 +438,7 @@ layout("/layouts/platform.html"){
|
||||
}
|
||||
},
|
||||
doSave() {
|
||||
if (!this.formData.id) {
|
||||
if (!this.formData.activity_id) {
|
||||
this.$message.warning("请选择活动后才能保存")
|
||||
}
|
||||
// 确定要保存吗?保存后可在【我的报销】页面选中设置按钮的【编辑】按钮进行修改或提交
|
||||
@@ -663,10 +533,9 @@ layout("/layouts/platform.html"){
|
||||
await this.getActivityReimbursementByUser()
|
||||
const id = GetQueryString('id')
|
||||
if (id != null && id !== '') {
|
||||
this.formData.id = id
|
||||
//this.formData.id = id
|
||||
await this.activityChange(id);
|
||||
}
|
||||
this.dialogVisible = true
|
||||
await this.getUserClub();
|
||||
}
|
||||
})
|
||||
|
||||
@@ -106,7 +106,7 @@ layout("/layouts/platform.html"){
|
||||
<el-table-column align="center" header-align="center" label="操作" fixed="right"
|
||||
width="220px">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click="openView(scope.row)" size="mini">查看</el-button>
|
||||
<el-button @click="openView(scope.row)" size="mini" type="primary">查看</el-button>
|
||||
<el-button @click="openAudit(scope.row.id)"
|
||||
v-if="scope.row.reimbursement_state_id == 1000"
|
||||
size="mini" type="primary">审核</el-button>
|
||||
@@ -123,7 +123,6 @@ layout("/layouts/platform.html"){
|
||||
<el-form :model="formData" ref="auditForm" :rules="formRules" label-position="right"
|
||||
style="padding: 20px 0"
|
||||
label-width="120px">
|
||||
<el-form-item label="审核信息 " label-width="135px" class="view-header"></el-form-item>
|
||||
|
||||
<el-row gutter="20">
|
||||
<el-col :span="12">
|
||||
|
||||
@@ -145,9 +145,9 @@ layout("/layouts/platform.html"){
|
||||
:command="{type:'delete',data:row}">
|
||||
删除
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :command="{type:'exportWwj',data:row,apply_type:1}">
|
||||
<!--<el-dropdown-item :command="{type:'exportWwj',data:row,apply_type:1}">
|
||||
导出申请方案表
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-item>-->
|
||||
<el-dropdown-item :command="{type:'exportWwj',data:row,apply_type:2}">
|
||||
导出活动报销凭证
|
||||
</el-dropdown-item>
|
||||
|
||||
@@ -128,7 +128,7 @@ layout("/layouts/platform.html"){
|
||||
<el-table-column align="center" header-align="center" label="操作" fixed="right"
|
||||
width="220px">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click="openView(scope.row)" size="mini">查看</el-button>
|
||||
<el-button @click="openView(scope.row)" size="mini" type="primary">查看</el-button>
|
||||
<el-button @click="openAudit(scope.row.id)" size="mini"
|
||||
v-if="scope.row.reimbursement_state_id == 1040"
|
||||
type="primary">审核</el-button>
|
||||
@@ -145,7 +145,6 @@ layout("/layouts/platform.html"){
|
||||
<el-form :model="formData" ref="auditForm" :rules="formRules" label-position="right"
|
||||
style="padding: 20px 0"
|
||||
label-width="120px">
|
||||
<el-form-item label="审核信息 " label-width="135px" class="view-header"></el-form-item>
|
||||
|
||||
<el-row gutter="20">
|
||||
<el-col :span="12">
|
||||
|
||||
@@ -128,7 +128,7 @@ layout("/layouts/platform.html"){
|
||||
<el-table-column align="center" header-align="center" label="操作" fixed="right"
|
||||
width="220px">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click="openView(scope.row)" size="mini">查看</el-button>
|
||||
<el-button @click="openView(scope.row)" size="mini" type="primary">查看</el-button>
|
||||
<el-button @click="openAudit(scope.row.id)" size="mini"
|
||||
v-if="scope.row.reimbursement_state_id == 1020"
|
||||
type="primary">审核</el-button>
|
||||
@@ -145,7 +145,6 @@ layout("/layouts/platform.html"){
|
||||
<el-form :model="formData" ref="auditForm" :rules="formRules" label-position="right"
|
||||
style="padding: 20px 0"
|
||||
label-width="120px">
|
||||
<el-form-item label="审核信息 " label-width="135px" class="view-header"></el-form-item>
|
||||
|
||||
<el-row gutter="20">
|
||||
<el-col :span="12">
|
||||
|
||||
@@ -134,9 +134,9 @@ layout("/layouts/platform.html"){
|
||||
<el-dropdown-item :command="{type:'view',data:row}">
|
||||
查看
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item :command="{type:'exportWwj',data:row,apply_type:1}">
|
||||
<!--<el-dropdown-item :command="{type:'exportWwj',data:row,apply_type:1}">
|
||||
导出申请方案表
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-item>-->
|
||||
<el-dropdown-item :command="{type:'exportWwj',data:row,apply_type:2}">
|
||||
导出活动报销凭证
|
||||
</el-dropdown-item>
|
||||
|
||||
@@ -113,7 +113,7 @@ layout("/layouts/platform.html"){
|
||||
<el-table-column align="center" header-align="center" label="操作" fixed="right"
|
||||
width="220px">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click="openView(scope.row)" size="mini">查看</el-button>
|
||||
<el-button @click="openView(scope.row)" size="mini" type="primary">查看</el-button>
|
||||
<el-button @click="openAudit(scope.row.id)"
|
||||
v-if="scope.row.reimbursement_state_id == 1010"
|
||||
size="mini" type="primary">审核</el-button>
|
||||
@@ -130,7 +130,6 @@ layout("/layouts/platform.html"){
|
||||
<el-form :model="formData" ref="auditForm" :rules="formRules" label-position="right"
|
||||
style="padding: 20px 0"
|
||||
label-width="120px">
|
||||
<el-form-item label="审核信息 " label-width="135px" class="view-header"></el-form-item>
|
||||
|
||||
<el-row gutter="20">
|
||||
<el-col :span="12">
|
||||
|
||||
Reference in New Issue
Block a user