Commit a45ca11d by fukai

Merge remote-tracking branch 'origin/develop' into develop

parents 2cd7a4f3 6ed652fc
......@@ -146,25 +146,25 @@
<!-- FD000005 : 起始日期 -->
<!-- LT000086 : : -->
<c-col :span="12">
<el-form-item :label="$t('sndp.LT000086')" prop="sndp.rcvdatsta">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('sndp.LT000086')"></c-date-picker>
<c-col :span="8">
<el-form-item label="起始日期" prop="sndp.rcvdatsta">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width:100%" placeholder="请输入起始日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- FD000006 : 截止日期 -->
<!-- LT000087 : : -->
<c-col :span="12">
<el-form-item :label="$t('sndp.LT000087')" prop="sndp.rcvdatend">
<c-date-picker type="date" v-model="model.sndp.rcvdatend" style="width:100%" :placeholder="$t('other.please_enter')+$t('sndp.LT000087')"></c-date-picker>
<c-col :span="8">
<el-form-item label="截止日期" prop="sndp.rcvdatend">
<c-date-picker type="date" v-model="model.sndp.rcvdatend" style="width:100%" placeholder="请输入截止日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- FD000007 : 报文标准 -->
<!-- LT000088 : : -->
<c-col :span="12">
<el-form-item :label="$t('sndp.LT000088')" prop="sndp.msgtyp">
<c-select v-model="model.sndp.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('sndp.LT000088')">
<c-col :span="8">
<el-form-item label="报文标准" prop="sndp.msgtyp">
<c-select v-model="model.sndp.msgtyp" style="width:100%" placeholder="请选择报文标准">
<el-option
v-for="item in codes.msgmst"
:key="item.value"
......@@ -177,100 +177,100 @@
<!-- FD000008 : 报文类型 -->
<!-- LT000089 : : -->
<c-col :span="12">
<el-form-item :label="$t('sndp.LT000089')" prop="sndp.subtyp">
<c-select v-model="model.sndp.subtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('sndp.LT000089')">
<c-col :span="8">
<el-form-item label="报文类型" prop="sndp.subtyp">
<c-select v-model="model.sndp.subtyp" style="width:100%" placeholder="请选择报文类型">
</c-select>
</el-form-item>
</c-col>
<!-- LT000274 : GPI标识 -->
<!-- LT000275 : : -->
<c-col :span="12">
<el-form-item :label="$t('sndp.LT000275')" prop="sndp.gpi">
<c-select v-model="model.sndp.gpi" style="width:100%" :placeholder="$t('other.please_enter')+$t('sndp.LT000275')">
<c-col :span="8">
<el-form-item label="GPI标识" prop="sndp.gpi">
<c-select v-model="model.sndp.gpi" style="width:100%" placeholder="请输入GPI标识">
</c-select>
</el-form-item>
</c-col>
<!-- FD000009 : 发报行BIC -->
<!-- LT000090 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000090')" prop="sndp.sndbak">
<c-input v-model="model.sndp.sndbak" maxlength="20" :placeholder="$t('other.please_enter')+$t('sndp.LT000090')"></c-input>
<c-col :span="8">
<c-form-item label="发报行BIC" prop="sndp.sndbak">
<c-input v-model="model.sndp.sndbak" maxlength="20" placeholder="请输入发报行BIC"></c-input>
</c-form-item>
</c-col>
<!-- FD000010 : 收报行BIC -->
<!-- LT000091 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000091')" prop="sndp.revbak">
<c-input v-model="model.sndp.revbak" maxlength="20" :placeholder="$t('other.please_enter')+$t('sndp.LT000091')"></c-input>
<c-col :span="8">
<c-form-item label="收报行BIC" prop="sndp.revbak">
<c-input v-model="model.sndp.revbak" maxlength="20" placeholder="请输入收报行BIC"></c-input>
</c-form-item>
</c-col>
<!-- LT000052 : 账户行BIC -->
<!-- LT000092 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000092')" prop="sndp.actbic">
<c-input v-model="model.sndp.actbic" maxlength="20" :placeholder="$t('other.please_enter')+$t('sndp.LT000092')"></c-input>
<c-col :span="8">
<c-form-item label="账户行BIC" prop="sndp.actbic">
<c-input v-model="model.sndp.actbic" maxlength="20" placeholder="请输入账户行BIC"></c-input>
</c-form-item>
</c-col>
<!-- FD000011 : 20域编号 -->
<!-- LT000093 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000093')" prop="sndp.ownref">
<c-input v-model="model.sndp.ownref" maxlength="40" :placeholder="$t('other.please_enter')+$t('sndp.LT000093')"></c-input>
<c-col :span="8">
<c-form-item label="20域编号" prop="sndp.ownref">
<c-input v-model="model.sndp.ownref" maxlength="40" placeholder="请输入20域编号"></c-input>
</c-form-item>
</c-col>
<!-- FD000012 : 21域编号 -->
<!-- LT000094 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000094')" prop="sndp.othref">
<c-input v-model="model.sndp.othref" maxlength="40" :placeholder="$t('other.please_enter')+$t('sndp.LT000094')"></c-input>
<c-col :span="8">
<c-form-item label="21域编号" prop="sndp.othref">
<c-input v-model="model.sndp.othref" maxlength="40" placeholder="请输入21域编号"></c-input>
</c-form-item>
</c-col>
<!-- LT000260 : UETR -->
<!-- LT000261 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000261')" prop="sndp.uetr">
<c-input v-model="model.sndp.uetr" maxlength="40" :placeholder="$t('other.please_enter')+$t('sndp.LT000261')"></c-input>
<c-col :span="8">
<c-form-item label="UETR" prop="sndp.uetr">
<c-input v-model="model.sndp.uetr" maxlength="40" placeholder="请输入UETR"></c-input>
</c-form-item>
</c-col>
<!-- FD000013 : 币种 -->
<!-- LT000095 : : -->
<c-col :span="12">
<el-form-item :label="$t('sndp.LT000095')" prop="sndp.cur">
<c-select v-model="model.sndp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('sndp.LT000095')">
<c-col :span="8">
<el-form-item label="币种" prop="sndp.cur">
<c-select v-model="model.sndp.cur" style="width:100%" placeholder="请选择币种">
</c-select>
</el-form-item>
</c-col>
<!-- FD000014 : 帐号 -->
<!-- LT000096 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000096')" prop="sndp.act">
<c-input v-model="model.sndp.act" maxlength="40" :placeholder="$t('other.please_enter')+$t('sndp.LT000096')"></c-input>
<c-col :span="8">
<c-form-item label="帐号" prop="sndp.act">
<c-input v-model="model.sndp.act" maxlength="40" placeholder="请输入账号"></c-input>
</c-form-item>
</c-col>
<!-- LT000296 : 信用证编号 -->
<!-- LT000297 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000296')" prop="sndp.lcnb">
<c-input v-model="model.sndp.lcnb" maxlength="35" :placeholder="$t('other.please_enter')+$t('sndp.LT000296')"></c-input>
<c-col :span="8">
<c-form-item label="信用证编号" prop="sndp.lcnb">
<c-input v-model="model.sndp.lcnb" maxlength="35" placeholder="请输入信用证编号"></c-input>
</c-form-item>
</c-col>
<!-- LT000248 : 费用明细 -->
<!-- LT000249 : : -->
<c-col :span="12">
<el-form-item :label="$t('sndp.LT000249')" prop="sndp.dtlchg">
<c-select v-model="model.sndp.dtlchg" style="width:100%" :placeholder="$t('other.please_enter')+$t('sndp.LT000249')">
<c-col :span="8">
<el-form-item label="费用明细" prop="sndp.dtlchg">
<c-select v-model="model.sndp.dtlchg" style="width:100%" placeholder="请输入费用明细">
<el-option
v-for="item in codes.dtlchg"
:key="item.value"
......@@ -283,31 +283,31 @@
<!-- FD000015 : 金额下限 -->
<!-- LT000097 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000097')" prop="sndp.amtmin">
<c-input v-model="model.sndp.amtmin" :placeholder="$t('other.please_enter')+$t('sndp.LT000097')"></c-input>
<c-col :span="8">
<c-form-item label="金额下限" prop="sndp.amtmin">
<c-input v-model="model.sndp.amtmin" placeholder="请输入金额下限"></c-input>
</c-form-item>
</c-col>
<!-- FD000016 : 金额上限 -->
<!-- LT000098 : : -->
<c-col :span="12">
<c-form-item :label="$t('sndp.LT000098')" prop="sndp.amtmax">
<c-input v-model="model.sndp.amtmax" :placeholder="$t('other.please_enter')+$t('sndp.LT000098')"></c-input>
<c-col :span="8">
<c-form-item label="金额上限" prop="sndp.amtmax">
<c-input v-model="model.sndp.amtmax" placeholder="请输入金额上限"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-col :span="8">
<span v-text="model.sndp.starsp" data-path=".sndp.starsp" > </span>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="8">
<span v-text="model.sndp.starsm" data-path=".sndp.starsm" > </span>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="8">
<el-form-item label="行内系统" prop="sndp.chnipt">
<c-select v-model="model.sndp.chnipt" style="width:100%" :placeholder="$t('other.please_enter')+'行内系统'">
<c-select v-model="model.sndp.chnipt" style="width:100%" placeholder="请选择行内系统">
<el-option
v-for="item in codes.chniptcod"
:key="item.value"
......@@ -318,9 +318,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="8">
<el-form-item label="处理状态" prop="sndp.sta">
<c-select v-model="model.sndp.sta" style="width:100%" :placeholder="$t('other.please_enter')+'处理状态'">
<c-select v-model="model.sndp.sta" style="width:100%" placeholder="请选择处理状态">
<el-option
v-for="item in codes.msgchksta"
:key="item.value"
......@@ -331,17 +331,17 @@
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="8">
<span v-text="model.sndp.tblrsp" data-path=".sndp.tblrsp" > </span>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="8">
<span v-text="model.sndp.tblrsm" data-path=".sndp.tblrsm" > </span>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="8">
<el-form-item label="回执状态" prop="sndp.rspsta">
<c-select v-model="model.sndp.rspsta" style="width:100%" :placeholder="$t('other.please_enter')+'回执状态'">
<c-select v-model="model.sndp.rspsta" style="width:100%" placeholder="请选择回执状态">
<el-option
v-for="item in codes.rspsta"
:key="item.value"
......@@ -352,34 +352,36 @@
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="8">
<c-form-item label="操作员" prop="sndp.usrnam">
<c-input v-model="model.sndp.usrnam" maxlength="26" :placeholder="$t('other.please_enter')+'操作员'"></c-input>
<c-input v-model="model.sndp.usrnam" maxlength="26" placeholder="请输入操作员"></c-input>
</c-form-item>
</c-col>
<!--查询-->
<c-col :span="12">
<c-button size="small" type="primary" @click="onSndpSchbtn">
{{$t('sndp.FD000017')}}
查询
</c-button>
</c-col>
<!--清空-->
<c-col :span="12">
<c-button size="small" type="primary" @click="onSndpClrbtn">
{{$t('sndp.FD000018')}}
清空
</c-button>
</c-col>
<!--新增-->
<c-col :span="12">
<c-button size="small" type="primary" @click="onSndpNewmsg">
{{$t('sndp.BT000206')}}
新增
</c-button>
</c-col>
<!--返回-->
<c-col :span="12">
<c-button size="small" type="primary" @click="onSndpRtn">
{{$t('sndp.BT000256')}}
返回
</c-button>
</c-col>
</div>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item :label="$t('msgp.LT000077')" prop="msgp.msgtyp">
<c-select v-model="model.msgp.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('msgp.LT000077')">
<c-select v-model="model.msgp.msgtyp" style="width:100%"
:placeholder="$t('other.please_enter')+$t('msgp.LT000077')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.msgp.isbnk">{{$t('msgp.FD000178')}}</c-checkbox>
<c-checkbox v-model="model.msgp.isbnk">{{ $t('msgp.FD000178') }}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('msgp.LT000078')" prop="msgp.rcvbnk.pty.extkey">
<c-input v-model="model.msgp.rcvbnk.pty.extkey" maxlength="24" :placeholder="$t('other.please_enter')+$t('msgp.LT000078')"></c-input>
<c-input v-model="model.msgp.rcvbnk.pty.extkey" maxlength="24"
:placeholder="$t('other.please_enter')+$t('msgp.LT000078')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onRcvbnkSel">
{{$t('msgp.BT000079')}}
{{ $t('msgp.BT000079') }}
</c-button>
</c-col>
</c-col>-->
<!-- LT000092 : 报文标准: -->
<c-col :span="12">
<el-form-item :label="$t('msgp.LT000092')" prop="msgp.typ">
<c-select v-model="model.msgp.typ" style="width:100%" :placeholder="$t('other.please_enter')+$t('msgp.LT000092')">
<el-form-item label="报文标准" prop="msgp.typ">
<c-select v-model="model.msgp.typ" style="width:100%"
placeholder="请选择报文标准(mt/iso/cips/fxps)">
</c-select>
</el-form-item>
</c-col>
<!-- LT000077 : 报文类型: -->
<!-- LT000078 : 收报行: -->
<!--
<c-col :span="12">
<span v-text="model.msgp.msginfo" data-path=".msgp.msginfo" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.msgp.msginfo" data-path=".msgp.msginfo"> </span>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMsgpNxtstp">
{{$t('msgp.BT000087')}}
{{ $t('msgp.BT000087') }}
</c-button>
</c-col>
-->
</div>
......@@ -55,15 +60,13 @@ import Event from "../model/Event"
export default {
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {}
},
methods:{...Event},
created:function(){
methods: {...Event},
created: function () {
}
}
......
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.oftp, this.buildPtspta);
return {
rec: {
objtyp: "PFT",
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
};
},
},
};
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
methods: {
async getOwnref() {
}
}
}
\ No newline at end of file
import Utils from "~/utils"
export default {
"oftp.rel.rsptims": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"oftp.rel.rsptime": [
{ type: "date", required: false, message: "输入正确的日期" }
],
/**
* Oftopn Check规则
*/
let checkObj = {
"oftp.rel.ref" :null,
"oftp.rel.relref" :null,
"oftp.rel.msgtyp" :null,
"oftp.rel.sedbak" :null,
"oftp.rel.revbak" :null,
"oftp.rel.actbic" :null,
"oftp.rel.sedbak": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.revbak": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.actbic": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.amtd": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.amtu": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.relref": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
}
\ No newline at end of file
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Oftopn 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 onRelSer(){
let rtnmsg = await this.executeRule("rel.ser")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRelRes(){
let rtnmsg = await this.executeRule("rel.res")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"oftp.rel.rsptims":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.rel.rsptime":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.rel.sedbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.revbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.actbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.amtu":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.relref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
export default class Oftopn{
constructor () {
export default class Oftopn {
constructor() {
this.data = {
oftp:{
rel:{
ref:"", // : .oftp.rel.ref
relref:"", // : .oftp.rel.relref
dcflg:"", // : .oftp.rel.dcflg
amtu:"", // : .oftp.rel.amtu
amtd:"", // : .oftp.rel.amtd
mty:"", // : .oftp.rel.mty
rsptims:"", // : .oftp.rel.rsptims
rsptime:"", // : .oftp.rel.rsptime
sedbak:"", // : .oftp.rel.sedbak
revbak:"", // : .oftp.rel.revbak
actbic:"", // : .oftp.rel.actbic
cur:"", // : .oftp.rel.cur
msgtyp:"", // : .oftp.rel.msgtyp
oftp: {
rel: {
ref: "", // : .oftp.rel.ref
relref: "", // : .oftp.rel.relref
dcflg: "", // : .oftp.rel.dcflg
amtu: "", // : .oftp.rel.amtu
amtd: "", // : .oftp.rel.amtd
mty: "", // : .oftp.rel.mty
rsptims: "", // : .oftp.rel.rsptims
rsptime: "", // : .oftp.rel.rsptime
sedbak: "", // : .oftp.rel.sedbak
revbak: "", // : .oftp.rel.revbak
actbic: "", // : .oftp.rel.actbic
cur: "", // : .oftp.rel.cur
msgtyp: "", // : .oftp.rel.msgtyp
},
stm2:"", // 导出 .oftp.stm2
stm2: "", // 导出 .oftp.stm2
},
oftgrp:{
dotrel:{
lst:[], // .oftgrp.dotrel.lst
oftgrp: {
dotrel: {
lst: [], // .oftgrp.dotrel.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.oftgrp.dotrel.lst"
style="width: 100%"
>
<el-table-column
prop="mty"
label="报文种类"
sortable
width="80">
<el-table :data="model.oftgrp.dotrel.lst" style="width: 100%">
<el-table-column prop="mty" label="报文种类" sortable width="120">
</el-table-column>
<el-table-column
prop="rsptim"
label="收发时间"
sortable
width="100">
<el-table-column prop="rsptim" label="收发时间" sortable width="120">
</el-table-column>
<el-table-column
prop="sweflg"
label="G渠道"
sortable
width="60">
<el-table-column prop="sweflg" label="G渠道" sortable width="120">
</el-table-column>
<el-table-column
prop="typ"
label="记账类型"
sortable
width="100">
<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>
<span>{{ this.codes.kpatyp.find(item => item.value == scope.row.typ).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="dcflg"
label="收支"
sortable
width="40">
<el-table-column prop="dcflg" label="收支" sortable width="120">
<template slot-scope="scope">
<span>{{ this.codes.dcflg.find(item=>item.value==scope.row.dcflg).label }}</span>
<span>{{ this.codes.dcflg.find(item => item.value == scope.row.dcflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="140">
<el-table-column prop="amt" label="金额" sortable width="140">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="50">
<el-table-column prop="cur" label="币种" sortable width="120">
</el-table-column>
<el-table-column
prop="sta"
label="关联状态"
sortable
width="100">
<el-table-column prop="sta" label="关联状态" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.sta.find(item=>item.value==scope.row.sta).label }}</span>
<span>{{ this.codes.sta.find(item => item.value == scope.row.sta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="area"
label="处理状态"
sortable
width="100">
<el-table-column prop="area" label="处理状态" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.allmsgcod.find(item=>item.value==scope.row.area).label }}</span>
<span>{{ this.codes.allmsgcod.find(item => item.value == scope.row.area).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="valdat"
label="起息日"
sortable
width="90">
<el-table-column prop="valdat" label="起息日" sortable width="150">
</el-table-column>
<el-table-column
prop="ownref"
label="20域编号"
sortable
width="125">
<el-table-column prop="ownref" label="20域编号" sortable width="125">
</el-table-column>
<el-table-column
prop="othref"
label="21域编号"
sortable
width="125">
<el-table-column prop="othref" label="21域编号" sortable width="125">
</el-table-column>
<el-table-column
prop="multimsg"
label="目标渠道"
sortable
width="100">
<el-table-column prop="multimsg" label="目标渠道" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.chncod.find(item=>item.value==scope.row.multimsg).label }}</span>
<span>{{ this.codes.chncod.find(item => item.value == scope.row.multimsg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="chk"
label="源渠道"
sortable
width="100">
<el-table-column prop="chk" label="源渠道" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.chncod.find(item=>item.value==scope.row.chk).label }}</span>
<span>{{ this.codes.chncod.find(item => item.value == scope.row.chk).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="kpatyp"
label="下一渠道"
sortable
width="100">
<el-table-column prop="kpatyp" label="下一渠道" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.chncod.find(item=>item.value==scope.row.kpatyp).label }}</span>
<span>{{ this.codes.chncod.find(item => item.value == scope.row.kpatyp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="sedbak"
label="发报行BIC"
sortable
width="100">
<el-table-column prop="sedbak" label="发报行BIC" sortable width="100">
</el-table-column>
<el-table-column
prop="revbak"
label="收报行BIC"
sortable
width="100">
<el-table-column prop="revbak" label="收报行BIC" sortable width="100">
</el-table-column>
<el-table-column
prop="actbic"
label="账户行BIC"
sortable
width="100">
<el-table-column prop="actbic" label="账户行BIC" sortable width="100">
</el-table-column>
<el-table-column
prop="offsta"
label="勾销标识"
sortable
width="80">
<el-table-column prop="offsta" label="勾销标识" sortable width="120">
<template slot-scope="scope">
<span>{{ this.codes.offsta.find(item=>item.value==scope.row.offsta).label }}</span>
<span>{{ this.codes.offsta.find(item => item.value == scope.row.offsta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="lstdat"
label="最后处理时间"
sortable
width="200">
<el-table-column prop="lstdat" label="最后处理时间" sortable width="200">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="1">
<el-pagination layout="prev, pager, next" :total="1">
</el-pagination>
</div>
</c-col>
<!-- LT000121 : 起始日期 -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000226')" prop="oftp.rel.rsptims">
<c-date-picker type="date" v-model="model.oftp.rel.rsptims" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000226')"></c-date-picker>
<el-form-item :label="$t('dotrep.起始日期')" prop="oftp.rel.rsptims">
<c-date-picker type="date" v-model="model.oftp.rel.rsptims" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000226 : : -->
......@@ -170,24 +84,24 @@
<!-- LT000231 : : -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000231')" prop="oftp.rel.rsptime">
<c-date-picker type="date" v-model="model.oftp.rel.rsptime" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000231')"></c-date-picker>
<el-form-item :label="$t('dotrep.截止日期')" prop="oftp.rel.rsptime">
<c-date-picker type="date" v-model="model.oftp.rel.rsptime" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000225 : 报文标准 -->
<!-- LT000232 : : -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000232')" prop="oftp.rel.msgtyp">
<c-select v-model="model.oftp.rel.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000232')">
<el-form-item :label="$t('dotrep.报文标准')" prop="oftp.rel.msgtyp">
<c-select v-model="model.oftp.rel.msgtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- LT000120 : 报文类型 -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000233')" prop="oftp.rel.mty">
<c-select v-model="model.oftp.rel.mty" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000233')">
<el-form-item :label="$t('dotrep.报文类型')" prop="oftp.rel.mty">
<c-select v-model="model.oftp.rel.mty" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -195,8 +109,8 @@
<!-- LT000124 : 发报行BIC -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000234')" prop="oftp.rel.sedbak">
<c-input v-model="model.oftp.rel.sedbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('dotrep.LT000234')"></c-input>
<c-form-item :label="$t('dotrep.发报行BIC')" prop="oftp.rel.sedbak">
<c-input v-model="model.oftp.rel.sedbak" maxlength="11"></c-input>
</c-form-item>
</c-col>
<!-- LT000234 : : -->
......@@ -204,28 +118,24 @@
<!-- LT000235 : : -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000235')" prop="oftp.rel.revbak">
<c-input v-model="model.oftp.rel.revbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('dotrep.LT000235')"></c-input>
<c-form-item :label="$t('dotrep.收报行BIC')" prop="oftp.rel.revbak">
<c-input v-model="model.oftp.rel.revbak" maxlength="11"></c-input>
</c-form-item>
</c-col>
<!-- LT000125 : 账户行BIC -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000227')" prop="oftp.rel.actbic">
<c-input v-model="model.oftp.rel.actbic" maxlength="11" :placeholder="$t('other.please_enter')+$t('dotrep.LT000227')"></c-input>
<c-form-item :label="$t('dotrep.账户行BIC')" prop="oftp.rel.actbic">
<c-input v-model="model.oftp.rel.actbic" maxlength="11"></c-input>
</c-form-item>
</c-col>
<!-- LT000227 : : -->
<!-- LT000044 : 借 贷 -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000228')" prop="oftp.rel.dcflg">
<c-select v-model="model.oftp.rel.dcflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000228')">
<el-option
v-for="item in codes.dcflg"
:key="item.value"
:label="item.label"
:value="item.value">
<el-form-item :label="$t('dotrep.借贷')" prop="oftp.rel.dcflg">
<c-select v-model="model.oftp.rel.dcflg" style="width:100%">
<el-option v-for="item in codes.dcflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
......@@ -235,32 +145,32 @@
<!-- LT000229 : : -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000229')" prop="oftp.rel.cur">
<c-select v-model="model.oftp.rel.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000229')">
<el-form-item :label="$t('dotrep.币种')" prop="oftp.rel.cur">
<c-select v-model="model.oftp.rel.cur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- LT000056 : 金额下限 -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000230')" prop="oftp.rel.amtd">
<c-input v-model="model.oftp.rel.amtd" :placeholder="$t('other.please_enter')+$t('dotrep.LT000230')"></c-input>
<c-form-item :label="$t('dotrep.金额下限')" prop="oftp.rel.amtd">
<c-input v-model="model.oftp.rel.amtd"></c-input>
</c-form-item>
</c-col>
<!-- LT000230 : : -->
<!-- LT000055 : 金额上限 -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000236')" prop="oftp.rel.amtu">
<c-input v-model="model.oftp.rel.amtu" :placeholder="$t('other.please_enter')+$t('dotrep.LT000236')"></c-input>
<c-form-item :label="$t('dotrep.金额上限')" prop="oftp.rel.amtu">
<c-input v-model="model.oftp.rel.amtu"></c-input>
</c-form-item>
</c-col>
<!-- LT000236 : : -->
<!-- LT000007 : 20域编号 -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000237')" prop="oftp.rel.ref">
<c-input v-model="model.oftp.rel.ref" maxlength="20" :placeholder="$t('other.please_enter')+$t('dotrep.LT000237')"></c-input>
<c-form-item :label="$t('dotrep.20域编号')" prop="oftp.rel.ref">
<c-input v-model="model.oftp.rel.ref" maxlength="20"></c-input>
</c-form-item>
</c-col>
<!-- LT000237 : : -->
......@@ -268,46 +178,29 @@
<!-- LT000238 : : -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000238')" prop="oftp.rel.relref">
<c-input v-model="model.oftp.rel.relref" maxlength="20" :placeholder="$t('other.please_enter')+$t('dotrep.LT000238')"></c-input>
<c-form-item :label="$t('dotrep.21域编号')" prop="oftp.rel.relref">
<c-input v-model="model.oftp.rel.relref" maxlength="20"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRelSer">
{{$t('dotrep.BT000034')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRelRes">
{{$t('dotrep.BT000076')}}
</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/Event"
import Event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
props: ["model", "codes"],
mixins: [],
data() {
return {
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<style></style>
<template>
<div class="eContainer">
<c-page title="待关联报文处理">
<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">
<!--oftp PD000700 人工关联页面oftopn -->
<el-tab-pane :label="$t('oftp.PD000700')" name="oftp13">
<m-oftp13 :model="model" :codes="codes"/>
<el-tab-pane :label="$t('oftp.人工关联页面')" name="oftp13">
<m-oftp13 :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Oftopn from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Check from "../model/check"
import Oftp13 from "./Oftp13"
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
export default {
name: "Oftopn",
components:{
"m-oftp13" : Oftp13,
components: {
"m-oftp13": Oftp13,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "oftp13",
trnName: "oftopn",
trnType: "",
model: new Oftopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
rules: Check,
codes: {
kpatyp:CodeTable.kpatyp,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
gpicod:CodeTable.gpicod,
offtyp:CodeTable.offtyp,
fmssta:CodeTable.fmssta,
clrsys:CodeTable.clrsys,
stacod:CodeTable.stacod,
dottyp:CodeTable.dottyp,
recsta:CodeTable.recsta,
bnksta:CodeTable.bnksta,
gpista:CodeTable.gpista,
kpadir:CodeTable.kpadir,
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
rspsta:CodeTable.rspsta,
sta:CodeTable.sta,
actsta:CodeTable.actsta,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
dircod:CodeTable.dircod,
kpstyp:CodeTable.kpstyp,
allmsgcod:CodeTable.allmsgcod,
dcflg:CodeTable.dcflg,
msgtyp:CodeTable.msgtyp,
chncod:CodeTable.chncod,
msgsta:CodeTable.msgsta,
usratr:CodeTable.usratr,
msgchksta:CodeTable.msgchksta,
setmth:CodeTable.setmth,
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
kpatyp: CodeTable.kpatyp,
cur: CodeTable.cur,
sdcflg: CodeTable.sdcflg,
gpicod: CodeTable.gpicod,
offtyp: CodeTable.offtyp,
fmssta: CodeTable.fmssta,
clrsys: CodeTable.clrsys,
stacod: CodeTable.stacod,
dottyp: CodeTable.dottyp,
recsta: CodeTable.recsta,
bnksta: CodeTable.bnksta,
gpista: CodeTable.gpista,
kpadir: CodeTable.kpadir,
area: CodeTable.area,
cpsfxdtyp: CodeTable.cpsfxdtyp,
rspsta: CodeTable.rspsta,
sta: CodeTable.sta,
actsta: CodeTable.actsta,
offsta: CodeTable.offsta,
batcharge: CodeTable.batcharge,
msgmst: CodeTable.msgmst,
yosflg: CodeTable.yosflg,
filtyp: CodeTable.filtyp,
dircod: CodeTable.dircod,
kpstyp: CodeTable.kpstyp,
allmsgcod: CodeTable.allmsgcod,
dcflg: CodeTable.dcflg,
msgtyp: CodeTable.msgtyp,
chncod: CodeTable.chncod,
msgsta: CodeTable.msgsta,
usratr: CodeTable.usratr,
msgchksta: CodeTable.msgchksta,
setmth: CodeTable.setmth,
chniptcod: CodeTable.chniptcod,
dtlchg: CodeTable.dtlchg,
},
}
},
methods:{
myTabClick(tab){
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
created: async function () {
console.log("进入oftopn交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
}
</script>
<style>
</style>
<style></style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.oftp, this.buildPtspta);
return {
rec: {
objtyp: "PFT",
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
};
},
},
};
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
methods: {
async getOwnref() {
}
}
}
\ No newline at end of file
import Utils from "~/utils"
export default {
/**
* Oftsel Check规则
*/
let checkObj = {
"oftp.rel.ref" :null,
"oftp.rel.relref" :null,
"oftp.rel.msgtyp" :null,
"oftp.rel.sedbak" :null,
"oftp.rel.revbak" :null,
"oftp.rel.actbic" :null,
}
"oftp.rel.rsptims": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"oftp.rel.rsptime": [
{ type: "date", required: false, message: "输入正确的日期" }
],
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"oftp.rel.sedbak": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.revbak": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.actbic": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.amtd": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.amtu": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.relref": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
}
\ No newline at end of file
/**
* Oftsel 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 onRelSer(){
let rtnmsg = await this.executeRule("rel.ser")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRelRes(){
let rtnmsg = await this.executeRule("rel.res")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"oftp.rel.rsptims":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.rel.rsptime":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.rel.sedbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.revbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.actbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.amtu":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.relref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
export default class Oftsel{
constructor () {
export default class Oftsel {
constructor() {
this.data = {
oftp:{
stm2:"", // 导出 .oftp.stm2
rel:{
ref:"", // : .oftp.rel.ref
relref:"", // : .oftp.rel.relref
dcflg:"", // : .oftp.rel.dcflg
amtu:"", // : .oftp.rel.amtu
amtd:"", // : .oftp.rel.amtd
mty:"", // : .oftp.rel.mty
rsptims:"", // : .oftp.rel.rsptims
rsptime:"", // : .oftp.rel.rsptime
sedbak:"", // : .oftp.rel.sedbak
revbak:"", // : .oftp.rel.revbak
actbic:"", // : .oftp.rel.actbic
cur:"", // : .oftp.rel.cur
msgtyp:"", // : .oftp.rel.msgtyp
oftp: {
stm2: "", // 导出 .oftp.stm2
rel: {
ref: "", // : .oftp.rel.ref
relref: "", // : .oftp.rel.relref
dcflg: "", // : .oftp.rel.dcflg
amtu: "", // : .oftp.rel.amtu
amtd: "", // : .oftp.rel.amtd
mty: "", // : .oftp.rel.mty
rsptims: "", // : .oftp.rel.rsptims
rsptime: "", // : .oftp.rel.rsptime
sedbak: "", // : .oftp.rel.sedbak
revbak: "", // : .oftp.rel.revbak
actbic: "", // : .oftp.rel.actbic
cur: "", // : .oftp.rel.cur
msgtyp: "", // : .oftp.rel.msgtyp
},
},
oftgrp:{
dotrel:{
lst:[], // .oftgrp.dotrel.lst
oftgrp: {
dotrel: {
lst: [], // .oftgrp.dotrel.lst
},
},
pageId: "" // ctx的key
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.oftgrp.dotrel.lst"
style="width: 100%"
>
<el-table-column
prop="mty"
label="报文种类"
sortable
width="80">
<el-table :data="model.oftgrp.dotrel.lst" style="width: 100%">
<el-table-column prop="mty" label="报文种类" sortable width="120">
</el-table-column>
<el-table-column
prop="rsptim"
label="收发时间"
sortable
width="100">
<el-table-column prop="rsptim" label="收发时间" sortable width="120">
</el-table-column>
<el-table-column
prop="sweflg"
label="G渠道"
sortable
width="60">
<el-table-column prop="sweflg" label="G渠道" sortable width="120">
</el-table-column>
<el-table-column
prop="typ"
label="记账类型"
sortable
width="100">
<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>
<span>{{ this.codes.kpatyp.find(item => item.value == scope.row.typ).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="dcflg"
label="收支"
sortable
width="40">
<el-table-column prop="dcflg" label="收支" sortable width="120">
<template slot-scope="scope">
<span>{{ this.codes.dcflg.find(item=>item.value==scope.row.dcflg).label }}</span>
<span>{{ this.codes.dcflg.find(item => item.value == scope.row.dcflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="140">
<el-table-column prop="amt" label="金额" sortable width="140">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="50">
<el-table-column prop="cur" label="币种" sortable width="100">
</el-table-column>
<el-table-column
prop="sta"
label="关联状态"
sortable
width="100">
<el-table-column prop="sta" label="关联状态" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.sta.find(item=>item.value==scope.row.sta).label }}</span>
<span>{{ this.codes.sta.find(item => item.value == scope.row.sta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="area"
label="处理状态"
sortable
width="100">
<el-table-column prop="area" label="处理状态" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.allmsgcod.find(item=>item.value==scope.row.area).label }}</span>
<span>{{ this.codes.allmsgcod.find(item => item.value == scope.row.area).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="valdat"
label="起息日"
sortable
width="90">
<el-table-column prop="valdat" label="起息日" sortable width="150">
</el-table-column>
<el-table-column
prop="ownref"
label="20域编号"
sortable
width="125">
<el-table-column prop="ownref" label="20域编号" sortable width="125">
</el-table-column>
<el-table-column
prop="othref"
label="21域编号"
sortable
width="125">
<el-table-column prop="othref" label="21域编号" sortable width="125">
</el-table-column>
<el-table-column
prop="multimsg"
label="目标渠道"
sortable
width="100">
<el-table-column prop="multimsg" label="目标渠道" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.chncod.find(item=>item.value==scope.row.multimsg).label }}</span>
<span>{{ this.codes.chncod.find(item => item.value == scope.row.multimsg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="chk"
label="源渠道"
sortable
width="100">
<el-table-column prop="chk" label="源渠道" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.chncod.find(item=>item.value==scope.row.chk).label }}</span>
<span>{{ this.codes.chncod.find(item => item.value == scope.row.chk).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="kpatyp"
label="下一渠道"
sortable
width="100">
<el-table-column prop="kpatyp" label="下一渠道" sortable width="100">
<template slot-scope="scope">
<span>{{ this.codes.chncod.find(item=>item.value==scope.row.kpatyp).label }}</span>
<span>{{ this.codes.chncod.find(item => item.value == scope.row.kpatyp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="sedbak"
label="发报行BIC"
sortable
width="100">
<el-table-column prop="sedbak" label="发报行BIC" sortable width="100">
</el-table-column>
<el-table-column
prop="revbak"
label="收报行BIC"
sortable
width="100">
<el-table-column prop="revbak" label="收报行BIC" sortable width="100">
</el-table-column>
<el-table-column
prop="actbic"
label="账户行BIC"
sortable
width="100">
<el-table-column prop="actbic" label="账户行BIC" sortable width="100">
</el-table-column>
<el-table-column
prop="offsta"
label="勾销标识"
sortable
width="80">
<el-table-column prop="offsta" label="勾销标识" sortable width="80">
<template slot-scope="scope">
<span>{{ this.codes.offsta.find(item=>item.value==scope.row.offsta).label }}</span>
<span>{{ this.codes.offsta.find(item => item.value == scope.row.offsta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="lstdat"
label="最后处理时间"
sortable
width="200">
<el-table-column prop="lstdat" label="最后处理时间" sortable width="200">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="1">
<el-pagination layout="prev, pager, next" :total="1">
</el-pagination>
</div>
</c-col>
<!-- LT000121 : 起始日期 -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000226')" prop="oftp.rel.rsptims">
<c-date-picker type="date" v-model="model.oftp.rel.rsptims" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000226')"></c-date-picker>
<el-form-item :label="$t('dotrep.起始日期')" prop="oftp.rel.rsptims">
<c-date-picker type="date" v-model="model.oftp.rel.rsptims" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000226 : : -->
......@@ -170,24 +84,24 @@
<!-- LT000231 : : -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000231')" prop="oftp.rel.rsptime">
<c-date-picker type="date" v-model="model.oftp.rel.rsptime" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000231')"></c-date-picker>
<el-form-item :label="$t('dotrep.截止日期')" prop="oftp.rel.rsptime">
<c-date-picker type="date" v-model="model.oftp.rel.rsptime" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000225 : 报文标准 -->
<!-- LT000232 : : -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000232')" prop="oftp.rel.msgtyp">
<c-select v-model="model.oftp.rel.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000232')">
<el-form-item :label="$t('dotrep.报文标准')" prop="oftp.rel.msgtyp">
<c-select v-model="model.oftp.rel.msgtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- LT000120 : 报文类型 -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000233')" prop="oftp.rel.mty">
<c-select v-model="model.oftp.rel.mty" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000233')">
<el-form-item :label="$t('dotrep.报文类型')" prop="oftp.rel.mty">
<c-select v-model="model.oftp.rel.mty" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -195,8 +109,8 @@
<!-- LT000124 : 发报行BIC -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000234')" prop="oftp.rel.sedbak">
<c-input v-model="model.oftp.rel.sedbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('dotrep.LT000234')"></c-input>
<c-form-item :label="$t('dotrep.发报行BIC')" prop="oftp.rel.sedbak">
<c-input v-model="model.oftp.rel.sedbak" maxlength="11"></c-input>
</c-form-item>
</c-col>
<!-- LT000234 : : -->
......@@ -204,28 +118,24 @@
<!-- LT000235 : : -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000235')" prop="oftp.rel.revbak">
<c-input v-model="model.oftp.rel.revbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('dotrep.LT000235')"></c-input>
<c-form-item :label="$t('dotrep.收报行BIC')" prop="oftp.rel.revbak">
<c-input v-model="model.oftp.rel.revbak" maxlength="11"></c-input>
</c-form-item>
</c-col>
<!-- LT000125 : 账户行BIC -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000227')" prop="oftp.rel.actbic">
<c-input v-model="model.oftp.rel.actbic" maxlength="11" :placeholder="$t('other.please_enter')+$t('dotrep.LT000227')"></c-input>
<c-form-item :label="$t('dotrep.账户行BIC')" prop="oftp.rel.actbic">
<c-input v-model="model.oftp.rel.actbic" maxlength="11"></c-input>
</c-form-item>
</c-col>
<!-- LT000227 : : -->
<!-- LT000044 : 借 贷 -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000228')" prop="oftp.rel.dcflg">
<c-select v-model="model.oftp.rel.dcflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000228')">
<el-option
v-for="item in codes.dcflg"
:key="item.value"
:label="item.label"
:value="item.value">
<el-form-item :label="$t('dotrep.借贷')" prop="oftp.rel.dcflg">
<c-select v-model="model.oftp.rel.dcflg" style="width:100%">
<el-option v-for="item in codes.dcflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
......@@ -235,32 +145,32 @@
<!-- LT000229 : : -->
<c-col :span="12">
<el-form-item :label="$t('dotrep.LT000229')" prop="oftp.rel.cur">
<c-select v-model="model.oftp.rel.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotrep.LT000229')">
<el-form-item :label="$t('dotrep.币种')" prop="oftp.rel.cur">
<c-select v-model="model.oftp.rel.cur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- LT000056 : 金额下限 -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000230')" prop="oftp.rel.amtd">
<c-input v-model="model.oftp.rel.amtd" :placeholder="$t('other.please_enter')+$t('dotrep.LT000230')"></c-input>
<c-form-item :label="$t('dotrep.金额下限')" prop="oftp.rel.amtd">
<c-input v-model="model.oftp.rel.amtd"></c-input>
</c-form-item>
</c-col>
<!-- LT000230 : : -->
<!-- LT000055 : 金额上限 -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000236')" prop="oftp.rel.amtu">
<c-input v-model="model.oftp.rel.amtu" :placeholder="$t('other.please_enter')+$t('dotrep.LT000236')"></c-input>
<c-form-item :label="$t('dotrep.金额上限')" prop="oftp.rel.amtu">
<c-input v-model="model.oftp.rel.amtu"></c-input>
</c-form-item>
</c-col>
<!-- LT000236 : : -->
<!-- LT000007 : 20域编号 -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000237')" prop="oftp.rel.ref">
<c-input v-model="model.oftp.rel.ref" maxlength="20" :placeholder="$t('other.please_enter')+$t('dotrep.LT000237')"></c-input>
<c-form-item :label="$t('dotrep.20域编号')" prop="oftp.rel.ref">
<c-input v-model="model.oftp.rel.ref" maxlength="20"></c-input>
</c-form-item>
</c-col>
<!-- LT000237 : : -->
......@@ -268,46 +178,29 @@
<!-- LT000238 : : -->
<c-col :span="12">
<c-form-item :label="$t('dotrep.LT000238')" prop="oftp.rel.relref">
<c-input v-model="model.oftp.rel.relref" maxlength="20" :placeholder="$t('other.please_enter')+$t('dotrep.LT000238')"></c-input>
<c-form-item :label="$t('dotrep.21域编号')" prop="oftp.rel.relref">
<c-input v-model="model.oftp.rel.relref" maxlength="20"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRelSer">
{{$t('dotrep.BT000034')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRelRes">
{{$t('dotrep.BT000076')}}
</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/Event"
import Event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
props: ["model", "codes"],
mixins: [],
data() {
return {
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<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-page title="已关联报文查询">
<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">
<!--oftp PD001804 已关联报文查询面板 -->
<el-tab-pane :label="$t('oftp.PD001804')" name="oftp01">
<m-oftp01 :model="model" :codes="codes"/>
<el-tab-pane :label="$t('oftp.已关联报文查询面板')" name="oftp01">
<m-oftp01 :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Oftsel from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Check from "../model/check"
import Oftp01 from "./Oftp01"
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
export default {
name: "Oftsel",
components:{
"m-oftp01" : Oftp01,
components: {
"m-oftp01": Oftp01,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "oftp01",
trnName: "oftsel",
trnType: "",
model: new Oftsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
rules: Check,
codes: {
kpatyp:CodeTable.kpatyp,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
gpicod:CodeTable.gpicod,
offtyp:CodeTable.offtyp,
fmssta:CodeTable.fmssta,
clrsys:CodeTable.clrsys,
stacod:CodeTable.stacod,
dottyp:CodeTable.dottyp,
recsta:CodeTable.recsta,
bnksta:CodeTable.bnksta,
gpista:CodeTable.gpista,
kpadir:CodeTable.kpadir,
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
rspsta:CodeTable.rspsta,
sta:CodeTable.sta,
actsta:CodeTable.actsta,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
dircod:CodeTable.dircod,
kpstyp:CodeTable.kpstyp,
allmsgcod:CodeTable.allmsgcod,
dcflg:CodeTable.dcflg,
msgtyp:CodeTable.msgtyp,
chncod:CodeTable.chncod,
msgsta:CodeTable.msgsta,
usratr:CodeTable.usratr,
msgchksta:CodeTable.msgchksta,
setmth:CodeTable.setmth,
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
kpatyp: CodeTable.kpatyp,
cur: CodeTable.cur,
sdcflg: CodeTable.sdcflg,
gpicod: CodeTable.gpicod,
offtyp: CodeTable.offtyp,
fmssta: CodeTable.fmssta,
clrsys: CodeTable.clrsys,
stacod: CodeTable.stacod,
dottyp: CodeTable.dottyp,
recsta: CodeTable.recsta,
bnksta: CodeTable.bnksta,
gpista: CodeTable.gpista,
kpadir: CodeTable.kpadir,
area: CodeTable.area,
cpsfxdtyp: CodeTable.cpsfxdtyp,
rspsta: CodeTable.rspsta,
sta: CodeTable.sta,
actsta: CodeTable.actsta,
offsta: CodeTable.offsta,
batcharge: CodeTable.batcharge,
msgmst: CodeTable.msgmst,
yosflg: CodeTable.yosflg,
filtyp: CodeTable.filtyp,
dircod: CodeTable.dircod,
kpstyp: CodeTable.kpstyp,
allmsgcod: CodeTable.allmsgcod,
dcflg: CodeTable.dcflg,
msgtyp: CodeTable.msgtyp,
chncod: CodeTable.chncod,
msgsta: CodeTable.msgsta,
usratr: CodeTable.usratr,
msgchksta: CodeTable.msgchksta,
setmth: CodeTable.setmth,
chniptcod: CodeTable.chniptcod,
dtlchg: CodeTable.dtlchg,
},
}
},
methods:{
myTabClick(tab){
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
created: async function () {
console.log("进入oftsel交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
}
</script>
<style>
</style>
<style></style>
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot" >
<el-row>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.qrtp.wtdlst"
style="width: 100%"
>
<el-table-column
prop="seddat"
label="收发日期"
sortable
width="90">
</el-table-column>
<el-table-column
prop="drfnum"
label="汇票号码"
sortable
width="150">
</el-table-column>
<el-table-column
prop="casnum"
label="CASE编号"
sortable
width="130">
</el-table-column>
<el-table-column
prop="sweflg"
label="G渠道"
sortable
width="60">
</el-table-column>
<el-table-column
prop="sevref"
label="报文20域"
sortable
width="125">
</el-table-column>
<el-table-column
prop="relref"
label="报文21域"
sortable
width="125">
</el-table-column>
<el-table-column
prop="uetr"
label="UETR"
sortable
width="270">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="50">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="vludat"
label="起息日"
sortable
width="90">
</el-table-column>
<el-table-column
prop="sedbak"
label="发报行"
sortable
width="100">
</el-table-column>
<el-table-column
prop="revbak"
label="收报行"
sortable
width="100">
</el-table-column>
<el-table-column
prop="megrevdrt"
label="方向"
sortable
width="50">
<template slot-scope="scope">
<span>{{ this.codes.msgdrt.find(item=>item.value==scope.row.megrevdrt).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="typ"
label="类型"
sortable
width="50">
</el-table-column>
<el-table-column
prop="sta"
label="状态"
sortable
width="80">
<template slot-scope="scope">
<span>{{ this.codes.mgssta.find(item=>item.value==scope.row.sta).label }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="1">
</el-pagination>
</div>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT001269')" prop="qrtp.ljschk">
<c-select v-model="model.qrtp.ljschk" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT001269')">
<c-col :span="8">
<el-form-item label="记录类型" prop="qrtp.ljschk">
<c-select v-model="model.qrtp.ljschk" style="width:100%" placeholder="请输入记录类型">
<el-option
v-for="item in codes.ljschk"
:key="item.value"
......@@ -123,12 +18,10 @@
</c-select>
</el-form-item>
</c-col>
<!-- LT001269 : 记录类型 -->
<!-- LT000305 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000081')" prop="qrtp.msgrag">
<c-select v-model="model.qrtp.msgrag" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000081')">
<c-col :span="8">
<el-form-item label="记录范围" prop="qrtp.msgrag">
<c-select v-model="model.qrtp.msgrag" style="width:100%" placeholder="">
<el-option
v-for="item in codes.msgrng"
:key="item.value"
......@@ -138,12 +31,11 @@
</c-select>
</el-form-item>
</c-col>
<!-- LT000081 : 记录范围 -->
<!-- LT000305 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000082')" prop="qrtp.revdrt">
<c-select v-model="model.qrtp.revdrt" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000082')">
<c-col :span="8">
<el-form-item label="接收方向" prop="qrtp.revdrt">
<c-select v-model="model.qrtp.revdrt" style="width:100%" placeholder="请选择接收方向">
<el-option
v-for="item in codes.msgdrt"
:key="item.value"
......@@ -153,192 +45,279 @@
</c-select>
</el-form-item>
</c-col>
<!-- LT000082 : 接收方向 -->
<!-- LT000309 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000152')" prop="qrtp.dts">
<c-date-picker type="date" v-model="model.qrtp.dts" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000152')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000152 : 起始时间 -->
<!-- LT000310 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000153')" prop="qrtp.dte">
<c-date-picker type="date" v-model="model.qrtp.dte" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000153')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000153 : 截止时间 -->
<!-- LT000311 : : -->
<!-- LT004023 : 报文标准 -->
<!-- LT004024 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT004023')" prop="qrtp.msgtyp">
<c-select v-model="model.qrtp.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT004023')">
</c-select>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<!-- <c-col :span="24">
<c-col :span="8">
<el-form-item label="发报行BIC" prop="sndbak" style="width: 100%">
<c-input v-model="model.sndp.sndbak" maxlength="40" placeholder="请输入发报行BIC">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000173')" prop="qrtp.mty">
<c-select v-model="model.qrtp.mty" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000173')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000173 : 报文种类 -->
<!-- LT000312 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000084')" prop="qrtp.msgsta">
<c-select v-model="model.qrtp.msgsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000084')">
<el-option
v-for="item in codes.mgssta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
<c-col :span="8">
<el-form-item label="收报行BIC" prop="revbak" style="width: 100%">
<c-input v-model="model.sndp.revbak" maxlength="40" placeholder="请输入收报行BIC">
</c-input>
</el-form-item>
</c-col>
<!-- LT000084 : 报文状态 -->
<!-- LT000313 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000085')" prop="qrtp.revbnk">
<c-input v-model="model.qrtp.revbnk" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000085')"></c-input>
</c-form-item>
</c-col>
<!-- LT000085 : 收报行BIC -->
<!-- LT000314 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000086')" prop="qrtp.sedbnk">
<c-input v-model="model.qrtp.sedbnk" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000086')"></c-input>
</c-form-item>
</c-col>
<!-- LT000086 : 发报行BIC -->
<!-- LT000315 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000087')" prop="qrtp.cur">
<c-select v-model="model.qrtp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000087')">
</c-select>
<c-col :span="8">
<el-form-item label="账户行BIC" prop="actbic" style="width: 100%">
<c-input v-model="model.sndp.actbic" maxlength="40" placeholder="请输入账户行BIC">
</c-input>
</el-form-item>
</c-col>
<!-- LT000087 : 币种 -->
<!-- LT000316 : : -->
</c-col>-->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000089')" prop="qrtp.amtdwl">
<c-input v-model="model.qrtp.amtdwl" :placeholder="$t('other.please_enter')+$t('qrtp.LT000089')"></c-input>
</c-form-item>
</c-col>
<!-- LT000089 : 金额下限 -->
<!-- LT000317 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000088')" prop="qrtp.amtupl">
<c-input v-model="model.qrtp.amtupl" :placeholder="$t('other.please_enter')+$t('qrtp.LT000088')"></c-input>
</c-form-item>
</c-col>
<!-- LT000088 : 金额上限 -->
<!-- LT000318 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000091')" prop="qrtp.casnum">
<c-input v-model="model.qrtp.casnum" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000091')"></c-input>
</c-form-item>
</c-col>
<!-- LT000091 : CASE编号 -->
<!-- LT000319 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000090')" prop="qrtp.drtnum">
<c-input v-model="model.qrtp.drtnum" maxlength="20" :placeholder="$t('other.please_enter')+$t('qrtp.LT000090')"></c-input>
</c-form-item>
</c-col>
<!-- LT000090 : 汇票号码 -->
<!-- LT000320 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000220')" prop="qrtp.tagt20">
<c-input v-model="model.qrtp.tagt20" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000220')"></c-input>
</c-form-item>
</c-col>
<!-- LT000220 : 报文20域 -->
<!-- LT000321 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000221')" prop="qrtp.tagt21">
<c-input v-model="model.qrtp.tagt21" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000221')"></c-input>
</c-form-item>
</c-col>
<!-- LT000221 : 报文21域 -->
<!-- LT000322 : : -->
<!-- LT004620 : UETR -->
<!-- LT004621 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT004620')" prop="qrtp.uetr">
<c-input v-model="model.qrtp.uetr" maxlength="40" :placeholder="$t('other.please_enter')+$t('qrtp.LT004620')"></c-input>
</c-form-item>
</c-col>
</el-row>
</template>
</c-list-search>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onQrtpCassel">
{{$t('qrtp.BT000094')}}
</c-button>
</c-col>
<!-- LT000081 : 记录范围 -->
<!-- LT000305 : : -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpCasclr">
{{$t('qrtp.BT000095')}}
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
type="primary" >{{ $t('public.归档') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpMan">
{{$t('qrtp.BT000103')}}
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
style="margin-left: 20" type="primary">ReRouting
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpMsgchk">
{{$t('qrtp.BT000716')}}
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
{{ $t('public.导出Excel') }}
</c-button>
</c-col>
</el-col>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="报文查询" name="fb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55">
</el-table-column>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width">
</el-table-column>
</el-table>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpRefresh">
{{$t('qrtp.BT000988')}}
</c-button>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
import event from "../event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'fb',
load: false,
subtypCodes: [],
multipleSelection:[],
stmData: {
columns: [
{
label: "收发日期",
prop: "seddat",
width: "180px"
},
{
label: "汇票号码",
prop: "drfnum",
width: "180px"
},
{
label: "CASE编号",
prop: "casnum",
width: "120px"
},
{
label: "报文20域",
prop: "sevref",
width: "125px"
},
{
label: "报文21域",
prop: "relref",
width: "120px"
},
{
label: "UETR",
prop: "uetr",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "50px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "起息日",
prop: "vludat",
width: "90px"
},
{
label: "发报行",
prop: "sedbak",
width: "100px"
},
{
label: "收报行",
prop: "revbak",
width: "100px"
},
{
label: "方向",
prop: "megrevdrt",
width: "50px"
},
{
label: "类型",
prop: "typ",
width: "50px"
},
{
label: "状态",
prop: "sta",
width: "80px"
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed:{
isFoldDisable: function(){
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
return this.multipleSelection.length == 0;
}
},
watch: {
'model.sndp.msgtyp': {
handler: function (newTyp, oldTyp) {
// 把已经选择的 subtyp 重置
this.model.sndp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
} else {
this.subtypCodes = codes.subtyp1;
}
},
deep: true
}
},
methods:{...Event},
created:function(){
methods: {
},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
</script>
<style>
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.qrtp.wtdlst"
style="width: 100%"
>
<el-table-column
prop="seddat"
label="收发日期"
sortable
width="90">
</el-table-column>
<el-table-column
prop="drfnum"
label="汇票号码"
sortable
width="150">
</el-table-column>
<el-table-column
prop="casnum"
label="CASE编号"
sortable
width="130">
</el-table-column>
<el-table-column
prop="sweflg"
label="G渠道"
sortable
width="60">
</el-table-column>
<el-table-column
prop="sevref"
label="报文20域"
sortable
width="125">
</el-table-column>
<el-table-column
prop="relref"
label="报文21域"
sortable
width="125">
</el-table-column>
<el-table-column
prop="uetr"
label="UETR"
sortable
width="270">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="50">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="vludat"
label="起息日"
sortable
width="90">
</el-table-column>
<el-table-column
prop="sedbak"
label="发报行"
sortable
width="100">
</el-table-column>
<el-table-column
prop="revbak"
label="收报行"
sortable
width="100">
</el-table-column>
<el-table-column
prop="megrevdrt"
label="方向"
sortable
width="50">
<template slot-scope="scope">
<span>{{ this.codes.msgdrt.find(item=>item.value==scope.row.megrevdrt).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="typ"
label="类型"
sortable
width="50">
</el-table-column>
<el-table-column
prop="sta"
label="状态"
sortable
width="80">
<template slot-scope="scope">
<span>{{ this.codes.mgssta.find(item=>item.value==scope.row.sta).label }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="1">
</el-pagination>
</div>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT001269')" prop="qrtp.ljschk">
<c-select v-model="model.qrtp.ljschk" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT001269')">
<el-option
v-for="item in codes.ljschk"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT001269 : 记录类型 -->
<!-- LT000305 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000081')" prop="qrtp.msgrag">
<c-select v-model="model.qrtp.msgrag" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000081')">
<el-option
v-for="item in codes.msgrng"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000081 : 记录范围 -->
<!-- LT000305 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000082')" prop="qrtp.revdrt">
<c-select v-model="model.qrtp.revdrt" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000082')">
<el-option
v-for="item in codes.msgdrt"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000082 : 接收方向 -->
<!-- LT000309 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000152')" prop="qrtp.dts">
<c-date-picker type="date" v-model="model.qrtp.dts" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000152')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000152 : 起始时间 -->
<!-- LT000310 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000153')" prop="qrtp.dte">
<c-date-picker type="date" v-model="model.qrtp.dte" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000153')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000153 : 截止时间 -->
<!-- LT000311 : : -->
<!-- LT004023 : 报文标准 -->
<!-- LT004024 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT004023')" prop="qrtp.msgtyp">
<c-select v-model="model.qrtp.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT004023')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000173')" prop="qrtp.mty">
<c-select v-model="model.qrtp.mty" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000173')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000173 : 报文种类 -->
<!-- LT000312 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000084')" prop="qrtp.msgsta">
<c-select v-model="model.qrtp.msgsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000084')">
<el-option
v-for="item in codes.mgssta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000084 : 报文状态 -->
<!-- LT000313 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000085')" prop="qrtp.revbnk">
<c-input v-model="model.qrtp.revbnk" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000085')"></c-input>
</c-form-item>
</c-col>
<!-- LT000085 : 收报行BIC -->
<!-- LT000314 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000086')" prop="qrtp.sedbnk">
<c-input v-model="model.qrtp.sedbnk" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000086')"></c-input>
</c-form-item>
</c-col>
<!-- LT000086 : 发报行BIC -->
<!-- LT000315 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000087')" prop="qrtp.cur">
<c-select v-model="model.qrtp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000087')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000087 : 币种 -->
<!-- LT000316 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000089')" prop="qrtp.amtdwl">
<c-input v-model="model.qrtp.amtdwl" :placeholder="$t('other.please_enter')+$t('qrtp.LT000089')"></c-input>
</c-form-item>
</c-col>
<!-- LT000089 : 金额下限 -->
<!-- LT000317 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000088')" prop="qrtp.amtupl">
<c-input v-model="model.qrtp.amtupl" :placeholder="$t('other.please_enter')+$t('qrtp.LT000088')"></c-input>
</c-form-item>
</c-col>
<!-- LT000088 : 金额上限 -->
<!-- LT000318 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000091')" prop="qrtp.casnum">
<c-input v-model="model.qrtp.casnum" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000091')"></c-input>
</c-form-item>
</c-col>
<!-- LT000091 : CASE编号 -->
<!-- LT000319 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000090')" prop="qrtp.drtnum">
<c-input v-model="model.qrtp.drtnum" maxlength="20" :placeholder="$t('other.please_enter')+$t('qrtp.LT000090')"></c-input>
</c-form-item>
</c-col>
<!-- LT000090 : 汇票号码 -->
<!-- LT000320 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000220')" prop="qrtp.tagt20">
<c-input v-model="model.qrtp.tagt20" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000220')"></c-input>
</c-form-item>
</c-col>
<!-- LT000220 : 报文20域 -->
<!-- LT000321 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000221')" prop="qrtp.tagt21">
<c-input v-model="model.qrtp.tagt21" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000221')"></c-input>
</c-form-item>
</c-col>
<!-- LT000221 : 报文21域 -->
<!-- LT000322 : : -->
<!-- LT004620 : UETR -->
<!-- LT004621 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT004620')" prop="qrtp.uetr">
<c-input v-model="model.qrtp.uetr" maxlength="40" :placeholder="$t('other.please_enter')+$t('qrtp.LT004620')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onQrtpCassel">
{{$t('qrtp.BT000094')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpCasclr">
{{$t('qrtp.BT000095')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpMan">
{{$t('qrtp.BT000103')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpMsgchk">
{{$t('qrtp.BT000716')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpRefresh">
{{$t('qrtp.BT000988')}}
</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/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -114,17 +114,17 @@
</div>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000326')" prop="qrtp.settimsta">
<c-date-picker type="date" v-model="model.qrtp.settimsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000326')"></c-date-picker>
<c-col :span="8">
<el-form-item label="起始时间" prop="qrtp.settimsta">
<c-date-picker type="date" v-model="model.qrtp.settimsta" style="width:100%" placeholder="请选择起始时间"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000023 : 起始时间 -->
<!-- LT000326 : -->
<!-- LT000326 : 记录类型 -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000328')" prop="qrtp.settimend">
<c-date-picker type="date" v-model="model.qrtp.settimend" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000328')"></c-date-picker>
<c-col :span="8">
<el-form-item label="截至日期" prop="qrtp.settimend">
<c-date-picker type="date" v-model="model.qrtp.settimend" style="width:100%" placeholder="请输入截至日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000024 : 截止时间 -->
......@@ -132,9 +132,9 @@
<!-- LT002442 : 报文类型 -->
<!-- LT002443 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT002442')" prop="qrdgrp.rec.msgtyp">
<c-select v-model="model.qrdgrp.rec.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT002442')">
<c-col :span="8">
<el-form-item label="报文类型" prop="qrdgrp.rec.msgtyp">
<c-select v-model="model.qrdgrp.rec.msgtyp" style="width:100%" placeholder="请选择报文类型">
</c-select>
</el-form-item>
</c-col>
......@@ -142,8 +142,8 @@
<!-- LT000329 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000329')" prop="qrtp.cassta">
<c-select v-model="model.qrtp.cassta" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000329')">
<el-form-item label="CASE状态" prop="qrtp.cassta">
<c-select v-model="model.qrtp.cassta" style="width:100%" placeholder="请选择CASE状态">
<el-option
v-for="item in codes.cassta"
:key="item.value"
......@@ -157,38 +157,38 @@
<!-- LT000330 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000330')" prop="qrtp.casnum">
<c-input v-model="model.qrtp.casnum" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000330')"></c-input>
<c-form-item label="CASE编号" prop="qrtp.casnum">
<c-input v-model="model.qrtp.casnum" maxlength="16" placeholder="请输入CASE编号"></c-input>
</c-form-item>
</c-col>
<!-- LT000021 : 汇票号码 -->
<!-- LT000331 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000331')" prop="qrtp.drfnum">
<c-input v-model="model.qrtp.drfnum" maxlength="20" :placeholder="$t('other.please_enter')+$t('qrtp.LT000331')"></c-input>
<c-form-item label="汇票号码" prop="qrtp.drfnum">
<c-input v-model="model.qrtp.drfnum" maxlength="20" placeholder="请输入汇票号码"></c-input>
</c-form-item>
</c-col>
<!-- LT000180 : 20域编号(发) -->
<!-- LT000332 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000332')" prop="qrtp.ownrel">
<c-input v-model="model.qrtp.ownrel" maxlength="20" :placeholder="$t('other.please_enter')+$t('qrtp.LT000332')"></c-input>
<c-form-item label="20域编号(发)" prop="qrtp.ownrel">
<c-input v-model="model.qrtp.ownrel" maxlength="20" placeholder="请输入20域编号(发)"></c-input>
</c-form-item>
</c-col>
<!-- LT000181 : 20域编号(收) -->
<!-- LT000333 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000333')" prop="qrtp.opsref">
<c-input v-model="model.qrtp.opsref" maxlength="20" :placeholder="$t('other.please_enter')+$t('qrtp.LT000333')"></c-input>
<c-form-item label=" 20域编号(收)" prop="qrtp.opsref">
<c-input v-model="model.qrtp.opsref" maxlength="20" placeholder="请输入20域编号(收)"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000336')" prop="qrtp.uetr">
<c-input v-model="model.qrtp.uetr" maxlength="40" :placeholder="$t('other.please_enter')+$t('qrtp.LT000336')"></c-input>
<c-form-item label="UETR" prop="qrtp.uetr">
<c-input v-model="model.qrtp.uetr" maxlength="40" placeholder="请输入UETR"></c-input>
</c-form-item>
</c-col>
<!-- LT004599 : UETR -->
......@@ -197,42 +197,42 @@
<!-- LT000334 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000334')" prop="qrtp.sedbak">
<c-input v-model="model.qrtp.sedbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000334')"></c-input>
<c-form-item label="发报行BIC" prop="qrtp.sedbak">
<c-input v-model="model.qrtp.sedbak" maxlength="11" placeholder="请输入发报行BIC"></c-input>
</c-form-item>
</c-col>
<!-- LT000183 : 收报行BIC -->
<!-- LT000335 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000335')" prop="qrtp.revbak">
<c-input v-model="model.qrtp.revbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000335')"></c-input>
<c-form-item label="收报行BIC" prop="qrtp.revbak">
<c-input v-model="model.qrtp.revbak" maxlength="11" placeholder="请输入收报行BIC"></c-input>
</c-form-item>
</c-col>
<!-- LT000184 : 账户行BIC -->
<!-- LT000336 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000336')" prop="qrtp.actbak">
<c-input v-model="model.qrtp.actbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000336')"></c-input>
<c-form-item label="账户行BIC" prop="qrtp.actbak">
<c-input v-model="model.qrtp.actbak" maxlength="11" placeholder="请输入账户行BIC"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onQrtpCassel">
{{$t('qrtp.BT000027')}}
查询
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpCasclr">
{{$t('qrtp.BT000028')}}
清空
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpCrecas">
{{$t('qrtp.BT000130')}}
新建CASE
</c-button>
</c-col>
......
......@@ -43,7 +43,7 @@ import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
import Check from "../model/check.js";
export default {
name: "Fxtssb",
components: {
......
......@@ -43,7 +43,7 @@ import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import Check from "../model/Check.js";
import Check from "../model/check.js";
import buildFn from "../event/buildCommons.js";
export default {
name: "Fxtsss",
......
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