Commit ab864d55 by 杜大兵

infled

parent 49efbe24
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -5981,36 +5981,52 @@ const CodeTable = {
{label:'Other',value:'OTH'},
],
infled_role:[
{label:"2nd Advising Bank",value:"0" },
{label:"Acc.with Bank(ACW)",value:"1" },
{label:"Advising Bank",value:"2" },
{label:"Applicant's Bank",value:"3" },
{label:"Applicant",value:"4" },
{label:"Available with Bank",value:"5"},
{label:"2nd Beneficiary",value:"6" },
{label:"Beneficiary's Bank",value:"7" },
{label:"Beneficiary",value:"8" },
{label:"Confirming Bank",value:"9" },
{label:"Drawee(DRW)",value:"10" },
{label:"Issuing Bank",value:"11" },
{label:"Old Account Party",value:"12" },
{label:"Remibursement Bank",value:"13" },
{label:"Third Party",value:"14" },
{label:"1st Third Party",value:"15" },
{label:"2nd Third Party",value:"16" },
{label:"3rd Third Party",value:"17" },
{label:"4th Third Party",value:"18" },
{label:"5th Third Party",value:"19" },
{label:"6th Third Party",value:"20" },
{label:"7th Third Party",value:"21" },
{label:"8th Third Party",value:"22" },
{label:"9th Third Party",value:"23" },
{label:"2nd Advising Bank",value:"A2B" },
{label:"Acc.with Bank(ACW)",value:"ACW" },
{label:"Advising Bank",value:"ADV" },
{label:"Applicant's Bank",value:"APB" },
{label:"Applicant",value:"APL" },
{label:"Available with Bank",value:"AVB"},
{label:"2nd Beneficiary",value:"BE2" },
{label:"Beneficiary's Bank",value:"BEB" },
{label:"Beneficiary",value:"BEN" },
{label:"Confirming Bank",value:"CON" },
{label:"Drawee(DRW)",value:"DRW" },
{label:"Issuing Bank",value:"ISS" },
{label:"Old Account Party",value:"OAP" },
{label:"Remibursement Bank",value:"RMI" },
{label:"Third Party",value:"TP0" },
{label:"1st Third Party",value:"TP1" },
{label:"2nd Third Party",value:"TP2" },
{label:"3rd Third Party",value:"TP3" },
{label:"4th Third Party",value:"TP4" },
{label:"5th Third Party",value:"TP5" },
{label:"6th Third Party",value:"TP6" },
{label:"7th Third Party",value:"TP7" },
{label:"8th Third Party",value:"TP8" },
{label:"9th Third Party",value:"TP9" },
],
infled_Cur:[
{label:"AUD 澳大利亚元",value:"AUD" },
{label:"CAD 加拿大元",value:"CAD" },
{label:"CHF 瑞士法郎",value:"CHF" },
{label:"CNY 人民币",value:"CNY" },
{label:"KRW 韩圆",value:"KRW" },
{label:"NZD 新西兰元",value:"NZD" },
{label:"USD 美元",value:"USD" },
{label:"DKK 丹麦克朗",value:"DKK" },
{label:"EUR 欧元",value:"EUR" },
{label:"FIM 芬兰马克",value:"FIM" },
{label:"FRF 法国法郎",value:"FRF" },
{label:"GBP 英镑",value:"FRF" },
{label:"HKD 港币",value:"FRF" },
{label:"JPY 日元",value:"FRF" },
{label:"KRW 韩圆",value:"FRF" },
{label:"MOP 澳门元",value:"FRF" },
{label:"NOK 挪威克朗",value:"FRF" },
{label:"NZD 新西兰元",value:"FRF" },
{label:"SEK 瑞典克朗",value:"FRF" },
{label:"SGD 新加坡元",value:"FRF" },
{label:"THB 泰国铢",value:"FRF" },
{label:"TWD 新台湾元",value:"FRF" },
{label:"USD 美元",value:"FRF" },
],
infled_sealcrtyp:[
{label:"IRREVOCABLE",value:"0" },
......
......@@ -21,7 +21,6 @@ let checkObj = {
"trnmod.cipmod.skrdz7" :null,
"trnmod.cipmod.skrdz6" :null,
"liaall.limmod.ownref" :null,
"bptp0.recget.sdamod.dadsnd" :null,
"trnmod.cipmod.cfkrgj" :null,
"liaall.limmod.ecifno" :null,
"trnmod.cipmod.skrdz3" :null,
......@@ -38,7 +37,6 @@ let checkObj = {
"trnmod.cipmod.feecod" :null,
"bpdgrp.fia.pts.adrblk" :null,
"trnmod.cipmod.csfdz1" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"trnmod.cipmod.cffdz7" :null,
......@@ -50,20 +48,16 @@ let checkObj = {
"trnmod.cipmod.cffdz4" :null,
"trnmod.cipmod.cffdz5" :null,
"trnmod.cipmod.cffdz6" :null,
"bptp0.bodget.sdamod.dadsnd" :null,
"trnmod.cipmod.skkhhm" :null,
"trnmod.cipmod.pyebchnam" :null,
"trnmod.cipmod.fkrkhh" :null,
"trnmod.cipmod.fkhkhh" :null,
"trnmod.cipmod.cfkfzh" :null,
"bptp0.fiap.ptsget.sdamod.dadsnd" :null,
"trnmod.cipmod.recsehbchnam" :null,
"trnmod.cipmod.fkhdzh" :null,
"bptp0.bedget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"trnmod.cipmod.staonebchnam" :null,
"trnmod.cipmod.pyebchkey" :null,
"bptp0.btdget.sdamod.dadsnd" :null,
"bpdgrp.fia.namelc" :null,
"trnmod.cipmod.cskzjh" :null,
"trnmod.cipmod.cskrzj" :null,
......@@ -74,7 +68,6 @@ let checkObj = {
"trnmod.cipmod.fkkhmc" :null,
"bpdgrp.fia.adrelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bptp0.brdget.sdamod.dadsnd" :null,
"trnmod.cipmod.ffeih2" :null,
"trnmod.cipmod.csfdz7" :null,
"trnmod.cipmod.csfdz6" :null,
......@@ -82,7 +75,6 @@ let checkObj = {
"trnmod.cipmod.csfdz4" :null,
"trnmod.cipmod.csfdz3" :null,
"trnmod.cipmod.csfdz2" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"trnmod.cipmod.fuynh4" :null,
"trnmod.cipmod.fuynh2" :null,
"trnmod.cipmod.fuynh3" :null,
......
......@@ -229,6 +229,9 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"trnmod.cipmod.dafnzh":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
......@@ -748,4 +751,8 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"trnmod.trndoc.dtgmod.dtgtagm46":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
}
\ No newline at end of file
......@@ -136,6 +136,9 @@ export default class Bptcan{
dtetagm53nam:"", // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam
dtetagm53num:"", // Courier Number .trnmod.trndoc.dtemod.dtetagm53num
},
dtgmod:{
dtgtagm46:"", // Advice of Issuing Bnk .trnmod.trndoc.dtgmod.dtgtagm46
},
},
cipmod:{
dddbsh:"", // 端到端标识号 .trnmod.cipmod.dddbsh
......@@ -266,6 +269,11 @@ export default class Bptcan{
},
liaall:{
limmod:{
limpfp:{
clmcbe:[], // .liaall.limmod.limpfp.clmcbe
clmcbb:[], // .liaall.limmod.limpfp.clmcbb
clmpty:[], // .liaall.limmod.limpfp.clmpty
},
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
......
......@@ -5,15 +5,37 @@ export default {
// 顶部查询按钮
async onInfbutSearow(){
// let rtnmsg = await this.executeRule("infbut.searow")
const that = this.root;
let rtnmsg = await that.executeRule("infbut.searow")
// const that = this.root;
// let rtnmsg = await that.executeRule("infbut.searow")
// if(rtnmsg.respCode == SUCCESS)
// {
// this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
// this.$message({
// type: 'success',
// message: '查询成功!'
// });
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){
this.$notify.error({ title: '错误', message: '信用证开立起始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){
this.$notify.error({ title: '错误', message: '信用证开立截止日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
this.$message({
type: 'success',
message: '查询成功!'
});
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows;
}
else
{
......@@ -326,5 +348,40 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
// async handleSearch() {
// this.stmData.data = [];
// let opndatfrom = this.model.infcon.opndatfrom;
// if(!opndatfrom || opndatfrom == ''){
// this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
// return;
// }
// let opndatto = this.model.infcon.opndatto;
// if(!opndatto || opndatto == ''){
// this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
// return;
// }
// let rtnmsg = await this.executeRule("infbut.searow")
// if(rtnmsg.respCode == SUCCESS)
// {
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
getDetails(index, row) {
debugger;
Api.post("getTrnNameByInr", { inr:row['INR'] }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + row['INR']
window.open(viewurl, 'newwindow', 'height=1200,width=900,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
}
\ 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>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Advice of Issuing Bnk" prop="trnmod.trndoc.dtgmod.dtgtagm46">
<c-input type="textarea" v-model="model.trnmod.trndoc.dtgmod.dtgtagm46" maxlength="65" show-word-limit placeholder="请输入Advice of Issuing Bnk" ></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/Bptcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="23" :offset="1">
<c-col :span="22" :offset="1">
<span>Fee Conditions</span>
</c-col>
</c-row>
<c-row>
<c-col :span="2" :offset="1">
<c-col :span="22" :offset="1">
<el-form-item label="" label-width="0px" prop="trnmod.ptsmod.fecinf.fecstm">
<c-input
type="textarea"
......
......@@ -62,11 +62,11 @@
</el-tab-pane>
<!--PD001139 -->
<el-tab-pane label="试算结果" name="shisuan">
<!-- <el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000204 -->
<el-tab-pane label="CIPS" name="cips">
......@@ -89,6 +89,11 @@
</c-content>
</el-tab-pane>
<!-- PD000001
<el-tab-pane label="PD000001" name="dtetag">
<m-dtetag :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="Fee Conditions" name="fecp">
<c-content>
......@@ -124,11 +129,12 @@ import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
import Fecp from "./Fecp"
import Limitbody from "./Limitbody"
// import Limitbody from "./Limitbody"
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"
export default {
name: "Bptcan",
......
......@@ -95,18 +95,12 @@ export default {
//添加到navcode数组中
this.navcode.splice(i,0,newList)
}
}
})
})
}
}
</script>
<style>
.busnavbar-items{
/*TODO完善按钮间隔等样式 */
}
</style>
......@@ -97,10 +97,9 @@
<c-select
v-model="model.infcon.searol"
style="width:100%"
placeholder="请选择Role"
>
<!-- :code="codes.infled_role" -->
<!-- infled_role -->
<el-option
v-for="item in codes.infled_role"
:key="item.value"
......@@ -234,7 +233,8 @@
</c-button>
</el-col>
<c-col :span="24">
<c-istream-table :list="this.model.infbut.dspstm" :columns="columns" style="padding: 0 16px;">
<!-- <c-istream-table :list="this.model.infbut.dspstm" :columns="columns" style="padding: 0 16px;"> -->
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="padding: 0 16px;">
<el-table-column
fixed="right"
prop="op"
......@@ -246,8 +246,7 @@
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template slot-scope="scope">
<!-- <c-button size="small" type="primary" @click="getButtons(scope.row['业务编号'])">处理</c-button> -->
<el-popover
<!-- <el-popover
placement="top-start"
title="历史信息"
width="800"
......@@ -282,12 +281,14 @@
>
详情
</c-button>
</el-popover>
</el-popover> -->
<!-- @click="getButtons(scope.row['Reference'])" -->
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
@click="getButtons(scope.row['业务编号'])"
>
处理
</c-button>
......@@ -297,8 +298,13 @@
</c-col>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<!-- :ownref="curownref" -->
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose" >11</m-busbtn>
<m-busbtn
ref="childs"
:ownref="curownref"
@onChoose="onChoose"
>
11
</m-busbtn>
</div>
</el-dialog>
</div>
......@@ -320,10 +326,10 @@ export default {
return {
curownref:"",
initdialog:false,
// stmData: {
columns:[
// 第一个数字表示代表是返回来数据的第几列,第二数字代表前端显示的列顺序
"1 1 \"业务编号\" 130 200",
stmData: {
columns: [
//第一个数字表示代表是返回来数据的第几列,第二数字代表前端显示的列顺序
'1 1 \"业务编号\" 130 200',
"2 2 \"经办柜员\" 90 80",
"4 5 \"开立日期\" 150 250",
"5 6 \"到期日\" 150 250",
......@@ -335,7 +341,8 @@ export default {
"16 3 \"开立币种\" 80 80",
"17 4 \"开立金额\" 90 80",
],
// },
data: [],
},
trnData: {
columns: [
'1 1 "编号" 200',
......@@ -365,16 +372,22 @@ export default {
this.$router.history.push("/business/" + code)
},
// 重置
handleReset: function () {
this.model = {
instNo: '',
instName: ''
}
// this.model = {
// instNo: '',
// instName: ''
// }
this.model.infcon.seaownref="";
this.model.infcon.opendatfrm="";
},
// 跳转至出口信用证开立
toLetopn(){
this.$router.history.push("/business/letopn")
}
},
closeTrn(refId){
this.$refs[refId].doClose();
},
},
created:function(){
......
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