Commit e4ed052a by wanggang_yf

修改bptset等交易

parent b3baab11
......@@ -2,7 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onFiapDet(){
async onFiapDet(){
let rtnmsg = await this.executeRule("fiap.det")
if(rtnmsg.respCode == SUCCESS)
{
......
......@@ -11,22 +11,22 @@ export default class Bctcan{
bcdgrp:{
rec:{
ownref:"", // Collection Number .bcdgrp.rec.ownref
nam:"", // Name .bcdgrp.rec.nam
nam:"", // Name .bcdgrp.rec.nam
rcvdat:"", // Docs Received on .bcdgrp.rec.rcvdat
advdat:"", // Date of Advice of Documents Received .bcdgrp.rec.advdat
matdat:"", // Maturity Date .bcdgrp.rec.matdat
predat:"", // Maturity Date .bcdgrp.rec.predat
doctypcod:"", // Payment Condition .bcdgrp.rec.doctypcod
doctypcod:"", // Payment Condition .bcdgrp.rec.doctypcod
docsta:"", // Document Status .bcdgrp.rec.docsta
},
cbs:{
max:{
cur:"", // Document Amount .bcdgrp.cbs.max.cur
amt:"", // Document Amount .bcdgrp.cbs.max.amt
cur:"", // Document Amount .bcdgrp.cbs.max.cur
amt:"", // Document Amount .bcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .bcdgrp.cbs.opn1.cur
amt:"", // Open Amount .bcdgrp.cbs.opn1.amt
cur:"", // Open Amount .bcdgrp.cbs.opn1.cur
amt:"", // Open Amount .bcdgrp.cbs.opn1.amt
},
},
dre:{
......@@ -42,17 +42,17 @@ export default class Bctcan{
bctp0:{
recget:{
sdamod:{
seainf:"", // .bctp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp0.recget.sdamod.dadsnd
seainf:"", // .bctp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bctp0.recget.sdamod.dadsnd
},
},
matp:{
mattxtlab:"", // Label for MATTXT .bctp0.matp.mattxtlab
mattxtlab:"", // Label for MATTXT .bctp0.matp.mattxtlab
},
},
sndmsg:"", // Send message .sndmsg
strinf:"", // Narrative .strinf
pageId: "" // ctx的key
sndmsg:"", // Send message .sndmsg
strinf:"", // Narrative .strinf
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -14,9 +14,6 @@ export default class Bctset{
actuamt:"",
}
},
dftcre:{
dfflag:"",
},
bcdgrp:{
rec:{
inr:"",
......@@ -586,6 +583,7 @@ export default class Bctset{
// bustyp:"", // 业务种类 .trnmod.bustyp
// },
dftcre:{
dfflag:"",
dfdgrp:{
rec:{
pntref:"", // Parent Reference .dftcre.dfdgrp.rec.pntref
......
......@@ -83,13 +83,13 @@ export default {
],
"bpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.fia.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 1000,message:"长度不能超过1000"}
],
"bpdgrp.fia.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -97,7 +97,7 @@ export default {
],
"bpdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -419,30 +419,6 @@ export default {
});
}
},
async onChk() {
let rtnmsg = await this.executeRule("chk")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
async onCan() {
let rtnmsg = await this.executeRule("can")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
onSeainf_bed() {
......
......@@ -132,15 +132,6 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.rec.pctfin":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"bpdgrp.rec.fincod":[
{type: "string", required: false, message: "必输项"},
{max: 17,message:"长度不能超过17"}
......@@ -235,32 +226,6 @@ export default {
],
"bpdgrp.rec.pntref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.pntnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bptp.fpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bptp.fpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bpdgrp.bu2.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -410,14 +375,6 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"bpdgrp.fia.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
......@@ -432,33 +389,11 @@ export default {
{max: 10,message:"长度不能超过10"}
],
"bpdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.inv.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.intday":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"bpdgrp.rec.intrat":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"bpdgrp.rec.marrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"bpdgrp.rec.tolrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"bpdgrp.rec.grarat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
......
......@@ -196,7 +196,7 @@ export default class Bptopn{
ovdintrat:"", // 罚息比率 .bptmod.finmod.ovdintrat
act1:"", // 第一还款�'�号 .bptmod.finmod.act1
accbch:"", // 入�'�机构 .bptmod.finmod.accbch
act3:"", // 第三方还款�'�号 .bptmod.finmod.act3
act3:"", // 第三方还款号 .bptmod.finmod.act3
acttyp:"", // 第三方还款方式 .bptmod.finmod.acttyp
intact:"", // 利息付款�'�号 .bptmod.finmod.intact
intamt:"", // 预收息金额 .bptmod.finmod.intamt
......
......@@ -28,6 +28,7 @@ export default class Bptsel{
pts:new Pts().data,
},
rec:{
finblk:"",
opndat:"", // Open Date .bpdgrp.rec.opndat
matdat:"", // Maturity Date .bpdgrp.rec.matdat
fintyp:"", // Type of Advance .bpdgrp.rec.fintyp
......@@ -35,6 +36,7 @@ export default class Bptsel{
pntnam:"", // Name of Parent Contract .bpdgrp.rec.pntnam
ownref:"", // Invoice Advancing Ref. .bpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bpdgrp.rec.nam
inr:""
},
},
cfgfil:{
......
......@@ -398,5 +398,21 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBptmodButgetref() {
let rtnmsg = await this.executeRule("bptmod.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
},
}
\ No newline at end of file
......@@ -59,7 +59,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bptp.purtyp":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
......@@ -126,9 +125,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 17,message:"长度不能超过17"}
],
"setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
......@@ -216,23 +212,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"bpdgrp.rec.pntref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.pntnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fpdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -6,21 +6,22 @@ export default class Bptset{
this.data = {
bpdgrp:{
rec:{
pntref:"", // 单据编号 .bpdgrp.rec.pntref
inr:"",
pntref:"", // 单据编号 Parent Reference .bpdgrp.rec.pntref
pntnam:"", // Name of Parent Contract .bpdgrp.rec.pntnam
ownref:"", // 融资业务编号 .bpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bpdgrp.rec.nam
fintyp:"", // 融资类型 .bpdgrp.rec.fintyp
fintyp:"", // 融资类型 Type of Advance .bpdgrp.rec.fintyp
pctfin:"", // Percentage .bpdgrp.rec.pctfin
opndat:"", // 起息日期 .bpdgrp.rec.opndat
opndat:"", // 起息日期 Open Date .bpdgrp.rec.opndat
matdat:"", // Maturity Date .bpdgrp.rec.matdat
finact:"", // 融资帐号 .bpdgrp.rec.finact
finact:"", // 融资帐号 Advance Amount .bpdgrp.rec.finact
fincod:"", // 借据号 .bpdgrp.rec.fincod
ovdflg:"", // Overdue Flag .bpdgrp.rec.ovdflg
tolrat:"", // 执行利率 .bpdgrp.rec.tolrat
ffttyp:"", // 福费廷转卖类型 .bpdgrp.rec.ffttyp
fortyp:"", // Forfaiting Type .bpdgrp.rec.fortyp
lctyp:"", // L/C Type .bpdgrp.rec.lctyp
changectyp:"", // L/C Type .bpdgrp.rec.lctyp
f0104:"", // 境外付款人所属部门 .bpdgrp.rec.f0104
f0105:"", // 境外付款人与本机构的关系 .bpdgrp.rec.f0105
f0102:"", // 是否附有银行承兑汇票 .bpdgrp.rec.f0102
......@@ -28,6 +29,8 @@ export default class Bptset{
bennam:"", // 国内证受益人中文名称 .bpdgrp.rec.bennam
loanno:"", // 原一级市场买入融资借据号 .bpdgrp.rec.loanno
benidcode:"", // 国内信用证受益人统一信用代码 .bpdgrp.rec.benidcode
finblk:"",
calflg:"",
},
cbs:{
max:{
......@@ -192,7 +195,9 @@ export default class Bptset{
amt:"", // 偿还本金 .bptmod.finmod.cbs.cbe.amt
},
totint:"", // 偿还利息总额 .bptmod.finmod.cbs.totint
calflg:"",
},
act1:"",
acttyp:"", // 第三方还款方式 .bptmod.finmod.acttyp
act3:"", // 第三方还款账号 .bptmod.finmod.act3
intprd:"", // 计息周期 .bptmod.finmod.intprd
......@@ -355,6 +360,8 @@ export default class Bptset{
dtgmod:{
dtgtagm46:"", // Advice of Issuing Bnk .trnmod.trndoc.dtgmod.dtgtagm46
},
doceot:[],
},
cipmod:{
dddbsh:"", // 端到端标识号 .trnmod.cipmod.dddbsh
......
......@@ -5,6 +5,7 @@ export default class Infbpd{
constructor () {
this.data = {
infcon:{
objinr:"",
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
......@@ -71,6 +72,7 @@ export default class Infbpd{
},
bpdgrp:{
rec:{
inr:"",
pntref:"", // Parent Contract .bpdgrp.rec.pntref
pntnam:"", // Name .bpdgrp.rec.pntnam
ownref:"", // Finance Reference .bpdgrp.rec.ownref
......
......@@ -65,6 +65,7 @@ export default class Api
}
static async _post(url,data,method="post")
{
//debugger
let token = window.sessionStorage.token
let userId = window.sessionStorage.userId
let headers = {userId,token,"terminal":"WEB"};
......
......@@ -30,7 +30,7 @@
<el-form-item label="Reference" prop="bpdgrp.rec.ownref">
<c-input
v-model="model.bpdgrp.rec.ownref"
maxlength="16"
maxlength="16"
placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
......@@ -100,7 +100,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="margin-left: 20px">
<c-col :span="4" style="padding:5px; font: size 30%;">
<span>%</span>
</c-col>
</c-row>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
......
<template>
<c-page title="出口融资注销">
<c-page title="出口融资注销">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<el-form
:model="model"
......@@ -109,6 +123,9 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"/>
</div>
</c-page>
</template>
......@@ -176,18 +193,18 @@ export default {
tabClick(){
}
},
created:async function(){
console.log("进入bptcan交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
created:async function() {
console.log("进入bptcan交易");
let rtnmsg = await this.init(this.$route.query)
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
} else {
this.$notify.error({title: '错误', message: '服务请求失败!'});
}
}
}
}
</script>
......
<template>
<c-page title="出口融资注销">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000016 -->
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000010 -->
<el-tab-pane label="Incoming Tag 72/79" name="coninftag">
<c-content>
<m-coninftag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 Messages -->
<el-tab-pane label="报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000546 Attachments-->
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="DTA Fields" name="dtetag">
<c-content>
<m-dtetag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD001139 -->
<!-- <el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
<!--PD000204 -->
<el-tab-pane label="CIPS" name="cips">
<c-content>
<m-cips :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000449 -->
<el-tab-pane label="CIPS2.0" name="cips2">
<c-content>
<m-cips2 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000450 CIPS2.0 -->
<el-tab-pane label="CIPS3.0" name="cips3">
<c-content>
<m-cips3 :model="model" :codes="codes"/>
</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>
<m-fecp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"/>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bptcan from "~/model/Bptcan"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Bptcan/Check"
import Default from "~/model/Bptcan/Default"
import Pattern from "~/model/Bptcan/Pattern"
import Canp from "./Canp"
import Coninftag from "./Coninftag"
import Doctre from "./Doctre"
import Dtetag from "./Dtetag"
import Shisuan from "./Shisuan"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
import Fecp from "./Fecp"
// 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",
components:{
"m-canp" : Canp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-coninftag" : Coninftag,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-dtetag" : Dtetag,
"m-shisuan" : Shisuan,
"m-cips" : Cips,
"m-cips2" : Cips2,
"m-cips3" : Cips3,
"m-fecp" : Fecp,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "canp",
trnName: "bptcan",
model: new Bptcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bptcan交易");
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -2,6 +2,7 @@
<div class="eibs-tab">
<!-- =================顶部====================== -->
<c-row>
<!--line1-->
<c-col :span="24">
<c-col :span="11">
......@@ -95,6 +96,7 @@
</el-form-item>
</c-col>
</c-col>
</c-row>
<!-- =================中部====================== -->
......@@ -377,9 +379,10 @@
<c-row>
<c-col :span="12">
<el-form-item label="第一还款账号" prop="bptmod.finmod.act1">
<c-select v-model="model.bptmod.finmod.act1" style="width: 100%" placeholder="请选择第一还款帐号">
<!-- <c-select v-model="model.bptmod.finmod.act1" style="width: 100%" placeholder="请选择第一还款帐号">
<el-option v-for="(item, idx) in codes.codeSet['bptmod.finmod.act1']" :key="idx" :label="item.split('\t')[1]" :value="item.split('\t')[0]"></el-option>
</c-select>
</c-select> -->
<c-input v-model="model.bptmod.finmod.act1" style="width: 100%" placeholder="请输入第一还款账号"></c-input>
</el-form-item>
</c-col>
......@@ -582,21 +585,20 @@
<c-row>
<c-col :span="12">
<el-form-item label="第三方还款账号" prop="bptmod.finmod.act3">
<c-select v-model="model.bptmod.finmod.act3" style="width: 100%" placeholder="请选择第三方还款账号">
</c-select>
<c-input v-model="model.bptmod.finmod.act3" style="width: 100%" placeholder="请输入第三方还款账号"></c-input>
</el-form-item>
</c-col>
</c-row>
<!---line9---->
<c-row>
<c-col :span="12">
<el-form-item label="预扣息账号" prop="bptmod.finmod.intact">
<c-select v-model="model.bptmod.finmod.intact" style="width: 100%" placeholder="请选择利息付款帐号">
<!-- <c-select v-model="model.bptmod.finmod.intact" style="width: 100%" placeholder="请选择利息付款帐号">
<el-option v-for="(item, idx) in codes.codeSet['bptmod.finmod.intact']" :key="idx" :label="item.split('\t')[1]" :value="item.split('\t')[0]"></el-option>
</c-select>
</c-select> -->
<c-input v-model="model.bptmod.finmod.intact" style="width: 100%" placeholder="请输入利息付款帐号"></c-input>
</el-form-item>
</c-col>
......@@ -669,3 +671,4 @@ export default {
<style>
</style>
......@@ -27,8 +27,9 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="cfabpt.ownextkey">
<c-select v-model="model.cfabpt.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
<!-- <c-select v-model="model.cfabpt.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select> -->
<c-input v-model="model.cfabpt.ownextkey" style="width:100%" placeholder="请输入地区机构号"></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-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/Bptset/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="24">
<!-- =================顶部====================== -->
<c-row>
<!--line1-->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Parent Contract" prop="bpdgrp.rec.pntref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.pntref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="1">
<el-form-item label="" prop="" style="width: 100%">
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="bpdgrp.rec.pntnam" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.pntnam" maxlength="16" placeholder="" disabled></c-input>
<template slot="footer"> </template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!--line2-->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Finance Reference" prop="bpdgrp.rec.ownref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button size="small" type="primary" @click="onBptmodButgetref">
Get
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="bpdgrp.rec.nam" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.nam" maxlength="16" placeholder="" disabled></c-input>
<template slot="footer"> </template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!--line3-->
<c-col :span="24">
<!-- <c-col :span="11">-->
<!-- <el-form-item label="Purchase Agreement" prop="bptp.fpdgrp.rec.ownref" style="width: 100%">-->
<!-- <c-fullbox>-->
<!-- <c-input v-model="model.bptp.fpdgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" disabled></c-input>-->
<!-- <template slot="footer">-->
<!-- <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">-->
<!-- <span style="font-family: '宋体'; font-weight: bold">i</span>-->
<!-- </c-button>-->
<!-- </template>-->
<!-- </c-fullbox>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<c-col :span="1">
<el-form-item label="" prop="" style="width: 100%">
</el-form-item>
</c-col>
<!-- <c-col :span="12">-->
<!-- <el-form-item label="Name" prop="bptp.fpdgrp.rec.nam" style="width: 100%">-->
<!-- <c-fullbox>-->
<!-- <c-input v-model="model.bptp.fpdgrp.rec.nam" maxlength="16" placeholder="" disabled></c-input>-->
<!-- <template slot="footer"> </template>-->
<!-- </c-fullbox>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
</c-col>
</c-row>
<!---->
<!-- ------页面左侧----------- -->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Verification Certificate Number" prop="bpdgrp.rec.pntref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.bpdgrp.rec.pntref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Verification Certificate Number" >
<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="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="24">
<el-form-item label="ACT" prop="lendoc.account">
<c-input :disabled="model.lendoc.actflg!='X'" 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-col :span="6" :offset="6">
<c-checkbox v-model="model.lendoc.actflg">Input Account</c-checkbox>
</el-col>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getset/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-col :span="24" style="">
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="Medium">
<template slot-scope="scope">
<c-select
v-model="
scope.row.cortyp
"
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codes.doceotCortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="报文格式">
<template slot-scope="scope">
<c-select
v-model="
scope.row.docsnf
"
style="width: 100%"
placeholder="请选择"
@change="executeDefault('trnmod.trndoc.doccur.docsnf')"
>
<el-option
v-for="item in codes.docsnf"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="语言" width="150%">
<template slot-scope="scope">
<c-select
v-model="
scope.row.docuil
"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.uiltxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="传送方式">
<template slot-scope="scope">
<c-select
v-model="
scope.row.apf
"
disabled
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.apftxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Or." width="65%">
<template slot-scope="scope">
<c-input
v-model="
scope.row.apfcpy1
"
:readonly="true"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="CC" width="65%">
<template slot-scope="scope">
<c-input
v-model="
scope.row.apfcpy2
"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="">
<template slot-scope="scope">
<c-select
v-model="
scope.row.staflg
"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.swttlx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="115px" fixed="right">
<template slot-scope="scope">
<c-button
type="primary"
size="small"
:disabled="
scope.row
.pandsc == 'MT799' && model.didgrp && model.didgrp.rec &&
model.didgrp.rec.elcflg == 'Y'
"
@click="handleDisplay(scope.row.index, scope.row, model.trnmod.trndoc.doceot[scope.row.idx])"
icon="el-icon-search"
style="margin-left:0"
></c-button
>
<c-button
size="small"
type="primary"
icon="el-icon-edit"
style="margin-left:0"
@click="handleDetail(scope.row.index, scope.row)"
></c-button
>
</template>
</el-table-column>
</c-istream-table-docpan>
</c-col>
<c-col :span="12" style="margin-top:20px">
<c-col :span="24">
<el-form-item
label="国内证落款"
prop="trnmod.trndoc.advnam"
v-if="root.trnName=='DITCAN' || root.trnName == 'BDTSET' || root.trnName == 'TRTAME' || root.trnName == 'TRTSET' || root.trnName == 'DETOPN' || root.trnName == 'DETAME' || root.trnName == 'BFTDRV' || root.trnName == 'BFTSND' || root.trnName == 'BPTOPN' || root.trnName == 'BPTAME' || root.trnName == 'BPTSET' || root.trnName == 'BFTACC' || root.trnName == 'DFTAME' || root.trnName == 'DFTSET'"
>
<c-input
v-model="model.trnmod.trndoc.advnam"
maxlength="50"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="修改申请人名称"
prop="trnmod.trndoc.amdapl"
v-if=" root.trnName== 'detame' || root.trnName == 'bftsnd'"
>
<c-input
v-model="model.trnmod.trndoc.amdapl"
maxlength="100"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="国内证通知书"
prop="trnmod.trndoc.advdoc"
v-if=" root.trnName== 'detopn' || root.trnName == 'detame'"
>
<c-select
v-model="model.trnmod.trndoc.advdoc"
placeholder="请选择"
style="width: 100%"
:code="codes.trndoc_advdoc"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<template>
<el-dialog
:title="title"
:visible.sync="centerDialogVisible"
width="60%"
center
>
<el-form label-width="100px" :model="dialog">
<c-row>
<c-col :span="12">
<c-col>
<el-form-item label="per-medium">
<c-select disabled v-model="dialog.cortyp" :code="codes.doceotCortyp">
</c-select>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="Form Set">
<!-- <el-input
disabled
v-model="dialog.cortyp"
/> -->
<c-select disabled v-model="dialog.cortyp" :code="codes.doceotCortyp">
</c-select>
</el-form-item>
</c-col>
<c-col v-if="title != 'elcs.101.001.01'">
<el-form-item>
<el-input
disabled
style="width: 150px"
value="Original"
/>
<el-input
v-model="dialog.apfcpy1"
style="width: 100px; margin-left: 20px"
/>
</el-form-item>
<el-form-item>
<el-input
disabled
style="width: 150px"
value="Customer Copy"
/>
<el-input
v-model="dialog.apfcpy2"
style="width: 100px; margin-left: 20px"
/>
</el-form-item>
<el-form-item>
<el-input
disabled
style="width: 150px"
value="File Copy"
/>
<el-input
v-model="dialog.apfcpy3"
style="width: 100px; margin-left: 20px"
/>
</el-form-item>
<el-form-item>
<el-input
disabled
style="width: 150px"
value="Internal Copy"
/>
<el-input
v-model="dialog.apfcpy4"
style="width: 100px; margin-left: 20px"
/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item
label="Send Message to"
label-width="150px"
>
<!-- <el-input disabled v-model="dialog.roladr" /> -->
<c-select disabled v-model="dialog.roladr" :code="codes.payrol">
</c-select>
</el-form-item>
<el-form-item
label-width="150px"
v-if="title == 'elcs.101.001.01'"
>
<c-fullbox>
<c-input
v-model="dialog.rcv.pts.extkey"
@keyup.enter.native="
showGridPromptDialog('trnmod.trndoc.doccur.rcv.pts.extkey')
"
/>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search"
></c-button
>
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
<el-form-item v-else label="BIC" label-width="150px">
<el-input v-model="dialog.rcv.pts.extkey" />
</el-form-item>
<el-form-item
v-if="title == 'elcs.101.001.01'||(title != 'elcs.101.001.01'&&dialog.rcv.pts.bankno!='')"
label="联行行号" label-width="150px"
>
<el-input v-model="dialog.rcv.pts.bankno" />
</el-form-item>
<el-form-item label-width="30px">
<el-input
:value="
title == 'elcs.101.001.01'
? dialog.rcv.namelc
: dialog.rcv.pts.jigomc
"
:disabled="title != 'elcs.101.001.01'"
type="textarea"
:rows="2"
/>
<br />
<el-input
:value="
title == 'elcs.101.001.01'
? dialog.rcv.adrelc
: dialog.rcv.pts.dizzhii
"
:disabled="title == 'MT799'"
type="textarea"
:rows="2"
/>
</el-form-item>
<el-form-item label="Reference" label-width="100px">
<el-input disabled v-model="dialog.adrref" />
</el-form-item>
<el-form-item label="Medium" label-width="100px">
<!-- <el-input
disabled
style="width: 40%"
v-model="dialog.cortyp"
/> -->
<c-select disabled style="width: 40%" v-model="dialog.cortyp" :code="codes.doceotCortyp">
</c-select>
<!-- <el-input
disabled
v-model="dialog.docuil"
style="width: 40%; margin-left: 20px"
/> -->
<c-select disabled style="width: 40%; margin-left: 20px" v-model="dialog.docuil" :code="codes.payuil">
</c-select>
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
<c-col :span="12" v-if="title != 'MT799'">
<el-form-item
label="Adress Amend"
label-width="120px"
>
<el-input
type="textarea"
v-model="dialog.adrblk"
:rows="4"
/>
</el-form-item>
</c-col>
<c-col :span="12" v-else>
<el-form-item label="BIC">
<el-input disabled v-model="dialog.adrbic" />
</el-form-item>
<el-form-item label="Authenticator"
><el-input disabled v-model="dialog.adrbicaut"
/></el-form-item>
<el-form-item label="Priority"
><el-input disabled v-model="dialog.msgpri"
/></el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="30px">
<el-table
:data="dialog.rcv.ptyinftxt.rows"
size="mini"
stripe
:border="true"
empty-text=" "
max-height="430px"
>
<el-table-column label="Corr.Type" sortable>
</el-table-column>
<el-table-column label="Adressing" sortable>
</el-table-column>
<el-table-column
label="Authentication"
sortable
>
</el-table-column>
</el-table>
</el-form-item>
</c-col>
<c-col v-if="title != 'MT799'"
><el-form-item label="Letter Date">
<el-date-picker
type="date"
v-model="dialog.docdat"
>
</el-date-picker
></el-form-item>
</c-col>
<c-col
><el-form-item label="Contact"
><el-input v-model="dialog.ptcnam"
/></el-form-item>
</c-col>
<c-col :span="22"
><el-form-item
:label="
title == 'MT799'
? 'Sender to Rec. information'
: 'Remark'
"
>
<div v-if="title == 'MT799'">
<el-input
type="textarea"
:rows="10"
disabled
v-model="dialog.addtxt"
/>
</div>
<div v-else>
<el-input
type="textarea"
:rows="10"
v-model="dialog.addtxt"
/>
</div>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="mini">... </c-button>
</c-col>
</c-row>
</el-form>
<template #footer>
<span class="dialog-footer">
<c-button type="primary" @click="saveDialog"
>确 定</c-button
>
<c-button @click="centerDialogVisible = false"
>取 消</c-button
>
</span>
</template>
</el-dialog>
</template>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Api from "~/service/Api";
import Utils from "~/utils/index";
import DocUtils from "~/utils/DocUtils";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
index: 0,
title: "",
dialog: {
rcv: {
pts: {},
ptyinftxt: {},
},
},
centerDialogVisible: false,
stmData: {
columns: [
//注释的已改成静态
"role 收报人 80px",
"pandsc 描述 260px",
//"cortyp 类型",
//"docsnf 报文格式",
//"docuil 语言",
//"apf 传送方式"
],
data: [],
},
};
},
watch: {
"model.trnmod.trndoc.doceot": {
handler(val, oldVal) {
var stm = [];
for (let i = 0; i < val.length; i++) {
if (val[i].role != "") {
val[i]['idx'] = i
stm.push(val[i]);
}
}
this.stmData.data = stm
},
immediate: true
}
},
methods: {
saveDialog() {
this.centerDialogVisible = false;
this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog);
this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => {
if(res.respCode==SUCCESS){
//TODO
}else{
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
async handleDisplay(index, row,doceot){
//后续要根据快照模式切换请求方式
let cortyp = row.cortyp
let docuil = doceot.docuil;
let docnam = doceot.docnam||'';
docnam = docnam.substr(docnam.indexOf("\\")+1).toLowerCase().replaceAll("\\","_");
let rtnmsg
// if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
// // this.model.setmod.msgmod.doccod = row.id
// rtnmsg = await Api.post(`${this.requestPrefix}/msgmod_butshw`, this.wrapper())
// } else {
// // this.model.trnmod.trndoc.doccod = row.id
// // this.model.trnmod.trndoc.cortyp = cortyp
// }
const params = {
index: row.idx
}
rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpan`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = rtnmsg.data.setmod_msgmod_docpth;
this.viewurl = viewurl
this.title = "报文"
//window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else if (cortyp == 'ELC') {
Modal.info({
title: '电证报文', content: <div style={{ height: 400, overflow: 'auto' }}><ELCMessage mty={row.id} message={rtnmsg.data["\\trnmod\\trndoc\\docinf"]} /></div>,
width: 1000,
})
}
else {
// let url = rtnmsg.data.trnmod_trndoc_smh_docpth;
this.title = "面函"
let viewurl = "/#/docpan/show";
let XMLdata;
if (row.pandsc.startsWith("elcs.")) {
window.sessionStorage.docXML = ''
window.sessionStorage.docTXT = ''
rtnmsg.data.trnmod_trndoc_doceot[row.idx].doctxt.rows.forEach(element => {
window.sessionStorage.docTXT += element + "\r\n"
});
}
else if (row.pandsc == "MT799") {
window.sessionStorage.docTXT = ''
XMLdata = rtnmsg.data.litbenl1blk
}
else{
//参考后台Doceot.butshw order=1000
let execution = 'P', structure = 'l'
let attr = DocUtils.getDocAttribute(docnam,structure,execution)
console.log(attr);
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data[attr];
window.sessionStorage.docuil = doceot.docuil;
}
// console.log( window.sessionStorage.docTXT);
// console.log( window.sessionStorage.docXML);
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
this.dialogOpen = true
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' })
}
},
async handleDetail(index, row) {
const params = {
index: row.idx
}
let rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpanDetail`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc
this.centerDialogVisible = true,
this.updateModel(rtnmsg.data);
this.dialog = this.model.trnmod.trndoc.doceot[row.idx]
this.index = row.idx
}
}
},
created: function () {},
};
</script>
<style>
</style>
......@@ -42,9 +42,9 @@ import Infled from './Infled'
import Bptopn from './Bptopn'
//import Bptset from './Bptset'
import Bptame from './Bptame'
//import Bptcrf from './Bptcrf'
//import Bptcrf from "./Bptcrf"
import Bptcan from './Bptcan'
import Bptset from "./Bptset"
import Sptrel from "./Sptrel"
import Sptrou from "./Sptrou"
import Bddsel from "./Bddsel"
......@@ -284,8 +284,10 @@ const BusRouter = [
//{ path: 'bptsel', component: Bptsel, name: 'Bptsel', meta: { title: '出口融资入口交易' } },
{ path: 'bptopn', component: Bptopn, name: 'Bptopn', meta: { title: '出口融资放款' } },
{ path: 'bptame', component: Bptame, name: 'Bptame', meta: { title: '出口融资修改' } },
{ path: 'bptset', component: Bptset, name: 'Bptset', meta: { title: '出口融资还款' } },
//{ path: 'bptcrf', component: Bptcrf, name: 'Bptcrf', meta: { title: '出口融资返还' } },
{ path: 'bptcan', component: Bptcan, name: 'Bptcan', meta: { title: '出口融资注销' } },
{ path: 'betacc', component: Betacc, name: 'Betacc', meta: { title: '出口信用证单据承兑' } },
......
......@@ -364,7 +364,7 @@ export default {
visiable:{
get:function () {return this.visible;},
set:function (value) {
debugger;
//debugger;
this.$parent.$parent.dialogVisible2 =value;
}
......
......@@ -337,43 +337,11 @@
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
style="margin-left: 0px, padding: 20px 16px"
type="primary"
@click="toBptopn"
>出口融资放款</c-button
>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
type="primary"
@click="toBPTSET"
>出口融资融资还款</c-button
>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
type="primary"
@click="toBPTAME"
>出口融资修改</c-button
>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
type="primary"
@click="toBPTCRF"
>出口融资融资返还</c-button
>
<c-button
class="medium_bcs"
size="medium"
style="margin-left: 0px,padding: 20px 16px"
type="primary"
@click="toBPTCAN"
>出口融资注销</c-button
>
</c-col>
<!-- <el-row> -->
......@@ -448,7 +416,7 @@
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
@click="getButtons(scope.row['OWNREF'])"
>
处理
</c-button>
......@@ -466,12 +434,12 @@
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
>
</div>
<m-busbtn ref="childs" :ownref="ownref" :model="BptselModel" ownrefPath="bpdgrp" trnCode="bptsel" @onChoose="onChoose"
>11</m-busbtn>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
......@@ -479,6 +447,8 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbpd/Event";
import BusNavbar from "~/views/Public/BusNavbar";
import BptselModel from "~/model/Bptsel"
export default {
inject: ["root"],
props: ["model", "codes"],
......@@ -486,7 +456,9 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
BptselModel: new BptselModel().data,
ownref: "",
initdialog: false,
dialogTableVisible: false,
searchToggle: true,
stmData: {
......@@ -616,32 +588,33 @@ export default {
methods: {
...Event,
async getButtons(ownref){
this.ownref = ownref
this.$refs.childs.initdialog = true
console.log("ownref:" +ownref);
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.bpdgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
} ,
async getDitSelInfo(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.$refs.childs.initdialog = false
},
// async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.bpdgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
// this.dialogTableVisible = true;
// let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
}
},
// if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// }
// },
closeTrn(refId) {
this.$refs[refId].doClose();
},
......
......@@ -106,7 +106,6 @@ import Smhinfp from "./Smhinfp";
import Peninfp from "./Peninfp";
import Liainfp from "./Liainfp";
import Prtpan from "./Prtpan";
export default {
components: {
"m-infsea": Infsea,
......
<template>
<ReviewWrapper>
<Bptopn></Bptopn>
</ReviewWrapper>
</template>
<script>
import Bptopn from "~/views/Business/Bptopn";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBptopn",
components: { ReviewWrapper, Bptopn },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Bptset></Bptset>
</ReviewWrapper>
</template>
<script>
import Bptset from "~/views/Business/Bptset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBptset",
components: { ReviewWrapper, Bptset },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -90,6 +90,8 @@ import ReviewBetamc from "./Business/ReviewBetamc.vue";
import ReviewCptcan from "./Business/ReviewCptcan.vue";
import ReviewCptrep from "./Business/ReviewCptrep.vue";
import ReviewCltdav from "./Business/ReviewCltdav.vue";
import ReviewBptopn from "./Business/ReviewBptopn.vue";
import ReviewBptset from "./Business/ReviewBptset";
const ReviewRouter = [
......@@ -198,6 +200,8 @@ const ReviewRouter = [
{ path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } },
{ path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } },
{ path: "Cptrep", component: ReviewCptrep, name: "ReviewCptrep", meta: { title: "复核-Cptrep" } },
{ path: "Bptopn", component: ReviewBptopn, name: "ReviewBptopn", meta: { title: "复核-Bptopn" } },
{ path: "Bptset", component: ReviewBptset, name: "ReviewBptset", meta: { title: "复核-Bptset" } },
];
......
......@@ -313,7 +313,7 @@ export default {
getWeekNo(date) {
let week = moment(date).day();
if (week === 0) {
debugger;
//debugger;
return "7";
} else {
return week;
......@@ -352,7 +352,7 @@ export default {
//间隔价格:
let invPrice;
if (this.model.price2 > this.model.price1) {
debugger;
//debugger;
invPrice = this.model.price2 - this.model.price1;
} else {
invPrice = this.model.price1 - this.model.price2;
......
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