Commit 675622b3 by suwenhao

litopn进口信用证开立;

parent 57324c19
export default {
buildPtspta (ptsptaObj) {
let pts = ptsptaObj.pts;
let ptspta = {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk
};
return ptspta;
},
buildCommonData (model, trnName) {
let ptsptaList = [];
if (model.lidgrp.apl.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.apl));
}
if (model.lidgrp.adv.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.adv));
}
if (model.lidgrp.ben.pts.extkey) {
ptsptaList.push(this.buildPtspta(model.lidgrp.ben));
}
let dataObj = {
rec: {
objtyp: 'LID',
ownref: model.lidgrp.rec.ownref,
opndat: model.lidgrp.rec.opndat,
expdat: model.lidgrp.rec.expdat,
branchInr: model.lidgrp.rec.branchInr,
hndtyp: model.lidgrp.rec.hndtyp,
gartyp: model.lidgrp.rec.gartyp,
fingua: model.lidgrp.rec.fingua,
// segtyp: model.lidgrp.ghd.segtyp,
fromflg: model.lidgrp.rec.fromflg,
othersno: model.lidgrp.rec.othersno,
sndto: model.lidgrp.rec.sndto,
// swiftflg: model.gitp.swiftflg,
giduil: model.lidgrp.rec.giduil,
purpos: model.lidgrp.rec.purpos,
revflg: model.lidgrp.rec.revflg,
cnfsta: model.lidgrp.rec.cnfsta,
},
cbsMap: {
MAX: model.lidgrp.cbs.max,
OPN1: model.lidgrp.cbs.opn1,
MAC: model.lidgrp.cbs.mac,
MAC2: model.lidgrp.cbs.mac2,
OPC2: model.lidgrp.cbs.opc2,
CNF: model.lidgrp.cbs.cnf,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : 'ZL'
};
return dataObj
},
buildSetfeg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaall: model.liaall,
liaccv: model.liaccv,
doceot: model.trnmod.trndoc.doceot,
};
return params
},
buildSetglg (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
buildGlentry (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
setfog: model.setmod.setfog,
setfeg: model.setmod.setfeg,
setglg: model.setmod.setglg,
};
return params
},
buildEngp (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaallg: model.liaall.liaallg,
};
return params
},
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
};
return params
},
buildCcvpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
liaccvg: model.liaccv.liaccvg,
oldamt: model.liaccv.oldamt,
chgamt: model.liaccv.chgamt,
concur: model.liaccv.concur,
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LID',
objinr: model.lidgrp.rec.objinr,
ownref: model.lidgrp.rec.ownref,
// swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
...this.buildCommonData(model, trnName),
setglg
};
return params
}
}
\ No newline at end of file
<template>
<div class="eibs">
<c-col :span="20">
<c-col :span="10">
<el-form-item label="附加金额" prop="lidgrp.cbs.max2.cur">
<c-select
v-model="model.lidgrp.cbs.max2.cur"
style="width: 100%"
placeholder="请选择币种"
disabled
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.max2.amt"
>
<c-input-currency
v-model="model.lidgrp.cbs.max2.amt"
style="text-align: left; width: 100%"
placeholder="0"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="附加金额余额" prop="lidgrp.cbs.opn2.cur">
<c-select
v-model="model.lidgrp.cbs.opn2.cur"
style="width: 100%"
placeholder=""
disabled
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.opn2.amt"
>
<c-input-currency
v-model="model.lidgrp.cbs.opn2.amt"
style="text-align: left; width: 100%"
placeholder="0"
disabled
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="39C场覆盖" prop="lidgrp.blk.addamtcov">
<c-input
type="textarea"
v-model="model.lidgrp.blk.addamtcov"
maxlength="140"
:rows="4"
show-word-limit
placeholder=""
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, event],
data(){
return {
}
},
methods:{
max2Amt(){
this.executeDefault("max2.amt").then(
(res) => {
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="20">
<el-form-item label="附加条款" prop="lidgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="52000" :rows="25" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
@click="queryGridEtyPromptDialogData('BLK', '')">
</c-button>
</c-col>
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
:disabled="this.model.lidgrp.blk.spcrcb !='' "
v-model="model.lidgrp.rec.spcbenflg"
>受益人特殊付款条款</c-checkbox>
</c-col>
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
:disabled="this.model.lidgrp.blk.spcben !='' "
v-model="model.lidgrp.rec.spcrcbflg">银行专用特殊付款条款</c-checkbox>
</c-col>
<c-col :span="24" >
<c-checkbox
style="margin-left:150px;padding: 0 10px;"
v-model="model.lidgrp.rec.redclsflg">红/绿条款</c-checkbox>
</c-col>
<c-col :span="20">
<el-form-item label="付款指示Accept., Negot. Bank" prop="lidgrp.blk.insbnk">
<c-input type="textarea" v-model="model.lidgrp.blk.insbnk" maxlength="12000" :rows="8" show-word-limit placeholder="请输入付款指示" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
@click="queryGridEtyPromptDialogData('BLK', '')">
</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 "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="备查表" name="addbcb">
<c-col :span="24">
<el-col :span="12">
<el-form-item label="货物简称" prop="godnam">
<c-input
v-model="model.godnam"
maxlength="40"
style="width: 50%"
placeholder="请输入货物简称"
></c-input>
</el-form-item>
</el-col>
</c-col>
<c-col :span="24">
<el-form-item label="备案表类型" style="float:left;">
<c-checkbox v-model="model.bcbtyp1">不在名录</c-checkbox>
<c-checkbox v-model="model.bcbtyp2">异地付汇</c-checkbox>
<c-checkbox v-model="model.bcbtyp3">转口贸易</c-checkbox>
<c-checkbox v-model="model.bcbtyp4">90天以上信用证</c-checkbox>
<c-checkbox v-model="model.bcbtyp5">不需要</c-checkbox>
<c-checkbox v-model="model.bcbtyp6" style="margin-right:30px;">其它</c-checkbox>
</el-form-item>
<el-form-item label="" prop="bcbtyp7" v-if="model.bcbtyp6">
<c-input
v-model="model.bcbtyp7"
maxlength="30"
style="width: 21.8%"
placeholder="请输入备查表类型填写文本框"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp1">不在名录</c-checkbox>
</c-col>
<c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp2">异地付汇</c-checkbox>
</c-col>
<c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp3">转口贸易</c-checkbox>
</c-col>
<c-col :span="6" class=".centerLable">
<c-checkbox v-model="model.bcbtyp4">90天以上信用证</c-checkbox>
</c-col>
<c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp5">不需要</c-checkbox>
</c-col>
<c-col :span="4" class=".centerLable">
<c-checkbox v-model="model.bcbtyp6">其它</c-checkbox>
</c-col> -->
<c-col :span="10" :pull="5"> </c-col>
<c-col :span="18">
<el-form-item label="备案表效期" prop="bcbdat">
<c-date-picker
type="date"
v-model="model.bcbdat"
style="width: 30.75%"
placeholder="请选择备案表效期"
></c-date-picker>
</el-form-item>
</c-col>
<!--
<c-col :span="15" :push="1">
<el-form-item label="1、申请人与我行已签署贸易融资协议(如需);" label-width="360px"></el-form-item>
</c-col>
<c-col :span="15" :push="1">
<el-form-item label="2、申请书要素齐全;" label-width="360px"></el-form-item>
</c-col>
<c-col :span="15" :push="1">
<el-form-item label="3、申请书是否双面签章,签章已经核符;" label-width="360px"></el-form-item>
</c-col>
<c-col :span="15" :push="1">
<el-form-item label="4、占用授信额度的开证业务;" label-width="360px"></el-form-item>
</c-col>
-->
<el-col :span="24">
<el-form-item label="交易银行部意见">
<div
v-text="model.label1"
data-path=".label1"
class="lableSize"
></div>
<div
v-text="model.label2"
data-path=".label2"
class="lableSize"
></div>
<div
v-text="model.label3"
data-path=".label3"
class="lableSize"
></div>
<div
v-text="model.label4"
data-path=".label4"
class="lableSize"
></div>
</el-form-item>
</el-col>
<!-- <c-col :span="15" :push="1">
<span v-text="model.label2" data-path=".label2" class="lableSize"> </span>
</c-col>
<c-col :span="15" :push="1">
<span v-text="model.label3" data-path=".label3" class="lableSize"> </span>
</c-col>
<c-col :span="15" :push="1">
<span v-text="model.label4" data-path=".label4" class="lableSize"> </span>
</c-col>
-->
<c-col :span="24">
<el-form-item label="" prop="label5">
<c-select
v-model="model.label5"
style="width: 33%"
placeholder="请选择国际部意见"
:code="codes.label5"
>
</c-select>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<span v-text="model.label6" data-path=".label6" > </span>
</c-col>
-->
<!-- <c-col :span="24">
<el-form-item label="异地通知" prop="bccls1" label-width="270px">
<c-select v-model="model.bccls1" style="width:30%" placeholder="请选择异地通知" :code="codes.bccls1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人为保税区企业" prop="bccls2" label-width="270px">
<c-select v-model="model.bccls2" style="width:30%" placeholder="请选择受益人为保税区企业" :code="codes.bccls2">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="运输单据抬头人为开证行,申请人不得拒付" prop="bccls3" label-width="270px">
<c-select v-model="model.bccls3" style="width:30%" placeholder="请选择运输单据抬头人为开证行,申请人不得拒付" :code="codes.bccls3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="目的港在境外的转口贸易/境外工程业务" prop="bccls4" label-width="270px">
<c-select v-model="model.bccls4" style="width:30%" placeholder="请选择目的港在境外的转口贸易/境外工程业务" :code="codes.bccls4">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="起运地与目的地均为国内,属于加工贸易深加工" prop="bccls5" label-width="270px">
<c-select v-model="model.bccls5" style="width:30%" placeholder="请选择起运地与目的地均为国内,属于加工贸易深加工" :code="codes.bccls5">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="非物权凭证,贸易背景真实" prop="bccls6" label-width="270px">
<c-select v-model="model.bccls6" style="width:30%" placeholder="请选择非物权凭证,贸易背景真实" :code="codes.bccls6">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="超90天,已经总行贸易金融部批准办理" prop="bccls7" label-width="270px">
<c-select v-model="model.bccls7" style="width:30%" placeholder="请选择超90天,已经总行贸易金融部批准办理" :code="codes.bccls7">
</c-select>
</el-form-item>
</c-col> -->
</el-collapse-item>
<el-collapse-item title="附言" name="coninfp">
<!-- 附言 -->
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import event from "../event";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, event],
data() {
return {
activeNames: ["addbcb"],
};
},
methods: {
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
.lableSize {
font-size: 1px;
}
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="申报信息" name="cnyp">
<c-col :span="12">
<c-col :span="18">
<el-form-item label="报送跨境人民币2101表" prop="cnybop.cnyflg" label-width="150px;">
<c-select
disabled
v-model="model.cnybop.cnyflg"
placeholder="请选择是否报送跨境人民币2101表"
:code="codes.cnyflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="报送跨境人民币2107表" prop="cnybop.traflg" label-width="150px;">
<c-select
disabled
v-model="model.cnybop.traflg"
placeholder="请选择是否报送跨境人民币2107表"
:code="codes.traflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="报送跨境人民币2111表" prop="cnybop.outflg" label-width="150px;">
<c-select
disabled
v-model="model.cnybop.outflg"
placeholder="请选择是否报送跨境人民币2111表"
:code="codes.outflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="报送跨境人民币2106表" prop="cnybop.libflg" label-width="150px;">
<c-select
v-model="model.cnybop.libflg"
placeholder="请选择是否报送跨境人民币2106表"
:code="codes.libflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="报送跨境人民币2122表" prop="cnybop.vouflg" label-width="150px;">
<c-select
disabled
v-model="model.cnybop.vouflg"
placeholder="请选择是否报送跨境人民币2122表"
:code="codes.vouflg"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-collapse-item>
<el-collapse-item
title="2106银行跟单结算及表外融资"
name="libp"
v-if="this.model.cnybop.libflg == '1'"
>
<!-- 2106银行跟单结算及表外融资 -->
<m-libp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import event from "../event";
import Libp from "./Libp";
export default {
inject: ["root"],
components: { "m-libp": Libp },
props: ["model", "codes"],
mixins: [commonProcess, event],
data() {
return {
activeNames: ["cnyp"],
};
},
methods: { handleChange(){} },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="22">
<el-form-item label="货物/服务描述" prop="lidgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" :rows="30" show-word-limit placeholder="请输入货物或服务描述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary"
@click="queryGridEtyPromptDialogData('BLK', '')">
</c-button>
</c-col>
<c-col :span="18">
<el-form-item label="货物类型" prop="lidgrp.rec.stagod">
<c-select
v-model="model.lidgrp.rec.stagod"
style="width:100%"
placeholder="请选择货物类型"
:code="codes.godcod"
>
</c-select>
</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 "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="20">
<el-form-item label="单据要求" prop="lidgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="52000" :rows="30" show-word-limit placeholder="请输入单据要求" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
@click="queryGridEtyPromptDialogData('BLK', '')">
</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 "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<!--===============左 =================== -->
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnylib.spk">
<c-input
disabled
v-model="model.cnybop.cnylib.spk"
maxlength="20"
placeholder="请输入业务主键"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构代码" prop="cnybop.cnylib.sbankorgcode">
<c-input
disabled
v-model="model.cnybop.cnylib.sbankorgcode"
maxlength="12"
placeholder="请输入银行机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务属性" prop="cnybop.cnylib.stransattr">
<c-select
v-model="model.cnybop.cnylib.stransattr"
style="width: 100%"
placeholder="请选择业务属性"
:code="codes.stransattr"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外对手行代码"
prop="cnybop.cnylib.sforbankswiftbic"
>
<c-input
v-model="model.cnybop.cnylib.sforbankswiftbic"
maxlength="11"
placeholder="请输入境外对手行代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业机构代码" prop="cnybop.cnylib.sorgcode">
<c-input
v-model="model.cnybop.cnylib.sorgcode"
maxlength="18"
placeholder="请输入境内企业机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外企业国别地区代码"
prop="cnybop.cnylib.sforeigncountrycode"
>
<c-fullbox>
<c-input
v-model="model.cnybop.cnylib.sforeigncountrycode"
maxlength="3"
placeholder="请输入境外企业国别地区代码"
@keyup.enter.native="queryGridEtyPromptDialogData('CNYLIB', '')"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="
queryGridEtyPromptDialogData('CNYLIB', '')
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务到期日" prop="cnybop.cnylib.denddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.denddate"
style="width: 100%"
placeholder="请选择业务到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="cnybop.cnylib.currencycode">
<c-select
v-model="model.cnybop.cnylib.currencycode"
style="width: 100%"
placeholder="请选择币种"
:code="codes.currencycode"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限条件" prop="cnybop.cnylib.stermtype">
<c-select
v-model="model.cnybop.cnylib.stermtype"
style="width: 100%"
placeholder="请选择期限条件"
:code="codes.stermtype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑日期" prop="cnybop.cnylib.dexchangedate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.dexchangedate"
style="width: 100%"
placeholder="请选择承兑日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑到期日" prop="cnybop.cnylib.dexchangeenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.dexchangeenddate"
style="width: 100%"
placeholder="请选择承兑到期日"
></c-date-picker>
</el-form-item>
</c-col>
</el-col>
<!-- ===============右 ===========================-->
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="银行业务编号" prop="cnybop.cnylib.sbanktrano">
<c-input
disabled
v-model="model.cnybop.cnylib.sbanktrano"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构名称" prop="cnybop.sbankname">
<c-input
disabled
v-model="model.cnybop.sbankname"
maxlength="80"
placeholder="请输入银行机构名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务类型" prop="cnybop.cnylib.stranstype">
<c-select
v-model="model.cnybop.cnylib.stranstype"
style="width: 100%"
placeholder="请选择业务类型"
:code="codes.stranstype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业名称" prop="cnybop.sorgname">
<c-input
v-model="model.cnybop.sorgname"
maxlength="80"
placeholder="请输入境内企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境外企业名称" prop="cnybop.sforeignorgname">
<c-input
v-model="model.cnybop.sforeignorgname"
maxlength="80"
placeholder="请输入境外企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务发生日期" prop="cnybop.cnylib.doccurdate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.doccurdate"
style="width: 100%"
placeholder="请选择业务发生日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证到期日" prop="cnybop.cnylib.dcreditenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnylib.dcreditenddate"
style="width: 100%"
placeholder="请选择信用证到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="金额" prop="cnybop.cnylib.famt">
<c-input-currency-min
v-model="model.cnybop.cnylib.famt"
placeholder="请输入金额"
class="input-currency-left"
></c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑金额" prop="cnybop.fexchangeamt">
<c-input
v-model="model.cnybop.fexchangeamt"
maxlength="20"
placeholder="请输入承兑金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易附言" prop="cnybop.saddwordlib">
<c-input
v-model="model.cnybop.saddwordlib"
maxlength="80"
placeholder="请输入交易附言"
></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="交易对手名称" prop="hmdmod2.bennam">
<c-input v-model="model.hmdmod2.bennam" maxlength="105" 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 "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess, Event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="概要" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="附加金额"
name="aamp"
v-if="model.litp.aamp.aammod.addamtflg"
>
<!-- 附加金额 -->
<m-aamp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详情" name="detp">
<!-- 详情 -->
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="当事人" name="ptyp">
<!-- 当事人 -->
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="货物" name="dogp">
<!-- 货物 -->
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="单据" name="dorp">
<!-- 单据 -->
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="附加条款" name="adcp">
<!-- 附加条款 -->
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item
title="仅适用于指定银行的特殊付款条款"
name="spcrcvp"
v-if="model.lidgrp.rec.spcrcbflg"
>
<m-spcrcvp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="存在受益人的特殊付款条款"
name="spcbenp"
v-if="model.lidgrp.rec.spcbenflg"
>
<m-spcbenp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
import Ovwp1 from "./Ovwp1";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
import Doxp from "~/views/Public/Doxp";
import Aamp from "./Aamp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
export default {
components: {
"m-ovwp1": Ovwp1,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
"m-doxp": Doxp,
"m-aamp": Aamp,
"m-spcrcvp": Spcrcvp,
"m-spcbenp": Spcbenp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {
zmqflg: null,
flag: true,
activeNames: ["ovwp1"],
};
},
methods: {
open(val) {
if (
val === "" &&
!(
this.model.lidgrp.cbs.max2.amt == "0.000" &&
this.model.lidgrp.cbs.opn2.amt == "0.000" &&
this.model.lidgrp.blk.addamtcov === ""
)
) {
this.$confirm(
"是否确定要删除此合同的附加金额?",
"提示",
{
confirmButtonText: "是",
cancelButtonText: "否",
type: "warning",
showClose: false,
}
)
.then(() => {
//yes的执行在这里写
this.model.lidgrp.cbs.max2.amt = "0.000";
this.model.lidgrp.blk.addamtcov = "";
this.model.lidgrp.cbs.opn2.amt = "0.000";
this.$message({
type: "success",
message: "删除成功!",
});
})
.catch(() => {
//No的功能在这里写
this.model.litp.aamp.aammod.addamtflg = "X";
this.$message({
type: "info",
message: "已取消删除",
});
});
}
},
handleChange(val) {
console.log(val);
},
},
created: function () {},
watch: {
"model.lidgrp.rec.apprul": {
immediate: true,
handler(val, oldVal) {
if (val == "OTHR") {
this.flag = false;
} else {
this.flag = true;
}
},
},
},
computed: {
flag1() {
return this.model.lidgrp.apl.pts.extkey == "";
},
},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
<template>
<div class="eibs">
<c-col :span="22">
<el-form-item label="受益人特殊付款条款" prop="lidgrp.blk.spcben">
<c-input
type="textarea"
v-model="model.lidgrp.blk.spcben"
maxlength="65"
:rows="30"
show-word-limit
placeholder="请输入受益人特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-more"
@click="onSpcbenButtxmsel"
>
</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 "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="22">
<el-form-item
label="仅适用于指定银行的特殊付款条款"
prop="lidgrp.blk.spcrcb"
>
<c-input
type="textarea"
v-model="model.lidgrp.blk.spcrcb"
maxlength="65"
:rows="30"
show-word-limit
placeholder="请输入仅适用于指定银行的特殊付款条款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
@click="onSpcrcbButtxmsel"
icon="el-icon-more"
>
</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 "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess, Event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口信用证开立">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :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>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<!-- <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000002 -->
<el-tab-pane label="申报信息" name="cnyp,libp">
<c-content>
<m-cnyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData1"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import operationFunc from '~/mixin/operationFunc';
import Litopn from "../model";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "../model/check";
import Event from "../event";
import Ovwp from "./Ovwp";
import Aamp from "./Aamp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
import Addbcb from "./Addbcb";
import Cnyp from "./Cnyp";
import Libp from "./Libp";
import Namp from "./Namp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
import Limitbody from "~/components/business/limitbody/views";
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Coninfp from "~/components/business/coninfp/views";
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Glepan from "~/components/business/glentry/views";
import Doxp from "~/views/Public/Doxp";
import { mapState } from 'vuex';
export default {
name: "Litopn",
components: {
"m-ovwp": Ovwp,
"m-aamp": Aamp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
"m-doxp": Doxp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-addbcb": Addbcb,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-cnyp": Cnyp,
"m-libp": Libp,
"m-namp": Namp,
"m-limitbody": Limitbody,
"m-spcrcvp": Spcrcvp,
"m-spcbenp": Spcbenp,
},
provide() {
return {
root: this,
};
},
mixins: [operationFunc, Event],
computed: {
...mapState({
toHandleRowData: (state) => state.litopn.toHandleRowData
})
},
data() {
return {
tabVal: "ovwp",
trnName: "litopn",
model: new Litopn().data,
rules: Check,
codes: { ...CodeTable },
activeNames: ["engp"],
promptData: {
title: '',
columns: [],
data:[]
},
promptData1: {
title: '',
columns: [],
data:[]
}
};
},
methods: {
},
created: async function () {
console.log("进入litopn交易");
this.init();
},
};
</script>
<style></style>
......@@ -211,7 +211,6 @@
watch: {
reload(val) {
if(val) {
debugger
this.handleSearch()
}
}
......
......@@ -5,5 +5,6 @@ const Business = [
{ path: 'gitcan', component: () => import('~/business/gitcan/views'), name: 'gitcan', meta: { title: '进口保函注销' } },
{ path: 'getopn', component: () => import('~/business/getopn/views'), name: 'getopn', meta: { title: '出口保函通知' } },
{ path: 'inftrnpsDetail', component: () => import('~/business/trnrel/views/InftrnpsDetail.vue'), name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'litopn', component: () => import('~/business/litopn/views'), name: 'litopn', meta: { title: '进口信用证开立' } },
]
export default Business
......@@ -6,7 +6,8 @@ import TagsView from "./TagsView"
import Transaction from "./Transaction";
import Vuex from 'vuex'
import Vue from 'vue'
import gitopn from './modules/gitopn.js'
import gitopn from './modules/gitopn.js';
import litopn from './modules/litopn.js';
Vue.use(Vuex)
......@@ -18,7 +19,8 @@ const store = new Vuex.Store({
Swift: Swift,
TagsView: TagsView,
Transaction: Transaction,
gitopn
gitopn,
litopn,
}
})
......
const store = {
state: {
toHandleRowData: {},
},
mutations: {
updateToHandleRowData(state, params) {
state.toHandleRowData = params
}
}
}
export default store
......@@ -323,7 +323,7 @@ export default {
},
toLitopn() {
this.$router.history.push("/business/litopn");
this.$router.history.push("/business-new/litopn");
},
},
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