Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhouqian
vue-gjjs
Commits
f80a0e58
Commit
f80a0e58
authored
Oct 21, 2022
by
huangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letdrw的UI改造
parent
139b01c9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1419 additions
and
1219 deletions
+1419
-1219
Addbcb.vue
src/views/Business/Letdrw/Addbcb.vue
+55
-0
Ovwp.vue
src/views/Business/Letdrw/Ovwp.vue
+74
-1151
Ovwp1.vue
src/views/Business/Letdrw/Ovwp1.vue
+1184
-0
index.vue
src/views/Business/Letdrw/index.vue
+106
-68
No files found.
src/views/Business/Letdrw/Addbcb.vue
0 → 100644
View file @
f80a0e58
<
template
>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1
:model=
"model"
:codes=
"codes"
/>
</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
Utils
from
"~/utils"
;
import
Event
from
"~/model/Litcan/Event"
;
//import Addbcb1 from "~/views/Public/Addbcb1";
import
Coninfp
from
"~/views/Public/Coninfp"
;
export
default
{
components
:
{
"m-coninfp"
:
Coninfp
,
//"m-addbcb1": Addbcb1,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{
activeNames
:
[
"coninfp"
],
};
},
methods
:
{
...
Event
,
handleChange
(
val
)
{
console
.
log
(
val
);
},
},
created
:
function
()
{},
};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/views/Business/Letdrw/Ovwp.vue
View file @
f80a0e58
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<!-- =================顶部====================== -->
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"信用证号码"
prop=
"ledgrp.rec.ownref"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.ledgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入编号"
style=
"width: 95%"
:disabled=
"true"
>
</c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin: 0 10px 0 0; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>
i
</span
>
</c-button>
<c-button
style=
"margin: 0 0"
size=
"small"
type=
"primary"
:disabled=
"
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@
click=
"onLetpButgetref"
>
获取
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"摘要"
prop=
"ledgrp.rec.nam"
>
<c-input
text-align=
"middle"
v-model=
"model.ledgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入"
disabled
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<!-- ====================左边======================= -->
<c-col
:span=
"11"
>
<!-- Form of L/C -->
<c-col
:span=
"24"
>
<el-form-item
label=
"是否可以转让"
prop=
"ledgrp.rec.lcrtyp"
>
<c-select
v-model=
"model.ledgrp.rec.lcrtyp"
style=
"width: 100%"
placeholder=
"请选择"
:code=
"codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<el-collapse-item
title=
"概览信息"
name=
"ovwp1"
>
<m-ovwp1
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<!-- responsible user -->
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"所属客户经理"
prop=
"letp.usr.extkey"
>
<c-fullbox>
<c-input
v-model=
"model.letp.usr.extkey"
maxlength=
"8"
placeholder=
"请输入所属客户经理"
disabled
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 10px"
size=
"small"
icon=
"el-icon-search"
type=
"primary"
@
click=
"onExtkey"
></c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-checkbox
v-model=
"model.ledgrp.rec.collflg"
style=
"margin-left: 10px"
>
抵押信用证
</c-checkbox
>
</c-col>
</c-col>
<el-collapse-item
title=
"附加金额"
name=
"aamp"
v-if=
"model.letp.aamp.aammod.addamtflg"
>
<m-aamp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<!-- nominal amount -->
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证金额"
prop=
"ledgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"7"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.nom1.amt"
>
<!-- <el-form-item label="Balance" prop="ledgrp.cbs.nom1.amt">
<c-input
v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入金额"
></c-input>
</el-form-item> -->
<c-input-currency
v-model=
"model.ledgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input-currency>
</el-form-item>
</c-col>
<el-collapse-item
title=
"信用证详情"
name=
"detp"
>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<c-col
:span=
"4"
>
<c-checkbox
v-model=
"model.letp.aamp.aammod.addamtflg"
style=
"margin-left: 10px"
@
change=
"openAddAmount"
>
附加金额
</c-checkbox
>
</c-col>
</c-col>
<el-collapse-item
title=
"当事人信息"
name=
"ptyp"
>
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<c-form-item
label=
"金额浮动 +/-"
prop=
"ledgrp.rec.nomtop"
>
<c-input
v-model
.
number=
"model.ledgrp.rec.nomtop"
maxlength=
"2"
style=
"width: 100%"
placeholder=
"请输入上浮比例"
@
keyup
.
enter
.
native=
"$event.target.blur()"
class=
"m-input-currency"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"7"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.rec.nomton"
>
<c-input
v-model
.
number=
"model.ledgrp.rec.nomton"
maxlength=
"2"
style=
"width: 100%"
placeholder=
"请输入下浮比例"
@
keyup
.
enter
.
native=
"$event.target.blur()"
class=
"m-input-currency"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="4">
<c-checkbox v-model="model.ledgrp.preadvflg">PreAdvice or Notification</c-checkbox>
</c-col> -->
<c-col
:span=
"4"
>
<!-- <c-checkbox v-model="model.ledgrp.preadvflg" style="margin-left:10px;">预先通知</c-checkbox>
</c-col> -->
</c-col>
</c-col>
<el-collapse-item
title=
"收到单据"
name=
"drv"
>
<m-drv
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"适用金额规范"
prop=
"ledgrp.rec.nomspc"
>
<c-select
v-model=
"model.ledgrp.rec.nomspc"
style=
"width: 100%"
placeholder=
"请选择适用金额规范"
:code=
"codes.nomspc"
disabled
>
</c-select>
</el-form-item>
</c-col>
<el-collapse-item
title=
"Discr./Instr."
name=
"dscins"
v-if=
"model.bedgrp.rec.dscinsflg == 'X'"
>
<m-dscins
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<!-- Incoming Transfer -->
<c-col
:span=
"4"
>
<c-checkbox
v-model=
"model.ledgrp.rec.inctrf"
style=
"margin-left: 10px"
>
传入传输
</c-checkbox
>
</c-col>
</c-col>
<el-collapse-item
title=
"货物描述"
name=
"dogp"
>
<m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'dogp'"
:rec=
"'led'"
/>
</el-collapse-item>
<!-- Maximum Amount -->
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证最大金额"
prop=
"ledgrp.cbs.max.cur"
>
<c-select
v-model=
"model.ledgrp.cbs.max.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.max.amt"
>
<c-input
disabled
v-model=
"model.ledgrp.cbs.max.amt"
placeholder=
"请输入最大金额"
class=
"m-input-currency"
></c-input>
</el-form-item>
</c-col>
<el-collapse-item
title=
"单据要求"
name=
"dorp"
>
<m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'dorp'"
:rec=
"'led'"
/>
</el-collapse-item>
<c-col
:span=
"14"
>
<el-form-item
label=
"开证日期"
prop=
"ledgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.opndat"
style=
"width: 90%"
placeholder=
"请选择开证日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"10"
>
<el-form-item
label=
"预通知日期"
label-width=
"80px"
prop=
"ledgrp.rec.preadvdt"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.preadvdt"
style=
"width: 100%"
placeholder=
"请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<el-collapse-item
title=
"附加条款"
name=
"adcp"
>
<m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'adcp'"
:rec=
"'led'"
/>
</el-collapse-item>
<c-col
:span=
"14"
>
<el-form-item
label=
"装运日期"
prop=
"ledgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.shpdat"
style=
"width: 90%"
placeholder=
"请选择装运日期"
></c-date-picker>
</el-form-item>
</c-col>
<el-collapse-item
title=
"循环信用详情"
name=
"revp"
v-if=
"model.ledgrp.rec.revflg == 'X'"
>
<m-revp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<c-col
:span=
"10"
>
<el-form-item
label=
"通知日期"
label-width=
"80px"
prop=
"ledgrp.rec.advdat"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.advdat"
style=
"width: 100%"
placeholder=
"请选择通知日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<el-collapse-item
title=
"受益人特殊付款条款"
name=
"spcbenp"
v-if=
"model.ledgrp.rec.spcbenflg"
>
<m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'spcbenp'"
:rec=
"'led'"
/>
</el-collapse-item>
<c-col
:span=
"14"
>
<el-form-item
label=
"到期日"
prop=
"ledgrp.rec.expdat"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.expdat"
style=
"width: 90%"
placeholder=
"请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"10"
></c-col>
<el-collapse-item
title=
"银行专用特殊付款条款"
name=
"spcrcvp"
v-if=
"model.ledgrp.rec.spcrcbflg"
>
<m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'spcrcvp'"
:rec=
"'led'"
/>
</el-collapse-item>
<c-col
:span=
"24"
>
<el-form-item
label=
"有效地点"
prop=
"ledgrp.rec.expplc"
>
<c-input
v-model=
"model.ledgrp.rec.expplc"
maxlength=
"29"
placeholder=
"有效地点"
></c-input>
</el-form-item>
</c-col>
<el-collapse-item
title=
"货权单据"
name=
"srmp"
>
<m-srmp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<c-col
:span=
"24"
>
<el-form-item
label=
"确认接收指示"
prop=
"ledgrp.rec.cnfdet"
>
<c-select
v-model=
"model.ledgrp.rec.cnfdet"
style=
"width: 100%"
placeholder=
"请选择确认接收指示"
:code=
"codes.cnfins"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"适用规则"
prop=
"ledgrp.rec.apprul"
>
<c-select
v-model=
"model.ledgrp.rec.apprul"
style=
"width: 100%"
placeholder=
"请选择适用规则"
:code=
"codes.apprul1"
@
change=
"apprulChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"其他规则"
prop=
"ledgrp.rec.apprultxt"
>
<c-input
v-model=
"model.ledgrp.rec.apprultxt"
maxlength=
"35"
placeholder=
"请输入其他规则"
:disabled=
"model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"分批装运"
prop=
"ledgrp.rec.shppar"
>
<c-select
v-model=
"model.ledgrp.rec.shppar"
style=
"width: 100%"
placeholder=
"请选择分批装运"
:code=
"codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"转运"
prop=
"ledgrp.rec.shptrss18"
>
<c-select
v-model=
"model.ledgrp.rec.shptrss18"
style=
"width: 100%"
placeholder=
"请选择是否转运"
:code=
"codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}"
:disabled=
"true"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onBenpDet"
>
</c-ptap>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}"
:disabled=
"true"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onIsspDet"
>
</c-ptap>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onAplpDet"
>
</c-ptap>
</c-col>
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
@
change=
"openRevolvingDetails"
>
循环信用证
</c-checkbox
>
</c-col>
<!-- Authorization to Debit -->
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.dbtflg"
>
借记授权书
</c-checkbox>
</c-col>
<!-- Non-Bank Issuer -->
<c-col
:span=
"24"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.nonban"
>
非银行发行人
</c-checkbox
>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col
:span=
"24"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.teskeyunc"
>
测试密钥
</c-checkbox>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="letp.recget.sdamod.dadsnd">
<c-input
v-model="model.letp.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="出口信用证编号" prop="ledgrp.rec.ownref">
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reference" prop="letp.recget.sdamod.seainf">
<c-input
v-model="model.letp.recget.sdamod.seainf"
placeholder="请输入编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="简略信息" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLetpButgetref">
Get Ref
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择类型"
>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Beneficiary" prop="ledgrp.ben.pts.ref">
<c-input
v-model="model.ledgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.benp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.benp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="客户经理" prop="letp.usr.extkey">
<c-input
v-model="model.letp.usr.extkey"
maxlength="8"
placeholder="请输入Responsible User"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="" prop="letp.usrget.sdamod.seainf">
<c-input
v-model="model.letp.usrget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.collflg"
>Collateralized L/C</c-checkbox
>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item
label="External Key of Address"
prop="ledgrp.ben.pts.extkey"
>
<c-input
v-model="model.ledgrp.ben.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.benp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.benp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onBenpDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.ben.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.ben.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择L/C Amount"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="ledgrp.cbs.nom1.amt">
<c-input
v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col> -->
<!--
<c-col :span="12">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg"
>附加金额</c-checkbox
>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.ben.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.ben.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.ben.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.ben.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.preadvflg"
>PreAdvice or Notification</c-checkbox
>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="溢短装" prop="ledgrp.rec.nomtop">
<c-input
v-model="model.ledgrp.rec.nomtop"
placeholder="请输入Amount Tolerance +/-"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Amount Tolerance - Negative"
prop="ledgrp.rec.nomton"
>
<c-input
v-model="model.ledgrp.rec.nomton"
placeholder="请输入下浮比例"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="地址" prop="ledgrp.ben.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.ben.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.inctrf"
>Incoming Transfer</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="金额限额表述" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="请选择金额限额表述"
>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.resflg"
>Reserved Contract</c-checkbox
>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="最大金额" prop="ledgrp.cbs.max.cur">
<c-select
v-model="model.ledgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Maximum Amount"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="最大金额" prop="ledgrp.cbs.max.amt">
<c-input
v-model="model.ledgrp.cbs.max.amt"
placeholder="请输入Maximum Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Iss. Bank" prop="ledgrp.iss.pts.ref">
<c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Iss. Bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.issp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.issp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开立日期" prop="ledgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Date Issued"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="预通知日期" prop="ledgrp.rec.preadvdt">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.preadvdt"
style="width: 100%"
placeholder="请选择Date Pre-advised"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="ledgrp.iss.pts.extkey"
>
<c-input
v-model="model.ledgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.issp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.issp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIsspDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.iss.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.iss.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="复核日期" prop="ledgrp.rec.advdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.advdat"
style="width: 100%"
placeholder="请选择Released on"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.iss.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.iss.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.iss.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.iss.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="生效日期" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date/Place of Expiry"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.iss.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.iss.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expplc">
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请输入Date/Place of Expiry"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Applicant" prop="ledgrp.apl.pts.ref">
<c-input
v-model="model.ledgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.aplp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.aplp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Confirmation Instruct." prop="ledgrp.rec.cnfdet">
<c-select
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择Confirmation Instruct."
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="ledgrp.apl.pts.extkey"
>
<c-input
v-model="model.ledgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.aplp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.aplp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.apl.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.apl.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.letp.oppbnkl" data-path=".letp.oppbnkl"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="境内外对手行代码" prop="ledgrp.rec.oppbnk">
<c-input
v-model="model.ledgrp.rec.oppbnk"
maxlength="12"
placeholder="请输入境内外对手行代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.apl.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.apl.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.apl.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.apl.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择Applicable Rules"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.apl.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.apl.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="其他适用规则" prop="ledgrp.rec.apprultxt">
<c-input
v-model="model.ledgrp.rec.apprultxt"
maxlength="35"
placeholder="请输入Other Applicable Rules"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select
v-model="model.ledgrp.rec.shppar"
style="width: 100%"
placeholder="请选择Partial Shipment"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分批装运" prop="ledgrp.rec.shppars18">
<c-select
v-model="model.ledgrp.rec.shppars18"
style="width: 100%"
placeholder="请选择Partial Shipment"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.dbtflg"
>Authorization to Debit</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="转运" prop="ledgrp.rec.shptrs">
<c-select
v-model="model.ledgrp.rec.shptrs"
style="width: 100%"
placeholder="请选择转运"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="转运" prop="ledgrp.rec.shptrss18">
<c-select
v-model="model.ledgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择转运"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc"
>Test Key Unconfirmity</c-checkbox
>
</c-col> -->
</el-collapse>
</div>
</
template
>
<
script
>
import
Api
from
'~/service/Api'
import
commonProcess
from
'~/mixin/commonProcess'
import
CodeTable
from
'~/config/CodeTable'
import
Event
from
'~/model/Letdrw/Event'
import
Utils
from
'~/utils'
import
Ptap
from
'~/views/Public/Ptap'
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Getset/Event"
;
import
Ovwp1
from
'./Ovwp1'
import
Aamp
from
'./Aamp'
import
Detp
from
'./Detp'
import
Ptyp
from
'./Ptyp'
import
Drv
from
'./Drv'
import
Dscins
from
'./Dscins'
import
Revp
from
'./Revp'
import
Srmp
from
'./Srmp'
import
Doxp
from
'~/views/Public/Doxp'
export
default
{
components
:
{
'c-ptap'
:
Ptap
},
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
components
:
{
'm-ovwp1'
:
Ovwp1
,
'm-aamp'
:
Aamp
,
'm-detp'
:
Detp
,
'm-ptyp'
:
Ptyp
,
'm-drv'
:
Drv
,
'm-dscins'
:
Dscins
,
'm-doxp'
:
Doxp
,
'm-revp'
:
Revp
,
'm-srmp'
:
Srmp
,
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
return
{}
return
{
activeNames
:
[
"ovwp1"
],
};
},
methods
:
{
...
Event
,
onSeainf
(){},
onExtkey
(){},
apprulChange
(
v
)
{
if
(
v
!==
'OTHR'
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
}
},
openAddAmount
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
==
'0.000'
&&
this
.
model
.
ledgrp
.
blk
.
addamtcov
===
''
)
){
this
.
$confirm
(
'Do you really want to delete the additional amount of this contract?'
,
'提示'
,{
confirmButtonText
:
'Yes'
,
cancelButtonText
:
'No'
,
type
:
'warning'
,
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'letp.aamp.aammod.addamtflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
letp
.
aamp
.
aammod
.
addamtflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
openRevolvingDetails
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
rec
.
revtyp
===
''
&&
this
.
model
.
ledgrp
.
rec
.
revtimes
==
'0'
&&
this
.
model
.
ledgrp
.
rec
.
revdat
===
''
&&
this
.
model
.
ledgrp
.
rec
.
revcum
===
''
&&
this
.
model
.
ledgrp
.
blk
.
revcls
===
''
&&
this
.
model
.
ledgrp
.
blk
.
revnotes
===
''
)
){
this
.
$confirm
(
'Are you sure you want to delete the entered Revolving Details?'
,
'提示'
,{
confirmButtonText
:
'Yes'
,
cancelButtonText
:
'No'
,
type
:
'warning'
,
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'ledgrp.rec.revflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
rec
.
revdat
=
''
;
//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
this
.
updateModel
(
res
.
data
)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
ledgrp
.
rec
.
revflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created
:
function
()
{},
}
computed
:
{
},
};
</
script
>
<
style
>
.marginLable
{
padding-left
:
1
5
0px
;
padding-left
:
1
6
0px
;
}
</
style
>
src/views/Business/Letdrw/Ovwp1.vue
0 → 100644
View file @
f80a0e58
<
template
>
<div
class=
"eibs-tab"
>
<c-row>
<!-- =================顶部====================== -->
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"信用证号码"
prop=
"ledgrp.rec.ownref"
style=
"width: 100%"
>
<c-fullbox>
<c-input
v-model=
"model.ledgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入编号"
style=
"width: 95%"
:disabled=
"true"
>
</c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin: 0 10px 0 0; padding: 0 12px"
size=
"small"
type=
"primary"
@
click=
"onSeainf"
>
<span
style=
"
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>
i
</span
>
</c-button>
<c-button
style=
"margin: 0 0"
size=
"small"
type=
"primary"
:disabled=
"
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref
? false
: true
"
@
click=
"onLetpButgetref"
>
获取
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"摘要"
prop=
"ledgrp.rec.nam"
>
<c-input
text-align=
"middle"
v-model=
"model.ledgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入"
disabled
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<!-- ====================左边======================= -->
<c-col
:span=
"11"
>
<!-- Form of L/C -->
<c-col
:span=
"24"
>
<el-form-item
label=
"是否可以转让"
prop=
"ledgrp.rec.lcrtyp"
>
<c-select
v-model=
"model.ledgrp.rec.lcrtyp"
style=
"width: 100%"
placeholder=
"请选择"
:code=
"codes.lcrtyp"
>
</c-select>
</el-form-item>
</c-col>
<!-- responsible user -->
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"所属客户经理"
prop=
"letp.usr.extkey"
>
<c-fullbox>
<c-input
v-model=
"model.letp.usr.extkey"
maxlength=
"8"
placeholder=
"请输入所属客户经理"
disabled
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin-left: 10px; padding: 0 10px"
size=
"small"
icon=
"el-icon-search"
type=
"primary"
@
click=
"onExtkey"
></c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-checkbox
v-model=
"model.ledgrp.rec.collflg"
style=
"margin-left: 10px"
>
抵押信用证
</c-checkbox
>
</c-col>
</c-col>
<!-- nominal amount -->
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证金额"
prop=
"ledgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.ledgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"7"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.nom1.amt"
>
<!-- <el-form-item label="Balance" prop="ledgrp.cbs.nom1.amt">
<c-input
v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入金额"
></c-input>
</el-form-item> -->
<c-input-currency
v-model=
"model.ledgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"$event.target.blur()"
></c-input-currency>
</el-form-item>
</c-col>
<c-col
:span=
"4"
>
<c-checkbox
v-model=
"model.letp.aamp.aammod.addamtflg"
style=
"margin-left: 10px"
@
change=
"openAddAmount"
>
附加金额
</c-checkbox
>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<c-form-item
label=
"金额浮动 +/-"
prop=
"ledgrp.rec.nomtop"
>
<c-input
v-model
.
number=
"model.ledgrp.rec.nomtop"
maxlength=
"2"
style=
"width: 100%"
placeholder=
"请输入上浮比例"
@
keyup
.
enter
.
native=
"$event.target.blur()"
class=
"m-input-currency"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"7"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.rec.nomton"
>
<c-input
v-model
.
number=
"model.ledgrp.rec.nomton"
maxlength=
"2"
style=
"width: 100%"
placeholder=
"请输入下浮比例"
@
keyup
.
enter
.
native=
"$event.target.blur()"
class=
"m-input-currency"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="4">
<c-checkbox v-model="model.ledgrp.preadvflg">PreAdvice or Notification</c-checkbox>
</c-col> -->
<c-col
:span=
"4"
>
<!-- <c-checkbox v-model="model.ledgrp.preadvflg" style="margin-left:10px;">预先通知</c-checkbox>
</c-col> -->
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"适用金额规范"
prop=
"ledgrp.rec.nomspc"
>
<c-select
v-model=
"model.ledgrp.rec.nomspc"
style=
"width: 100%"
placeholder=
"请选择适用金额规范"
:code=
"codes.nomspc"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- Incoming Transfer -->
<c-col
:span=
"4"
>
<c-checkbox
v-model=
"model.ledgrp.rec.inctrf"
style=
"margin-left: 10px"
>
传入传输
</c-checkbox
>
</c-col>
</c-col>
<!-- Maximum Amount -->
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证最大金额"
prop=
"ledgrp.cbs.max.cur"
>
<c-select
v-model=
"model.ledgrp.cbs.max.cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"5px"
prop=
"ledgrp.cbs.max.amt"
>
<c-input
disabled
v-model=
"model.ledgrp.cbs.max.amt"
placeholder=
"请输入最大金额"
class=
"m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"14"
>
<el-form-item
label=
"开证日期"
prop=
"ledgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.opndat"
style=
"width: 90%"
placeholder=
"请选择开证日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"10"
>
<el-form-item
label=
"预通知日期"
label-width=
"80px"
prop=
"ledgrp.rec.preadvdt"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.preadvdt"
style=
"width: 100%"
placeholder=
"请选择日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"14"
>
<el-form-item
label=
"装运日期"
prop=
"ledgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.shpdat"
style=
"width: 90%"
placeholder=
"请选择装运日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"10"
>
<el-form-item
label=
"通知日期"
label-width=
"80px"
prop=
"ledgrp.rec.advdat"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.advdat"
style=
"width: 100%"
placeholder=
"请选择通知日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"14"
>
<el-form-item
label=
"到期日"
prop=
"ledgrp.rec.expdat"
>
<c-date-picker
type=
"date"
v-model=
"model.ledgrp.rec.expdat"
style=
"width: 90%"
placeholder=
"请选择到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"10"
></c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"有效地点"
prop=
"ledgrp.rec.expplc"
>
<c-input
v-model=
"model.ledgrp.rec.expplc"
maxlength=
"29"
placeholder=
"有效地点"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"确认接收指示"
prop=
"ledgrp.rec.cnfdet"
>
<c-select
v-model=
"model.ledgrp.rec.cnfdet"
style=
"width: 100%"
placeholder=
"请选择确认接收指示"
:code=
"codes.cnfins"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"适用规则"
prop=
"ledgrp.rec.apprul"
>
<c-select
v-model=
"model.ledgrp.rec.apprul"
style=
"width: 100%"
placeholder=
"请选择适用规则"
:code=
"codes.apprul1"
@
change=
"apprulChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"其他规则"
prop=
"ledgrp.rec.apprultxt"
>
<c-input
v-model=
"model.ledgrp.rec.apprultxt"
maxlength=
"35"
placeholder=
"请输入其他规则"
:disabled=
"model.ledgrp.rec.apprul === 'OTHR' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"分批装运"
prop=
"ledgrp.rec.shppar"
>
<c-select
v-model=
"model.ledgrp.rec.shppar"
style=
"width: 100%"
placeholder=
"请选择分批装运"
:code=
"codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"转运"
prop=
"ledgrp.rec.shptrss18"
>
<c-select
v-model=
"model.ledgrp.rec.shptrss18"
style=
"width: 100%"
placeholder=
"请选择是否转运"
:code=
"codes.shptrss18"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}"
:disabled=
"true"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onBenpDet"
>
</c-ptap>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}"
:disabled=
"true"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onIsspDet"
>
</c-ptap>
</c-col>
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}"
@
onSeainf=
"onSeainf"
@
onAplpDet=
"onAplpDet"
>
</c-ptap>
</c-col>
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.revflg"
@
change=
"openRevolvingDetails"
>
循环信用证
</c-checkbox
>
</c-col>
<!-- Authorization to Debit -->
<c-col
:span=
"12"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.dbtflg"
>
借记授权书
</c-checkbox>
</c-col>
<!-- Non-Bank Issuer -->
<c-col
:span=
"24"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.nonban"
>
非银行发行人
</c-checkbox
>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col
:span=
"24"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.ledgrp.rec.teskeyunc"
>
测试密钥
</c-checkbox>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="letp.recget.sdamod.dadsnd">
<c-input
v-model="model.letp.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="出口信用证编号" prop="ledgrp.rec.ownref">
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reference" prop="letp.recget.sdamod.seainf">
<c-input
v-model="model.letp.recget.sdamod.seainf"
placeholder="请输入编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="简略信息" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLetpButgetref">
Get Ref
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
<c-select
v-model="model.ledgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择类型"
>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Beneficiary" prop="ledgrp.ben.pts.ref">
<c-input
v-model="model.ledgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.benp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.benp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="客户经理" prop="letp.usr.extkey">
<c-input
v-model="model.letp.usr.extkey"
maxlength="8"
placeholder="请输入Responsible User"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="" prop="letp.usrget.sdamod.seainf">
<c-input
v-model="model.letp.usrget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.collflg"
>Collateralized L/C</c-checkbox
>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item
label="External Key of Address"
prop="ledgrp.ben.pts.extkey"
>
<c-input
v-model="model.ledgrp.ben.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.benp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.benp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onBenpDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.ben.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.ben.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择L/C Amount"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="ledgrp.cbs.nom1.amt">
<c-input
v-model="model.ledgrp.cbs.nom1.amt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col> -->
<!--
<c-col :span="12">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg"
>附加金额</c-checkbox
>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.ben.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.ben.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.ben.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.ben.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.preadvflg"
>PreAdvice or Notification</c-checkbox
>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="溢短装" prop="ledgrp.rec.nomtop">
<c-input
v-model="model.ledgrp.rec.nomtop"
placeholder="请输入Amount Tolerance +/-"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Amount Tolerance - Negative"
prop="ledgrp.rec.nomton"
>
<c-input
v-model="model.ledgrp.rec.nomton"
placeholder="请输入下浮比例"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="地址" prop="ledgrp.ben.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.ben.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.inctrf"
>Incoming Transfer</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="金额限额表述" prop="ledgrp.rec.nomspc">
<c-select
v-model="model.ledgrp.rec.nomspc"
style="width: 100%"
placeholder="请选择金额限额表述"
>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.resflg"
>Reserved Contract</c-checkbox
>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="最大金额" prop="ledgrp.cbs.max.cur">
<c-select
v-model="model.ledgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Maximum Amount"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="最大金额" prop="ledgrp.cbs.max.amt">
<c-input
v-model="model.ledgrp.cbs.max.amt"
placeholder="请输入Maximum Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Iss. Bank" prop="ledgrp.iss.pts.ref">
<c-input
v-model="model.ledgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Iss. Bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.issp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.issp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开立日期" prop="ledgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Date Issued"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="预通知日期" prop="ledgrp.rec.preadvdt">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.preadvdt"
style="width: 100%"
placeholder="请选择Date Pre-advised"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="ledgrp.iss.pts.extkey"
>
<c-input
v-model="model.ledgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.issp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.issp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIsspDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.iss.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.iss.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="复核日期" prop="ledgrp.rec.advdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.advdat"
style="width: 100%"
placeholder="请选择Released on"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.iss.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.iss.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.iss.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.iss.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="生效日期" prop="ledgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date/Place of Expiry"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.iss.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.iss.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expplc">
<c-input
v-model="model.ledgrp.rec.expplc"
maxlength="29"
placeholder="请输入Date/Place of Expiry"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Applicant" prop="ledgrp.apl.pts.ref">
<c-input
v-model="model.ledgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入Applicant"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.aplp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.aplp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Confirmation Instruct." prop="ledgrp.rec.cnfdet">
<c-select
v-model="model.ledgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择Confirmation Instruct."
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="ledgrp.apl.pts.extkey"
>
<c-input
v-model="model.ledgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.aplp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.aplp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
详情
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.apl.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.apl.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.letp.oppbnkl" data-path=".letp.oppbnkl"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="境内外对手行代码" prop="ledgrp.rec.oppbnk">
<c-input
v-model="model.ledgrp.rec.oppbnk"
maxlength="12"
placeholder="请输入境内外对手行代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.apl.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.apl.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.apl.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.apl.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select
v-model="model.ledgrp.rec.apprul"
style="width: 100%"
placeholder="请选择Applicable Rules"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.apl.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.apl.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="其他适用规则" prop="ledgrp.rec.apprultxt">
<c-input
v-model="model.ledgrp.rec.apprultxt"
maxlength="35"
placeholder="请输入Other Applicable Rules"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select
v-model="model.ledgrp.rec.shppar"
style="width: 100%"
placeholder="请选择Partial Shipment"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分批装运" prop="ledgrp.rec.shppars18">
<c-select
v-model="model.ledgrp.rec.shppars18"
style="width: 100%"
placeholder="请选择Partial Shipment"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.revflg">Revolving Flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.dbtflg"
>Authorization to Debit</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.nonban">Non-Bank Issuer</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="转运" prop="ledgrp.rec.shptrs">
<c-select
v-model="model.ledgrp.rec.shptrs"
style="width: 100%"
placeholder="请选择转运"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="转运" prop="ledgrp.rec.shptrss18">
<c-select
v-model="model.ledgrp.rec.shptrss18"
style="width: 100%"
placeholder="请选择转运"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc"
>Test Key Unconfirmity</c-checkbox
>
</c-col> -->
</div>
</template>
<
script
>
import
Api
from
'~/service/Api'
import
commonProcess
from
'~/mixin/commonProcess'
import
CodeTable
from
'~/config/CodeTable'
import
Event
from
'~/model/Letdrw/Event'
import
Utils
from
'~/utils'
import
Ptap
from
'~/views/Public/Ptap'
export
default
{
components
:
{
'c-ptap'
:
Ptap
},
inject
:
[
'root'
],
props
:
[
'model'
,
'codes'
],
mixins
:
[
commonProcess
],
data
()
{
return
{}
},
methods
:
{
...
Event
,
onSeainf
(){},
onExtkey
(){},
apprulChange
(
v
)
{
if
(
v
!==
'OTHR'
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
}
},
openAddAmount
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
cbs
.
max2
.
amt
==
'0.000'
&&
this
.
model
.
ledgrp
.
blk
.
addamtcov
===
''
)
){
this
.
$confirm
(
'Do you really want to delete the additional amount of this contract?'
,
'提示'
,{
confirmButtonText
:
'Yes'
,
cancelButtonText
:
'No'
,
type
:
'warning'
,
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'letp.aamp.aammod.addamtflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
res
.
data
)
}
})
// this.model.ledgrp.cbs.max2.amt ='0.000';
// this.model.ledgrp.blk.addamtcov = '';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
letp
.
aamp
.
aammod
.
addamtflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
},
openRevolvingDetails
(
val
){
if
(
val
===
''
&&
!
(
this
.
model
.
ledgrp
.
rec
.
revtyp
===
''
&&
this
.
model
.
ledgrp
.
rec
.
revtimes
==
'0'
&&
this
.
model
.
ledgrp
.
rec
.
revdat
===
''
&&
this
.
model
.
ledgrp
.
rec
.
revcum
===
''
&&
this
.
model
.
ledgrp
.
blk
.
revcls
===
''
&&
this
.
model
.
ledgrp
.
blk
.
revnotes
===
''
)
){
this
.
$confirm
(
'Are you sure you want to delete the entered Revolving Details?'
,
'提示'
,{
confirmButtonText
:
'Yes'
,
cancelButtonText
:
'No'
,
type
:
'warning'
,
showClose
:
false
}).
then
(()
=>
{
//yes的执行在这里写
this
.
executeRule
(
'ledgrp.rec.revflg'
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
rec
.
revdat
=
''
;
//后端在事件中把日期置为null而不是nullstr,导致日期实际并没有清空,故在此加清空日期
this
.
updateModel
(
res
.
data
)
}
})
// this.model.ledgrp.rec.revtyp ='';
// this.model.ledgrp.rec.revtimes = '0';
// this.model.ledgrp.rec.revdat ='';
// this.model.ledgrp.rec.revcum ='';
// this.model.ledgrp.blk.revcls ='';
// this.model.ledgrp.blk.revnotes ='';
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).
catch
(()
=>
{
//No的功能在这里写
this
.
model
.
ledgrp
.
rec
.
revflg
=
'X'
// this.$message({
// type: 'info',
// message: '已取消'
// });
});
}
}
},
created
:
function
()
{},
}
</
script
>
<
style
>
.marginLable
{
padding-left
:
150px
;
}
</
style
>
src/views/Business/Letdrw/index.vue
View file @
f80a0e58
<
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"
>
用户确认
</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"
>
inc to Ben
</el-button>
<el-button
size=
"small"
>
imgyge
</el-button>
<!--
<el-button
size=
"small"
>
拆分报文
</el-button>
-->
<el-button
size=
"small"
>
img
</el-button>
<el-button
size=
"small"
>
His.img
</el-button>
</c-function-btn>
<c-page
title=
"出口信用证收单加补录"
>
<el-form
:model=
"model"
:rules=
"rules"
...
...
@@ -34,15 +16,62 @@
type=
"card"
@
tab-click=
"myTabClick"
>
<!--PD000017 基本信息 -->
<el-tab-pane
label=
"概览信息"
name=
"ovwp"
>
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"费用/账务"
name=
"engp,setpan"
>
<c-content>
<div
class=
"eibs-tab"
>
<el-collapse
v-model=
"activeNames"
>
<el-collapse-item
title=
"表外记账"
name=
"engp"
>
<!-- 表外记账 -->
<m-engp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"结算"
name=
"setpan"
>
<!-- 结算 -->
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"备查/附言"
name=
"addbcb"
>
<c-content>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000017 基本信息 -->
<!--
<el-tab-pane
label=
"概览信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
-->
<!--PD000001 附加金额-->
<el-tab-pane
<
!--
<
el-tab-pane
v-if=
"model.letp.aamp.aammod.addamtflg"
label=
"附加金额"
name=
"aamp"
...
...
@@ -50,31 +79,31 @@
<c-content>
<m-aamp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000063 信用证详情-->
<el-tab-pane
label=
"信用证详情"
name=
"detp"
>
<
!--
<
el-tab-pane
label=
"信用证详情"
name=
"detp"
>
<c-content>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000042 银行信息-->
<el-tab-pane
label=
"当事人信息"
name=
"ptyp"
>
<
!--
<
el-tab-pane
label=
"当事人信息"
name=
"ptyp"
>
<c-content>
<m-ptyp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000002 -->
<el-tab-pane
label=
"收到单据"
name=
"drv"
>
<
!--
<
el-tab-pane
label=
"收到单据"
name=
"drv"
>
<c-content>
<m-drv
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000034 -->
<el-tab-pane
<
!--
<
el-tab-pane
label=
"Discr./Instr."
name=
"dscins"
v-if=
"model.bedgrp.rec.dscinsflg == 'X'"
...
...
@@ -82,49 +111,49 @@
<c-content>
<m-dscins
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000055 货物描述-->
<el-tab-pane
label=
"货物描述"
name=
"dogp"
>
<c-content>
<
!--
<
el-tab-pane
label=
"货物描述"
name=
"dogp"
>
<c-content>
-->
<!--
<m-dogp
:model=
"model"
:codes=
"codes"
/>
-->
<m-doxp
<
!--
<
m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'dogp'"
:rec=
"'led'"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000057 单据要求-->
<el-tab-pane
label=
"单据要求"
name=
"dorp"
>
<c-content>
<
!--
<
el-tab-pane
label=
"单据要求"
name=
"dorp"
>
<c-content>
-->
<!--
<m-dorp
:model=
"model"
:codes=
"codes"
/>
-->
<m-doxp
<
!--
<
m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'dorp'"
:rec=
"'led'"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000060 附加条款-->
<el-tab-pane
label=
"附加条款"
name=
"adcp"
>
<c-content>
<
!--
<
el-tab-pane
label=
"附加条款"
name=
"adcp"
>
<c-content>
-->
<!--
<m-adcp
:model=
"model"
:codes=
"codes"
/>
-->
<m-doxp
<
!--
<
m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'adcp'"
:rec=
"'led'"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000317 循环信用详情-->
<el-tab-pane
<
!--
<
el-tab-pane
label=
"循环信用详情"
name=
"revp"
v-if=
"model.ledgrp.rec.revflg == 'X'"
...
...
@@ -132,90 +161,90 @@
<c-content>
<m-revp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000027 表外-->
<el-tab-pane
label=
"表外记账"
name=
"engp"
>
<
!--
<
el-tab-pane
label=
"表外记账"
name=
"engp"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000000 账务-->
<el-tab-pane
label=
"结算"
name=
"setpan"
>
<
!--
<
el-tab-pane
label=
"结算"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000000 附言-->
<el-tab-pane
label=
"提示信息"
name=
"coninfp"
>
<
!--
<
el-tab-pane
label=
"提示信息"
name=
"coninfp"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000529 报文及面函-->
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<
!--
<
el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000546 附件-->
<el-tab-pane
label=
"附件"
name=
"doctre"
>
<
!--
<
el-tab-pane
label=
"附件"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000394 -->
<el-tab-pane
<
!--
<
el-tab-pane
label=
"受益人特殊付款条款"
name=
"spcbenp"
v-if=
"model.ledgrp.rec.spcbenflg"
>
<c-content>
<c-content>
-->
<!--
<m-spcbenp
:model=
"model"
:codes=
"codes"
/>
-->
<m-doxp
<
!--
<
m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'spcbenp'"
:rec=
"'led'"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000422 -->
<el-tab-pane
<
!--
<
el-tab-pane
label=
"银行专用特殊付款条款"
name=
"spcrcvp"
v-if=
"model.ledgrp.rec.spcrcbflg"
>
<c-content>
<c-content>
-->
<!--
<m-spcrcvp
:model=
"model"
:codes=
"codes"
/>
-->
<m-doxp
<
!--
<
m-doxp
:model=
"model"
:codes=
"codes"
:dtyp=
"'spcrcvp'"
:rec=
"'led'"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000001 -->
<el-tab-pane
label=
"货权单据"
name=
"srmp"
>
<
!--
<
el-tab-pane
label=
"货权单据"
name=
"srmp"
>
<c-content>
<m-srmp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
<!--PD000001 -->
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<
!--
<
el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</el-tab-pane>
-->
</c-tabs>
</el-form>
<!-- 数据回填效果 -->
...
...
@@ -232,8 +261,14 @@
@
select-ety=
"selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
</c-function-btn>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
'~/service/Api'
...
...
@@ -263,6 +298,7 @@ import Revp from './Revp'
// import Spcrcvp from './Spcrcvp'
import
Srmp
from
'./Srmp'
// import Limitbody from './Limitbody'
import
Addbcb
from
"./Addbcb"
;
import
Doxp
from
'~/views/Public/Doxp'
import
Coninfp
from
'~/views/Public/Coninfp'
...
...
@@ -275,6 +311,7 @@ import Limitbody from '~/views/Public/Limitbody'
export
default
{
name
:
'Letdrw'
,
components
:
{
"m-addbcb"
:
Addbcb
,
'm-ovwp'
:
Ovwp
,
'm-aamp'
:
Aamp
,
'm-detp'
:
Detp
,
...
...
@@ -312,6 +349,7 @@ export default {
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
...
CodeTable
},
activeNames
:
[
"engp"
],
}
},
methods
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment