Commit 99a7bc5b by wangyanjiao

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 1bd0cd1f 15476d7e
......@@ -334,6 +334,9 @@ export default {
return ""
}
let args=this.codes[code];
if (!args) {
return ""
}
let em = args.find(item=>item.value.trim() == value.trim())
if(!em){
return value
......
......@@ -87,6 +87,11 @@ const CodeTable = {
{ label: "F00", value: "临时户" },
{ label: "E05", value: "专户-证券交易结算资金账户" },
],
acctyp1: [
{ label: "01 外币经常项目", value: "01" },
{ label: "02 外币资本项目", value: "02" },
{ label: "03 外币暂存账户", value: "03" },
],
acctyp: [
{ label: "银行内部表外账", value: "2" },
{ label: "同业户", value: "3" },
......@@ -1945,6 +1950,14 @@ const CodeTable = {
{ label: "申报", value: "1" },
{ label: "不申报", value: "2" },
],
cnystm: [
{ label: "2101跨境收入信息", value: "1" },
{ label: "2111跨境支出信息", value: "2" },
{ label: "2106银行跟单结算及表外融资业务", value: "3" },
{ label: "2107境外主体之间资金划转", value: "4" },
{ label: "2122跨境担保登记业务信息", value: "5" },
{ label: "全部", value: "6" },
],
cnytyp: [
{ label: "2122跨境担保登记业务信息", value: "5" },
{ label: "2111跨境支出信息", value: "2" },
......@@ -5719,6 +5732,13 @@ const CodeTable = {
{ label: "hvps115", value: "HVR" },
{ label: "FMT100", value: "FMS" },
],
swftyp2: [
{ label: "FMT100", value: "100" },
{ label: "FMT102", value: "102" },
{ label: "FMT103", value: "103" },
{ label: "FMT200", value: "200" },
{ label: "FMT202", value: "202" },
],
swmfmt: [
{ label: "TradeConnect", value: "T" },
{ label: "DTA Import", value: "A" },
......
import Utils from "~/utils"
/**
* Cnysel Check规则
*/
let checkObj = {
"cnytyp" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cnysel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"frmdat" :Utils.defaultFunction,
"cnystm" :Utils.defaultFunction,
"ownextkey" :Utils.defaultFunction,
"cnytyp" :Utils.defaultFunction,
"tildat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSerbut(){
let rtnmsg = await this.executeRule("serbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButprt(){
let rtnmsg = await this.executeRule("butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDtlbut(){
let rtnmsg = await this.executeRule("dtlbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExi(){
let rtnmsg = await this.executeRule("exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"frmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ownref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"tildat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnystm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cnysel{
constructor () {
this.data = {
cnytyp:"", // 申报类型 .cnytyp
ownref:"", // 业务编号 .ownref
frmdat:"", // From .frmdat
tildat:"", // Until .tildat
ownextkey:"", // Initial Code .ownextkey
cnystm:"", // Selection .cnystm
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -7,7 +7,11 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.cpdgrp.rec.ownref = rtnmsg.data.cpdgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
......
import Utils from "~/utils"
/**
* Cptrel Check规则
*/
let checkObj = {
"trncorco.inidatfro" :null,
"trncorco.inidattil" :null,
"ptyextkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cptrel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"trncorco.trnstm" :Utils.defaultFunction,
"atp.cod" :Utils.defaultFunction,
"trncorco.usfmod.flt" :Utils.defaultFunction,
"trncorco.usfmod.usr.extkey" :Utils.defaultFunction,
"trncorco.usfmod.selusg" :Utils.defaultFunction,
"trncorco.usfmod.selusgset" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSearow(){
let rtnmsg = await this.executeRule("searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDsp(){
let rtnmsg = await this.executeRule("dsp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPrinte(){
let rtnmsg = await this.executeRule("printe")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodNewimg(){
let rtnmsg = await this.executeRule("imgmod.newimg")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodNewhisimg(){
let rtnmsg = await this.executeRule("imgmod.newhisimg")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDiaconButdia(){
let rtnmsg = await this.executeRule("diacon.butdia")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRelrow(){
let rtnmsg = await this.executeRule("relrow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onReprow(){
let rtnmsg = await this.executeRule("reprow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRejrow(){
let rtnmsg = await this.executeRule("rejrow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onExi(){
let rtnmsg = await this.executeRule("exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"trncorco.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trncorco.usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trncorco.usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"atpget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"amt1":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"amt2":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"atpget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trncorco.inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trncorco.inidattil":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ptyextkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"trncorco.trnstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"numtrn":[
{type: "string", required: false, message: "必输项"},
{max: 7,message:"长度不能超过7"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cptrel{
constructor () {
this.data = {
trncorco:{
usfmod:{
labtxt:"", // Text of Label .trncorco.usfmod.labtxt
usftxt:"", // Text of Selection Text .trncorco.usfmod.usftxt
flt:"", // Filter .trncorco.usfmod.flt
selusg:"", // Selected User Group .trncorco.usfmod.selusg
selusgset:"", // Selected User Group Set .trncorco.usfmod.selusgset
usr:{
extkey:"", // User ID .trncorco.usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .trncorco.usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .trncorco.usfmod.selusb
},
ownref:"", // Reference .trncorco.ownref
relflg:"", // Status .trncorco.relflg
inidatfro:"", // Date of entry of Transaction .trncorco.inidatfro
inidattil:"", // Date of entry of Transaction until .trncorco.inidattil
trnstm:"", // List of transaction sfor display .trncorco.trnstm
trntyp:"", // 汇款性�'� .trncorco.trntyp
},
atp:{
cod:"", // Transaction Type .atp.cod
},
atpget:{
sdamod:{
seainf:"", // .atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .atpget.sdamod.dadsnd
},
},
numtrn:"", // # of transactions .numtrn
relcur:"", // Curr. .relcur
amt1:"", // Amount .amt1
amt2:"", // Amount .amt2
ptyextkey:"", // Party extkey .ptyextkey
branch:"", // branch .branch
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -187,6 +187,9 @@ import Litrog from "./Litrog"
import Litacp from "./Litacp"
import Litdla from "./Litdla"
import Bctsel from "./Bctsel"
import Cnysel from "./Cnysel"
import Cptrel from "./Cptrel"
import Getcan from "./Getcan"
import Gitcan from "./Gitcan"
import Gitcrj from "./Gitcrj"
......@@ -393,5 +396,7 @@ const BusRouter = [
{ path: 'Litacp', component: Litacp, name: 'Litacp', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Litdla', component: Litdla, name: 'Litdla', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Bctsel', component: Bctsel, name: 'Bctsel', meta: { title: '进口代收' } },
{ path: 'Cnysel', component: Cnysel, name: 'Cnysel', meta: { title: 'Cnysel' } },
{ path: 'Cptrel', component: Cptrel, name: 'Cptrel', meta: { title: 'Cptrel' } },
]
export default BusRouter
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- ===================左边================= -->
<c-col :span="11">
<el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型">
<el-option
v-for="item in codes.cnytyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<c-col :span="12">
<el-form-item label="业务编号" prop="ownref">
<c-input v-model="model.ownref" maxlength="20" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="业务所属行" prop="ownextkey">
<c-select v-model="model.ownextkey" style="width:100%" placeholder="请选择Initial Code">
<el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- =====================右边=========================== -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<el-form-item label="From" prop="frmdat">
<c-date-picker type="date" v-model="model.frmdat" style="width:100%" placeholder="请选择From"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Until" prop="tildat">
<c-date-picker type="date" v-model="model.tildat" style="width:100%" placeholder="请选择Until"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ======================底部============================ -->
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Selection" prop="cnystm">
<c-input v-model="model.cnystm" placeholder="请输入Selection"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="From" prop="frmdat">
<c-date-picker type="date" v-model="model.frmdat" style="width:100%" placeholder="请选择From"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSerbut">
Search
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="业务编号" prop="ownref">
<c-input v-model="model.ownref" maxlength="20" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Until" prop="tildat">
<c-date-picker type="date" v-model="model.tildat" style="width:100%" placeholder="请选择Until"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButprt">
导Excel
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Initial Code" prop="ownextkey">
<c-select v-model="model.ownextkey" style="width:100%" placeholder="请选择Initial Code">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Selection" prop="cnystm">
<c-input v-model="model.cnystm" placeholder="请输入Selection"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDtlbut">
Detail
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onExi">
Exit
</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/Cnysel/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">
<!--PD000001 -->
<el-tab-pane label="PD000001" 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 Cnysel from "~/model/Cnysel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cnysel/Check"
import Default from "~/model/Cnysel/Default"
import Pattern from "~/model/Cnysel/Pattern"
import Selp from "./Selp"
export default {
name: "Cnysel",
components:{
"m-selp" : Selp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cnysel",
model: new Cnysel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cnysel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lendoc.actflg">Input Account</c-checkbox>
</c-col>
<c-col :span="11">
<c-col :span="24">
<el-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input v-model="model.lendoc.decnum" maxlength="22" placeholder="请输入Declaration Number"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="8">
<c-checkbox v-model="model.lendoc.actflg"
>Input Account</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number" ></c-input>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number"
style="text-align: left;"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input v-model="model.lendoc.decnum" maxlength="22" placeholder="请输入Declaration Number"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项来源">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeamt">
<c-input v-model="model.bopmod.outchargeamt" placeholder="请输入国外银行扣费(涉外收入申报专用)"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" offset="1">
<c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col>
</c-col>
<!--
<c-col :span="12">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
......@@ -45,7 +95,7 @@
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeamt">
<c-input v-model="model.bopmod.outchargeamt" placeholder="请输入国外银行扣费(涉外收入申报专用)"></c-input>
</el-form-item>
</c-col>
</c-col> -->
</div>
</template>
<script>
......
......@@ -4,43 +4,66 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--Ovweview -->
<el-tab-pane label="Ovweview" name="opnp1">
<el-tab-pane label="Ovweview" name="opnp1">
<c-content>
<m-opnp1 :model="model" :codes="codes"/>
</el-tab-pane>
</c-content>
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="pardet">
<m-pardet :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Parties" name="pardet">
<c-content>
<m-pardet :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Settlements -->
<!--Settlement -->
<el-tab-pane label="Settlements" name="setpan">
<m-setpan :model="model" :codes="codes"/>
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="addinf">
<m-addinf :model="model" :codes="codes"/>
</el-tab-pane>
<!-- Messages -->
<el-tab-pane label="Messages" name="docpan1">
<c-content>
<m-docpan1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Messages -->
<el-tab-pane label="Messages" name="docpan">
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="PD000006" name="wg">
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="addinf">
<c-content>
<m-addinf :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -56,10 +79,11 @@ import Default from "~/model/Cptati/Default"
import Pattern from "~/model/Cptati/Pattern"
import Opnp1 from "./Opnp1"
import Pardet from "./Pardet"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Addinf from "./Addinf"
import Doctre from "./Doctre"
import Doctre from "~/views/Public/Doctre"
import Docpan1 from "~/views/Public/Docpan"
import Docpan from "./Docpan"
import Wg from "./Wg"
......@@ -73,6 +97,7 @@ export default {
"m-coninfp" : Coninfp,
"m-addinf" : Addinf,
"m-doctre" : Doctre,
"m-docpan1" : Docpan1,
"m-docpan" : Docpan,
"m-wg" : Wg,
},
......@@ -91,8 +116,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: { ...CodeTable },
}
},
methods:{
......
......@@ -49,6 +49,8 @@
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
......
<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">
<!--PD000071 -->
<el-tab-pane label="PD000071" name="inftrnps">
<m-inftrnps :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 Cptrel from "~/model/Cptrel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cptrel/Check"
import Default from "~/model/Cptrel/Default"
import Pattern from "~/model/Cptrel/Pattern"
import Inftrnps from "./Inftrnps"
export default {
name: "Cptrel",
components:{
"m-inftrnps" : Inftrnps,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "inftrnps",
trnName: "cptrel",
model: new Cptrel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cptrel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -18,7 +18,9 @@
>
<!--PD000035 -->
<el-tab-pane label="查询" name="sel">
<m-sel :model="model" :codes="codes" />
<c-content>
<m-sel :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......
......@@ -39,10 +39,15 @@ export default {
// { inifrm: "trnrel", ininam: "复核任务", pntmiu: "0" },
// { inifrm: "diasel", ininam: "备忘录选择交易", pntmiu: "0" },
{ inifrm: "1", ininam: "汇款业务", pntmiu: "" },
// { inifrm: "cptato", ininam: "汇款业务", pntmiu: "" }
{ inifrm: "infcpd", ininam: "汇款查询", pntmiu: "1" },
{ inifrm: "cptopn", ininam: "汇出汇款", pntmiu: "1" },
{ inifrm: "cptadv", ininam: "汇入汇款", pntmiu: "1" },
{ inifrm: "cptato", ininam: "境内外币汇出汇款", pntmiu: "1" },
{ inifrm: "cptati", ininam: "境内外币汇入汇款", pntmiu: "1" },
{ inifrm: "cnysel", ininam: "跨境人民币查询", pntmiu: "1" },
{ inifrm: "cptrel", ininam: "汇款复核与查询", pntmiu: "1" },
{ inifrm: "cptcan", ininam: "汇款注销", pntmiu: "1" },
{ inifrm: "cptrep", ininam: "汇入汇款挂账解付", pntmiu: "1" },
{ inifrm: "2", ininam: "买方信用证", pntmiu: "" },
// { inifrm: "ditopn", ininam: "信用证开立", pntmiu: "2" },
......
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