Commit 89743981 by zhujiazhan

Sptrel,Cptadv交易增加面板及字段

parent 080e18dc
......@@ -215,7 +215,6 @@ export default {
"cptp.pyeadr":[
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"cpdgrp.rec.amt71f":[
......
......@@ -2,7 +2,28 @@ export default class Trnmod {
constructor() {
this.data = {
hvpmod:{
agnamedl:"", //.hvpmod.agnamedl
agnamedl:"", //.trnmod.hvpmod.agnamedl
agencydl:"", //.trnmod.hvpmod.agencydl
feecod:"", //.trnmod.hvpmod.feecod
feesen:"", //.trnmod.hvpmod.feesen
feecom:"", //.trnmod.hvpmod.feecom
skrmc2:"", //.trnmod.hvpmod.skrmc2
skrmc3:"", //.trnmod.hvpmod.skrmc3
skrdz2:"", //.trnmod.hvpmod.skrdz2
skrdz3:"", //.trnmod.hvpmod.skrdz3
skrdz4:"", //.trnmod.hvpmod.skrdz4
skrdz5:"", //.trnmod.hvpmod.skrdz5
skrzh2:"", //.trnmod.hvpmod.skrzh2
agname2:"", //.trnmod.hvpmod.agname2
agency2:"", //.trnmod.hvpmod.agency2
fecomm:"", //.trnmod.hvpmod.fecomm
fkrmc2:"", //.trnmod.hvpmod.fkrmc2
fkrmc3:"", //.trnmod.hvpmod.fkrmc3
fkrdz2:"", //.trnmod.hvpmod.fkrdz2
fkrdz3:"", //.trnmod.hvpmod.fkrdz3
fkrdz4:"", //.trnmod.hvpmod.fkrdz4
fkrdz5:"", //.trnmod.hvpmod.fkrdz5
fkrzh2:"", //.trnmod.hvpmod.fkrzh2
},
reconebchnam:"", // 收款直接参与者名称 .trnmod.reconebchnam
reconebch:"", // 收款直接参与者行号 .trnmod.reconebch
......
......@@ -41,5 +41,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
this.model.usfmod.flt = ""
this.model.atp.cod = ""
this.model.atptxt = ""
this.model.usfmod.selusg = ""
this.model.usfmod.usr.extkey = ""
this.model.sta = ""
this.model.selobj = ""
this.model.seltxt = ""
this.model.usr.extkey = ""
this.model.inidatfro = ""
this.model.inidattil = ""
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="明细业务总笔数" prop="trnmod.cipmod.mxywbs">
<c-input v-model="model.trnmod.cipmod.mxywbs" placeholder="请输入明细业务总笔数"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="发起直接参与者行号" prop="trnmod.cipmod.fqzyhh">
<c-input v-model="model.trnmod.cipmod.fqzyhh" maxlength="35" placeholder="请输入发起直接参与者行号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="明细业务总金额" prop="trnmod.cipmod.mxywje">
<c-input v-model="model.trnmod.cipmod.mxywje" placeholder="请输入明细业务总金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="接收直接参与者行号" prop="trnmod.cipmod.jszyhh">
<c-input v-model="model.trnmod.cipmod.jszyhh" maxlength="35" placeholder="请输入接收直接参与者行号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="明细业务标识号" prop="trnmod.cipmod.mxywsh">
<c-input v-model="model.trnmod.cipmod.mxywsh" maxlength="35" placeholder="请输入明细业务标识号"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infcld/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -74,14 +74,6 @@
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--
<el-tab-pane label="境内汇款申请书-基础信息" name="dbe" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg" >
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane label="境外汇款申请书-基础信息" name="dbb" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg" >
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
-->
<el-tab-pane label="境外汇款申请书-基础信息" name="basp3" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='1'">
<m-basp3 :model="model" :codes="codes"/>
......@@ -92,6 +84,45 @@
</el-tab-pane>
<el-tab-pane label="跨境支付" name="secpan" v-if="model.cpdgrp.rec.swftyp=='HVP'||
model.cpdgrp.rec.swftyp=='HVQ'||
model.cpdgrp.rec.swftyp=='HVR'||
model.cpdgrp.rec.swftyp=='BEP'||
model.cpdgrp.rec.swftyp=='BEQ'||
model.cpdgrp.rec.swftyp=='BES'
">
<c-content>
<m-secpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="CIPS" name="cips" v-if="model.cpdgrp.rec.swftyp=='CIU' ||
model.cpdgrp.rec.swftyp=='CIV' ||
model.cpdgrp.rec.swftyp=='CIW' ">
<c-content>
<m-cips :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="CIPS2.0" name="cips2" v-if="model.cpdgrp.rec.swftyp=='CIU' ||
model.cpdgrp.rec.swftyp=='CIV' ||
model.cpdgrp.rec.swftyp=='CIW' ">
<c-content>
<m-cips2 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="CIPS2.0" name="cips3" v-if="model.cpdgrp.rec.swftyp=='CIU' ||
model.cpdgrp.rec.swftyp=='CIV' ||
model.cpdgrp.rec.swftyp=='CIW' ">
<c-content>
<m-cips3 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -125,9 +156,6 @@ import Docpan2 from "./Docpan2";
import Pattern from "~/model/Cptadv/Pattern";
import Default from "~/model/Cptadv/Default";
import Check from "~/model/Cptadv/Check";
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
import Sbxx from "./Sbxx";
import Incp from "./Incp";
import Basp from "./Basp"
......@@ -140,6 +168,11 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Ptap from "~/views/Public/Ptap";
import Secpan from "./Secpan"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
export default {
name: "Cptadv",
components: {
......@@ -155,6 +188,10 @@ export default {
"m-incp": Incp,
"m-basp": Basp,
"m-basp3": Basp3,
"m-secpan" : Secpan,
"m-cips": Cips,
"m-cips2": Cips2,
"m-cips3": Cips3,
},
provide() {
return {
......
<template>
<el-dialog
:visible.sync="initdialog"
:title="'交易列表'"
append-to-body
:before-close="beforeClose"
@opened="opened"
>
<div class="m-list-btns">
<div class="busnavbar">
<div class="busnavbar-items">
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onRelease()"
title="Release">
Release
</c-button>
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onRepair()"
title="Repair">
Repair
</c-button>
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
@click.native="onReject()"
title="Reject">
Reject
</c-button>
</div>
</div>
</div>
</el-dialog>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import _ from "~/utils/Lodash"
export default {
props: {
ownref: {
required: true,
},
},
components: {},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
initdialog: false,
};
},
methods: {
//各入口按钮请求
async onRelease(){
console.log("onRelease:"+this.ownref)
let rtnmsg = await this.executeRule(`sptrel.relrow`);
},
async onRepair(){
},
async onReject(){
},
async onNarBtnClick(code, i) {
this.model.cfgfil[`subtrn${i}`] = code;
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
getIndex(module) {
for (let i = 1; i <= 12; i++) {
var temp = this.model.cfgfil[`subtxt${i}`];
if (module == temp) {
return i;
}
}
return 1;
},
opened() {
},
beforeClose() {
this.navcode = [];
this.initdialog = false;
},
},
};
</script>
<style>
</style>
......@@ -114,6 +114,24 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Status" prop="sta">
<c-select
v-model="model.sta"
style="width: 100%"
placeholder="请选择Status"
>
<el-option
v-for="item in this.sta"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ============右========= -->
......@@ -129,7 +147,6 @@
</c-col>
<c-col :span="24">
<c-col :span="11" >
<el-form-item label="Name" prop="seltxt">
<c-input
v-model="model.seltxt"
......@@ -138,8 +155,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="12" :offset="1">
<c-col :span="24">
<el-form-item label="Entered by" label-width="20%" prop="usr.extkey">
<c-input
v-model="model.usr.extkey"
......@@ -150,8 +166,6 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Between" prop="inidatfro">
......@@ -176,22 +190,7 @@
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Status" prop="sta">
<c-select
v-model="model.sta"
style="width: 100%"
placeholder="请选择Status"
>
<el-option
v-for="item in codes.sta"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -380,7 +379,7 @@
placeholder="请选择Status"
>
<el-option
v-for="item in codes.sta"
v-for="item in this.sta"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -446,21 +445,28 @@
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="alert(111)"
>
detail
</c-button>
<template slot-scope="scope">
<c-button
style="margin-left: -7"
size="small"
type="primary"
@click="alert(scope.row['Reference'])"
>
详情
</c-button>
<c-button
style="margin-left: 10"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" >11</m-busbtn>
</div>
</template>
<script>
......@@ -468,33 +474,43 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptrel/Event";
import BusNavbar from "./BusNavbar";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data() {
return {
sta:[
{ label: 'All', value: '' },
{ label: 'Branch Release', value: 'CMC' },
{ label: 'Branch Register', value: 'CMP' },
{ label: 'Branch Repair', value: 'CMR' },
{ label: 'Center Repair', value: 'CTR' },
],
stmData: {
columns: [
'5 1 "TRN" ',
'6 2:2 "Reference" ',
'7 2:1 "Name" ',
'8 3 "Created" ',
'9 4:1 "Status" ',
'4 5:1 "By User" ',
'11 6:1 "Details" ',
// 'P "COLORED" TRUE',
// 'P "VERTLINES" TRUE',
// 'P "HORZLINES" TRUE',
// 'P "MULTISELECT" true'
'7 3:1 "Name" ',
'8 4 "Created" ',
{index:9,position:5,width:150,pattern:'code',label:'Status',code:'sptrelstatus'},
'4 6:1 "By User" ',
],
data: [],
},
};
},
methods: { ...Event },
methods: { ...Event,
async getButtons(ownref){
this.ownref = ownref
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
},
created: function () {},
};
</script>
......
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