Browse Source

银行接口样式

dzxiii 3 months ago
parent
commit
9a4ef1c3fe
2 changed files with 317 additions and 491 deletions
  1. 39 54
      ruoyi-ui/src/views/bank/refund/index.vue
  2. 278 437
      ruoyi-ui/src/views/bank/refundbat/index.vue

+ 39 - 54
ruoyi-ui/src/views/bank/refund/index.vue

@@ -64,21 +64,6 @@
     </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:refund: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:refund: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:refund: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:refund:export']">导出
@@ -90,65 +75,65 @@
     <el-table v-loading="loading" :data="refundList" @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
       <el-table-column label="查询保证金退款信息id" align="center" prop="refundid" v-if="false" />
-      <el-table-column label="采购公告" align="center" prop="ppid" />
+      <el-table-column label="采购公告" align="center" prop="ppid" width="180"/>
       <el-table-column label="银行流水" align="center" prop="trnuid" v-if="false" />
       <el-table-column label="报文节点" align="center" prop="rqbody" v-if="false" />
-      <el-table-column label="标段id" align="center" prop="sgtid" />
-      <el-table-column label="标段编号" align="center" prop="sgtno" />
-      <el-table-column label="项目编号" align="center" prop="prjno" />
-      <el-table-column label="企业名称" align="center" prop="entpnm" />
+      <el-table-column label="标段id" align="center" prop="sgtid" v-if="false"/>
+      <el-table-column label="标段编号" align="center" prop="sgtno" v-if="false"/>
+      <el-table-column label="项目编号" align="center" prop="prjno" v-if="false"/>
+      <el-table-column label="企业名称" align="center" prop="entpnm" v-if="false"/>
       <el-table-column label="开始日期" align="center" prop="begdt" v-if="false" />
       <el-table-column label="结束日期yyyymmdd" align="center" prop="enddt" v-if="false" />
       <el-table-column label="页码不输默认查询第一页" align="center" prop="pgno" v-if="false" />
-      <el-table-column label="银行流水" align="center" prop="rtnTrnuid" />
+      <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="处理结果等级" align="center" prop="rtnSeverity">
+      <el-table-column label="处理结果等级" align="center" prop="rtnSeverity" v-if="false">
         <template slot-scope="scope">
           <el-tag type="info" v-if="scope.row.rtnSeverity.toLowerCase() === 'info'">info</el-tag>
           <el-tag type="warning" v-if="scope.row.rtnSeverity.toLowerCase() === 'warn'">warn</el-tag>
           <el-tag type="danger" v-if="scope.row.rtnSeverity.toLowerCase() === 'error'">error</el-tag>
         </template>
       </el-table-column>
-      <el-table-column label="处理信息描述" align="center" prop="rtnMessage" />
+      <el-table-column label="处理信息描述" align="center" prop="rtnMessage" width="100" />
       <el-table-column label="报文节点" align="center" prop="rtnRsbody" v-if="false" />
-      <el-table-column label="记录总数" align="center" prop="rtnRcrdtotnum" />
-      <el-table-column label="当前页码" align="center" prop="rtnCrnpgno" />
-      <el-table-column label="每页记录数" align="center" prop="rtnPgrcrdnum" />
-      <el-table-column label="总页数" align="center" prop="rtnTotpgnum" />
-      <el-table-column label="明细报文标识" align="center" prop="rtnContent" />
-      <el-table-column label="租户号" align="center" prop="rtnLsecstno" />
-      <el-table-column label="客户号" align="center" prop="rtnCstno" />
-      <el-table-column label="标段ID" align="center" prop="rtnSgtid" />
-      <el-table-column label="标段编号" align="center" prop="rtnSgtno" />
-      <el-table-column label="标段名称" align="center" prop="rtnSgtnm" />
-      <el-table-column label="投标编号" align="center" prop="rtnTdrno" />
-      <el-table-column label="项目编号" align="center" prop="rtnPrjno" />
-      <el-table-column label="项目名称" align="center" prop="rtnPrjnm" />
-      <el-table-column label="退款状态" align="center" prop="rtnRfndst">
+      <el-table-column label="记录总数" align="center" prop="rtnRcrdtotnum" v-if="false"/>
+      <el-table-column label="当前页码" align="center" prop="rtnCrnpgno" v-if="false"/>
+      <el-table-column label="每页记录数" align="center" prop="rtnPgrcrdnum" v-if="false"/>
+      <el-table-column label="总页数" align="center" prop="rtnTotpgnum" v-if="false"/>
+      <el-table-column label="明细报文标识" align="center" prop="rtnContent" v-if="false"/>
+      <el-table-column label="租户号" align="center" prop="rtnLsecstno" v-if="false"/>
+      <el-table-column label="客户号" align="center" prop="rtnCstno" v-if="false"/>
+      <el-table-column label="标段ID" align="center" prop="rtnSgtid" v-if="false"/>
+      <el-table-column label="标段编号" align="center" prop="rtnSgtno" width="100"/>
+      <el-table-column label="标段名称" align="center" prop="rtnSgtnm" width="120"/>
+      <el-table-column label="投标编号" align="center" prop="rtnTdrno" width="150"/>
+      <el-table-column label="项目编号" align="center" prop="rtnPrjno" width="100"/>
+      <el-table-column label="项目名称" align="center" prop="rtnPrjnm" width="150"/>
+      <el-table-column label="退款状态" align="center" prop="rtnRfndst" width="100">
         <template slot-scope="scope">
           <el-tag type="info" v-if="scope.row.rtnRfndst === '5'">退款成功</el-tag>
           <el-tag type="warning" v-if="scope.row.rtnRfndst === '7'">退款失败</el-tag>
           <el-tag type="danger" v-if="scope.row.rtnRfndst === '3'">退款处理中</el-tag>
         </template>
       </el-table-column>
-      <el-table-column label="投标账号" align="center" prop="rtnTdracctno" />
+      <el-table-column label="投标账号" align="center" prop="rtnTdracctno" width="100"/>
       <el-table-column label="投标账号币种01-人民币" align="center" prop="rtnTdracctnoccycd" v-if="false" />
-      <el-table-column label="投标账户名称" align="center" prop="rtnTdracctnm" />
-      <el-table-column label="投标账号行号" align="center" prop="rtnTdracctnobnkno" />
-      <el-table-column label="投标账号行名" align="center" prop="rtnTdracctnobnknm" />
-      <el-table-column label="投标数量" align="center" prop="rtnTdrnum" />
-      <el-table-column label="保证金金额" align="center" prop="rtnMrgnamt" />
+      <el-table-column label="投标账户名称" align="center" prop="rtnTdracctnm" width="180"/>
+      <el-table-column label="投标账号行号" align="center" prop="rtnTdracctnobnkno" width="120"/>
+      <el-table-column label="投标账号行名" align="center" prop="rtnTdracctnobnknm" width="150"/>
+      <el-table-column label="投标数量" align="center" prop="rtnTdrnum" width="80"/>
+      <el-table-column label="保证金金额" align="center" prop="rtnMrgnamt" width="100"/>
       <el-table-column label="服务费 double" align="center" prop="rtnSvcfee" v-if="false" />
       <el-table-column label="冻结金额 double" align="center" prop="rtnFrzamt" v-if="false" />
       <el-table-column label="罚没金额 double" align="center" prop="rtnFineamt" v-if="false" />
-      <el-table-column label="退款日期" align="center" prop="rtnRfnddt">
+      <el-table-column label="退款日期" align="center" prop="rtnRfnddt" width="100">
         <template slot-scope="scope">
-          {{ scope.row.rtnRfnddt + "-" + scope.row.rtnRfndtm }}
+			{{ formatDate(scope.row.rtnRfnddt, scope.row.rtnRfndtm) }}
         </template>
       </el-table-column>
       <el-table-column label="退款时间hhmmss" align="center" prop="rtnRfndtm" v-if="false" />
-      <el-table-column label="交易流水号(标)" align="center" prop="rtnTxnseqnos" />
+      <el-table-column label="交易流水号(标)" align="center" prop="rtnTxnseqnos" width="120"/>
       <el-table-column label="退回类型" align="center" prop="rtnBcktp">
         <template slot-scope="scope">
           <el-tag type="info" v-if="scope.row.rtnBcktp === '0'">一般保证金</el-tag>
@@ -163,22 +148,22 @@
           <el-tag type="warning" v-if="scope.row.rtnTfroutmd === '1'">本息退还</el-tag>
         </template>
       </el-table-column>
-      <el-table-column label="退款时收款账号" align="center" prop="rtnTfroutacctno" />
+      <el-table-column label="退款时收款账号" align="center" prop="rtnTfroutacctno" width="120"/>
       <el-table-column label="退款时收款币种01-人民币" align="center" prop="rtnTfroutccycd" v-if="false" />
-      <el-table-column label="退款时收款账户名称" align="center" prop="rtnTfroutacctnm" />
-      <el-table-column label="退款时收款行行号" align="center" prop="rtnTfroutbnkno" />
-      <el-table-column label="退款时收款行行名" align="center" prop="rtnTfroutbnknm" />
+      <el-table-column label="退款时收款账户名称" align="center" prop="rtnTfroutacctnm" width="160"/>
+      <el-table-column label="退款时收款行行号" align="center" prop="rtnTfroutbnkno" width="140"/>
+      <el-table-column label="退款时收款行行名" align="center" prop="rtnTfroutbnknm" width="160"/>
       <el-table-column label="退款金额" align="center" prop="rtnRfndamt" />
       <el-table-column label="退款本金" align="center" prop="rtnRfndpnp" />
       <el-table-column label="应收手续费 double" align="center" prop="rtnRcvblpcdfee" v-if="false" />
       <el-table-column label="实收手续费 double" align="center" prop="rtnActrcvpcdfee" v-if="false" />
       <el-table-column label="应付利息 double" align="center" prop="rtnPyblint" v-if="false" />
       <el-table-column label="实付利息 double" align="center" prop="rtnActpymtint" v-if="false" />
-      <el-table-column label="退款处理意见" align="center" prop="rtnRfnddealopnn" />
-      <el-table-column label="退款处理信息" align="center" prop="rtnRfnddealinf" />
-      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+      <el-table-column label="退款处理意见" align="center" prop="rtnRfnddealopnn" width="160"/>
+      <el-table-column label="退款处理信息" align="center" prop="rtnRfnddealinf" width="100"/>
+      <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-edit" @click="handleUpdate(scope.row)"
+          <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-if="false"
             v-hasPermi="['bank:refund:edit']">修改
           </el-button>
           <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"

+ 278 - 437
ruoyi-ui/src/views/bank/refundbat/index.vue

@@ -1,449 +1,290 @@
 <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="index">
-        <el-input
-          v-model="queryParams.index"
-          placeholder="请输入投标序号"
-          clearable
-          @keyup.enter.native="handleQuery"
-        />
-      </el-form-item>
-      <el-form-item label="投标编号" prop="tdrno">
-        <el-input
-          v-model="queryParams.tdrno"
-          placeholder="请输入投标编号"
-          clearable
-          @keyup.enter.native="handleQuery"
-        />
-      </el-form-item>
-      <el-form-item label="转出方式" prop="tfroutmd">
-        <el-input
-          v-model="queryParams.tfroutmd"
-          placeholder="请输入转出方式0-本金退还 1-本息退还"
-          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="rtnSeverity" label-width="70">
-        <el-input
-          v-model="queryParams.rtnSeverity"
-          placeholder="请输入处理结果等级(info/warn/error)"
-          clearable
-          @keyup.enter.native="handleQuery"
-        />
-      </el-form-item>
-      <el-form-item label="投标序号" prop="rtnIndex">
-        <el-input
-          v-model="queryParams.rtnIndex"
-          placeholder="请输入投标序号"
-          clearable
-          @keyup.enter.native="handleQuery"
-        />
-      </el-form-item>
-      <el-form-item label="投标编号" prop="rtnTdrno">
-        <el-input
-          v-model="queryParams.rtnTdrno"
-          placeholder="请输入投标编号"
-          clearable
-          @keyup.enter.native="handleQuery"
-        />
-      </el-form-item>
-      <el-form-item label="退款状态" prop="rtnRefundstat">
-        <el-input
-          v-model="queryParams.rtnRefundstat"
-          placeholder="请输入退款状态2-处理中,3-失败"
-          clearable
-          @keyup.enter.native="handleQuery"
-        />
-      </el-form-item>
-      <el-form-item label="退款返回信息" prop="rtnRefundmsg" label-width="70">
-        <el-input
-          v-model="queryParams.rtnRefundmsg"
-          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="ppid">
+				<el-input
+					v-model="queryParams.ppid"
+					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:refundbat: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:refundbat: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:refundbat: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:refundbat: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:refundbat:export']"
+				>导出
+				</el-button>
+			</el-col>
+			<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+		</el-row>
 
-    <el-table v-loading="loading" :data="refundbatList" @selection-change="handleSelectionChange">
-      <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="${comment}" align="center" prop="refundbatid" v-if="false"/>
-      <el-table-column label="采购公告" align="center" prop="ppid" />
-      <el-table-column label="银行流水" align="center" prop="trnuid" />
-      <el-table-column label="报文节点" align="center" prop="rqbody" v-if="false"/>
-      <el-table-column label="投标id集合信息数组报文节点" align="center" prop="content" v-if="false"/>
-      <el-table-column label="投标序号" align="center" prop="index" />
-      <el-table-column label="投标编号" align="center" prop="tdrno" />
-      <el-table-column label="退款备注" align="center" prop="remark" />
-      <el-table-column label="转出方式0-本金退还 1-本息退还" align="center" prop="tfroutmd" v-if="false"/>
-      <el-table-column label="银行流水" align="center" prop="rtnTrnuid" />
-      <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="处理结果等级" align="center" prop="rtnSeverity" >
-			<template slot-scope="scope">
-				<el-tag type="info" v-if="scope.row.rtnSeverity.toLowerCase() === 'info'">info</el-tag>
-				<el-tag type="warning" v-if="scope.row.rtnSeverity.toLowerCase() === 'warn'">warn</el-tag>
-				<el-tag type="danger" v-if="scope.row.rtnSeverity.toLowerCase() === 'error'">error</el-tag>
-			</template>
-		</el-table-column>
-      <el-table-column label="报文节点" align="center" prop="rtnRsbody" v-if="false"/>
-      <el-table-column label="投标id集合信息数组报文节点" align="center" prop="rtnContent" v-if="false"/>
-      <el-table-column label="投标序号" align="center" prop="rtnIndex" />
-      <el-table-column label="投标编号" align="center" prop="rtnTdrno" />
-		<el-table-column label="退款状态" align="center" prop="rtnRefundstat" >
-			<template slot-scope="scope">
-				<el-tag type="warning" v-if="scope.row.rtnRefundstat.toLowerCase() === '2'">处理中</el-tag>
-				<el-tag type="danger" v-if="scope.row.rtnRefundstat.toLowerCase() === '3'">失败</el-tag>
-			</template>
-		</el-table-column>
-      <el-table-column label="退款返回信息" align="center" prop="rtnRefundmsg" />
-      <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">
-        <template slot-scope="scope">
-          <el-button
-            size="mini"
-            type="text"
-            icon="el-icon-edit"
-            @click="handleUpdate(scope.row)"
-            v-hasPermi="['bank:refundbat:edit']"
-          >修改</el-button>
-          <el-button
-            size="mini"
-            type="text"
-            icon="el-icon-delete"
-            @click="handleDelete(scope.row)"
-            v-hasPermi="['bank:refundbat:remove']"
-          >删除</el-button>
-        </template>
-      </el-table-column>
-    </el-table>
+		<el-table v-loading="loading" :data="refundbatList" @selection-change="handleSelectionChange">
+			<el-table-column type="selection" width="55" align="center"/>
+			<el-table-column label="${comment}" align="center" prop="refundbatid" v-if="false"/>
+			<el-table-column label="采购公告" align="center" prop="ppid"/>
+			<el-table-column label="银行流水" align="center" prop="trnuid" v-if="false"/>
+			<el-table-column label="报文节点" align="center" prop="rqbody" v-if="false"/>
+			<el-table-column label="投标id集合信息数组报文节点" align="center" prop="content" v-if="false"/>
+			<el-table-column label="投标序号" align="center" prop="index"  v-if="false"/>
+			<el-table-column label="投标编号" align="center" prop="tdrno"  v-if="false"/>
+			<el-table-column label="退款备注" align="center" prop="remark"  v-if="false"/>
+			<el-table-column label="转出方式0-本金退还 1-本息退还" align="center" prop="tfroutmd" v-if="false"/>
+			<el-table-column label="银行流水" align="center" prop="rtnTrnuid"/>
+			<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="处理结果等级" align="center" prop="rtnSeverity">
+				<template slot-scope="scope">
+					<el-tag type="info" v-if="scope.row.rtnSeverity.toLowerCase() === 'info'">info</el-tag>
+					<el-tag type="warning" v-if="scope.row.rtnSeverity.toLowerCase() === 'warn'">warn</el-tag>
+					<el-tag type="danger" v-if="scope.row.rtnSeverity.toLowerCase() === 'error'">error</el-tag>
+				</template>
+			</el-table-column>
+			<el-table-column label="报文节点" align="center" prop="rtnRsbody" v-if="false"/>
+			<el-table-column label="投标id集合信息数组报文节点" align="center" prop="rtnContent" v-if="false"/>
+			<el-table-column label="投标序号" align="center" prop="rtnIndex"/>
+			<el-table-column label="投标编号" align="center" prop="rtnTdrno"/>
+			<el-table-column label="退款状态" align="center" prop="rtnRefundstat">
+				<template slot-scope="scope">
+					<el-tag type="warning" v-if="scope.row.rtnRefundstat.toLowerCase() === '2'">处理中</el-tag>
+					<el-tag type="danger" v-if="scope.row.rtnRefundstat.toLowerCase() === '3'">失败</el-tag>
+				</template>
+			</el-table-column>
+			<el-table-column label="退款返回信息" align="center" prop="rtnRefundmsg"/>
+			<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">
+				<template slot-scope="scope">
+					<el-button
+						size="mini"
+						type="text"
+						icon="el-icon-edit"
+						@click="handleUpdate(scope.row)"
+						v-hasPermi="['bank:refundbat:edit']"
+					>修改
+					</el-button>
+					<el-button
+						size="mini"
+						type="text"
+						icon="el-icon-delete"
+						@click="handleDelete(scope.row)"
+						v-hasPermi="['bank:refundbat: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="报文节点" prop="rqbody">
-          <el-input v-model="form.rqbody" placeholder="请输入报文节点" />
-        </el-form-item>
-        <el-form-item label="投标id集合信息数组报文节点">
-          <editor v-model="form.content" :min-height="192"/>
-        </el-form-item>
-        <el-form-item label="投标序号" prop="index">
-          <el-input v-model="form.index" placeholder="请输入投标序号" />
-        </el-form-item>
-        <el-form-item label="投标编号" prop="tdrno">
-          <el-input v-model="form.tdrno" placeholder="请输入投标编号" />
-        </el-form-item>
-        <el-form-item label="退款备注" prop="remark">
-          <el-input v-model="form.remark" placeholder="请输入退款备注" />
-        </el-form-item>
-        <el-form-item label="转出方式0-本金退还 1-本息退还" prop="tfroutmd">
-          <el-input v-model="form.tfroutmd" placeholder="请输入转出方式0-本金退还 1-本息退还" />
-        </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="投标id集合信息数组报文节点">
-          <editor v-model="form.rtnContent" :min-height="192"/>
-        </el-form-item>
-        <el-form-item label="投标序号" prop="rtnIndex">
-          <el-input v-model="form.rtnIndex" placeholder="请输入投标序号" />
-        </el-form-item>
-        <el-form-item label="投标编号" prop="rtnTdrno">
-          <el-input v-model="form.rtnTdrno" placeholder="请输入投标编号" />
-        </el-form-item>
-        <el-form-item label="退款状态2-处理中,3-失败" prop="rtnRefundstat">
-          <el-input v-model="form.rtnRefundstat" placeholder="请输入退款状态2-处理中,3-失败" />
-        </el-form-item>
-        <el-form-item label="退款返回信息" prop="rtnRefundmsg">
-          <el-input v-model="form.rtnRefundmsg" 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>
+			<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 { listRefundbat, getRefundbat, delRefundbat, addRefundbat, updateRefundbat } from "@/api/bank/refundbat";
+import {listRefundbat, getRefundbat, delRefundbat, addRefundbat, updateRefundbat} from "@/api/bank/refundbat";
 
 export default {
-  name: "Refundbat",
-  data() {
-    return {
-      // 遮罩层
-      loading: true,
-      // 选中数组
-      ids: [],
-      // 非单个禁用
-      single: true,
-      // 非多个禁用
-      multiple: true,
-      // 显示搜索条件
-      showSearch: true,
-      // 总条数
-      total: 0,
-      // 批量退还保证金表格数据
-      refundbatList: [],
-      // 弹出层标题
-      title: "",
-      // 是否显示弹出层
-      open: false,
-      // 查询参数
-      queryParams: {
-        pageNum: 1,
-        pageSize: 10,
-        ppid: null,
-        rqbody: null,
-        content: null,
-        index: null,
-        tdrno: null,
-        tfroutmd: null,
-        rtnTrnuid: null,
-        rtnStatus: null,
-        rtnCode: null,
-        rtnSeverity: null,
-        rtnRsbody: null,
-        rtnContent: null,
-        rtnIndex: null,
-        rtnTdrno: null,
-        rtnRefundstat: null,
-        rtnRefundmsg: null,
-        rtnXferprcsts: null,
-        rtnXferprccode: null,
-        rtnDtxferprc: null,
-        rtnMessage: null
-      },
-      // 表单参数
-      form: {},
-      // 表单校验
-      rules: {
-        ppid: [
-          { required: true, message: "采购计划id不能为空", trigger: "blur" }
-        ],
-      }
-    };
-  },
-  created() {
-    this.getList();
-  },
-  methods: {
-    /** 查询批量退还保证金列表 */
-    getList() {
-      this.loading = true;
-      listRefundbat(this.queryParams).then(response => {
-        this.refundbatList = response.rows;
-        this.total = response.total;
-        this.loading = false;
-      });
-    },
-    // 取消按钮
-    cancel() {
-      this.open = false;
-      this.reset();
-    },
-    // 表单重置
-    reset() {
-      this.form = {
-        refundbatid: null,
-        ppid: null,
-        trnuid: null,
-        rqbody: null,
-        content: null,
-        index: null,
-        tdrno: null,
-        remark: null,
-        tfroutmd: null,
-        rtnTrnuid: null,
-        rtnStatus: null,
-        rtnCode: null,
-        rtnSeverity: null,
-        rtnRsbody: null,
-        rtnContent: null,
-        rtnIndex: null,
-        rtnTdrno: null,
-        rtnRefundstat: null,
-        rtnRefundmsg: 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.refundbatid)
-      this.single = selection.length!==1
-      this.multiple = !selection.length
-    },
-    /** 新增按钮操作 */
-    handleAdd() {
-      this.reset();
-      this.open = true;
-      this.title = "添加批量退还保证金";
-    },
-    /** 修改按钮操作 */
-    handleUpdate(row) {
-      this.reset();
-      const refundbatid = row.refundbatid || this.ids
-      getRefundbat(refundbatid).then(response => {
-        this.form = response.data;
-        this.open = true;
-        this.title = "修改批量退还保证金";
-      });
-    },
-    /** 提交按钮 */
-    submitForm() {
-      this.$refs["form"].validate(valid => {
-        if (valid) {
-          if (this.form.refundbatid != null) {
-            updateRefundbat(this.form).then(response => {
-              this.$modal.msgSuccess("修改成功");
-              this.open = false;
-              this.getList();
-            });
-          } else {
-            addRefundbat(this.form).then(response => {
-              this.$modal.msgSuccess("新增成功");
-              this.open = false;
-              this.getList();
-            });
-          }
-        }
-      });
-    },
-    /** 删除按钮操作 */
-    handleDelete(row) {
-      const refundbatids = row.refundbatid || this.ids;
-      this.$modal.confirm('是否确认删除批量退还保证金编号为"' + refundbatids + '"的数据项?').then(function() {
-        return delRefundbat(refundbatids);
-      }).then(() => {
-        this.getList();
-        this.$modal.msgSuccess("删除成功");
-      }).catch(() => {});
-    },
-    /** 导出按钮操作 */
-    handleExport() {
-      this.download('bank/refundbat/export', {
-        ...this.queryParams
-      }, `refundbat_${new Date().getTime()}.xlsx`)
-    }
-  }
+	name: "Refundbat",
+	data() {
+		return {
+			// 遮罩层
+			loading: true,
+			// 选中数组
+			ids: [],
+			// 非单个禁用
+			single: true,
+			// 非多个禁用
+			multiple: true,
+			// 显示搜索条件
+			showSearch: true,
+			// 总条数
+			total: 0,
+			// 批量退还保证金表格数据
+			refundbatList: [],
+			// 弹出层标题
+			title: "",
+			// 是否显示弹出层
+			open: false,
+			// 查询参数
+			queryParams: {
+				pageNum: 1,
+				pageSize: 10,
+				ppid: null,
+				rqbody: null,
+				content: null,
+				index: null,
+				tdrno: null,
+				tfroutmd: null,
+				rtnTrnuid: null,
+				rtnStatus: null,
+				rtnCode: null,
+				rtnSeverity: null,
+				rtnRsbody: null,
+				rtnContent: null,
+				rtnIndex: null,
+				rtnTdrno: null,
+				rtnRefundstat: null,
+				rtnRefundmsg: null,
+				rtnXferprcsts: null,
+				rtnXferprccode: null,
+				rtnDtxferprc: null,
+				rtnMessage: null
+			},
+			// 表单参数
+			form: {},
+			// 表单校验
+			rules: {
+				ppid: [
+					{required: true, message: "采购计划id不能为空", trigger: "blur"}
+				],
+			}
+		};
+	},
+	created() {
+		this.getList();
+	},
+	methods: {
+		/** 查询批量退还保证金列表 */
+		getList() {
+			this.loading = true;
+			listRefundbat(this.queryParams).then(response => {
+				this.refundbatList = response.rows;
+				this.total = response.total;
+				this.loading = false;
+			});
+		},
+		// 取消按钮
+		cancel() {
+			this.open = false;
+			this.reset();
+		},
+		// 表单重置
+		reset() {
+			this.form = {
+				refundbatid: null,
+				ppid: null,
+				trnuid: null,
+				rqbody: null,
+				content: null,
+				index: null,
+				tdrno: null,
+				remark: null,
+				tfroutmd: null,
+				rtnTrnuid: null,
+				rtnStatus: null,
+				rtnCode: null,
+				rtnSeverity: null,
+				rtnRsbody: null,
+				rtnContent: null,
+				rtnIndex: null,
+				rtnTdrno: null,
+				rtnRefundstat: null,
+				rtnRefundmsg: 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.refundbatid)
+			this.single = selection.length !== 1
+			this.multiple = !selection.length
+		},
+		/** 新增按钮操作 */
+		handleAdd() {
+			this.reset();
+			this.open = true;
+			this.title = "添加批量退还保证金";
+		},
+		/** 修改按钮操作 */
+		handleUpdate(row) {
+			this.reset();
+			const refundbatid = row.refundbatid || this.ids
+			getRefundbat(refundbatid).then(response => {
+				this.form = response.data;
+				this.open = true;
+				this.title = "修改批量退还保证金";
+			});
+		},
+		/** 提交按钮 */
+		submitForm() {
+			this.$refs["form"].validate(valid => {
+				if (valid) {
+					if (this.form.refundbatid != null) {
+						updateRefundbat(this.form).then(response => {
+							this.$modal.msgSuccess("修改成功");
+							this.open = false;
+							this.getList();
+						});
+					} else {
+						addRefundbat(this.form).then(response => {
+							this.$modal.msgSuccess("新增成功");
+							this.open = false;
+							this.getList();
+						});
+					}
+				}
+			});
+		},
+		/** 删除按钮操作 */
+		handleDelete(row) {
+			const refundbatids = row.refundbatid || this.ids;
+			this.$modal.confirm('是否确认删除批量退还保证金编号为"' + refundbatids + '"的数据项?').then(function () {
+				return delRefundbat(refundbatids);
+			}).then(() => {
+				this.getList();
+				this.$modal.msgSuccess("删除成功");
+			}).catch(() => {
+			});
+		},
+		/** 导出按钮操作 */
+		handleExport() {
+			this.download('bank/refundbat/export', {
+				...this.queryParams
+			}, `refundbat_${new Date().getTime()}.xlsx`)
+		}
+	}
 };
 </script>