Commit 501a25c9 by fukai

提交支付前置的交易

parent a5364bad
import Utils from "~/utils"
/**
* Batchg Check规则
*/
let checkObj = {
"batp.refback" :null,
"batp.ptpmod.pty.extkey" :null,
"batp.ref" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Batchg Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSel(){
let rtnmsg = await this.executeRule("sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onReset(){
let rtnmsg = await this.executeRule("reset")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBatpJmpbat(){
let rtnmsg = await this.executeRule("batp.jmpbat")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBatpAllcck(){
let rtnmsg = await this.executeRule("batp.allcck")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBatpClrchk(){
let rtnmsg = await this.executeRule("batp.clrchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"batp.dat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"batp.datd":[
{type: "date", required: false, message: "输入正确的日期"}
],
"batp.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"batp.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"batp.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"batp.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"batp.refback":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"batp.inf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Batchg{
constructor () {
this.data = {
batp:{
dat:"", // 起息日起始 .batp.dat
datd:"", // 起息日截止 .batp.datd
cur:"", // 币 种 .batp.cur
sta:"", // 关联状态 .batp.sta
offsta:"", // 勾销状态 .batp.offsta
ref:"", // 参考号/前 .batp.ref
refback:"", // 参考号/后 .batp.refback
amt:"", // 金额下限 .batp.amt
amtd:"", // 金额上限 .batp.amtd
recsta:"", // 记帐状态 .batp.recsta
inf:"", // 详 情 .batp.inf
ptpmod:{
pty:{
extkey:"", // BIC 码 .batp.ptpmod.pty.extkey
},
},
dc:"", // 借 贷 .batp.dc
exp:"", // 导出 .batp.exp
},
batgrp:{
dotlst:[], // .batgrp.dotlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--batp PD000000 批量记账主面板 -->
<el-tab-pane :label="$t('batp.PD000000')" name="batmainp">
<m-batmainp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Batchg from "../model/Batchg"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Batchg/Check"
import Default from "../model/Batchg/Default"
import Pattern from "../model/Batchg/Pattern"
import Batmainp from "./Batmainp"
export default {
name: "Batchg",
components:{
"m-batmainp" : Batmainp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "batchg",
trnType: "",
model: new Batchg().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入batchg交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Cpsmsg Check规则
*/
let checkObj = {
"cpsmsgp.sndcod" :null,
"cpsmsgp.rcvcod" :null,
"cpsmsgp.reqnum" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cpsmsg Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCpsmsgpSel(){
let rtnmsg = await this.executeRule("cpsmsgp.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpDel(){
let rtnmsg = await this.executeRule("cpsmsgp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpDlpnl(){
let rtnmsg = await this.executeRule("cpsmsgp.dlpnl")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpTuichu(){
let rtnmsg = await this.executeRule("cpsmsgp.tuichu")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpCerbng(){
let rtnmsg = await this.executeRule("cpsmsgp.cerbng")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpBnkchg(){
let rtnmsg = await this.executeRule("cpsmsgp.bnkchg")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpYwtbtn(){
let rtnmsg = await this.executeRule("cpsmsgp.ywtbtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpMar(){
let rtnmsg = await this.executeRule("cpsmsgp.mar")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpYewbtn(){
let rtnmsg = await this.executeRule("cpsmsgp.yewbtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpXitbtn(){
let rtnmsg = await this.executeRule("cpsmsgp.xitbtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpBdqbtn(){
let rtnmsg = await this.executeRule("cpsmsgp.bdqbtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpActbtn(){
let rtnmsg = await this.executeRule("cpsmsgp.actbtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpsmsgpRtn(){
let rtnmsg = await this.executeRule("cpsmsgp.rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"cpsmsgp.begtim":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpsmsgp.endtim":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpsmsgp.reqnum":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"cpsmsgp.sndcod":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"cpsmsgp.rcvcod":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"cpsmsgp.oriinf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"cpsmsgp.newinf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"cpsmsgp.typ":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cpsmsg{
constructor () {
this.data = {
cpsmsgp:{
begtim:"", // 起始时间 .cpsmsgp.begtim
endtim:"", // 结束时间 .cpsmsgp.endtim
reqnum:"", // 申请序号 .cpsmsgp.reqnum
sndcod:"", // 发起节点 .cpsmsgp.sndcod
rcvcod:"", // 接收节点 .cpsmsgp.rcvcod
oriinf:"", // 原识别信息 .cpsmsgp.oriinf
newinf:"", // 新识别信息 .cpsmsgp.newinf
sta:"", // 处理状态 .cpsmsgp.sta
typ:"", // 业务类型 .cpsmsgp.typ
subtyp:"", // 报文类型 .cpsmsgp.subtyp
exp:"", // 导出 .cpsmsgp.exp
},
usrmsggrp:{
usrlst:[], // .usrmsggrp.usrlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.usrmsggrp.usrlst"
style="width: 100%"
>
<el-table-column
prop="reqnum"
label="申请序号"
sortable
width="150">
</el-table-column>
<el-table-column
prop="sndcod"
label="发起节点"
sortable
width="100">
</el-table-column>
<el-table-column
prop="rcvcod"
label="接收节点"
sortable
width="100">
</el-table-column>
<el-table-column
prop="oriinf"
label="原识别信息"
sortable
width="180">
</el-table-column>
<el-table-column
prop="newinf"
label="新识别信息"
sortable
width="180">
</el-table-column>
<el-table-column
prop="subtyp"
label="报文类型"
sortable
width="80">
</el-table-column>
<el-table-column
prop="curdat"
label="当前日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="rsptim"
label="创建时间"
sortable
width="180">
</el-table-column>
<el-table-column
prop="mancod"
label="报文处理码"
sortable
width="120">
</el-table-column>
<el-table-column
prop="sta"
label="处理状态"
sortable
width="70">
<template slot-scope="scope">
<span>{{ this.codes.bnksta.find(item=>item.value==scope.row.sta).label }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.usrmsggrp_usrlst.total">
</el-pagination>
</div>
</c-col>
<!-- LT000004 : 起始时间 -->
<!-- LT000252 : : -->
<c-col :span="12">
<el-form-item :label="$t('cpsmsgp.LT000004')" prop="cpsmsgp.begtim">
<c-date-picker type="date" v-model="model.cpsmsgp.begtim" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000004')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000005 : 结束时间 -->
<!-- LT000252 : : -->
<c-col :span="12">
<el-form-item :label="$t('cpsmsgp.LT000005')" prop="cpsmsgp.endtim">
<c-date-picker type="date" v-model="model.cpsmsgp.endtim" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000005')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000006 : 申请序号 -->
<!-- LT000252 : : -->
<c-col :span="12">
<c-form-item :label="$t('cpsmsgp.LT000006')" prop="cpsmsgp.reqnum">
<c-input v-model="model.cpsmsgp.reqnum" maxlength="16" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000006')"></c-input>
</c-form-item>
</c-col>
<!-- LT000231 : 报文类型 -->
<!-- LT000252 : : -->
<c-col :span="12">
<el-form-item :label="$t('cpsmsgp.LT000231')" prop="cpsmsgp.subtyp">
<c-select v-model="model.cpsmsgp.subtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000231')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000008 : 发起节点 -->
<!-- LT000252 : : -->
<c-col :span="12">
<c-form-item :label="$t('cpsmsgp.LT000008')" prop="cpsmsgp.sndcod">
<c-input v-model="model.cpsmsgp.sndcod" maxlength="11" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000008')"></c-input>
</c-form-item>
</c-col>
<!-- LT000009 : 接收节点 -->
<!-- LT000252 : : -->
<c-col :span="12">
<c-form-item :label="$t('cpsmsgp.LT000009')" prop="cpsmsgp.rcvcod">
<c-input v-model="model.cpsmsgp.rcvcod" maxlength="11" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000009')"></c-input>
</c-form-item>
</c-col>
<!-- LT000010 : 原识别信息 -->
<!-- LT000252 : : -->
<c-col :span="12">
<c-form-item :label="$t('cpsmsgp.LT000010')" prop="cpsmsgp.oriinf">
<c-input v-model="model.cpsmsgp.oriinf" maxlength="20" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000010')"></c-input>
</c-form-item>
</c-col>
<!-- LT000011 : 新识别信息 -->
<!-- LT000252 : : -->
<c-col :span="12">
<c-form-item :label="$t('cpsmsgp.LT000011')" prop="cpsmsgp.newinf">
<c-input v-model="model.cpsmsgp.newinf" maxlength="20" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000011')"></c-input>
</c-form-item>
</c-col>
<!-- LT000012 : 处理状态 -->
<!-- LT000252 : : -->
<c-col :span="12">
<el-form-item :label="$t('cpsmsgp.LT000012')" prop="cpsmsgp.sta">
<c-select v-model="model.cpsmsgp.sta" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000012')">
<el-option
v-for="item in codes.bnksta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000013 : 业务类型 -->
<!-- LT000252 : : -->
<c-col :span="12">
<c-form-item :label="$t('cpsmsgp.LT000013')" prop="cpsmsgp.typ">
<c-input v-model="model.cpsmsgp.typ" maxlength="8" :placeholder="$t('other.please_enter')+$t('cpsmsgp.LT000013')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCpsmsgpSel">
{{$t('cpsmsgp.BT000014')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onCpsmsgpDel">
{{$t('cpsmsgp.BT000015')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpDlpnl">
{{$t('cpsmsgp.BT000027')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpTuichu">
{{$t('cpsmsgp.BT000028')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpCerbng">
{{$t('cpsmsgp.BT000029')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpBnkchg">
{{$t('cpsmsgp.BT000030')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpYwtbtn">
{{$t('cpsmsgp.BT000239')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpMar">
{{$t('cpsmsgp.BT000254')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpYewbtn">
{{$t('cpsmsgp.BT000031')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpXitbtn">
{{$t('cpsmsgp.BT000032')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpBdqbtn">
{{$t('cpsmsgp.BT000241')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpActbtn">
{{$t('cpsmsgp.BT000240')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpsmsgpRtn">
{{$t('cpsmsgp.BT000033')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Cpsmsg/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cpsmsgp PD000000 查询主页面 -->
<el-tab-pane :label="$t('cpsmsgp.PD000000')" name="mainpnl">
<m-mainpnl :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cpsmsg from "../model/Cpsmsg"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Cpsmsg/Check"
import Default from "../model/Cpsmsg/Default"
import Pattern from "../model/Cpsmsg/Pattern"
import Mainpnl from "./Mainpnl"
export default {
name: "Cpsmsg",
components:{
"m-mainpnl" : Mainpnl,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cpsmsg",
trnType: "",
model: new Cpsmsg().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
bnksta:CodeTable.bnksta,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cpsmsg交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Cpssxf Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cpssxf Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSxfpSel(){
let rtnmsg = await this.executeRule("sxfp.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSxfpClr(){
let rtnmsg = await this.executeRule("sxfp.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSxfpAdd(){
let rtnmsg = await this.executeRule("sxfp.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSxfpDvd(){
let rtnmsg = await this.executeRule("sxfp.dvd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSxfpPfa(){
let rtnmsg = await this.executeRule("sxfp.pfa")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"sxfp.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"sxfp.enddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cpssxf{
constructor () {
this.data = {
sxfp:{
stadat:"", // 手续费创建起始日期(查询) .sxfp.stadat
enddat:"", // 手续费创建截止日期(查询) .sxfp.enddat
exp:"", // 导出 .sxfp.exp
},
sxfgrp:{
sxflst:[], // .sxfgrp.sxflst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.sxfgrp.sxflst"
style="width: 100%"
>
<el-table-column
prop="dat"
label=""
sortable
width="150">
</el-table-column>
<el-table-column
prop="amt"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="stadat"
label=""
sortable
width="150">
</el-table-column>
<el-table-column
prop="enddat"
label=""
sortable
width="150">
</el-table-column>
<el-table-column
prop="sta"
label=""
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.sxfgrp_sxflst.total">
</el-pagination>
</div>
</c-col>
<!-- LT000010 : -->
<c-col :span="12">
<el-form-item :label="$t('sxfp.LT000010')" prop="sxfp.stadat">
<c-date-picker type="date" v-model="model.sxfp.stadat" style="width:100%" :placeholder="$t('other.please_enter')+$t('sxfp.LT000010')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000011 : -->
<c-col :span="12">
<el-form-item :label="$t('sxfp.LT000011')" prop="sxfp.enddat">
<c-date-picker type="date" v-model="model.sxfp.enddat" style="width:100%" :placeholder="$t('other.please_enter')+$t('sxfp.LT000011')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSxfpSel">
{{$t('sxfp.BT000012')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSxfpClr">
{{$t('sxfp.BT000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSxfpAdd">
{{$t('sxfp.BT000004')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSxfpDvd">
{{$t('sxfp.BT000035')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSxfpPfa">
{{$t('sxfp.BT000036')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Cpssxf/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--sxfp PD000000 -->
<el-tab-pane :label="$t('sxfp.PD000000')" name="mainpl">
<m-mainpl :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cpssxf from "../model/Cpssxf"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Cpssxf/Check"
import Default from "../model/Cpssxf/Default"
import Pattern from "../model/Cpssxf/Pattern"
import Mainpl from "./Mainpl"
export default {
name: "Cpssxf",
components:{
"m-mainpl" : Mainpl,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cpssxf",
trnType: "",
model: new Cpssxf().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
bnksta:CodeTable.bnksta,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cpssxf交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Cpysel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cpysel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCpypSel(){
let rtnmsg = await this.executeRule("cpyp.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpypClr(){
let rtnmsg = await this.executeRule("cpyp.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpypRtn(){
let rtnmsg = await this.executeRule("cpyp.rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"cpyp.sndbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"cpyp.rcvbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"cpyp.rcvsta":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpyp.rcvend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpyp.chksta":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpyp.chkend":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cpysel{
constructor () {
this.data = {
cpyp:{
chksta:"", // 对账日期: .cpyp.chksta
chkend:"", // 至: .cpyp.chkend
rcvsta:"", // 收报日期: .cpyp.rcvsta
rcvend:"", // 至: .cpyp.rcvend
sndbic:"", // 发报行: .cpyp.sndbic
rcvbic:"", // 收报行: .cpyp.rcvbic
subtyp:"", // 报文类型: .cpyp.subtyp
},
cpygrp:{
cpylst:[], // .cpygrp.cpylst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.cpygrp.cpylst"
style="width: 100%"
>
<el-table-column
prop="snddattim"
label="收报日期"
sortable
width="120">
</el-table-column>
<el-table-column
prop="chkdat"
label="对账日期"
sortable
width="120">
</el-table-column>
<el-table-column
prop="sndbic"
label="发报行"
sortable
width="130">
</el-table-column>
<el-table-column
prop="rcvbic"
label="收报行"
sortable
width="130">
</el-table-column>
<el-table-column
prop="othref"
label="报文标识号"
sortable
width="180">
</el-table-column>
<el-table-column
prop="msgtyp"
label="报文标准"
sortable
width="80">
<template slot-scope="scope">
<span>{{ this.codes.msgmst.find(item=>item.value==scope.row.msgtyp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="subtyp"
label="报文类型"
sortable
width="80">
</el-table-column>
<el-table-column
prop="actsta"
label="对账状态"
sortable
width="70">
<template slot-scope="scope">
<span>{{ this.codes.fmssta.find(item=>item.value==scope.row.actsta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="num"
label="明细数目"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.cpygrp_cpylst.total">
</el-pagination>
</div>
</c-col>
<!-- LT000008 : 发报行: -->
<c-col :span="12">
<c-form-item :label="$t('cpyp.LT000008')" prop="cpyp.sndbic">
<c-input v-model="model.cpyp.sndbic" maxlength="11" :placeholder="$t('other.please_enter')+$t('cpyp.LT000008')"></c-input>
</c-form-item>
</c-col>
<!-- LT000009 : 收报行: -->
<c-col :span="12">
<c-form-item :label="$t('cpyp.LT000009')" prop="cpyp.rcvbic">
<c-input v-model="model.cpyp.rcvbic" maxlength="11" :placeholder="$t('other.please_enter')+$t('cpyp.LT000009')"></c-input>
</c-form-item>
</c-col>
<!-- LT000010 : 报文类型: -->
<c-col :span="12">
<el-form-item :label="$t('cpyp.LT000010')" prop="cpyp.subtyp">
<c-select v-model="model.cpyp.subtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpyp.LT000010')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000006 : 收报日期: -->
<c-col :span="12">
<el-form-item :label="$t('cpyp.LT000006')" prop="cpyp.rcvsta">
<c-date-picker type="date" v-model="model.cpyp.rcvsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpyp.LT000006')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000007 : 至: -->
<c-col :span="12">
<el-form-item :label="$t('cpyp.LT000007')" prop="cpyp.rcvend">
<c-date-picker type="date" v-model="model.cpyp.rcvend" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpyp.LT000007')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000004 : 对账日期: -->
<c-col :span="12">
<el-form-item :label="$t('cpyp.LT000004')" prop="cpyp.chksta">
<c-date-picker type="date" v-model="model.cpyp.chksta" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpyp.LT000004')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000005 : 至: -->
<c-col :span="12">
<el-form-item :label="$t('cpyp.LT000005')" prop="cpyp.chkend">
<c-date-picker type="date" v-model="model.cpyp.chkend" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpyp.LT000005')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCpypSel">
{{$t('cpyp.BT000011')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpypClr">
{{$t('cpyp.BT000012')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpypRtn">
{{$t('cpyp.BT000013')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Cpysel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cpyp PD000000 查询主页面 -->
<el-tab-pane :label="$t('cpyp.PD000000')" name="mainp">
<m-mainp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cpysel from "../model/Cpysel"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Cpysel/Check"
import Default from "../model/Cpysel/Default"
import Pattern from "../model/Cpysel/Pattern"
import Mainp from "./Mainp"
export default {
name: "Cpysel",
components:{
"m-mainp" : Mainp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cpysel",
trnType: "",
model: new Cpysel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
bnksta:CodeTable.bnksta,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cpysel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Cpzsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cpzsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCpzpSel(){
let rtnmsg = await this.executeRule("cpzp.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpzpClr(){
let rtnmsg = await this.executeRule("cpzp.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpzpChkqry(){
let rtnmsg = await this.executeRule("cpzp.chkqry")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpzpRtn(){
let rtnmsg = await this.executeRule("cpzp.rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"cpzp.chkbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"cpzp.rcvsta":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpzp.rcvend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpzp.chksta":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpzp.chkend":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cpzsel{
constructor () {
this.data = {
cpzp:{
chkbic:"", // 对账行号 .cpzp.chkbic
rcvsta:"", // 收报日期 .cpzp.rcvsta
rcvend:"", // 至 .cpzp.rcvend
chksta:"", // 对账起始日期 .cpzp.chksta
chkend:"", // 对账截止日期 .cpzp.chkend
subtyp:"", // 报文类型 .cpzp.subtyp
},
cpzgrp:{
cpzlst:[], // .cpzgrp.cpzlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.cpzgrp.cpzlst"
style="width: 100%"
>
<el-table-column
prop="credattim"
label="收报日期"
sortable
width="120">
</el-table-column>
<el-table-column
prop="chkdat"
label="对账日期"
sortable
width="120">
</el-table-column>
<el-table-column
prop="sndbic"
label="发报行"
sortable
width="130">
</el-table-column>
<el-table-column
prop="rcvbic"
label="收报行"
sortable
width="130">
</el-table-column>
<el-table-column
prop="chkbic"
label="对账直参行"
sortable
width="130">
</el-table-column>
<el-table-column
prop="othref"
label="报文标识号"
sortable
width="150">
</el-table-column>
<el-table-column
prop="msgtyp"
label="报文标准"
sortable
width="80">
<template slot-scope="scope">
<span>{{ this.codes.msgmst.find(item=>item.value==scope.row.msgtyp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="subtyp"
label="报文类型"
sortable
width="80">
</el-table-column>
<el-table-column
prop="actsta"
label="对账状态"
sortable
width="80">
<template slot-scope="scope">
<span>{{ this.codes.actsta.find(item=>item.value==scope.row.actsta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="num"
label="明细数目"
sortable
width="80">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.cpzgrp_cpzlst.total">
</el-pagination>
</div>
</c-col>
<!-- LT000004 : 对账行号 -->
<!-- LT000012 : : -->
<c-col :span="12">
<c-form-item :label="$t('cpzp.LT000004')" prop="cpzp.chkbic">
<c-input v-model="model.cpzp.chkbic" maxlength="35" :placeholder="$t('other.please_enter')+$t('cpzp.LT000004')"></c-input>
</c-form-item>
</c-col>
<!-- LT000036 : 报文类型 -->
<!-- LT000012 : : -->
<c-col :span="12">
<el-form-item :label="$t('cpzp.LT000036')" prop="cpzp.subtyp">
<c-select v-model="model.cpzp.subtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpzp.LT000036')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000006 : 收报日期 -->
<!-- LT000012 : : -->
<c-col :span="12">
<el-form-item :label="$t('cpzp.LT000006')" prop="cpzp.rcvsta">
<c-date-picker type="date" v-model="model.cpzp.rcvsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpzp.LT000006')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000007 : 至 -->
<!-- LT000012 : : -->
<c-col :span="12">
<el-form-item :label="$t('cpzp.LT000007')" prop="cpzp.rcvend">
<c-date-picker type="date" v-model="model.cpzp.rcvend" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpzp.LT000007')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000008 : 对账起始日期 -->
<!-- LT000012 : : -->
<c-col :span="12">
<el-form-item :label="$t('cpzp.LT000008')" prop="cpzp.chksta">
<c-date-picker type="date" v-model="model.cpzp.chksta" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpzp.LT000008')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000009 : 对账截止日期 -->
<!-- LT000012 : : -->
<c-col :span="12">
<el-form-item :label="$t('cpzp.LT000009')" prop="cpzp.chkend">
<c-date-picker type="date" v-model="model.cpzp.chkend" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpzp.LT000009')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCpzpSel">
{{$t('cpzp.BT000010')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpzpClr">
{{$t('cpzp.BT000011')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpzpChkqry">
{{$t('cpzp.BT000037')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpzpRtn">
{{$t('cpzp.BT000013')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Cpzsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cpzp PD000000 查询主页面 -->
<el-tab-pane :label="$t('cpzp.PD000000')" name="mainp">
<m-mainp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cpzsel from "../model/Cpzsel"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Cpzsel/Check"
import Default from "../model/Cpzsel/Default"
import Pattern from "../model/Cpzsel/Pattern"
import Mainp from "./Mainp"
export default {
name: "Cpzsel",
components:{
"m-mainp" : Mainp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cpzsel",
trnType: "",
model: new Cpzsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
bnksta:CodeTable.bnksta,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cpzsel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Ctmsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ctmsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCpstimpSel(){
let rtnmsg = await this.executeRule("cpstimp.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpstimpDel(){
let rtnmsg = await this.executeRule("cpstimp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCpstimpRtn(){
let rtnmsg = await this.executeRule("cpstimp.rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"cpstimp.rcvdatsta":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cpstimp.rcvdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ctmsel{
constructor () {
this.data = {
cpstimp:{
rcvdatsta:"", // 起始时间: .cpstimp.rcvdatsta
rcvdatend:"", // 截止时间: .cpstimp.rcvdatend
cursta:"", // 系统当前时序状态(显示) .cpstimp.cursta
syscursta:"", // 系统状态: .cpstimp.syscursta
curlogsta:"", // 当前登录状态 .cpstimp.curlogsta
exp:"", // 导出 .cpstimp.exp
},
cpstimgrp:{
cpstimlst:[], // .cpstimgrp.cpstimlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.cpstimgrp.cpstimlst"
style="width: 100%"
>
<el-table-column
prop="syssta"
label="系统当前状态"
sortable
width="120">
</el-table-column>
<el-table-column
prop="sysdt"
label="系统当前日期"
sortable
width="120">
</el-table-column>
<el-table-column
prop="orgsyssta"
label="原系统状态"
sortable
width="100">
</el-table-column>
<el-table-column
prop="orgsysdt"
label="原系统日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="nxtsysdt"
label="系统下一日期"
sortable
width="120">
</el-table-column>
<el-table-column
prop="mmbchnnb"
label="参与者变更期数"
sortable
width="120">
</el-table-column>
<el-table-column
prop="parchnnb"
label="公共参数变更期数"
sortable
width="120">
</el-table-column>
<el-table-column
prop="drcmmbchnnb"
label="间参所属直参变更期数"
sortable
width="150">
</el-table-column>
<el-table-column
prop="ustrd"
label="附言"
sortable
width="100">
</el-table-column>
<el-table-column
prop="orgsystm"
label="报文发送日期"
sortable
width="180">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.cpstimgrp_cpstimlst.total">
</el-pagination>
</div>
</c-col>
<!-- LT000008 : 系统当前状态 -->
<!-- LT000010 : 系统当前时序状态: -->
<c-col :span="12">
<span v-text="model.cpstimp.cursta" data-path=".cpstimp.cursta" > </span>
</c-col>
<!-- LT000040 : 系统当前登录状态: -->
<c-col :span="12">
<span v-text="model.cpstimp.curlogsta" data-path=".cpstimp.curlogsta" > </span>
</c-col>
<!-- LT000011 : 历史状态查询 -->
<!-- LT000006 : 起始时间: -->
<c-col :span="12">
<el-form-item :label="$t('cpstimp.LT000006')" prop="cpstimp.rcvdatsta">
<c-date-picker type="date" v-model="model.cpstimp.rcvdatsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpstimp.LT000006')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000007 : 截止时间: -->
<c-col :span="12">
<el-form-item :label="$t('cpstimp.LT000007')" prop="cpstimp.rcvdatend">
<c-date-picker type="date" v-model="model.cpstimp.rcvdatend" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpstimp.LT000007')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000012 : 系统状态: -->
<c-col :span="12">
<el-form-item :label="$t('cpstimp.LT000012')" prop="cpstimp.syscursta">
<c-select v-model="model.cpstimp.syscursta" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpstimp.LT000012')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCpstimpSel">
{{$t('cpstimp.BT000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onCpstimpDel">
{{$t('cpstimp.BT000014')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCpstimpRtn">
{{$t('cpstimp.BT000005')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Ctmsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cpstimp PD000000 查询主页面 -->
<el-tab-pane :label="$t('cpstimp.PD000000')" name="mainpl">
<m-mainpl :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ctmsel from "../model/Ctmsel"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Ctmsel/Check"
import Default from "../model/Ctmsel/Default"
import Pattern from "../model/Ctmsel/Pattern"
import Mainpl from "./Mainpl"
export default {
name: "Ctmsel",
components:{
"m-mainpl" : Mainpl,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "ctmsel",
trnType: "",
model: new Ctmsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
bnksta:CodeTable.bnksta,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入ctmsel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Dblabk Check规则
*/
let checkObj = {
"abkp.bic" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dblabk Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAbkpSel(){
let rtnmsg = await this.executeRule("abkp.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAbkpClr(){
let rtnmsg = await this.executeRule("abkp.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"abkp.engnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"abkp.chnnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"abkp.bic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"abkp.actid":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"abkp.ctraid":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"abkp.contry":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dblabk{
constructor () {
this.data = {
abkp:{
isa:"", // : .abkp.isa
engnam:"", // : .abkp.engnam
chnnam:"", // : .abkp.chnnam
bic:"", // : .abkp.bic
actid:"", // : .abkp.actid
cur:"", // : .abkp.cur
ctraid:"", // : .abkp.ctraid
contry:"", // : .abkp.contry
actflg:"", // : .abkp.actflg
drcflg:"", // : .abkp.drcflg
fulrcvflg:"", // 全额到账标志 .abkp.fulrcvflg
minrcvflg:"", // 小币种兑付标志 .abkp.minrcvflg
gjsactflg:"", // 参与国结清算 .abkp.gjsactflg
ghdactflg:"", // 参与国际汇兑清算 .abkp.ghdactflg
gjsdrcflg:"", // 国结直接清算 .abkp.gjsdrcflg
ghddrcflg:"", // 国际汇兑直接清算 .abkp.ghddrcflg
ptyshwlst:[], // .abkp.ptyshwlst
exp:"", // 导出 .abkp.exp
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.abkp.ptyshwlst"
style="width: 100%"
>
<el-table-column
prop="engnam"
label="银行英文名称"
sortable
width="400">
</el-table-column>
<el-table-column
prop="chnnam"
label="银行中文名称"
sortable
width="200">
</el-table-column>
<el-table-column
prop="extkey"
label="银行BIC"
sortable
width="100">
</el-table-column>
<el-table-column
prop="actid"
label="帐号"
sortable
width="150">
</el-table-column>
<el-table-column
prop="ctraid"
label="合同帐号"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="actflg"
label="参与清算"
sortable
width="70">
<template slot-scope="scope">
<span>{{ this.codes.yosflg.find(item=>item.value==scope.row.actflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="gjsactflg"
label="参与国际结算清算"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ghdactflg"
label="参与国际汇兑清算"
sortable
width="100">
</el-table-column>
<el-table-column
prop="drcflg"
label="直接清算"
sortable
width="70">
<template slot-scope="scope">
<span>{{ this.codes.yosflg.find(item=>item.value==scope.row.drcflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="gjsdrcflg"
label="国际结算直接清算"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ghddrcflg"
label="国际汇兑直接清算"
sortable
width="100">
</el-table-column>
<el-table-column
prop="fulrcvflg"
label="是否全额到账"
sortable
width="100">
</el-table-column>
<el-table-column
prop="minrcvflg"
label="是否小币种兑付"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.abkp_ptyshwlst.total">
</el-pagination>
</div>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('abkp.LT000112')" prop="abkp.isa">
<c-select v-model="model.abkp.isa" style="width:100%" :placeholder="$t('other.please_enter')+$t('abkp.LT000112')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000087 : 是否账户行 -->
<!-- LT000112 : : -->
<c-col :span="12">
<c-checkbox v-model="model.abkp.fulrcvflg">{{$t('abkp.FD000517')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.abkp.minrcvflg">{{$t('abkp.FD000518')}}</c-checkbox>
</c-col>
<!-- LT000507 : 是否参与清算 -->
<!-- LT000497 : : -->
<c-col :span="12">
<el-form-item :label="$t('abkp.LT000497')" prop="abkp.actflg">
<c-select v-model="model.abkp.actflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('abkp.LT000497')">
<el-option
v-for="item in codes.yosflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.abkp.gjsactflg">{{$t('abkp.FD000519')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.abkp.ghdactflg">{{$t('abkp.FD000520')}}</c-checkbox>
</c-col>
<!-- LT000508 : 是否直接清算 -->
<!-- LT000498 : : -->
<c-col :span="12">
<el-form-item :label="$t('abkp.LT000498')" prop="abkp.drcflg">
<c-select v-model="model.abkp.drcflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('abkp.LT000498')">
<el-option
v-for="item in codes.yosflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.abkp.gjsdrcflg">{{$t('abkp.FD000522')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.abkp.ghddrcflg">{{$t('abkp.FD000523')}}</c-checkbox>
</c-col>
<!-- LT000072 : 银行英文名称 -->
<!-- LT000107 : : -->
<c-col :span="12">
<c-form-item :label="$t('abkp.LT000107')" prop="abkp.engnam">
<c-input v-model="model.abkp.engnam" maxlength="200" :placeholder="$t('other.please_enter')+$t('abkp.LT000107')"></c-input>
</c-form-item>
</c-col>
<!-- LT000073 : 银行中文名称 -->
<!-- LT000106 : : -->
<c-col :span="12">
<c-form-item :label="$t('abkp.LT000106')" prop="abkp.chnnam">
<c-input v-model="model.abkp.chnnam" maxlength="200" :placeholder="$t('other.please_enter')+$t('abkp.LT000106')"></c-input>
</c-form-item>
</c-col>
<!-- LT000058 : 银行BIC -->
<!-- LT000108 : : -->
<c-col :span="12">
<c-form-item :label="$t('abkp.LT000108')" prop="abkp.bic">
<c-input v-model="model.abkp.bic" maxlength="11" :placeholder="$t('other.please_enter')+$t('abkp.LT000108')"></c-input>
</c-form-item>
</c-col>
<!-- LT000088 : 帐号 -->
<!-- LT000111 : : -->
<c-col :span="12">
<c-form-item :label="$t('abkp.LT000111')" prop="abkp.actid">
<c-input v-model="model.abkp.actid" maxlength="40" :placeholder="$t('other.please_enter')+$t('abkp.LT000111')"></c-input>
</c-form-item>
</c-col>
<!-- LT000100 : 合同帐号 -->
<!-- LT000109 : : -->
<c-col :span="12">
<c-form-item :label="$t('abkp.LT000109')" prop="abkp.ctraid">
<c-input v-model="model.abkp.ctraid" maxlength="35" :placeholder="$t('other.please_enter')+$t('abkp.LT000109')"></c-input>
</c-form-item>
</c-col>
<!-- LT000089 : 币种 -->
<!-- LT000110 : : -->
<c-col :span="12">
<el-form-item :label="$t('abkp.LT000110')" prop="abkp.cur">
<c-select v-model="model.abkp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('abkp.LT000110')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000356 : 国家 -->
<!-- LT000357 : : -->
<c-col :span="12">
<c-form-item :label="$t('abkp.LT000357')" prop="abkp.contry">
<c-input v-model="model.abkp.contry" maxlength="100" :placeholder="$t('other.please_enter')+$t('abkp.LT000357')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAbkpSel">
{{$t('abkp.BT000022')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAbkpClr">
{{$t('abkp.BT000023')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Dblabk/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--abkp PD000086 账户行查询页面2 -->
<el-tab-pane :label="$t('abkp.PD000086')" name="abkp10">
<m-abkp10 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblabk from "../model/Dblabk"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Dblabk/Check"
import Default from "../model/Dblabk/Default"
import Pattern from "../model/Dblabk/Pattern"
import Abkp10 from "./Abkp10"
export default {
name: "Dblabk",
components:{
"m-abkp10" : Abkp10,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dblabk",
trnType: "",
model: new Dblabk().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
bnksta:CodeTable.bnksta,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblabk交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Dblatt Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dblatt Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSel(){
let rtnmsg = await this.executeRule("sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onReset(){
let rtnmsg = await this.executeRule("reset")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPttpAdd(){
let rtnmsg = await this.executeRule("pttp.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRtn(){
let rtnmsg = await this.executeRule("rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"pttp.ptybic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"pttp.ptynam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"pttp.usrnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"pttp.engnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"pttp.tel":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"pttp.fax":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"pttp.eml":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"pttp.mobile":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dblatt{
constructor () {
this.data = {
pttp:{
usratr:"", // 联系人性质 .pttp.usratr
ptybic:"", // 代理行BIC码 .pttp.ptybic
ptynam:"", // 代理行名称 .pttp.ptynam
cur:"", // 币种 .pttp.cur
usrnam:"", // 联系人中文名称 .pttp.usrnam
engnam:"", // 联系人英文名称 .pttp.engnam
tel:"", // 固定电话 .pttp.tel
fax:"", // 传真号码 .pttp.fax
eml:"", // 邮箱地址 .pttp.eml
mobile:"", // 移动电话 .pttp.mobile
biclbl:"", // BIC标签 .pttp.biclbl
namlbl:"", // 名称标签 .pttp.namlbl
exp:"", // 导出 .pttp.exp
},
pttgrp:{
pttlst:[], // .pttgrp.pttlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.pttgrp.pttlst"
style="width: 100%"
>
<el-table-column
prop="usratr"
label="联系人熟悉"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.usratr.find(item=>item.value==scope.row.usratr).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="ptybic"
label="账户行BIC码"
sortable
width="120">
</el-table-column>
<el-table-column
prop="ptynam"
label="账户行名称"
sortable
width="300">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="80">
<template slot-scope="scope">
<span>{{ this.codes.cur.find(item=>item.value==scope.row.cur).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="usrnam"
label="联系人中文名称"
sortable
width="120">
</el-table-column>
<el-table-column
prop="engnam"
label="联系人英文名称"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tel1"
label="固定电话1"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tel2"
label="固定电话2"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tel3"
label="固定电话3"
sortable
width="150">
</el-table-column>
<el-table-column
prop="mobile"
label="移动电话"
sortable
width="150">
</el-table-column>
<el-table-column
prop="eml"
label="邮箱地址"
sortable
width="200">
</el-table-column>
<el-table-column
prop="fax"
label="传真号码"
sortable
width="120">
</el-table-column>
<el-table-column
prop="rmk"
label="备注"
sortable
width="350">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.pttgrp_pttlst.total">
</el-pagination>
</div>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('pttp.LT000066')" prop="pttp.usratr">
<c-select v-model="model.pttp.usratr" style="width:100%" :placeholder="$t('other.please_enter')+$t('pttp.LT000066')">
<el-option
v-for="item in codes.usratr"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000066 : 联系人性质 -->
<!-- LT000067 : : -->
<c-col :span="12">
<c-form-item label="代理行BIC码" prop="pttp.ptybic">
<c-input v-model="model.pttp.ptybic" maxlength="24" :placeholder="$t('other.please_enter')+'代理行BIC码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.pttp.biclbl" data-path=".pttp.biclbl" > </span>
</c-col>
<!-- LT000011 : : -->
<c-col :span="12">
<c-form-item label="代理行名称" prop="pttp.ptynam">
<c-input v-model="model.pttp.ptynam" maxlength="100" :placeholder="$t('other.please_enter')+'代理行名称'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.pttp.namlbl" data-path=".pttp.namlbl" > </span>
</c-col>
<!-- LT000018 : : -->
<c-col :span="12">
<el-form-item :label="$t('pttp.LT000004')" prop="pttp.cur">
<c-select v-model="model.pttp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('pttp.LT000004')">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000004 : 币种 -->
<!-- LT000012 : : -->
<c-col :span="12">
<c-form-item :label="$t('pttp.LT000005')" prop="pttp.usrnam">
<c-input v-model="model.pttp.usrnam" maxlength="20" :placeholder="$t('other.please_enter')+$t('pttp.LT000005')"></c-input>
</c-form-item>
</c-col>
<!-- LT000005 : 联系人中文名称 -->
<!-- LT000013 : : -->
<c-col :span="12">
<c-form-item :label="$t('pttp.LT000088')" prop="pttp.engnam">
<c-input v-model="model.pttp.engnam" maxlength="20" :placeholder="$t('other.please_enter')+$t('pttp.LT000088')"></c-input>
</c-form-item>
</c-col>
<!-- LT000088 : 联系人英文名称 -->
<!-- LT000089 : : -->
<c-col :span="12">
<c-form-item :label="$t('pttp.LT000006')" prop="pttp.tel">
<c-input v-model="model.pttp.tel" maxlength="30" :placeholder="$t('other.please_enter')+$t('pttp.LT000006')"></c-input>
</c-form-item>
</c-col>
<!-- LT000006 : 固定电话 -->
<!-- LT000014 : : -->
<c-col :span="12">
<c-form-item :label="$t('pttp.LT000007')" prop="pttp.fax">
<c-input v-model="model.pttp.fax" maxlength="30" :placeholder="$t('other.please_enter')+$t('pttp.LT000007')"></c-input>
</c-form-item>
</c-col>
<!-- LT000007 : 传真号码 -->
<!-- LT000015 : : -->
<c-col :span="12">
<c-form-item :label="$t('pttp.LT000008')" prop="pttp.eml">
<c-input v-model="model.pttp.eml" maxlength="50" :placeholder="$t('other.please_enter')+$t('pttp.LT000008')"></c-input>
</c-form-item>
</c-col>
<!-- LT000008 : 邮箱地址 -->
<!-- LT000016 : : -->
<c-col :span="12">
<c-form-item :label="$t('pttp.LT000009')" prop="pttp.mobile">
<c-input v-model="model.pttp.mobile" maxlength="20" :placeholder="$t('other.please_enter')+$t('pttp.LT000009')"></c-input>
</c-form-item>
</c-col>
<!-- LT000009 : 移动电话 -->
<!-- LT000017 : : -->
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSel">
{{$t('mtabut.BT000022')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onReset">
{{$t('mtabut.BT000023')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPttpAdd">
{{$t('pttp.BT000090')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRtn">
{{$t('pttp.BT000022')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Dblatt/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--pttp PD000127 账户行联系人查询主页 -->
<el-tab-pane :label="$t('pttp.PD000127')" name="attlpn">
<m-attlpn :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblatt from "../model/Dblatt"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Dblatt/Check"
import Default from "../model/Dblatt/Default"
import Pattern from "../model/Dblatt/Pattern"
import Attlpn from "./Attlpn"
export default {
name: "Dblatt",
components:{
"m-attlpn" : Attlpn,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dblatt",
trnType: "",
model: new Dblatt().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblatt交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Dblfxd Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dblfxd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSel(){
let rtnmsg = await this.executeRule("sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onReset(){
let rtnmsg = await this.executeRule("reset")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onHtymodHty(){
let rtnmsg = await this.executeRule("htymod.hty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onFxdpAdd(){
let rtnmsg = await this.executeRule("fxdp.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"fxdp.begdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdp.enddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdp.filnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dblfxd{
constructor () {
this.data = {
fxdp:{
filtyp:"", // 文件类型: .fxdp.filtyp
filnam:"", // 文件名: .fxdp.filnam
begdat:"", // 导入起始日期: .fxdp.begdat
enddat:"", // 导入截止日期: .fxdp.enddat
},
fxdgrp:{
fxdlst:[], // .fxdgrp.fxdlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.fxdgrp.fxdlst"
style="width: 100%"
>
<el-table-column
prop="credat"
label="导入日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="filtyp"
label="文件类型"
sortable
width="150">
<template slot-scope="scope">
<span>{{ this.codes.filtyp.find(item=>item.value==scope.row.filtyp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="filnam"
label="文件名"
sortable
width="300">
</el-table-column>
<el-table-column
prop="filpth"
label="文件路径"
sortable
width="450">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.fxdgrp_fxdlst.total">
</el-pagination>
</div>
</c-col>
<!-- LT000023 : 导入起始日期: -->
<c-col :span="12">
<el-form-item :label="$t('fxdp.LT000023')" prop="fxdp.begdat">
<c-date-picker type="date" v-model="model.fxdp.begdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxdp.LT000023')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000024 : 导入截止日期: -->
<c-col :span="12">
<el-form-item :label="$t('fxdp.LT000024')" prop="fxdp.enddat">
<c-date-picker type="date" v-model="model.fxdp.enddat" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxdp.LT000024')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000003 : 文件类型: -->
<c-col :span="12">
<el-form-item :label="$t('fxdp.LT000003')" prop="fxdp.filtyp">
<c-select v-model="model.fxdp.filtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxdp.LT000003')">
<el-option
v-for="item in codes.filtyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000004 : 文件名: -->
<c-col :span="12">
<c-form-item :label="$t('fxdp.LT000004')" prop="fxdp.filnam">
<c-input v-model="model.fxdp.filnam" maxlength="50" :placeholder="$t('other.please_enter')+$t('fxdp.LT000004')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSel">
{{$t('fxdp.BT000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onReset">
{{$t('fxdp.BT000062')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onHtymodHty">
{{$t('fxdp.BT000414')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFxdpAdd">
{{$t('fxdp.BT000031')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Dblfxd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fxdp PD000017 主面板 -->
<el-tab-pane :label="$t('fxdp.PD000017')" name="selmainp">
<m-selmainp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblfxd from "../model/Dblfxd"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Dblfxd/Check"
import Default from "../model/Dblfxd/Default"
import Pattern from "../model/Dblfxd/Pattern"
import Selmainp from "./Selmainp"
export default {
name: "Dblfxd",
components:{
"m-selmainp" : Selmainp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dblfxd",
trnType: "",
model: new Dblfxd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblfxd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Dblian Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dblian Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onIanpAdd(){
let rtnmsg = await this.executeRule("ianp.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dblian{
constructor () {
this.data = {
ianp:{
lst:[], // .ianp.lst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.ianp.lst"
style="width: 100%"
>
<el-table-column
prop="ianno"
label="编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="nam"
label="内部账户名称"
sortable
width="200">
</el-table-column>
<el-table-column
prop="rmk"
label="备注"
sortable
width="300">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.ianp_lst.total">
</el-pagination>
</div>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIanpAdd">
{{$t('ianp.BT000009')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Dblian/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--ianp PD000010 查询交易面板 -->
<el-tab-pane :label="$t('ianp.PD000010')" name="selp">
<m-selp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblian from "../model/Dblian"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Dblian/Check"
import Default from "../model/Dblian/Default"
import Pattern from "../model/Dblian/Pattern"
import Selp from "./Selp"
export default {
name: "Dblian",
components:{
"m-selp" : Selp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dblian",
trnType: "",
model: new Dblian().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblian交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Dblinn Check规则
*/
let checkObj = {
"ptpmod.pty.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dblinn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInnpSel(){
let rtnmsg = await this.executeRule("innp.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInnpClr(){
let rtnmsg = await this.executeRule("innp.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInnpAdd(){
let rtnmsg = await this.executeRule("innp.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"innp.iact":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"innp.ptycod":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"innp.area":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dblinn{
constructor () {
this.data = {
innp:{
iact:"", // 内部账号 .innp.iact
cur:"", // 币种 .innp.cur
ptycod:"", // 开户机构 .innp.ptycod
knd:"", // 账户名称 .innp.knd
area:"", // 开户机构地区 .innp.area
lst:[], // .innp.lst
stm:"", // 导出 .innp.stm
},
ptpmod:{
pty:{
extkey:"", // 账户行BIC .ptpmod.pty.extkey
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.innp.lst"
style="width: 100%"
>
<el-table-column
prop="id"
label="内部账号"
sortable
width="140">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptycod"
label="开户机构"
sortable
width="100">
</el-table-column>
<el-table-column
prop="bic"
label="账户行BIC"
sortable
width="120">
</el-table-column>
<el-table-column
prop="kndnam"
label="账户名称"
sortable
width="150">
</el-table-column>
<el-table-column
prop="area"
label="开户机构地区"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.innp_lst.total">
</el-pagination>
</div>
</c-col>
<!-- LT000093 : 内部账号 -->
<c-col :span="12">
<c-form-item :label="$t('innp.LT000093')" prop="innp.iact">
<c-input v-model="model.innp.iact" maxlength="40" :placeholder="$t('other.please_enter')+$t('innp.LT000093')"></c-input>
</c-form-item>
</c-col>
<!-- LT000094 : 币种 -->
<c-col :span="12">
<el-form-item :label="$t('innp.LT000094')" prop="innp.cur">
<c-select v-model="model.innp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('innp.LT000094')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000095 : 开户机构代码 -->
<c-col :span="12">
<c-form-item label="开户机构" prop="innp.ptycod">
<c-input v-model="model.innp.ptycod" maxlength="20" :placeholder="$t('other.please_enter')+'开户机构'"></c-input>
</c-form-item>
</c-col>
<!-- LT000096 : 账户名称 -->
<c-col :span="12">
<el-form-item :label="$t('innp.LT000096')" prop="innp.knd">
<c-select v-model="model.innp.knd" style="width:100%" :placeholder="$t('other.please_enter')+$t('innp.LT000096')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000103 : 账户行BIC -->
<c-col :span="12">
<c-form-item :label="$t('innp.LT000103')" prop="ptpmod.pty.extkey">
<c-input v-model="model.ptpmod.pty.extkey" maxlength="24" :placeholder="$t('other.please_enter')+$t('innp.LT000103')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPtpmodSel">
{{$t('ptpmod.BT000071')}}
</c-button>
</c-col>
<!-- LT000101 : 开户机构地区 -->
<c-col :span="12">
<c-form-item :label="$t('innp.LT000101')" prop="innp.area">
<c-input v-model="model.innp.area" maxlength="12" :placeholder="$t('other.please_enter')+$t('innp.LT000101')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInnpSel">
{{$t('innp.BT000097')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInnpClr">
{{$t('innp.BT000098')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInnpAdd">
{{$t('innp.BT000009')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Dblinn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--innp PD000107 内部账号查询dblinn -->
<el-tab-pane :label="$t('innp.PD000107')" name="innp0">
<m-innp0 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblinn from "../model/Dblinn"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Dblinn/Check"
import Default from "../model/Dblinn/Default"
import Pattern from "../model/Dblinn/Pattern"
import Innp0 from "./Innp0"
export default {
name: "Dblinn",
components:{
"m-innp0" : Innp0,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dblinn",
trnType: "",
model: new Dblinn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblinn交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Dblkpm Check规则
*/
let checkObj = {
"kpmp.actbic" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dblkpm Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSel(){
let rtnmsg = await this.executeRule("sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onReset(){
let rtnmsg = await this.executeRule("reset")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onHtymodHty(){
let rtnmsg = await this.executeRule("htymod.hty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onKpmpLink(){
let rtnmsg = await this.executeRule("kpmp.link")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onKpmpRtn(){
let rtnmsg = await this.executeRule("kpmp.rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"kpmp.frmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"kpmp.todat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"kpmp.actbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"kpmp.frmamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"kpmp.toamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"kpmp.accdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"kpmp.accdatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"kpmp.frmvludat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"kpmp.tovludat":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dblkpm{
constructor () {
this.data = {
kpmp:{
frmdat:"", // : .kpmp.frmdat
todat:"", // : .kpmp.todat
actbic:"", // : .kpmp.actbic
cur:"", // : .kpmp.cur
frmamt:"", // : .kpmp.frmamt
toamt:"", // : .kpmp.toamt
sta:"", // : .kpmp.sta
accdat:"", // : .kpmp.accdat
accdatto:"", // : .kpmp.accdatto
frmvludat:"", // : .kpmp.frmvludat
tovludat:"", // : .kpmp.tovludat
},
kpmgrp:{
kpmlst:[], // .kpmgrp.kpmlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.kpmgrp.kpmlst"
style="width: 100%"
>
<el-table-column
prop="sta"
label="记账状态"
sortable
width="80">
<template slot-scope="scope">
<span>{{ this.codes.kpstyp.find(item=>item.value==scope.row.sta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="actbic"
label="账户行BIC码"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cdtact"
label="贷方账号"
sortable
width="120">
</el-table-column>
<el-table-column
prop="cdtcur"
label="贷方币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="cdtamt"
label="贷方金额"
sortable
width="160">
</el-table-column>
<el-table-column
prop="debact"
label="借方账号"
sortable
width="120">
</el-table-column>
<el-table-column
prop="debcur"
label="借方币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="debamt"
label="借方金额"
sortable
width="160">
</el-table-column>
<el-table-column
prop="crpdat"
label="创建日期"
sortable
width="90">
</el-table-column>
<el-table-column
prop="accdat"
label="记账日期"
sortable
width="90">
</el-table-column>
<el-table-column
prop="vludat"
label="起息日"
sortable
width="90">
</el-table-column>
<el-table-column
prop="adc"
label="附言"
sortable
width="160">
</el-table-column>
<el-table-column
prop="typ"
label="记账类型"
sortable
width="120">
<template slot-scope="scope">
<span>{{ this.codes.kpatyp.find(item=>item.value==scope.row.typ).label }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.kpmgrp_kpmlst.total">
</el-pagination>
</div>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('kpmp.LT000022')" prop="kpmp.frmdat">
<c-date-picker type="date" v-model="model.kpmp.frmdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('kpmp.LT000022')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000001 : 生成日期从 -->
<!-- LT000022 : : -->
<c-col :span="12">
<el-form-item :label="$t('kpmp.LT000023')" prop="kpmp.todat">
<c-date-picker type="date" v-model="model.kpmp.todat" style="width:100%" :placeholder="$t('other.please_enter')+$t('kpmp.LT000023')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000002 : 生成日期至 -->
<!-- LT000023 : : -->
<c-col :span="12">
<c-form-item :label="$t('kpmp.LT000024')" prop="kpmp.actbic">
<c-input v-model="model.kpmp.actbic" maxlength="11" :placeholder="$t('other.please_enter')+$t('kpmp.LT000024')"></c-input>
</c-form-item>
</c-col>
<!-- LT000003 : 账户行BIC -->
<!-- LT000024 : : -->
<c-col :span="12">
<el-form-item :label="$t('kpmp.LT000025')" prop="kpmp.cur">
<c-select v-model="model.kpmp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('kpmp.LT000025')">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000004 : 币种 -->
<!-- LT000025 : : -->
<c-col :span="12">
<c-form-item :label="$t('kpmp.LT000026')" prop="kpmp.frmamt">
<c-input v-model="model.kpmp.frmamt" :placeholder="$t('other.please_enter')+$t('kpmp.LT000026')"></c-input>
</c-form-item>
</c-col>
<!-- LT000005 : 金额下限 -->
<!-- LT000026 : : -->
<c-col :span="12">
<c-form-item :label="$t('kpmp.LT000027')" prop="kpmp.toamt">
<c-input v-model="model.kpmp.toamt" :placeholder="$t('other.please_enter')+$t('kpmp.LT000027')"></c-input>
</c-form-item>
</c-col>
<!-- LT000006 : 金额上限 -->
<!-- LT000027 : : -->
<c-col :span="12">
<el-form-item :label="$t('kpmp.LT000028')" prop="kpmp.sta">
<c-select v-model="model.kpmp.sta" style="width:100%" :placeholder="$t('other.please_enter')+$t('kpmp.LT000028')">
<el-option
v-for="item in codes.kpstyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000007 : 记账状态 -->
<!-- LT000028 : : -->
<c-col :span="12">
<el-form-item :label="$t('kpmp.LT000029')" prop="kpmp.accdat">
<c-date-picker type="date" v-model="model.kpmp.accdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('kpmp.LT000029')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000008 : 会计日期从 -->
<!-- LT000029 : : -->
<c-col :span="12">
<el-form-item :label="$t('kpmp.LT000030')" prop="kpmp.accdatto">
<c-date-picker type="date" v-model="model.kpmp.accdatto" style="width:100%" :placeholder="$t('other.please_enter')+$t('kpmp.LT000030')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000009 : 会计日期至 -->
<!-- LT000030 : : -->
<c-col :span="12">
<el-form-item :label="$t('kpmp.LT000031')" prop="kpmp.frmvludat">
<c-date-picker type="date" v-model="model.kpmp.frmvludat" style="width:100%" :placeholder="$t('other.please_enter')+$t('kpmp.LT000031')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000010 : 起息日从 -->
<!-- LT000031 : : -->
<c-col :span="12">
<el-form-item :label="$t('kpmp.LT000032')" prop="kpmp.tovludat">
<c-date-picker type="date" v-model="model.kpmp.tovludat" style="width:100%" :placeholder="$t('other.please_enter')+$t('kpmp.LT000032')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000011 : 起息日至 -->
<!-- LT000032 : : -->
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSel">
{{$t('mtabut.BT000022')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onReset">
{{$t('mtabut.BT000023')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onHtymodHty">
{{$t('htymod.BT000028')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onKpmpLink">
{{$t('kpmp.BT000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onKpmpRtn">
{{$t('kpmp.BT000058')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Dblkpm/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--kpmp PD000019 查询主界面 -->
<el-tab-pane :label="$t('kpmp.PD000019')" name="mainp">
<m-mainp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblkpm from "../model/Dblkpm"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Dblkpm/Check"
import Default from "../model/Dblkpm/Default"
import Pattern from "../model/Dblkpm/Pattern"
import Mainp from "./Mainp"
export default {
name: "Dblkpm",
components:{
"m-mainp" : Mainp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dblkpm",
trnType: "",
model: new Dblkpm().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
kpstyp:CodeTable.kpstyp,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblkpm交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
import Utils from "~/utils"
/**
* Dblkrf Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dblkrf Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment