|
@@ -1,543 +1,444 @@
|
|
|
<template>
|
|
|
- <div class="app-container">
|
|
|
- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
- <el-form-item label="采购计划" prop="ppid">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.ppid"
|
|
|
- placeholder="请输入采购计划id"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="流水号" prop="trnuid">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.trnuid"
|
|
|
- placeholder="请输入客户端交易的唯一流水号建议值为yyyymmdd+序号"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="报文节点" prop="rqbody">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rqbody"
|
|
|
- placeholder="请输入报文节点"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="原入账流水号“。" prop="serialno">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.serialno"
|
|
|
- placeholder="请输入原入账交易流水号注:对应“查询不明保证金明细”接口响应字段中“serialno 流水号“。"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="原入账会计日期" prop="tradedate">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.tradedate"
|
|
|
- placeholder="请输入原入账会计日期yyyymmdd注:对应“查询不明保证金明细”接口响应字段中“tradedate 交易日期”"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退款金额" prop="destbailamt">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.destbailamt"
|
|
|
- placeholder="请输入退款金额注:退款金额需等于查询不明保证金明细”接口响应字段中”amt 交易金额“,不明保证金明细查询接口中交易金额和可退款金额必须相等才可以退款。"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="交易唯一标志" prop="rtnTrnuid">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnTrnuid"
|
|
|
- placeholder="请输入客户端交易的唯一标志"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="处理结果码" prop="rtnCode">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnCode"
|
|
|
- placeholder="请输入处理结果码"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="项目编号" prop="rtnPrjno">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnPrjno"
|
|
|
- placeholder="请输入项目编号"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="标段编号" prop="rtnSgtno">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnSgtno"
|
|
|
- placeholder="请输入标段编号"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="标段id" prop="rtnSgtid">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnSgtid"
|
|
|
- placeholder="请输入标段id"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="投标编号" prop="rtnTenderid">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnTenderid"
|
|
|
- placeholder="请输入投标编号"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退款时收款户名" prop="rtnAcctname">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnAcctname"
|
|
|
- placeholder="请输入退款时收款户名"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退款时收款行号" prop="rtnBankname">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnBankname"
|
|
|
- placeholder="请输入退款时收款行号"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退还金额" prop="rtnRefundamt">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnRefundamt"
|
|
|
- placeholder="请输入退还金额"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="备注" prop="rtnRemark">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnRemark"
|
|
|
- placeholder="请输入备注"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="指令处理状态报文节点" prop="rtnXferprcsts">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnXferprcsts"
|
|
|
- placeholder="请输入指令处理状态报文节点"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="指令状态编码" prop="rtnXferprccode">
|
|
|
- <el-input
|
|
|
- v-model="queryParams.rtnXferprccode"
|
|
|
- placeholder="请输入指令状态编码"
|
|
|
- clearable
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- <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-form>
|
|
|
+ <div class="app-container">
|
|
|
+ <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
|
|
|
+ label-width="68px">
|
|
|
+ <el-form-item label="原入账流水号" prop="serialno" label-width="120">
|
|
|
+ <el-input
|
|
|
+ v-model="queryParams.serialno"
|
|
|
+ placeholder="请输入原入账交易流水号"
|
|
|
+ clearable
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="原入账会计日期" prop="tradedate" label-width="120">
|
|
|
+ <el-input
|
|
|
+ v-model="queryParams.tradedate"
|
|
|
+ placeholder="请输入原入账会计日期"
|
|
|
+ clearable
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="退款时收款户名" prop="rtnAcctname" label-width="120">
|
|
|
+ <el-input
|
|
|
+ v-model="queryParams.rtnAcctname"
|
|
|
+ placeholder="请输入退款时收款户名"
|
|
|
+ clearable
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="退款时收款行号" prop="rtnBankname" label-width="120">
|
|
|
+ <el-input
|
|
|
+ v-model="queryParams.rtnBankname"
|
|
|
+ placeholder="请输入退款时收款行号"
|
|
|
+ clearable
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="退还金额" prop="rtnRefundamt">
|
|
|
+ <el-input
|
|
|
+ v-model="queryParams.rtnRefundamt"
|
|
|
+ placeholder="请输入退还金额"
|
|
|
+ clearable
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <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-form>
|
|
|
|
|
|
- <el-row :gutter="10" class="mb8">
|
|
|
- <el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- plain
|
|
|
- icon="el-icon-plus"
|
|
|
- size="mini"
|
|
|
- @click="handleAdd"
|
|
|
- v-hasPermi="['bank:uncleardepositrfnd:add']"
|
|
|
- >新增</el-button>
|
|
|
- </el-col>
|
|
|
- <el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="success"
|
|
|
- plain
|
|
|
- icon="el-icon-edit"
|
|
|
- size="mini"
|
|
|
- :disabled="single"
|
|
|
- @click="handleUpdate"
|
|
|
- v-hasPermi="['bank:uncleardepositrfnd:edit']"
|
|
|
- >修改</el-button>
|
|
|
- </el-col>
|
|
|
- <el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="danger"
|
|
|
- plain
|
|
|
- icon="el-icon-delete"
|
|
|
- size="mini"
|
|
|
- :disabled="multiple"
|
|
|
- @click="handleDelete"
|
|
|
- v-hasPermi="['bank:uncleardepositrfnd:remove']"
|
|
|
- >删除</el-button>
|
|
|
- </el-col>
|
|
|
- <el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="warning"
|
|
|
- plain
|
|
|
- icon="el-icon-download"
|
|
|
- size="mini"
|
|
|
- @click="handleExport"
|
|
|
- v-hasPermi="['bank:uncleardepositrfnd:export']"
|
|
|
- >导出</el-button>
|
|
|
- </el-col>
|
|
|
- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
- </el-row>
|
|
|
+ <el-row :gutter="10" class="mb8">
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="warning"
|
|
|
+ plain
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
+ @click="handleExport"
|
|
|
+ v-hasPermi="['bank:uncleardepositrfnd:export']"
|
|
|
+ >导出
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
+ <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
+ </el-row>
|
|
|
|
|
|
- <el-table v-loading="loading" :data="uncleardepositrfndList" @selection-change="handleSelectionChange">
|
|
|
- <el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="不明保证金退款申请id" align="center" prop="uncleardepositrfndid" />
|
|
|
- <el-table-column label="采购计划id" align="center" prop="ppid" />
|
|
|
- <el-table-column label="客户端交易的唯一流水号建议值为yyyymmdd+序号" align="center" prop="trnuid" />
|
|
|
- <el-table-column label="报文节点" align="center" prop="rqbody" />
|
|
|
- <el-table-column label="原入账交易流水号注:对应“查询不明保证金明细”接口响应字段中“serialno 流水号“。" align="center" prop="serialno" />
|
|
|
- <el-table-column label="原入账会计日期yyyymmdd注:对应“查询不明保证金明细”接口响应字段中“tradedate 交易日期”" align="center" prop="tradedate" />
|
|
|
- <el-table-column label="退款金额注:退款金额需等于查询不明保证金明细”接口响应字段中”amt 交易金额“,不明保证金明细查询接口中交易金额和可退款金额必须相等才可以退款。" align="center" prop="destbailamt" />
|
|
|
- <el-table-column label="客户端交易的唯一标志" align="center" prop="rtnTrnuid" />
|
|
|
- <el-table-column label="交易处理状态" align="center" prop="rtnStatus" />
|
|
|
- <el-table-column label="处理结果码" align="center" prop="rtnCode" />
|
|
|
- <el-table-column label="处理结果等级(info/warn/error)" align="center" prop="rtnSeverity" />
|
|
|
- <el-table-column label="报文节点" align="center" prop="rtnRsbody" />
|
|
|
- <el-table-column label="项目编号" align="center" prop="rtnPrjno" />
|
|
|
- <el-table-column label="标段编号" align="center" prop="rtnSgtno" />
|
|
|
- <el-table-column label="退款状态tbsp_success-执行成功tbsp_fail-执行失败tbsp_process-处理中" align="center" prop="rtnRecordstate" />
|
|
|
- <el-table-column label="标段id" align="center" prop="rtnSgtid" />
|
|
|
- <el-table-column label="投标编号" align="center" prop="rtnTenderid" />
|
|
|
- <el-table-column label="退还方式general_bail-一般保证金keep_bail-长期保证金cash_bail-现金guarantee_bail-保函" align="center" prop="rtnRefundflag" />
|
|
|
- <el-table-column label="退款方式principal-本金退还" align="center" prop="rtnRefundtype" />
|
|
|
- <el-table-column label="退款时收款账号" align="center" prop="rtnAcctid" />
|
|
|
- <el-table-column label="退款时收款币种" align="center" prop="rtnCurrency" />
|
|
|
- <el-table-column label="退款时收款户名" align="center" prop="rtnAcctname" />
|
|
|
- <el-table-column label="退款时收款行号" align="center" prop="rtnBankname" />
|
|
|
- <el-table-column label="退还金额" align="center" prop="rtnRefundamt" />
|
|
|
- <el-table-column label="备注" align="center" prop="rtnRemark" />
|
|
|
- <el-table-column label="指令处理状态报文节点" align="center" prop="rtnXferprcsts" />
|
|
|
- <el-table-column label="指令状态编码" align="center" prop="rtnXferprccode" />
|
|
|
- <el-table-column label="指令处理时间yyyymmdd hhmmss" align="center" prop="rtnDtxferprc" />
|
|
|
- <el-table-column label="指令处理信息" align="center" prop="rtnMessage" />
|
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="handleUpdate(scope.row)"
|
|
|
- v-hasPermi="['bank:uncleardepositrfnd:edit']"
|
|
|
- >修改</el-button>
|
|
|
- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-delete"
|
|
|
- @click="handleDelete(scope.row)"
|
|
|
- v-hasPermi="['bank:uncleardepositrfnd:remove']"
|
|
|
- >删除</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ <el-table v-loading="loading" :data="uncleardepositrfndList" @selection-change="handleSelectionChange">
|
|
|
+ <el-table-column type="selection" width="55" align="center"/>
|
|
|
+ <el-table-column label="不明保证金退款申请id" align="center" prop="uncleardepositrfndid" v-if="false"/>
|
|
|
+ <el-table-column label="采购计划id" align="center" prop="ppid" v-if="false"/>
|
|
|
+ <el-table-column label="客户端交易的唯一流水号建议值为yyyymmdd+序号" align="center" prop="trnuid"
|
|
|
+ v-if="false"/>
|
|
|
+ <el-table-column label="报文节点" align="center" prop="rqbody" v-if="false"/>
|
|
|
+ <el-table-column label="原入账交易流水号" align="center" prop="serialno" width="160"/>
|
|
|
+ <el-table-column label="原入账会计日期" align="center" prop="tradedate"/>
|
|
|
+ <el-table-column label="退款金额" align="center" prop="destbailamt"/>
|
|
|
+ <el-table-column label="客户端交易的唯一标志" align="center" prop="rtnTrnuid" v-if="false"/>
|
|
|
+ <el-table-column label="交易处理状态" align="center" prop="rtnStatus" v-if="false"/>
|
|
|
+ <el-table-column label="处理结果码" align="center" prop="rtnCode" v-if="false"/>
|
|
|
+ <el-table-column label="处理结果等级(info/warn/error)" align="center" prop="rtnSeverity" v-if="false"/>
|
|
|
+ <el-table-column label="报文节点" align="center" prop="rtnRsbody" v-if="false"/>
|
|
|
+ <el-table-column label="项目编号" align="center" prop="rtnPrjno" v-if="false"/>
|
|
|
+ <el-table-column label="标段编号" align="center" prop="rtnSgtno" v-if="false"/>
|
|
|
+ <el-table-column label="退款状态" align="center"
|
|
|
+ prop="rtnRecordstate">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-tag type="info" v-if="scope.row.rtnRecordstate.toLowerCase()==='tbsp_success' ">执行成功</el-tag>
|
|
|
+ <el-tag type="warning" v-if="scope.row.rtnRecordstate.toLowerCase()==='tbsp_fail' ">执行失败</el-tag>
|
|
|
+ <el-tag type="warning" v-if="scope.row.rtnRecordstate.toLowerCase()==='tbsp_process' ">处理中</el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="标段id" align="center" prop="rtnSgtid" v-if="false"/>
|
|
|
+ <el-table-column label="投标编号" align="center" prop="rtnTenderid" width="160"/>
|
|
|
+ <el-table-column
|
|
|
+ label="退还方式"
|
|
|
+ align="center" prop="rtnRefundflag">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-tag type="info" v-if="scope.row.rtnRefundflag.toLowerCase()==='general_bail' ">一般保证金</el-tag>
|
|
|
+ <el-tag type="warning" v-if="scope.row.rtnRefundflag.toLowerCase()==='keep_bail' ">长期保证金</el-tag>
|
|
|
+ <el-tag type="warning" v-if="scope.row.rtnRefundflag.toLowerCase()==='cash_bail' ">现金</el-tag>
|
|
|
+ <el-tag type="warning" v-if="scope.row.rtnRefundflag.toLowerCase()==='guarantee_bail' ">保函</el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="退款方式" align="center" prop="rtnRefundtype">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-tag type="info" v-if="scope.row.rtnRefundtype.toLowerCase()==='principal' ">本金退还</el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="退款时收款账号" align="center" prop="rtnAcctid"/>
|
|
|
+ <el-table-column label="退款时收款币种" align="center" prop="rtnCurrency"/>
|
|
|
+ <el-table-column label="退款时收款户名" align="center" prop="rtnAcctname"/>
|
|
|
+ <el-table-column label="退款时收款行号" align="center" prop="rtnBankname"/>
|
|
|
+ <el-table-column label="退还金额" align="center" prop="rtnRefundamt"/>
|
|
|
+ <el-table-column label="备注" align="center" prop="rtnRemark"/>
|
|
|
+ <el-table-column label="指令处理状态报文节点" align="center" prop="rtnXferprcsts" v-if="false"/>
|
|
|
+ <el-table-column label="指令状态编码" align="center" prop="rtnXferprccode"/>
|
|
|
+ <el-table-column label="指令处理时间" align="center" prop="rtnDtxferprc"/>
|
|
|
+ <el-table-column label="指令处理信息" align="center" prop="rtnMessage"/>
|
|
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ @click="handleDelete(scope.row)"
|
|
|
+ v-hasPermi="['bank:uncleardepositrfnd:remove']"
|
|
|
+ >删除
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
|
|
|
- <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="500px" append-to-body>
|
|
|
- <el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
- <el-form-item label="采购计划id" prop="ppid">
|
|
|
- <el-input v-model="form.ppid" placeholder="请输入采购计划id" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="客户端交易的唯一流水号建议值为yyyymmdd+序号" prop="trnuid">
|
|
|
- <el-input v-model="form.trnuid" placeholder="请输入客户端交易的唯一流水号建议值为yyyymmdd+序号" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="报文节点" prop="rqbody">
|
|
|
- <el-input v-model="form.rqbody" placeholder="请输入报文节点" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="原入账交易流水号注:对应“查询不明保证金明细”接口响应字段中“serialno 流水号“。" prop="serialno">
|
|
|
- <el-input v-model="form.serialno" placeholder="请输入原入账交易流水号注:对应“查询不明保证金明细”接口响应字段中“serialno 流水号“。" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="原入账会计日期yyyymmdd注:对应“查询不明保证金明细”接口响应字段中“tradedate 交易日期”" prop="tradedate">
|
|
|
- <el-input v-model="form.tradedate" placeholder="请输入原入账会计日期yyyymmdd注:对应“查询不明保证金明细”接口响应字段中“tradedate 交易日期”" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退款金额注:退款金额需等于查询不明保证金明细”接口响应字段中”amt 交易金额“,不明保证金明细查询接口中交易金额和可退款金额必须相等才可以退款。" prop="destbailamt">
|
|
|
- <el-input v-model="form.destbailamt" placeholder="请输入退款金额注:退款金额需等于查询不明保证金明细”接口响应字段中”amt 交易金额“,不明保证金明细查询接口中交易金额和可退款金额必须相等才可以退款。" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="客户端交易的唯一标志" prop="rtnTrnuid">
|
|
|
- <el-input v-model="form.rtnTrnuid" placeholder="请输入客户端交易的唯一标志" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="处理结果码" prop="rtnCode">
|
|
|
- <el-input v-model="form.rtnCode" placeholder="请输入处理结果码" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="处理结果等级(info/warn/error)" prop="rtnSeverity">
|
|
|
- <el-input v-model="form.rtnSeverity" placeholder="请输入处理结果等级(info/warn/error)" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="报文节点" prop="rtnRsbody">
|
|
|
- <el-input v-model="form.rtnRsbody" placeholder="请输入报文节点" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="项目编号" prop="rtnPrjno">
|
|
|
- <el-input v-model="form.rtnPrjno" placeholder="请输入项目编号" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="标段编号" prop="rtnSgtno">
|
|
|
- <el-input v-model="form.rtnSgtno" placeholder="请输入标段编号" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退款状态tbsp_success-执行成功tbsp_fail-执行失败tbsp_process-处理中" prop="rtnRecordstate">
|
|
|
- <el-input v-model="form.rtnRecordstate" placeholder="请输入退款状态tbsp_success-执行成功tbsp_fail-执行失败tbsp_process-处理中" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="标段id" prop="rtnSgtid">
|
|
|
- <el-input v-model="form.rtnSgtid" placeholder="请输入标段id" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="投标编号" prop="rtnTenderid">
|
|
|
- <el-input v-model="form.rtnTenderid" placeholder="请输入投标编号" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退还方式general_bail-一般保证金keep_bail-长期保证金cash_bail-现金guarantee_bail-保函" prop="rtnRefundflag">
|
|
|
- <el-input v-model="form.rtnRefundflag" placeholder="请输入退还方式general_bail-一般保证金keep_bail-长期保证金cash_bail-现金guarantee_bail-保函" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退款时收款账号" prop="rtnAcctid">
|
|
|
- <el-input v-model="form.rtnAcctid" placeholder="请输入退款时收款账号" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退款时收款币种" prop="rtnCurrency">
|
|
|
- <el-input v-model="form.rtnCurrency" placeholder="请输入退款时收款币种" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退款时收款户名" prop="rtnAcctname">
|
|
|
- <el-input v-model="form.rtnAcctname" placeholder="请输入退款时收款户名" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退款时收款行号" prop="rtnBankname">
|
|
|
- <el-input v-model="form.rtnBankname" placeholder="请输入退款时收款行号" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="退还金额" prop="rtnRefundamt">
|
|
|
- <el-input v-model="form.rtnRefundamt" placeholder="请输入退还金额" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="备注" prop="rtnRemark">
|
|
|
- <el-input v-model="form.rtnRemark" placeholder="请输入备注" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="指令处理状态报文节点" prop="rtnXferprcsts">
|
|
|
- <el-input v-model="form.rtnXferprcsts" placeholder="请输入指令处理状态报文节点" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="指令状态编码" prop="rtnXferprccode">
|
|
|
- <el-input v-model="form.rtnXferprccode" placeholder="请输入指令状态编码" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="指令处理时间yyyymmdd hhmmss" prop="rtnDtxferprc">
|
|
|
- <el-input v-model="form.rtnDtxferprc" placeholder="请输入指令处理时间yyyymmdd hhmmss" />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="指令处理信息" prop="rtnMessage">
|
|
|
- <el-input v-model="form.rtnMessage" type="textarea" placeholder="请输入内容" />
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- <div slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
- <el-button @click="cancel">取 消</el-button>
|
|
|
- </div>
|
|
|
- </el-dialog>
|
|
|
- </div>
|
|
|
+ <!-- 添加或修改不明保证金退款申请对话框 -->
|
|
|
+ <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
|
|
+ <el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
+ <el-form-item label="采购计划id" prop="ppid">
|
|
|
+ <el-input v-model="form.ppid" placeholder="请输入采购计划id"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="客户端交易的唯一流水号建议值为yyyymmdd+序号" prop="trnuid">
|
|
|
+ <el-input v-model="form.trnuid" placeholder="请输入客户端交易的唯一流水号建议值为yyyymmdd+序号"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="报文节点" prop="rqbody">
|
|
|
+ <el-input v-model="form.rqbody" placeholder="请输入报文节点"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="原入账交易流水号注:对应“查询不明保证金明细”接口响应字段中“serialno 流水号“。"
|
|
|
+ prop="serialno">
|
|
|
+ <el-input v-model="form.serialno"
|
|
|
+ placeholder="请输入原入账交易流水号注:对应“查询不明保证金明细”接口响应字段中“serialno 流水号“。"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item
|
|
|
+ label="原入账会计日期yyyymmdd注:对应“查询不明保证金明细”接口响应字段中“tradedate 交易日期”"
|
|
|
+ prop="tradedate">
|
|
|
+ <el-input v-model="form.tradedate"
|
|
|
+ placeholder="请输入原入账会计日期yyyymmdd注:对应“查询不明保证金明细”接口响应字段中“tradedate 交易日期”"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item
|
|
|
+ label="退款金额注:退款金额需等于查询不明保证金明细”接口响应字段中”amt 交易金额“,不明保证金明细查询接口中交易金额和可退款金额必须相等才可以退款。"
|
|
|
+ prop="destbailamt">
|
|
|
+ <el-input v-model="form.destbailamt"
|
|
|
+ placeholder="请输入退款金额注:退款金额需等于查询不明保证金明细”接口响应字段中”amt 交易金额“,不明保证金明细查询接口中交易金额和可退款金额必须相等才可以退款。"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="客户端交易的唯一标志" prop="rtnTrnuid">
|
|
|
+ <el-input v-model="form.rtnTrnuid" placeholder="请输入客户端交易的唯一标志"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="处理结果码" prop="rtnCode">
|
|
|
+ <el-input v-model="form.rtnCode" placeholder="请输入处理结果码"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="处理结果等级(info/warn/error)" prop="rtnSeverity">
|
|
|
+ <el-input v-model="form.rtnSeverity" placeholder="请输入处理结果等级(info/warn/error)"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="报文节点" prop="rtnRsbody">
|
|
|
+ <el-input v-model="form.rtnRsbody" placeholder="请输入报文节点"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="项目编号" prop="rtnPrjno">
|
|
|
+ <el-input v-model="form.rtnPrjno" placeholder="请输入项目编号"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="标段编号" prop="rtnSgtno">
|
|
|
+ <el-input v-model="form.rtnSgtno" placeholder="请输入标段编号"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="退款状态tbsp_success-执行成功tbsp_fail-执行失败tbsp_process-处理中"
|
|
|
+ prop="rtnRecordstate">
|
|
|
+ <el-input v-model="form.rtnRecordstate"
|
|
|
+ placeholder="请输入退款状态tbsp_success-执行成功tbsp_fail-执行失败tbsp_process-处理中"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="标段id" prop="rtnSgtid">
|
|
|
+ <el-input v-model="form.rtnSgtid" placeholder="请输入标段id"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="投标编号" prop="rtnTenderid">
|
|
|
+ <el-input v-model="form.rtnTenderid" placeholder="请输入投标编号"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item
|
|
|
+ label="退还方式general_bail-一般保证金keep_bail-长期保证金cash_bail-现金guarantee_bail-保函"
|
|
|
+ prop="rtnRefundflag">
|
|
|
+ <el-input v-model="form.rtnRefundflag"
|
|
|
+ placeholder="请输入退还方式general_bail-一般保证金keep_bail-长期保证金cash_bail-现金guarantee_bail-保函"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="退款时收款账号" prop="rtnAcctid">
|
|
|
+ <el-input v-model="form.rtnAcctid" placeholder="请输入退款时收款账号"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="退款时收款币种" prop="rtnCurrency">
|
|
|
+ <el-input v-model="form.rtnCurrency" placeholder="请输入退款时收款币种"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="退款时收款户名" prop="rtnAcctname">
|
|
|
+ <el-input v-model="form.rtnAcctname" placeholder="请输入退款时收款户名"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="退款时收款行号" prop="rtnBankname">
|
|
|
+ <el-input v-model="form.rtnBankname" placeholder="请输入退款时收款行号"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="退还金额" prop="rtnRefundamt">
|
|
|
+ <el-input v-model="form.rtnRefundamt" placeholder="请输入退还金额"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="备注" prop="rtnRemark">
|
|
|
+ <el-input v-model="form.rtnRemark" placeholder="请输入备注"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="指令处理状态报文节点" prop="rtnXferprcsts">
|
|
|
+ <el-input v-model="form.rtnXferprcsts" placeholder="请输入指令处理状态报文节点"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="指令状态编码" prop="rtnXferprccode">
|
|
|
+ <el-input v-model="form.rtnXferprccode" placeholder="请输入指令状态编码"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="指令处理时间yyyymmdd hhmmss" prop="rtnDtxferprc">
|
|
|
+ <el-input v-model="form.rtnDtxferprc" placeholder="请输入指令处理时间yyyymmdd hhmmss"/>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="指令处理信息" prop="rtnMessage">
|
|
|
+ <el-input v-model="form.rtnMessage" type="textarea" placeholder="请输入内容"/>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
+ <el-button @click="cancel">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listUncleardepositrfnd, getUncleardepositrfnd, delUncleardepositrfnd, addUncleardepositrfnd, updateUncleardepositrfnd } from "@/api/bank/uncleardepositrfnd";
|
|
|
+import {
|
|
|
+ listUncleardepositrfnd,
|
|
|
+ getUncleardepositrfnd,
|
|
|
+ delUncleardepositrfnd,
|
|
|
+ addUncleardepositrfnd,
|
|
|
+ updateUncleardepositrfnd
|
|
|
+} from "@/api/bank/uncleardepositrfnd";
|
|
|
|
|
|
export default {
|
|
|
- name: "Uncleardepositrfnd",
|
|
|
- data() {
|
|
|
- return {
|
|
|
- // 遮罩层
|
|
|
- loading: true,
|
|
|
- // 选中数组
|
|
|
- ids: [],
|
|
|
- // 非单个禁用
|
|
|
- single: true,
|
|
|
- // 非多个禁用
|
|
|
- multiple: true,
|
|
|
- // 显示搜索条件
|
|
|
- showSearch: true,
|
|
|
- // 总条数
|
|
|
- total: 0,
|
|
|
- // 不明保证金退款申请表格数据
|
|
|
- uncleardepositrfndList: [],
|
|
|
- // 弹出层标题
|
|
|
- title: "",
|
|
|
- // 是否显示弹出层
|
|
|
- open: false,
|
|
|
- // 查询参数
|
|
|
- queryParams: {
|
|
|
- pageNum: 1,
|
|
|
- pageSize: 10,
|
|
|
- ppid: null,
|
|
|
- trnuid: null,
|
|
|
- rqbody: null,
|
|
|
- serialno: null,
|
|
|
- tradedate: null,
|
|
|
- destbailamt: null,
|
|
|
- rtnTrnuid: null,
|
|
|
- rtnStatus: null,
|
|
|
- rtnCode: null,
|
|
|
- rtnSeverity: null,
|
|
|
- rtnRsbody: null,
|
|
|
- rtnPrjno: null,
|
|
|
- rtnSgtno: null,
|
|
|
- rtnRecordstate: null,
|
|
|
- rtnSgtid: null,
|
|
|
- rtnTenderid: null,
|
|
|
- rtnRefundflag: null,
|
|
|
- rtnRefundtype: null,
|
|
|
- rtnAcctid: null,
|
|
|
- rtnCurrency: null,
|
|
|
- rtnAcctname: null,
|
|
|
- rtnBankname: null,
|
|
|
- rtnRefundamt: null,
|
|
|
- rtnRemark: null,
|
|
|
- rtnXferprcsts: null,
|
|
|
- rtnXferprccode: null,
|
|
|
- rtnDtxferprc: null,
|
|
|
- rtnMessage: null
|
|
|
- },
|
|
|
- // 表单参数
|
|
|
- form: {},
|
|
|
- // 表单校验
|
|
|
- rules: {
|
|
|
- ppid: [
|
|
|
- { required: true, message: "采购计划id不能为空", trigger: "blur" }
|
|
|
- ],
|
|
|
- trnuid: [
|
|
|
- { required: true, message: "客户端交易的唯一流水号建议值为yyyymmdd+序号不能为空", trigger: "blur" }
|
|
|
- ],
|
|
|
- }
|
|
|
- };
|
|
|
- },
|
|
|
- created() {
|
|
|
- this.getList();
|
|
|
- },
|
|
|
- methods: {
|
|
|
- /** 查询不明保证金退款申请列表 */
|
|
|
- getList() {
|
|
|
- this.loading = true;
|
|
|
- listUncleardepositrfnd(this.queryParams).then(response => {
|
|
|
- this.uncleardepositrfndList = response.rows;
|
|
|
- this.total = response.total;
|
|
|
- this.loading = false;
|
|
|
- });
|
|
|
- },
|
|
|
- // 取消按钮
|
|
|
- cancel() {
|
|
|
- this.open = false;
|
|
|
- this.reset();
|
|
|
- },
|
|
|
- // 表单重置
|
|
|
- reset() {
|
|
|
- this.form = {
|
|
|
- uncleardepositrfndid: null,
|
|
|
- ppid: null,
|
|
|
- trnuid: null,
|
|
|
- rqbody: null,
|
|
|
- serialno: null,
|
|
|
- tradedate: null,
|
|
|
- destbailamt: null,
|
|
|
- rtnTrnuid: null,
|
|
|
- rtnStatus: null,
|
|
|
- rtnCode: null,
|
|
|
- rtnSeverity: null,
|
|
|
- rtnRsbody: null,
|
|
|
- rtnPrjno: null,
|
|
|
- rtnSgtno: null,
|
|
|
- rtnRecordstate: null,
|
|
|
- rtnSgtid: null,
|
|
|
- rtnTenderid: null,
|
|
|
- rtnRefundflag: null,
|
|
|
- rtnRefundtype: null,
|
|
|
- rtnAcctid: null,
|
|
|
- rtnCurrency: null,
|
|
|
- rtnAcctname: null,
|
|
|
- rtnBankname: null,
|
|
|
- rtnRefundamt: null,
|
|
|
- rtnRemark: null,
|
|
|
- rtnXferprcsts: null,
|
|
|
- rtnXferprccode: null,
|
|
|
- rtnDtxferprc: null,
|
|
|
- rtnMessage: null
|
|
|
- };
|
|
|
- this.resetForm("form");
|
|
|
- },
|
|
|
- /** 搜索按钮操作 */
|
|
|
- handleQuery() {
|
|
|
- this.queryParams.pageNum = 1;
|
|
|
- this.getList();
|
|
|
- },
|
|
|
- /** 重置按钮操作 */
|
|
|
- resetQuery() {
|
|
|
- this.resetForm("queryForm");
|
|
|
- this.handleQuery();
|
|
|
- },
|
|
|
- // 多选框选中数据
|
|
|
- handleSelectionChange(selection) {
|
|
|
- this.ids = selection.map(item => item.uncleardepositrfndid)
|
|
|
- this.single = selection.length!==1
|
|
|
- this.multiple = !selection.length
|
|
|
- },
|
|
|
- /** 新增按钮操作 */
|
|
|
- handleAdd() {
|
|
|
- this.reset();
|
|
|
- this.open = true;
|
|
|
- this.title = "添加不明保证金退款申请";
|
|
|
- },
|
|
|
- /** 修改按钮操作 */
|
|
|
- handleUpdate(row) {
|
|
|
- this.reset();
|
|
|
- const uncleardepositrfndid = row.uncleardepositrfndid || this.ids
|
|
|
- getUncleardepositrfnd(uncleardepositrfndid).then(response => {
|
|
|
- this.form = response.data;
|
|
|
- this.open = true;
|
|
|
- this.title = "修改不明保证金退款申请";
|
|
|
- });
|
|
|
- },
|
|
|
- /** 提交按钮 */
|
|
|
- submitForm() {
|
|
|
- this.$refs["form"].validate(valid => {
|
|
|
- if (valid) {
|
|
|
- if (this.form.uncleardepositrfndid != null) {
|
|
|
- updateUncleardepositrfnd(this.form).then(response => {
|
|
|
- this.$modal.msgSuccess("修改成功");
|
|
|
- this.open = false;
|
|
|
- this.getList();
|
|
|
- });
|
|
|
- } else {
|
|
|
- addUncleardepositrfnd(this.form).then(response => {
|
|
|
- this.$modal.msgSuccess("新增成功");
|
|
|
- this.open = false;
|
|
|
- this.getList();
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
- /** 删除按钮操作 */
|
|
|
- handleDelete(row) {
|
|
|
- const uncleardepositrfndids = row.uncleardepositrfndid || this.ids;
|
|
|
- this.$modal.confirm('是否确认删除不明保证金退款申请编号为"' + uncleardepositrfndids + '"的数据项?').then(function() {
|
|
|
- return delUncleardepositrfnd(uncleardepositrfndids);
|
|
|
- }).then(() => {
|
|
|
- this.getList();
|
|
|
- this.$modal.msgSuccess("删除成功");
|
|
|
- }).catch(() => {});
|
|
|
- },
|
|
|
- /** 导出按钮操作 */
|
|
|
- handleExport() {
|
|
|
- this.download('bank/uncleardepositrfnd/export', {
|
|
|
- ...this.queryParams
|
|
|
- }, `uncleardepositrfnd_${new Date().getTime()}.xlsx`)
|
|
|
- }
|
|
|
- }
|
|
|
+ name: "Uncleardepositrfnd",
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ // 遮罩层
|
|
|
+ loading: true,
|
|
|
+ // 选中数组
|
|
|
+ ids: [],
|
|
|
+ // 非单个禁用
|
|
|
+ single: true,
|
|
|
+ // 非多个禁用
|
|
|
+ multiple: true,
|
|
|
+ // 显示搜索条件
|
|
|
+ showSearch: true,
|
|
|
+ // 总条数
|
|
|
+ total: 0,
|
|
|
+ // 不明保证金退款申请表格数据
|
|
|
+ uncleardepositrfndList: [],
|
|
|
+ // 弹出层标题
|
|
|
+ title: "",
|
|
|
+ // 是否显示弹出层
|
|
|
+ open: false,
|
|
|
+ // 查询参数
|
|
|
+ queryParams: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ ppid: null,
|
|
|
+ trnuid: null,
|
|
|
+ rqbody: null,
|
|
|
+ serialno: null,
|
|
|
+ tradedate: null,
|
|
|
+ destbailamt: null,
|
|
|
+ rtnTrnuid: null,
|
|
|
+ rtnStatus: null,
|
|
|
+ rtnCode: null,
|
|
|
+ rtnSeverity: null,
|
|
|
+ rtnRsbody: null,
|
|
|
+ rtnPrjno: null,
|
|
|
+ rtnSgtno: null,
|
|
|
+ rtnRecordstate: null,
|
|
|
+ rtnSgtid: null,
|
|
|
+ rtnTenderid: null,
|
|
|
+ rtnRefundflag: null,
|
|
|
+ rtnRefundtype: null,
|
|
|
+ rtnAcctid: null,
|
|
|
+ rtnCurrency: null,
|
|
|
+ rtnAcctname: null,
|
|
|
+ rtnBankname: null,
|
|
|
+ rtnRefundamt: null,
|
|
|
+ rtnRemark: null,
|
|
|
+ rtnXferprcsts: null,
|
|
|
+ rtnXferprccode: null,
|
|
|
+ rtnDtxferprc: null,
|
|
|
+ rtnMessage: null
|
|
|
+ },
|
|
|
+ // 表单参数
|
|
|
+ form: {},
|
|
|
+ // 表单校验
|
|
|
+ rules: {
|
|
|
+ ppid: [
|
|
|
+ {required: true, message: "采购计划id不能为空", trigger: "blur"}
|
|
|
+ ],
|
|
|
+ trnuid: [
|
|
|
+ {required: true, message: "客户端交易的唯一流水号建议值为yyyymmdd+序号不能为空", trigger: "blur"}
|
|
|
+ ],
|
|
|
+ }
|
|
|
+ };
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ /** 查询不明保证金退款申请列表 */
|
|
|
+ getList() {
|
|
|
+ this.loading = true;
|
|
|
+ listUncleardepositrfnd(this.queryParams).then(response => {
|
|
|
+ this.uncleardepositrfndList = response.rows;
|
|
|
+ this.total = response.total;
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 取消按钮
|
|
|
+ cancel() {
|
|
|
+ this.open = false;
|
|
|
+ this.reset();
|
|
|
+ },
|
|
|
+ // 表单重置
|
|
|
+ reset() {
|
|
|
+ this.form = {
|
|
|
+ uncleardepositrfndid: null,
|
|
|
+ ppid: null,
|
|
|
+ trnuid: null,
|
|
|
+ rqbody: null,
|
|
|
+ serialno: null,
|
|
|
+ tradedate: null,
|
|
|
+ destbailamt: null,
|
|
|
+ rtnTrnuid: null,
|
|
|
+ rtnStatus: null,
|
|
|
+ rtnCode: null,
|
|
|
+ rtnSeverity: null,
|
|
|
+ rtnRsbody: null,
|
|
|
+ rtnPrjno: null,
|
|
|
+ rtnSgtno: null,
|
|
|
+ rtnRecordstate: null,
|
|
|
+ rtnSgtid: null,
|
|
|
+ rtnTenderid: null,
|
|
|
+ rtnRefundflag: null,
|
|
|
+ rtnRefundtype: null,
|
|
|
+ rtnAcctid: null,
|
|
|
+ rtnCurrency: null,
|
|
|
+ rtnAcctname: null,
|
|
|
+ rtnBankname: null,
|
|
|
+ rtnRefundamt: null,
|
|
|
+ rtnRemark: null,
|
|
|
+ rtnXferprcsts: null,
|
|
|
+ rtnXferprccode: null,
|
|
|
+ rtnDtxferprc: null,
|
|
|
+ rtnMessage: null
|
|
|
+ };
|
|
|
+ this.resetForm("form");
|
|
|
+ },
|
|
|
+ /** 搜索按钮操作 */
|
|
|
+ handleQuery() {
|
|
|
+ this.queryParams.pageNum = 1;
|
|
|
+ this.getList();
|
|
|
+ },
|
|
|
+ /** 重置按钮操作 */
|
|
|
+ resetQuery() {
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.handleQuery();
|
|
|
+ },
|
|
|
+ // 多选框选中数据
|
|
|
+ handleSelectionChange(selection) {
|
|
|
+ this.ids = selection.map(item => item.uncleardepositrfndid)
|
|
|
+ this.single = selection.length !== 1
|
|
|
+ this.multiple = !selection.length
|
|
|
+ },
|
|
|
+ /** 新增按钮操作 */
|
|
|
+ handleAdd() {
|
|
|
+ this.reset();
|
|
|
+ this.open = true;
|
|
|
+ this.title = "添加不明保证金退款申请";
|
|
|
+ },
|
|
|
+ /** 修改按钮操作 */
|
|
|
+ handleUpdate(row) {
|
|
|
+ this.reset();
|
|
|
+ const uncleardepositrfndid = row.uncleardepositrfndid || this.ids
|
|
|
+ getUncleardepositrfnd(uncleardepositrfndid).then(response => {
|
|
|
+ this.form = response.data;
|
|
|
+ this.open = true;
|
|
|
+ this.title = "修改不明保证金退款申请";
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /** 提交按钮 */
|
|
|
+ submitForm() {
|
|
|
+ this.$refs["form"].validate(valid => {
|
|
|
+ if (valid) {
|
|
|
+ if (this.form.uncleardepositrfndid != null) {
|
|
|
+ updateUncleardepositrfnd(this.form).then(response => {
|
|
|
+ this.$modal.msgSuccess("修改成功");
|
|
|
+ this.open = false;
|
|
|
+ this.getList();
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ addUncleardepositrfnd(this.form).then(response => {
|
|
|
+ this.$modal.msgSuccess("新增成功");
|
|
|
+ this.open = false;
|
|
|
+ this.getList();
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /** 删除按钮操作 */
|
|
|
+ handleDelete(row) {
|
|
|
+ const uncleardepositrfndids = row.uncleardepositrfndid || this.ids;
|
|
|
+ this.$modal.confirm('是否确认删除不明保证金退款申请编号为"' + uncleardepositrfndids + '"的数据项?').then(function () {
|
|
|
+ return delUncleardepositrfnd(uncleardepositrfndids);
|
|
|
+ }).then(() => {
|
|
|
+ this.getList();
|
|
|
+ this.$modal.msgSuccess("删除成功");
|
|
|
+ }).catch(() => {
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /** 导出按钮操作 */
|
|
|
+ handleExport() {
|
|
|
+ this.download('bank/uncleardepositrfnd/export', {
|
|
|
+ ...this.queryParams
|
|
|
+ }, `uncleardepositrfnd_${new Date().getTime()}.xlsx`)
|
|
|
+ }
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|