Commit 89743981 by zhujiazhan

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

parent 080e18dc
...@@ -215,7 +215,6 @@ export default { ...@@ -215,7 +215,6 @@ export default {
"cptp.pyeadr":[ "cptp.pyeadr":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
], ],
"cpdgrp.rec.amt71f":[ "cpdgrp.rec.amt71f":[
......
...@@ -2,7 +2,28 @@ export default class Trnmod { ...@@ -2,7 +2,28 @@ export default class Trnmod {
constructor() { constructor() {
this.data = { this.data = {
hvpmod:{ 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 reconebchnam:"", // 收款直接参与者名称 .trnmod.reconebchnam
reconebch:"", // 收款直接参与者行号 .trnmod.reconebch reconebch:"", // 收款直接参与者行号 .trnmod.reconebch
......
...@@ -41,5 +41,18 @@ export default { ...@@ -41,5 +41,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); 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 @@ ...@@ -74,14 +74,6 @@
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </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'"> <el-tab-pane label="境外汇款申请书-基础信息" name="basp3" v-if="model.bopmod.basflg !='' && model.bopmod.szflg=='1'">
<m-basp3 :model="model" :codes="codes"/> <m-basp3 :model="model" :codes="codes"/>
...@@ -92,6 +84,45 @@ ...@@ -92,6 +84,45 @@
</el-tab-pane> </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> </c-tabs>
</el-form> </el-form>
...@@ -125,9 +156,6 @@ import Docpan2 from "./Docpan2"; ...@@ -125,9 +156,6 @@ import Docpan2 from "./Docpan2";
import Pattern from "~/model/Cptadv/Pattern"; import Pattern from "~/model/Cptadv/Pattern";
import Default from "~/model/Cptadv/Default"; import Default from "~/model/Cptadv/Default";
import Check from "~/model/Cptadv/Check"; import Check from "~/model/Cptadv/Check";
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
import Sbxx from "./Sbxx"; import Sbxx from "./Sbxx";
import Incp from "./Incp"; import Incp from "./Incp";
import Basp from "./Basp" import Basp from "./Basp"
...@@ -140,6 +168,11 @@ import Coninfp from "~/views/Public/Coninfp"; ...@@ -140,6 +168,11 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Secpan from "./Secpan"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
export default { export default {
name: "Cptadv", name: "Cptadv",
components: { components: {
...@@ -155,6 +188,10 @@ export default { ...@@ -155,6 +188,10 @@ export default {
"m-incp": Incp, "m-incp": Incp,
"m-basp": Basp, "m-basp": Basp,
"m-basp3": Basp3, "m-basp3": Basp3,
"m-secpan" : Secpan,
"m-cips": Cips,
"m-cips2": Cips2,
"m-cips3": Cips3,
}, },
provide() { provide() {
return { 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 @@ ...@@ -114,6 +114,24 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</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 this.sta"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- ============右========= --> <!-- ============右========= -->
...@@ -129,7 +147,6 @@ ...@@ -129,7 +147,6 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11" >
<el-form-item label="Name" prop="seltxt"> <el-form-item label="Name" prop="seltxt">
<c-input <c-input
v-model="model.seltxt" v-model="model.seltxt"
...@@ -138,8 +155,7 @@ ...@@ -138,8 +155,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12" :offset="1">
<el-form-item label="Entered by" label-width="20%" prop="usr.extkey"> <el-form-item label="Entered by" label-width="20%" prop="usr.extkey">
<c-input <c-input
v-model="model.usr.extkey" v-model="model.usr.extkey"
...@@ -150,8 +166,6 @@ ...@@ -150,8 +166,6 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="Between" prop="inidatfro"> <el-form-item label="Between" prop="inidatfro">
...@@ -176,22 +190,7 @@ ...@@ -176,22 +190,7 @@
</c-col> </c-col>
</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> </c-col>
...@@ -380,7 +379,7 @@ ...@@ -380,7 +379,7 @@
placeholder="请选择Status" placeholder="请选择Status"
> >
<el-option <el-option
v-for="item in codes.sta" v-for="item in this.sta"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -446,21 +445,28 @@ ...@@ -446,21 +445,28 @@
<c-istream-table :list="stmData.data" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="140px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot-scope="scope">
<c-button <c-button
style="margin-left: 0" style="margin-left: -7"
size="small" size="small"
type="primary" type="primary"
@click="alert(111)" @click="alert(scope.row['Reference'])"
> >
detail 详情
</c-button> </c-button>
<c-button
style="margin-left: 10"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
</template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<m-busbtn ref="childs" :ownref="ownref" >11</m-busbtn>
</div> </div>
</template> </template>
<script> <script>
...@@ -468,33 +474,43 @@ import Api from "~/service/Api"; ...@@ -468,33 +474,43 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptrel/Event"; import Event from "~/model/Sptrel/Event";
import BusNavbar from "./BusNavbar";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data() { data() {
return { 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: { stmData: {
columns: [ columns: [
'5 1 "TRN" ', '5 1 "TRN" ',
'6 2:2 "Reference" ', '6 2:2 "Reference" ',
'7 2:1 "Name" ', '7 3:1 "Name" ',
'8 3 "Created" ', '8 4 "Created" ',
'9 4:1 "Status" ', {index:9,position:5,width:150,pattern:'code',label:'Status',code:'sptrelstatus'},
'4 5:1 "By User" ', '4 6:1 "By User" ',
'11 6:1 "Details" ',
// 'P "COLORED" TRUE',
// 'P "VERTLINES" TRUE',
// 'P "HORZLINES" TRUE',
// 'P "MULTISELECT" true'
], ],
data: [], data: [],
}, },
}; };
}, },
methods: { ...Event }, methods: { ...Event,
async getButtons(ownref){
this.ownref = ownref
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
},
created: function () {}, created: function () {},
}; };
</script> </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