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
fukai
vue-gjjs
Commits
213a0c8e
Commit
213a0c8e
authored
Jan 05, 2022
by
吴佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022.01.05 wujia 1.信用证修改 校验长度调整 2.信用证info
parent
9ee94f21
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1204 additions
and
725 deletions
+1204
-725
Pattern.js
src/model/Ditame/Pattern.js
+1
-1
Inspame.vue
src/views/Business/Ditame/Inspame.vue
+2
-2
Detp.vue
src/views/Business/Infdid/Detp.vue
+173
-132
Detp1.vue
src/views/Business/Infdid/Detp1.vue
+172
-194
Infsea.vue
src/views/Business/Infdid/Infsea.vue
+15
-7
Ovwp.vue
src/views/Business/Infdid/Ovwp.vue
+778
-325
Tk.vue
src/views/Business/Infdid/Tk.vue
+24
-46
index.vue
src/views/Business/Infdid/index.vue
+39
-18
No files found.
src/model/Ditame/Pattern.js
View file @
213a0c8e
...
...
@@ -551,7 +551,7 @@ export default {
"didgrp.blk.insbnk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
65
,
message
:
"长度不能超过65
"
}
{
max
:
500
,
message
:
"长度不能超过500
"
}
],
"didgrp.blk.insbnkame"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/views/Business/Ditame/Inspame.vue
View file @
213a0c8e
...
...
@@ -9,7 +9,7 @@
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.insbnk"
maxlength=
"
65
"
maxlength=
"
500
"
show-word-limit
placeholder=
"请输入Instructions to Paying/Accepting/Negotiating Bank"
:rows=
"10"
...
...
@@ -22,7 +22,7 @@
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.insbnkame"
maxlength=
"50"
maxlength=
"50
0
"
show-word-limit
placeholder=
"请输入Instructions to P/A/N Amendment History"
:rows=
"10"
...
...
src/views/Business/Infdid/Detp.vue
View file @
213a0c8e
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<span
v-text=
"model.recpan.fenzhu"
data-path=
".recpan.fenzhu"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Available by"
prop=
"didgrp.rec.avbby"
>
<c-select
v-model=
"model.didgrp.rec.avbby"
style=
"width:100%"
placeholder=
"请选择Available by"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Partial Shipment"
prop=
"didgrp.rec.shppar"
>
<c-select
v-model=
"model.didgrp.rec.shppar"
style=
"width:100%"
placeholder=
"请选择Partial Shipment"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Maximum tenor in days"
prop=
"didgrp.rec.tenmaxday"
>
<c-input
v-model=
"model.didgrp.rec.tenmaxday"
placeholder=
"请输入Maximum tenor in days"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDefdetButtxmsel"
>
...
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"分期装运/提供服务"
prop=
"didgrp.rec.fqzytgfw"
>
<c-select
v-model=
"model.didgrp.rec.fqzytgfw"
style=
"width:100%"
placeholder=
"请选择分期装运/提供服务"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Deferred Payment Details"
prop=
"didgrp.blk.defdet"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.defdet"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Deferred Payment Details"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"分期时镧表"
prop=
"didgrp.rec.fqtime"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.fqtime"
maxlength=
"35"
show-word-limit
placeholder=
"请输入分期时镧表"
></c-input>
</el-form-item>
<div
class=
"eibs-tab"
>
<!-- ========================= Left ========================= -->
<c-col
:span=
"11"
>
<el-form-item
label=
"信用证兑付方式"
prop=
"didgrp.rec.avbby"
>
<c-select
v-model=
"model.didgrp.rec.avbby"
style=
"width:100%"
@
change=
"avbbykeyEvent"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.avbby0"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
<el-form-item
label=
"付款期限"
prop=
"didgrp.rec.tenmaxday"
>
<c-input
:disabled=
"model.didgrp.rec.avbby == 'P'"
v-model
.
number=
"model.didgrp.rec.tenmaxday"
placeholder=
"请输入"
style=
"width:17%"
maxlength=
"3"
></c-input>
</el-form-item>
<el-form-item
label=
"远期付款指示"
prop=
"didgrp.blk.defdet"
>
<c-col
:span=
"21"
>
<c-input
type=
"textarea"
:disabled=
"model.didgrp.rec.avbby == 'P'"
v-model=
"model.didgrp.blk.defdet"
style=
"width:100%"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
:autosize=
"
{ minRows: 3,maxRows:5}">
</c-input>
</c-col>
<c-col
:span=
"3"
style=
"text-align: right"
>
<c-button
size=
"small"
style=
"margin:0 0;"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDefdetButtxmsel"
>
</c-button>
</c-col>
</el-form-item>
<el-form-item
label=
"交单期限"
prop=
"didgrp.blk.preper"
>
<c-col
:span=
"21"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.preper"
:disabled=
"this.flag"
style=
"width:100%"
maxlength=
"105"
show-word-limit
placeholder=
"请输入"
></c-input>
</c-col>
<c-col
:span=
"3"
style=
"text-align: right"
>
<c-button
size=
"small"
type=
"primary"
style=
"margin:0 0;"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
>
</c-button>
</c-col>
</el-form-item>
<el-form-item
label=
""
prop=
"didgrp.blk.preperflg"
>
<c-checkbox
v-model=
"model.didgrp.blk.preperflg"
:click=
"preperflgExtkeyEvent()"
>
修改交单期限文本
</c-checkbox>
</el-form-item>
<el-form-item
label=
"货物运输/交货/服务方式"
prop=
"didgrp.rec.tratyp"
>
<c-col
:span=
"10"
>
<c-select
v-model=
"model.didgrp.rec.tratyp"
style=
"width:90%"
placeholder=
"请选择"
@
change=
"recTratypChange"
:disabled=
"model.didgrp.rec.mytype == 'F'"
>
<el-option
v-for=
"item in codes.tratyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</c-col>
</el-form-item>
<el-form-item
v-if=
"model.didgrp.rec.mytype == 'H'"
label=
"手输运输方式"
prop=
"didgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.sdsrfs"
:disabled=
"this.mytypeFlag"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
v-if=
"model.didgrp.rec.mytype == 'F'"
label=
"服务提供方式"
prop=
"didgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.sdsrfs"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
v-if=
"model.didgrp.rec.mytype == '3'"
label=
"手输运输方式/服务提供方式"
prop=
"didgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.sdsrfs"
:disabled=
"this.mytypeFlag"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"合同编号"
prop=
"didgrp.rec.conno"
>
<c-input
v-model=
"model.didgrp.rec.conno"
maxlength=
"35"
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"合同金额"
prop=
"didgrp.rec.conamt"
>
<c-col
:span=
"10"
>
<c-select
v-model=
"model.didgrp.rec.concur"
style=
"width:90%"
placeholder=
"请选择"
>
<el-option
label=
"CNY 人民币"
value=
"CNY"
></el-option>
</c-select>
</c-col>
<c-col
:span=
"14"
>
<c-input
v-model=
"model.didgrp.rec.conamt"
placeholder=
"请输入"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
>
...
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Presentation Period"
prop=
"didgrp.blk.preper"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.preper"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Presentation Period"
></c-input>
</el-form-item>
<!-- ========================= Right ========================= -->
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"分批装运货物"
prop=
"didgrp.rec.shppar"
>
<c-select
v-model=
"model.didgrp.rec.shppar"
style=
"width:50%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.shppar"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
<el-form-item
label=
"分期装运/提供服务"
prop=
"didgrp.rec.fqzytgfw"
>
<c-select
v-model=
"model.didgrp.rec.fqzytgfw"
placeholder=
"请选择"
:disabled=
"model.didgrp.rec.shppar != 'Y'"
style=
"width:50%"
>
<el-option
v-for=
"item in codes.shppar"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
<el-form-item
label=
"分期装运/提供服务约定"
prop=
"didgrp.rec.fqtime"
>
<c-input
type=
"textarea"
:rows=
"3"
v-model=
"model.didgrp.rec.fqtime"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
style=
"width:100%"
></c-input>
</el-form-item>
<el-form-item
label=
"转运"
prop=
"didgrp.rec.shptrs"
>
<c-select
v-model=
"model.didgrp.rec.shptrs"
style=
"width:50%"
placeholder=
"请选择"
:disabled=
"model.didgrp.rec.mytype == 'F'"
>
<el-option
label=
"不允许"
value=
"禁止"
></el-option>
<el-option
label=
"允许"
value=
"允许"
></el-option>
</c-select>
</el-form-item>
<el-form-item
label=
"货物转运地(港)"
prop=
"didgrp.rec.shpfro"
>
<c-input
type=
"textarea"
style=
"width:100%"
:rows=
"3"
v-model=
"model.didgrp.rec.shpfro"
:disabled=
"model.didgrp.rec.mytype == 'F'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"货物目的地/交货地(港)"
prop=
"didgrp.rec.shpto"
>
<c-input
type=
"textarea"
style=
"width:100%"
:rows=
"3"
v-model=
"model.didgrp.rec.shpto"
:disabled=
"model.didgrp.rec.mytype == 'F'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"服务提供地点"
prop=
"didgrp.rec.shppro"
>
<c-input
type=
"textarea"
style=
"width:100%"
:rows=
"3"
v-model=
"model.didgrp.rec.shppro"
:disabled=
"model.didgrp.rec.mytype == 'H'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Transshipment"
prop=
"didgrp.rec.shptrs"
>
<c-select
v-model=
"model.didgrp.rec.shptrs"
style=
"width:100%"
placeholder=
"请选择Transshipment"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.recpan.hwzydi"
data-path=
".recpan.hwzydi"
>
</span>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"合同币种"
prop=
"didgrp.rec.concur"
>
<c-select
v-model=
"model.didgrp.rec.concur"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
label=
"CNY 人民币"
value=
"CNY"
></el-option>
</c-select>
</el-form-item>
</c-col>
-->
<!--
<c-col
:span=
"12"
>
<span
v-text=
"model.ditp.sdysfs"
data-path=
".ditp.sdysfs"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.didgrp.blk.preperflg"
>
Presentation Period modified
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Shipment from"
prop=
"didgrp.rec.shpfro"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.shpfro"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Shipment from"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"运输方式"
prop=
"didgrp.rec.tratyp"
>
<c-select
v-model=
"model.didgrp.rec.tratyp"
style=
"width:100%"
placeholder=
"请选择运输方式"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.recpan.sdysfs"
data-path=
".recpan.sdysfs"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"输入运输方式"
prop=
"didgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.sdsrfs"
maxlength=
"35"
show-word-limit
placeholder=
"请输入输入运输方式"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"For Transportation to"
prop=
"didgrp.rec.shpto"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.shpto"
maxlength=
"35"
show-word-limit
placeholder=
"请输入For Transportation to"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"合同编号"
prop=
"didgrp.rec.conno"
>
<c-input
v-model=
"model.didgrp.rec.conno"
maxlength=
"35"
placeholder=
"请输入合同编号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"服务提供地点"
prop=
"didgrp.rec.shppro"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.shppro"
maxlength=
"35"
show-word-limit
placeholder=
"请输入服务提供地点"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"合同币种"
prop=
"didgrp.rec.concur"
>
<c-select
v-model=
"model.didgrp.rec.concur"
style=
"width:100%"
placeholder=
"请选择合同币种"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"合同金额"
prop=
"didgrp.rec.conamt"
>
<c-input
v-model=
"model.didgrp.rec.conamt"
placeholder=
"请输入合同金额"
></c-input>
</el-form-item>
</c-col>
</div>
<span
v-text=
"model.ditp.hwzydi"
data-path=
".ditp.hwzydi"
>
</span>
</c-col>
-->
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Infdid/Event"
import
Event
from
"~/model/Ditopn/Event"
import
Utils
from
"~/utils"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
props
:[
"model"
,
"codes"
],
data
(){
return
{
flag
:
false
,
mytypeFlag
:
true
,
}
},
methods
:{...
Event
},
methods
:{...
Event
,
preperflgExtkeyEvent
(){
this
.
flag
=
!
this
.
model
.
didgrp
.
blk
.
preperflg
if
(
this
.
flag
===
true
){
this
.
model
.
didgrp
.
blk
.
preper
=
"货物装运日后15天"
;
}
},
avbbykeyEvent
(){
if
(
this
.
model
.
didgrp
.
rec
.
avbby
==
'P'
){
this
.
model
.
didgrp
.
rec
.
tenmaxday
=
0
;
this
.
model
.
didgrp
.
blk
.
defdet
=
""
;
}
this
.
executeCheck
(
"didgrp.rec.avbby"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
);
},
recTenmaxdayEvent
(){
this
.
executeDefault
(
"didgrp.rec.tenmaxday"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
=
SUCCESS
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
);
},
recTratypChange
(){
if
(
this
.
model
.
didgrp
.
rec
.
tratyp
==
"08"
){
this
.
model
.
didgrp
.
rec
.
sdsrfs
=
""
;
this
.
mytypeFlag
=
false
;
}
else
{
this
.
model
.
didgrp
.
rec
.
sdsrfs
=
""
;
this
.
mytypeFlag
=
true
;
}
}
},
created
:
function
(){
}
}
</
script
>
<
style
>
</
style
>
src/views/Business/Infdid/Detp1.vue
View file @
213a0c8e
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"通知行编号"
prop=
"didgrp.rec.tzref"
>
<c-input
v-model=
"model.didgrp.rec.tzref"
maxlength=
"35"
placeholder=
"请输入通知行编号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"External Key of Address"
prop=
"didgrp.adv.pts.extkey"
>
<c-input
v-model=
"model.didgrp.adv.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"External Key of Address"
prop=
"didgrp.iss.pts.extkey"
>
<c-input
v-model=
"model.didgrp.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=
"Number of bank"
prop=
"didgrp.adv.pts.bankno"
>
<c-input
v-model=
"model.didgrp.adv.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Number of bank"
prop=
"didgrp.iss.pts.bankno"
>
<c-input
v-model=
"model.didgrp.iss.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"联行名称 电证用"
prop=
"didgrp.adv.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.adv.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"联行名称 电证用"
prop=
"didgrp.iss.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.iss.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"地址 电证用"
prop=
"didgrp.adv.pts.dizhii"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.adv.pts.dizhii"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"地址 电证用"
prop=
"didgrp.iss.pts.dizhii"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.iss.pts.dizhii"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编 电证用"
prop=
"didgrp.adv.pts.youzbm"
>
<c-input
v-model=
"model.didgrp.adv.pts.youzbm"
maxlength=
"6"
placeholder=
"请输入邮编 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编"
prop=
"didgrp.adv.pts.dihdig"
>
<c-input
v-model=
"model.didgrp.adv.pts.dihdig"
maxlength=
"16"
placeholder=
"请输入邮编"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编 电证用"
prop=
"didgrp.iss.pts.youzbm"
>
<c-input
v-model=
"model.didgrp.iss.pts.youzbm"
maxlength=
"6"
placeholder=
"请输入邮编 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编"
prop=
"didgrp.iss.pts.dihdig"
>
<c-input
v-model=
"model.didgrp.iss.pts.dihdig"
maxlength=
"16"
placeholder=
"请输入邮编"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"是否可议付"
prop=
"didgrp.rec.fenctg"
>
<c-select
v-model=
"model.didgrp.rec.fenctg"
style=
"width:100%"
placeholder=
"请选择是否可议付"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"是否可保兑"
prop=
"didgrp.rec.bdflg"
>
<c-select
v-model=
"model.didgrp.rec.bdflg"
style=
"width:100%"
placeholder=
"请选择是否可保兑"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"指定的有关银行 "
prop=
"didgrp.rec.avbwth"
>
<c-select
v-model=
"model.didgrp.rec.avbwth"
style=
"width:100%"
placeholder=
"请选择指定的有关银行 "
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Number of bank"
prop=
"didgrp.rmb.pts.bankno"
>
<c-input
v-model=
"model.didgrp.rmb.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"联行名称 电证用"
prop=
"didgrp.rmb.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rmb.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Number of bank"
prop=
"didgrp.avb.pts.bankno"
>
<c-input
v-model=
"model.didgrp.avb.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"联行名称 电证用"
prop=
"didgrp.avb.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.avb.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"地址 电证用"
prop=
"didgrp.rmb.pts.dizhii"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rmb.pts.dizhii"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"地址 电证用"
prop=
"didgrp.avb.pts.dizhii"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.avb.pts.dizhii"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Number of bank"
prop=
"didgrp.apc.pts.bankno"
>
<c-input
v-model=
"model.didgrp.apc.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Form of Documentary Credit"
prop=
"didgrp.rec.lcrtyp"
>
<c-select
v-model=
"model.didgrp.rec.lcrtyp"
style=
"width:100%"
placeholder=
"请选择Form of Documentary Credit"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"联行名称 电证用"
prop=
"didgrp.apc.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.apc.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Number of bank"
prop=
"didgrp.cmb.pts.bankno"
>
<c-input
v-model=
"model.didgrp.cmb.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"地址 电证用"
prop=
"didgrp.apc.pts.dizhii"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.apc.pts.dizhii"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址 电证用"
></c-input>
</el-form-item>
<div
class=
"eibs-tab"
>
<!-- ========================= Left ========================= -->
<c-col
:span=
"11"
>
<el-form-item
label=
"信用证兑付方式"
prop=
"didgrp.rec.avbby"
>
<c-select
v-model=
"model.didgrp.rec.avbby"
style=
"width:100%"
@
change=
"avbbykeyEvent"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.avbby0"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
<el-form-item
label=
"付款期限"
prop=
"didgrp.rec.tenmaxday"
>
<c-input
:disabled=
"model.didgrp.rec.avbby == 'P'"
v-model
.
number=
"model.didgrp.rec.tenmaxday"
placeholder=
"请输入"
style=
"width:17%"
maxlength=
"3"
></c-input>
</el-form-item>
<el-form-item
label=
"远期付款指示"
prop=
"didgrp.blk.defdet"
>
<c-col
:span=
"21"
>
<c-input
type=
"textarea"
:disabled=
"model.didgrp.rec.avbby == 'P'"
v-model=
"model.didgrp.blk.defdet"
style=
"width:100%"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
:autosize=
"
{ minRows: 3,maxRows:5}">
</c-input>
</c-col>
<c-col
:span=
"3"
style=
"text-align: right"
>
<c-button
size=
"small"
style=
"margin:0 0;"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onDefdetButtxmsel"
>
</c-button>
</c-col>
</el-form-item>
<el-form-item
label=
"交单期限"
prop=
"didgrp.blk.preper"
>
<c-col
:span=
"21"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.preper"
:disabled=
"this.flag"
style=
"width:100%"
maxlength=
"105"
show-word-limit
placeholder=
"请输入"
></c-input>
</c-col>
<c-col
:span=
"3"
style=
"text-align: right"
>
<c-button
size=
"small"
type=
"primary"
style=
"margin:0 0;"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
>
</c-button>
</c-col>
</el-form-item>
<el-form-item
label=
""
prop=
"didgrp.blk.preperflg"
>
<c-checkbox
v-model=
"model.didgrp.blk.preperflg"
:click=
"preperflgExtkeyEvent()"
>
修改交单期限文本
</c-checkbox>
</el-form-item>
<el-form-item
label=
"货物运输/交货/服务方式"
prop=
"didgrp.rec.tratyp"
>
<c-col
:span=
"10"
>
<c-select
v-model=
"model.didgrp.rec.tratyp"
style=
"width:90%"
placeholder=
"请选择"
@
change=
"recTratypChange"
:disabled=
"model.didgrp.rec.mytype == 'F'"
>
<el-option
v-for=
"item in codes.tratyp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</c-col>
</el-form-item>
<el-form-item
v-if=
"model.didgrp.rec.mytype == 'H'"
label=
"手输运输方式"
prop=
"didgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.sdsrfs"
:disabled=
"this.mytypeFlag"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
v-if=
"model.didgrp.rec.mytype == 'F'"
label=
"服务提供方式"
prop=
"didgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.sdsrfs"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
v-if=
"model.didgrp.rec.mytype == '3'"
label=
"手输运输方式/服务提供方式"
prop=
"didgrp.rec.sdsrfs"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.sdsrfs"
:disabled=
"this.mytypeFlag"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"合同编号"
prop=
"didgrp.rec.conno"
>
<c-input
v-model=
"model.didgrp.rec.conno"
maxlength=
"35"
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"合同金额"
prop=
"didgrp.rec.conamt"
>
<c-col
:span=
"10"
>
<c-select
v-model=
"model.didgrp.rec.concur"
style=
"width:90%"
placeholder=
"请选择"
>
<el-option
label=
"CNY 人民币"
value=
"CNY"
></el-option>
</c-select>
</c-col>
<c-col
:span=
"14"
>
<c-input
v-model=
"model.didgrp.rec.conamt"
placeholder=
"请输入"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"联行名称 电证用"
prop=
"didgrp.cmb.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.cmb.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
></c-input>
</el-form-item>
<!-- ========================= Right ========================= -->
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"分批装运货物"
prop=
"didgrp.rec.shppar"
>
<c-select
v-model=
"model.didgrp.rec.shppar"
style=
"width:50%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.shppar"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
<el-form-item
label=
"分期装运/提供服务"
prop=
"didgrp.rec.fqzytgfw"
>
<c-input
v-model=
"model.didgrp.rec.fqzytgfw"
placeholder=
"请输入"
:disabled=
"model.didgrp.rec.shppar == 'N'"
style=
"width:100%"
></c-input>
</el-form-item>
<el-form-item
label=
"分期装运/提供服务约定"
prop=
"didgrp.rec.fqtime"
>
<c-input
type=
"textarea"
:rows=
"3"
v-model=
"model.didgrp.rec.fqtime"
maxlength=
"140"
show-word-limit
placeholder=
"请输入"
style=
"width:100%"
></c-input>
</el-form-item>
<el-form-item
label=
"转运"
prop=
"didgrp.rec.shptrs"
>
<c-select
v-model=
"model.didgrp.rec.shptrs"
style=
"width:50%"
placeholder=
"请选择"
:disabled=
"model.didgrp.rec.mytype == 'F'"
>
<el-option
label=
"不允许"
value=
"禁止"
></el-option>
<el-option
label=
"允许"
value=
"允许"
></el-option>
</c-select>
</el-form-item>
<el-form-item
label=
"货物转运地(港)"
prop=
"didgrp.rec.shpfro"
>
<c-input
type=
"textarea"
style=
"width:100%"
:rows=
"3"
v-model=
"model.didgrp.rec.shpfro"
:disabled=
"model.didgrp.rec.mytype == 'F'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"货物目的地/交货地(港)"
prop=
"didgrp.rec.shpto"
>
<c-input
type=
"textarea"
style=
"width:100%"
:rows=
"3"
v-model=
"model.didgrp.rec.shpto"
:disabled=
"model.didgrp.rec.mytype == 'F'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
<el-form-item
label=
"服务提供地点"
prop=
"didgrp.rec.shppro"
>
<c-input
type=
"textarea"
style=
"width:100%"
:rows=
"3"
v-model=
"model.didgrp.rec.shppro"
:disabled=
"model.didgrp.rec.mytype == 'H'"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编 电证用"
prop=
"didgrp.apc.pts.youzbm
"
>
<c-input
v-model=
"model.didgrp.apc.pts.youzbm"
maxlength=
"6"
placeholder=
"请输入邮编 电证用"
></c-input
>
</el-form-item
>
</c-col
>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编"
prop=
"didgrp.apc.pts.dihdig"
>
<c-input
v-model=
"model.didgrp.apc.pts.dihdig"
maxlength=
"16"
placeholder=
"请输入邮编"
></c-input
>
</el-form-item
>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"合同币种"
prop=
"didgrp.rec.concur
"
>
<c-select
v-model=
"model.didgrp.rec.concur"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
label=
"CNY 人民币"
value=
"CNY"
></el-option
>
</c-select
>
</el-form-item>
</c-col>
--
>
<!--
<c-col
:span=
"12"
>
<span
v-text=
"model.ditp.sdysfs"
data-path=
".ditp.sdysfs"
>
</span
>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"地址 电证用"
prop=
"didgrp.cmb.pts.dizhii"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.cmb.pts.dizhii"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址 电证用"
></c-input>
</el-form-item>
</c-col>
</div>
<c-col
:span=
"12"
>
<span
v-text=
"model.ditp.hwzydi"
data-path=
".ditp.hwzydi"
>
</span>
</c-col>
-->
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Infdid/Event"
import
Event
from
"~/model/Ditopn/Event"
import
Utils
from
"~/utils"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
props
:[
"model"
,
"codes"
],
data
(){
return
{
flag
:
false
,
mytypeFlag
:
true
,
}
},
methods
:{...
Event
},
methods
:{...
Event
,
preperflgExtkeyEvent
(){
this
.
flag
=
!
this
.
model
.
didgrp
.
blk
.
preperflg
if
(
this
.
flag
===
true
){
this
.
model
.
didgrp
.
blk
.
preper
=
"货物装运日后15天"
;
}
},
avbbykeyEvent
(){
if
(
this
.
model
.
didgrp
.
rec
.
avbby
==
'P'
){
this
.
model
.
didgrp
.
rec
.
tenmaxday
=
0
;
this
.
model
.
didgrp
.
blk
.
defdet
=
""
;
}
this
.
executeCheck
(
"didgrp.rec.avbby"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
);
},
recTenmaxdayEvent
(){
this
.
executeDefault
(
"didgrp.rec.tenmaxday"
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
=
SUCCESS
){
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
}
);
},
recTratypChange
(){
if
(
this
.
model
.
didgrp
.
rec
.
tratyp
==
"08"
){
this
.
model
.
didgrp
.
rec
.
sdsrfs
=
""
;
this
.
mytypeFlag
=
false
;
}
else
{
this
.
model
.
didgrp
.
rec
.
sdsrfs
=
""
;
this
.
mytypeFlag
=
true
;
}
}
},
created
:
function
(){
}
}
</
script
>
<
style
>
</
style
>
src/views/Business/Infdid/Infsea.vue
View file @
213a0c8e
...
...
@@ -330,16 +330,16 @@
>
处理
</c-button>
<!--
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"getDitSelInfo(scope.
row['Reference']
)"
@
click=
"getDitSelInfo(scope.
$index,scope.row
)"
>
info
</c-button>
-->
</
template
>
</el-table-column>
</c-istream-table>
...
...
@@ -539,6 +539,7 @@
</div>
</template>
<
script
>
import
Utils
from
"~/utils/index"
import
Api
from
"~/service/Api"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
...
...
@@ -590,10 +591,17 @@ export default {
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
initdialog
=
false
}
,
async
getDitSelInfo
(
code
){
//跳转交易
this
.
$router
.
history
.
push
(
"/business/"
+
code
)
this
.
initdialog
=
false
async
getDitSelInfo
(
idx
,
row
){
console
.
log
(
row
);
var
params
=
{
selDst
:
"infbut.dspstm"
,
selIds
:[
idx
+
1
]}
let
rtnmsg
=
await
this
.
executeRule
(
"infbut.dspstm"
,
params
);
console
.
log
(
rtnmsg
)
if
(
rtnmsg
.
respCode
=
SUCCESS
){
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this
.
$emit
(
'updateShowPanel'
,
true
)
}
},
created
:
function
()
{},
...
...
src/views/Business/Infdid/Ovwp.vue
View file @
213a0c8e
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Drag Drop Sender"
prop=
"recpan.recget.sdamod.dadsnd"
>
<c-input
v-model=
"model.recpan.recget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Reference"
prop=
"didgrp.rec.ownref"
>
<c-input
v-model=
"model.didgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"recpan.recget.sdamod.seainf"
>
<c-input
v-model=
"model.recpan.recget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onRecpanButgetref"
>
获取
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Externally Displayed Name to Identify the Contract"
prop=
"didgrp.rec.nam"
>
<c-input
v-model=
"model.didgrp.rec.nam"
maxlength=
"40"
placeholder=
"请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"申请人 参考号"
prop=
"didgrp.apl.pts.ref"
>
<c-input
v-model=
"model.didgrp.apl.pts.ref"
maxlength=
"16"
placeholder=
"请输入申请人 参考号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"User ID"
prop=
"recpan.usr.extkey"
>
<c-input
v-model=
"model.recpan.usr.extkey"
maxlength=
"8"
placeholder=
"请输入User ID"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.didgrp.rec.resflg"
>
Reserved Contract
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"recpan.usrget.sdamod.seainf"
>
<c-input
v-model=
"model.recpan.usrget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Drag Drop Sender"
prop=
"recpan.aplp.ptsget.sdamod.dadsnd"
>
<c-input
v-model=
"model.recpan.aplp.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"External Key of Address"
prop=
"didgrp.apl.pts.extkey"
>
<c-input
v-model=
"model.didgrp.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=
"recpan.aplp.ptsget.sdamod.seainf"
>
<c-input
v-model=
"model.recpan.aplp.ptsget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onAplpDet"
>
Details
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Currency"
prop=
"didgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.didgrp.cbs.nom1.cur"
style=
"width:100%"
placeholder=
"请选择Currency"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"信用证金额"
prop=
"didgrp.cbs.nom1.amt"
>
<c-input
v-model=
"model.didgrp.cbs.nom1.amt"
placeholder=
"请输入信用证金额"
></c-input>
<c-row>
<!-- =================顶部====================== -->
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"信用证号码"
prop=
"didgrp.rec.ownref"
style=
"width: 100%"
>
<c-input
v-model=
"model.didgrp.rec.ownref"
maxlength=
"16"
placeholder=
"请输入Reference"
style=
"width: 95%"
disabled
></c-input>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"1"
style=
"text-align: right"
>
-->
<c-col
:span=
"1"
>
<!--
<el-form-item
label=
""
label-width=
"5px"
>
-->
<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>
<!--
</el-form-item>
-->
</c-col>
<c-col
:span=
"3"
style=
"text-align: right"
>
<!--
<el-form-item
label=
""
label-width=
"5px"
>
-->
<c-button
style=
"margin:0 0"
size=
"small"
type=
"primary"
:disabled=
"this.flag"
@
click=
"onDitpButgetref"
>
获取
</c-button>
<!--
</el-form-item>
-->
</c-col>
<!--
</c-col>
-->
</c-col>
<c-col
:span=
"11"
:offset=
"1"
>
<el-form-item
label=
"摘要"
prop=
"didgrp.rec.nam"
>
<c-input
align=
"middle"
v-model=
"model.didgrp.rec.nam"
maxlength=
"40"
disabled
placeholder=
"请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col
:span=
"11"
>
<c-col
:span=
"20"
>
<el-form-item
label=
"所属客户经理"
prop=
"recpan.usr.extkey"
style=
"width: 100%"
>
<c-input
style=
"width: 95%"
v-model=
"model.recpan.usr.extkey"
maxlength=
"8"
placeholder=
"请输入User ID"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1"
>
<!--
<el-form-item
label=
""
label-width=
"17px"
>
-->
<c-button
style=
"margin:0 10px 0 0;padding: 0 10px;"
size=
"small"
icon=
"el-icon-search"
type=
"primary"
@
click=
"onExtkey"
></c-button>
<!--
</el-form-item>
-->
</c-col>
<!--
<c-col>
</c-col>
-->
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证金额"
prop=
"didgrp.cbs.nom1.cur"
>
<c-select
disabled
v-model=
"model.didgrp.cbs.nom1.cur"
style=
"width: 95%"
placeholder=
"请选择Currency"
@
keyup
.
enter
.
native=
"nom1CurEvent"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
style=
"text-align: left"
label-width=
"0"
prop=
"didgrp.cbs.nom1.amt"
>
<c-input-currency
v-model=
"model.didgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
@
keyup
.
enter
.
native=
"defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)"
></c-input-currency>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"大写金额"
prop=
"recpan.amt"
>
<c-input
v-model=
"model.recpan.amt"
maxlength=
"76"
placeholder=
"请输入大写金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"上下浮动限额"
prop=
"didgrp.rec.nomtop"
>
<c-input
v-model=
"model.didgrp.rec.nomtop"
maxlength=
"9"
style=
"width: 40%"
placeholder=
"请输入Amount Tolerance - Positive"
></c-input>
<label
style=
"display:inline-block;width:10%;text-align:center;"
>
-
</label>
<c-input
v-model=
"model.didgrp.rec.nomton"
maxlength=
"9"
style=
"width: 40%"
placeholder=
"请输入Amount Tolerance - Negative"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!--
<c-col
:span=
"12"
style=
"text-align: left"
>
<el-form-item
label=
""
style=
"text-align: left; margin-left: 12px"
label-width=
"150px"
prop=
"didgrp.rec.nomton"
>
<c-input
v-model=
"model.didgrp.rec.nomton"
maxlength=
"9"
placeholder=
"请输入Amount Tolerance - Negative"
></c-input>
</el-form-item>
</c-col>
-->
<!--
<c-col>
</c-col>
-->
<c-col
:span=
"13"
>
<el-form-item
label=
"信用证最大金额"
prop=
"didgrp.cbs.max.cur"
>
<c-select
v-model=
"model.didgrp.cbs.max.cur"
style=
"width: 95%"
placeholder=
"请选择Currency"
disabled
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
""
label-width=
"0"
prop=
"didgrp.cbs.max.amt"
>
<c-input
v-model=
"model.didgrp.cbs.max.amt"
placeholder=
"请输入信用证最大金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"贸易类型"
prop=
"didgrp.rec.mytype"
>
<c-select
v-if=
"model.didgrp.rec.elcflg == 'N'"
v-model=
"model.didgrp.rec.mytype"
style=
"width: 100%"
placeholder=
"请选择贸易类型"
@
change=
"mytypeChange"
>
<el-option
v-for=
"item in codes.mylx"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<c-select
v-else
v-model=
"model.didgrp.rec.mytype"
style=
"width: 100%"
placeholder=
"请选择贸易类型"
@
change=
"mytypeChange"
>
<el-option
v-for=
"item in codes.mytype"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"开证日期"
prop=
"didgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.opndat"
value-format=
"yyyy-MM-dd"
style=
"width: 95%"
placeholder=
"请选择Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
v-if=
"model.didgrp.rec.mytype == 'H'"
label=
"最迟货物装运日"
prop=
"didgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.shpdat"
value-format=
"yyyy-MM-dd"
style=
"width: 95%"
placeholder=
"请选择Date"
></c-date-picker>
</el-form-item>
<el-form-item
v-if=
"model.didgrp.rec.mytype == 'F'"
label=
"最迟服务提供日"
prop=
"didgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.shpdat"
value-format=
"yyyy-MM-dd"
style=
"width: 95%"
placeholder=
"请选择Date"
></c-date-picker>
</el-form-item>
<el-form-item
label=
"最迟货物装运日/服务提供日"
v-if=
"model.didgrp.rec.mytype == '3'"
prop=
"didgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.shpdat"
value-format=
"yyyy-MM-dd"
style=
"width: 95%"
placeholder=
"请选择"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"有效日期"
prop=
"didgrp.rec.expdat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.expdat"
value-format=
"yyyy-MM-dd"
style=
"width: 95%"
placeholder=
"请选择Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"有效地点"
prop=
"didgrp.rec.expplc"
>
<c-input
v-model=
"model.didgrp.rec.expplc"
maxlength=
"35"
placeholder=
"请输入Place of Expiry"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"13"
>
<el-form-item
label=
"是否通过电证系统"
prop=
"didgrp.rec.elcflg"
>
<c-select
v-model=
"model.didgrp.rec.elcflg"
style=
"width: 95%"
placeholder=
"请选择是否通过电证系统"
>
<el-option
v-for=
"item in codes.elcflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
"报文类型"
label-width=
"80px"
>
<c-select
v-model=
"model.recpan.msgtyp"
placeholder=
"请选择报文类型"
:code=
"getValues('recpan.msgtyp')"
:disabled=
"model.didgrp.rec.elcflg!='Y'"
/>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"开证类型"
prop=
"didgrp.rec.dkflg"
>
<c-select
v-model=
"model.didgrp.rec.dkflg"
style=
"width: 100%"
disabled
placeholder=
"请选择开证类型"
>
<el-option
v-for=
"item in codes.dkflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"申请人统一社会信用代码"
prop=
"didgrp.rec.idcode"
>
<c-input
v-model=
"model.didgrp.rec.idcode"
maxlength=
"18"
disabled
placeholder=
"请输入申请人统一社会信用代码"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"货押标识"
prop=
"didgrp.rec.guaflg"
>
<c-select
v-model=
"model.didgrp.rec.guaflg"
style=
"width: 100%"
placeholder=
"请选择货押标识"
>
<el-option
v-for=
"item in codes.guaflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"假远期信用证"
prop=
"didgrp.rec.jyqflg"
>
<c-select
v-model=
"model.didgrp.rec.jyqflg"
style=
"width: 100%"
placeholder=
"请选择假远期信用证"
>
<el-option
v-for=
"item in codes.jyqflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</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: 'didgrp',
rol: 'apl',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"申请人 参考号"
prop=
"didgrp.apl.pts.ref"
style=
"width: 100%"
>
<c-input
v-model=
"model.didgrp.apl.pts.ref"
maxlength=
"16"
placeholder=
"请输入申请人 参考号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"18"
>
<el-form-item
label=
"Extkey"
prop=
"didgrp.apl.pts.extkey"
style=
"width: 100%"
>
<c-input
id=
"extkey"
v-model=
"model.didgrp.apl.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('didgrp.apl.pts.extkey')
"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"6"
style=
"text-align: right"
>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onSeainf('didgrp.apl.pts.extkey')"
></c-button>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
label-width=
"5px"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onAplpDet"
>
详情
</c-button>
</el-form-item>
</c-col>
</c-col>
</c-col>
-->
<!--
<c-col
:span=
"10"
>
<el-form-item
label=
""
>
<c-input
v-model=
"model.ditp.aplp.ptsget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12
"
>
</c-col>
-->
<!--
<c-col
:span=
"24
"
>
<el-form-item
label=
"名称"
prop=
"didgrp.apl.namelc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.apl.namelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Address Block"
prop=
"didgrp.apl.pts.adrblk"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.apl.namelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入名称"
></c-input>
</el-form-item>
</c-col>
-->
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Address Block"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.apl.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Chinese address"
prop=
"didgrp.apl.dbfadrblkcn"
>
<el-form-item
label=
"Chinese address"
>
Extkey
</el-form-item>
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.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=
"recpan.amt"
>
<c-input
v-model=
"model.recpan.amt"
maxlength=
"76"
placeholder=
"请输入大写金额"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
-->
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"地址"
prop=
"didgrp.apl.adrelc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.apl.adrelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Amount Tolerance - Positive"
prop=
"didgrp.rec.nomtop"
>
<c-input
v-model=
"model.didgrp.rec.nomtop"
placeholder=
"请输入Amount Tolerance - Positive"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Amount Tolerance - Negative"
prop=
"didgrp.rec.nomton"
>
<c-input
v-model=
"model.didgrp.rec.nomton"
placeholder=
"请输入Amount Tolerance - Negative"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编 电证用"
prop=
"didgrp.apl.pts.youzbm"
>
<c-input
v-model=
"model.didgrp.apl.pts.youzbm"
maxlength=
"6"
placeholder=
"请输入邮编 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编"
prop=
"didgrp.apl.pts.dihdig"
>
<c-input
v-model=
"model.didgrp.apl.pts.dihdig"
maxlength=
"16"
placeholder=
"请输入邮编"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"External Account"
prop=
"didgrp.apl.pts.extact"
>
<c-select
v-model=
"model.didgrp.apl.pts.extact"
style=
"width:100%"
placeholder=
"请选择External Account"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Currency"
prop=
"didgrp.cbs.max.cur"
>
<c-select
v-model=
"model.didgrp.cbs.max.cur"
style=
"width:100%"
placeholder=
"请选择Currency"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"信用证最大金额"
prop=
"didgrp.cbs.max.amt"
>
<c-input
v-model=
"model.didgrp.cbs.max.amt"
placeholder=
"请输入信用证最大金额"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Number of bank"
prop=
"didgrp.apb.pts.bankno"
>
<c-input
v-model=
"model.didgrp.apb.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"槸易类型"
prop=
"didgrp.rec.mytype"
>
<c-select
v-model=
"model.didgrp.rec.mytype"
style=
"width:100%"
placeholder=
"请选择槸易类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"联行名称 电证用"
prop=
"didgrp.apb.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.apb.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Date L/C Opened/Issued"
prop=
"didgrp.rec.opndat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.opndat"
style=
"width:100%"
placeholder=
"请选择Date L/C Opened/Issued"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<span
v-text=
"model.recpan.zchday"
data-path=
".recpan.zchday"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Shipment Date"
prop=
"didgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.shpdat"
style=
"width:100%"
placeholder=
"请选择Shipment Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.apl.adrelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
-->
<c-col
:span=
"14"
>
<c-form-item
label=
"邮编"
prop=
"didgrp.apl.pts.youzbm"
>
<c-input
v-model=
"model.didgrp.apl.pts.youzbm"
maxlength=
"6"
placeholder=
"请输入邮编"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"10"
>
<c-form-item
label=
"电话"
label-width=
"40px"
style=
"margin-left: 12px"
prop=
"didgrp.apl.pts.dihdig"
>
<c-input
v-model=
"model.didgrp.apl.pts.dihdig"
maxlength=
"16"
placeholder=
"请输入电话"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"申请人账号"
prop=
"didgrp.apl.pts.extact"
>
<c-select
v-model=
"model.didgrp.apl.pts.extact"
style=
"width: 100%"
placeholder=
"请选择External Account"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"申请人开户行 联行行号"
prop=
"didgrp.apb.pts.bankno"
>
<c-input
v-model=
"model.didgrp.apb.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
@
keyup
.
enter
.
native=
"showGridPromptDialog('didgrp.apb.pts.bankno')"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"联行名称 "
prop=
"didgrp.apb.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.apb.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
></c-input>
</el-form-item>
</c-col>
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"受益人 参考号"
prop=
"didgrp.ben.pts.ref"
>
<c-input
v-model=
"model.didgrp.ben.pts.ref"
maxlength=
"16"
placeholder=
"请输入受益人 参考号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Date of Expiry"
prop=
"didgrp.rec.expdat"
>
<c-date-picker
type=
"date"
v-model=
"model.didgrp.rec.expdat"
style=
"width:100%"
placeholder=
"请选择Date of Expiry"
></c-date-picker>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Drag Drop Sender"
prop=
"recpan.benp.ptsget.sdamod.dadsnd"
>
<c-input
v-model=
"model.recpan.benp.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
<c-input
v-model=
"model.didgrp.ben.pts.ref"
maxlength=
"16"
placeholder=
"请输入受益人 参考号"
></c-input>
</el-form-item>
</c-col>
</c-col>
-->
<!--
<c-col
:span=
"6"
>
<span
v-text=
"model.ditp.zchday"
data-path=
".ditp.zchday"
>
</span>
</c-col>
-->
<c-col
:span=
"24"
>
<c-ptap
:model=
"model"
:argadr=
"
{
title: '受益人',
grp: 'didgrp',
rol: 'ben',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<!--
<c-col
:span=
"18"
>
<el-form-item
label=
"Extkey"
prop=
"didgrp.ben.pts.extkey"
style=
"width: 100%"
>
<c-input
v-model=
"model.didgrp.ben.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address"
@
keyup
.
enter
.
native=
"showGridPromptDialog('didgrp.ben.pts.extkey')"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"6"
style=
"text-align: right"
>
<c-button
class=
"icon-search"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onSeaParty('didgrp.ben.pts.extkey')"
></c-button>
<c-button
class=
"detailsButton"
size=
"small"
type=
"primary"
@
click=
"onBenpDet"
>
详情
</c-button>
</c-col>
-->
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"
External Key of Address"
prop=
"didgrp.ben.pts.extkey
"
>
<c-input
v-model=
"model.di
dgrp.ben.pts.extkey"
maxlength=
"16"
placeholder=
"请输入External Key of Address
"
></c-input>
<el-form-item
label=
"
Drag Drop Sender
"
>
<c-input
v-model=
"model.di
tp.benp.ptsget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender
"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
""
prop=
"recpan.benp.ptsget.sdamod.seainf"
>
<c-input
v-model=
"model.recpan.benp.ptsget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</c-col>
-->
<!--
<c-col
:span=
"10"
>
<el-form-item
label=
""
>
<c-input
v-model=
"model.ditp.benp.ptsget.sdamod.seainf"
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"
1
2"
>
<c-col
:span=
"2"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onBenpDet"
>
Det
ai
ls
Det
ia
ls
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Place of Expiry"
prop=
"didgrp.rec.expplc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.expplc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Place of Expiry"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
</c-col>
-->
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"名称"
prop=
"didgrp.ben.namelc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.ben.namelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-input
type=
"textarea"
v-model=
"model.didgrp.ben.namelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入名称"
></c-input>
</el-form-item>
</c-col>
-->
<!--
<c-col
:span=
"24"
>
<el-form-item
label=
"有效地点"
prop=
"didgrp.rec.expplc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.rec.expplc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Place of Expiry"
></c-input>
</el-form-item>
</c-col>
-->
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Address Block"
prop=
"didgrp.ben.pts.adrblk"
>
<el-form-item
label=
"Address Block"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.ben.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Chinese address"
prop=
"didgrp.ben.dbfadrblkcn"
>
<el-form-item
label=
"Chinese address"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.ben.dbfadrblkcn"
maxlength=
"35"
show-word-limit
placeholder=
"请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12
"
>
</c-col>
-->
<!--
<c-col
:span=
"24
"
>
<el-form-item
label=
"地址"
prop=
"didgrp.ben.adrelc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.ben.adrelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"报文类型"
prop=
"recpan.msgtyp"
>
<c-select
v-model=
"model.recpan.msgtyp"
style=
"width:100%"
placeholder=
"请选择报文类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"是否通过电证系统"
prop=
"didgrp.rec.elcflg"
>
<c-select
v-model=
"model.didgrp.rec.elcflg"
style=
"width:100%"
placeholder=
"请选择是否通过电证系统"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"开证类型"
prop=
"didgrp.rec.dkflg"
>
<c-select
v-model=
"model.didgrp.rec.dkflg"
style=
"width:100%"
placeholder=
"请选择开证类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编 电证用"
prop=
"didgrp.ben.pts.youzbm"
>
<c-input
v-model=
"model.didgrp.ben.pts.youzbm"
maxlength=
"6"
placeholder=
"请输入邮编 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"邮编"
prop=
"didgrp.ben.pts.dihdig"
>
<c-input
v-model=
"model.didgrp.ben.pts.dihdig"
maxlength=
"16"
placeholder=
"请输入邮编"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"申请人统一社会信用代码"
prop=
"didgrp.rec.idcode"
>
<c-input
v-model=
"model.didgrp.rec.idcode"
maxlength=
"18"
placeholder=
"请输入申请人统一社会信用代码"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.ben.adrelc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
-->
<c-col
:span=
"14"
>
<el-form-item
label=
"邮编"
prop=
"didgrp.ben.pts.youzbm"
>
<c-input
v-model=
"model.didgrp.ben.pts.youzbm"
maxlength=
"6"
placeholder=
"请输入邮编 电证用"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"10"
>
<el-form-item
label=
"电话"
label-width=
"40px"
style=
"margin-left: 12px"
prop=
"didgrp.ben.pts.dihdig"
>
<c-input
v-model=
"model.didgrp.ben.pts.dihdig"
maxlength=
"16"
placeholder=
"请输入电话"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"受益人账号"
prop=
"didgrp.ben.pts.extact"
>
<c-input
v-model=
"model.didgrp.ben.pts.extact"
maxlength=
"34"
placeholder=
"请输入受益人账号"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"货押标识"
prop=
"didgrp.rec.guaflg"
>
<c-select
v-model=
"model.didgrp.rec.guaflg"
style=
"width:100%"
placeholder=
"请选择货押标识"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Number of bank"
prop=
"didgrp.beb.pts.bankno"
>
<c-input
v-model=
"model.didgrp.beb.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"假远期信用证"
prop=
"didgrp.rec.jyqflg"
>
<c-select
v-model=
"model.didgrp.rec.jyqflg"
style=
"width:100%"
placeholder=
"请选择假远期信用证"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"联行名称 电证用"
prop=
"didgrp.beb.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.beb.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
></c-input>
<c-input
v-model=
"model.didgrp.ben.pts.extact"
maxlength=
"34"
placeholder=
"请输入受益人账号"
></c-input>
</el-form-item>
</c-col>
</div>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"受益人开户行 联行行号"
prop=
"didgrp.beb.pts.bankno"
>
<c-input
v-model=
"model.didgrp.beb.pts.bankno"
maxlength=
"20"
placeholder=
"请输入Number of bank"
@
keyup
.
enter
.
native=
"showGridPromptDialog('didgrp.beb.pts.bankno')"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"联行名称 "
prop=
"didgrp.beb.pts.jigomc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.beb.pts.jigomc"
maxlength=
"35"
show-word-limit
placeholder=
"请输入联行名称 电证用"
:disabled=
"this.jigomcFlag"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
Api
from
"~/service/Api"
;
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Infdid/Event"
import
Event
from
"~/model/Ditopn/Event"
;
import
Utils
from
"~/utils"
;
import
Ptap
from
"~/views/Public/Ptap"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
(){
return
{
components
:
{
"c-ptap"
:
Ptap
},
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
CommonProcess
],
data
()
{
return
{
jigomcFlag
:
false
,
trade
:
""
,
};
},
methods
:
{
...
Event
,
mytypeChange
()
{
if
(
this
.
model
.
didgrp
.
rec
.
mytype
==
"F"
)
{
this
.
model
.
didgrp
.
rec
.
tratyp
=
""
;
this
.
model
.
didgrp
.
rec
.
sdsrfs
=
""
;
this
.
model
.
didgrp
.
rec
.
shptrs
=
""
;
this
.
model
.
didgrp
.
rec
.
shpfro
=
""
;
this
.
model
.
didgrp
.
rec
.
shpto
=
""
;
this
.
model
.
didgrp
.
rec
.
shppro
=
""
;
}
},
nom1CurEvent
()
{
this
.
executeDefault
(
"didgrp.cbs.nom1.cur"
).
then
((
res
)
=>
{
if
((
res
.
respCode
=
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
}
});
},
methods
:{...
Event
},
created
:
function
(){
}
}
},
created
:
function
()
{
console
.
log
(
this
.
root
);
},
computed
:
{
flag
()
{
return
this
.
model
.
didgrp
.
apl
.
pts
.
extkey
==
""
;
},
},
watch
:
{
declareParams
()
{},
},
};
</
script
>
<
style
>
</
style
>
src/views/Business/Infdid/Tk.vue
View file @
213a0c8e
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"
12
"
>
<span
v-text=
"model.
recpan.hwfwms"
data-path=
".recpan
.hwfwms"
>
</span>
<!--
<c-col
:span=
"
24
"
>
<span
v-text=
"model.
ditp.hwfwms"
data-path=
".ditp
.hwfwms"
>
</span>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Description of Goods"
prop=
"didgrp.blk.lcrgod"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.lcrgod"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onLcrgodButtxmsel"
>
...
</c-button>
-->
<c-col
:span=
"24"
>
<el-form-item
label=
"货物描述"
prop=
"didgrp.blk.lcrgod"
>
<c-input
type=
"textarea"
:autosize=
"
{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrgod" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" >
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"
12
"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"单据要求"
prop=
"didgrp.blk.lcrdoc"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.lcrdoc"
maxlength=
"65"
show-word-limit
placeholder=
"请输入单据要求"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onLcrdocButtxmsel"
>
...
</c-button>
<c-input
type=
"textarea"
:autosize=
"
{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrdoc" maxlength="1950" style="width:70%;margin-right:20px;" show-word-limit placeholder="请输入单据要求" >
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"
12
"
>
<c-col
:span=
"
24
"
>
<el-form-item
label=
"附加条款"
prop=
"didgrp.blk.adlcnd"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.adlcnd"
maxlength=
"65"
show-word-limit
placeholder=
"请输入附加条款"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onAdlcndButtxmsel"
>
...
</c-button>
<c-input
type=
"textarea"
:autosize=
"
{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入附加条款" >
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"付行的指示"
prop=
"didgrp.blk.insbnk"
>
<c-input
type=
"textarea"
v-model=
"model.didgrp.blk.insbnk"
maxlength=
"65"
show-word-limit
placeholder=
"请输入付行的指示"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onInsbnkButtxmsel"
>
...
</c-button>
<c-col
:span=
"24"
>
<el-form-item
label=
"给付款、承兑、议付行的指示"
prop=
"didgrp.blk.insbnk"
>
<c-input
type=
"textarea"
:autosize=
"
{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="325" show-word-limit placeholder="请输入付行的指示" >
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.didgrp.rec.redclsflg"
>
Red/Green Clause
</c-checkbox>
</c-col>
<!--
<c-col
:span=
"24"
>
-->
<!--
<el-form-item
label=
""
prop=
"didgrp.rec.redclsflg"
>
-->
<!--
<c-checkbox
v-model=
"model.didgrp.rec.redclsflg"
>
红/绿条款
</c-checkbox>
-->
<!--
</el-form-item>
-->
<!--
</c-col>
-->
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/
Infdid
/Event"
import
Event
from
"~/model/
Ditopn
/Event"
export
default
{
inject
:
[
'root'
],
...
...
src/views/Business/Infdid/index.vue
View file @
213a0c8e
...
...
@@ -2,34 +2,40 @@
<div
class=
"eContainer"
>
<div
style=
"padding:0 5px"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"110px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<!--
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
-->
<!--PD000006 -->
<!--
<el-tab-pane
label=
"信用证查询"
name=
"infsea"
>
-->
<!--
<c-content>
-->
<m-infsea
:model=
"model"
:codes=
"codes"
/>
<m-infsea
v-show=
"!showPanel"
@
updateShowPanel=
"updateShowPanel($event)"
:model=
"model"
:codes=
"codes"
/>
<!--
</c-content>
-->
<!--
</el-tab-pane>
-->
<c-tabs
v-model=
"tabVal"
v-show=
"showPanel"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000001 -->
<
!--
<el-tab-pane
label=
"PD000001
"
name=
"ovwp"
>
<
el-tab-pane
label=
"基本信息
"
name=
"ovwp"
>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
<!--PD000452 -->
<el-tab-pane
label=
"其他当事人"
name=
"detp1"
>
<m-detp1
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000077 -->
<
!--
<el-tab-pane
label=
"PD000077
"
name=
"detp"
>
<
el-tab-pane
label=
"详细信息
"
name=
"detp"
>
<m-detp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
<!--PD000342 -->
<
!--
<el-tab-pane
label=
"PD000342
"
name=
"tk"
>
<
el-tab-pane
label=
"单据要求
"
name=
"tk"
>
<m-tk
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
<!--PD000000 -->
<
!--
<el-tab-pane
label=
"PD000000
"
name=
"coninfp"
>
<
el-tab-pane
label=
"附言
"
name=
"coninfp"
>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
</el-tab-pane>
<!--PD000013 -->
<!--
<el-tab-pane
label=
"PD000013"
name=
"trnpan"
>
...
...
@@ -86,21 +92,19 @@
<m-ordpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000452 -->
<!--
<el-tab-pane
label=
"PD000452"
name=
"detp1"
>
<m-detp1
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<!--PD000488 -->
<!--
<el-tab-pane
label=
"PD000488"
name=
"stament"
>
<m-stament
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
-->
<
!--
</c-tabs>
--
>
<
/c-tabs
>
</el-form>
</div>
</div>
</
template
>
<
script
>
import
Utils
from
"~/utils/index"
;
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Infdid
from
"~/model/Infdid"
...
...
@@ -112,7 +116,7 @@ import Infsea from "./Infsea"
import
Ovwp
from
"./Ovwp"
import
Detp
from
"./Detp"
import
Tk
from
"./Tk"
import
Coninfp
from
"
./Coninfp"
import
Coninfp
from
"
~/views/Public/Coninfp"
;
import
Trnpan
from
"./Trnpan"
import
Cbsinfp
from
"./Cbsinfp"
import
Cbeinfp
from
"./Cbeinfp"
...
...
@@ -164,6 +168,7 @@ export default {
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
showPanel
:
false
,
rules
:
null
,
codes
:
{
},
...
...
@@ -171,19 +176,35 @@ export default {
},
methods
:{
tabClick
(){
},
initPanel
(
val
){
if
(
val
){
this
.
tabVal
=
"ovwp"
//
}
else
{
this
.
tabVal
=
""
}
},
async
updateShowPanel
(
value
)
{
this
.
showPanel
=
value
;
this
.
initPanel
(
value
);
}
},
created
:
async
function
(){
console
.
log
(
"进入infdid交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
watch
:{
}
}
</
script
>
...
...
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