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
fe34a940
Commit
fe34a940
authored
Oct 09, 2022
by
“yanyuxin”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Litopn交易Bug修改
parent
eea8b9d4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
203 additions
and
141 deletions
+203
-141
Pattern.js
src/model/Litopn/Pattern.js
+4
-4
Detp.vue
src/views/Business/Litopn/Detp.vue
+192
-133
Ovwp.vue
src/views/Business/Litopn/Ovwp.vue
+7
-4
Ptyp.vue
src/views/Business/Litopn/Ptyp.vue
+0
-0
No files found.
src/model/Litopn/Pattern.js
View file @
fe34a940
...
...
@@ -263,19 +263,19 @@ export default {
],
"lidgrp.blk.feetxt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
80
,
message
:
"8
0"
}
{
max
:
210
,
message
:
"21
0"
}
],
"lidgrp.blk.defdet"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过5
0"
}
{
max
:
140
,
message
:
"长度不能超过14
0"
}
],
"lidgrp.blk.dftat"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过5
0"
}
{
max
:
100
,
message
:
"长度不能超过10
0"
}
],
"litp.drwp.ptsget.sdamod.dadsnd"
:[
...
...
@@ -305,7 +305,7 @@ export default {
],
"lidgrp.blk.mixdet"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35
"
}
{
max
:
130
,
message
:
"长度不能超过130
"
}
],
"lidgrp.drw.adrelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
src/views/Business/Litopn/Detp.vue
View file @
fe34a940
...
...
@@ -4,8 +4,10 @@
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"授权兑付行"
prop=
"lidgrp.rec.avbwth"
>
<c-select
v-model=
"model.lidgrp.rec.avbwth"
style=
"width:100%"
placeholder=
"请选择"
<c-select
v-model=
"model.lidgrp.rec.avbwth"
style=
"width: 100%"
placeholder=
"请选择"
:code=
"codes.avbwth"
>
</c-select>
...
...
@@ -20,41 +22,58 @@
v-model=
"model.lidgrp.avb.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编码"
@
keyup
.
enter
.
native=
"showGridPromptDialog('lidgrp.avb.pts.extkey')"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('lidgrp.avb.pts.extkey')
"
></c-input>
<template
slot=
"footer"
>
<c-button
style=
"margin:
0 10px 0 10px;padding: 0 12px;
"
style=
"margin:
0 10px 0 10px; padding: 0 12px
"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
>
<span
style=
"font-family:
'宋体';font-weight:
bold"
></span>
<span
style=
"font-family:
'宋体'; font-weight:
bold"
></span>
</c-button>
<c-button
style=
"margin:0 0"
style=
"margin:
0 0"
size=
"small"
type=
"primary"
@
click=
"onAvbpDet"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"名称地址"
prop=
"lidgrp.avb.pts.adrblk"
v-if=
"model.lidgrp.rec.avbwth != 'O'"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.avb.pts.adrblk"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入名称地址"
:disabled=
"model.lidgrp.rec.avbwth !== ''"
></c-input>
<el-form-item
label=
"名称地址"
prop=
"lidgrp.avb.pts.adrblk"
v-if=
"model.lidgrp.rec.avbwth != 'O'"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.avb.pts.adrblk"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入名称地址"
:disabled=
"model.lidgrp.rec.avbwth !== ''"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
v-if=
"model.lidgrp.rec.avbwth == 'O'"
>
<el-form-item
label=
"Available in"
prop=
"lidgrp.blk.avbwthtxt"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.avbwthtxt"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入Available in"
></c-input>
type=
"textarea"
v-model=
"model.lidgrp.blk.avbwthtxt"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入Available in"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -115,7 +134,7 @@
<el-form-item
label=
"兑付方式"
prop=
"lidgrp.rec.avbby"
>
<c-select
v-model=
"model.lidgrp.rec.avbby"
style=
"width:100%"
style=
"width: 100%"
placeholder=
"请选择兑付方式"
:code=
"codes.avbby"
>
...
...
@@ -125,9 +144,10 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"议付/延期付款指示"
prop=
"lidgrp.blk.defdet"
>
<c-input
type=
"textarea"
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.defdet"
maxlength=
"50"
maxlength=
"140"
:rows=
"3"
show-word-limit
placeholder=
"请输入指示内容"
...
...
@@ -138,9 +158,10 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"汇票期限"
prop=
"lidgrp.blk.dftat"
>
<c-input
type=
"textarea"
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.dftat"
maxlength=
"50"
maxlength=
"100"
:rows=
"3"
show-word-limit
placeholder=
"请输入汇票期限"
...
...
@@ -156,29 +177,30 @@
v-model=
"model.lidgrp.drw.pts.extkey"
maxlength=
"16"
placeholder=
"请输入地址编码"
@
keyup
.
enter
.
native=
"showGridPromptDialog('lidgrp.drw.pts.extkey')"
@
keyup
.
enter
.
native=
"
showGridPromptDialog('lidgrp.drw.pts.extkey')
"
:disabled=
"this.flag2"
></c-input>
<
template
slot=
"footer"
>
<c-button
style=
"margin:
0 10px 0 10px;padding: 0 12px;
"
style=
"margin:
0 10px 0 10px; padding: 0 12px
"
size=
"small"
type=
"primary"
@
click=
"onSeainf('lidgrp.drw.pts.extkey')"
icon=
"el-icon-search"
>
<span
style=
"font-family:
'宋体';font-weight:
bold"
></span>
<span
style=
"font-family:
'宋体'; font-weight:
bold"
></span>
</c-button>
<c-button
style=
"margin:0 0"
style=
"margin:
0 0"
size=
"small"
type=
"primary"
:disabled=
"this.flag2"
@
click=
"onDrwpDet"
icon=
"el-icon-info"
>
</c-button>
</
template
>
</c-fullbox>
...
...
@@ -201,42 +223,69 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"名称地址"
prop=
"lidgrp.drw.pts.adrblk"
>
<c-input
type=
"textarea"
<c-input
type=
"textarea"
:disabled=
"this.flag2"
v-model=
"model.lidgrp.drw.pts.adrblk"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入地址信息"
></c-input>
v-model=
"model.lidgrp.drw.pts.adrblk"
maxlength=
"135"
:rows=
"4"
show-word-limit
placeholder=
"请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"装船/发运地"
prop=
"lidgrp.rec.shpfro"
>
<c-input
v-model=
"model.lidgrp.rec.shpfro"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
<c-input
v-model=
"model.lidgrp.rec.shpfro"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"始发(航空)站"
"
prop=
"lidgrp.rec.porloa"
>
<c-input
v-model=
"model.lidgrp.rec.porloa"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
<el-form-item
label=
"始发(航空)站"
prop=
"lidgrp.rec.porloa"
>
<c-input
v-model=
"model.lidgrp.rec.porloa"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"终点(航空)站"
"
prop=
"lidgrp.rec.pordis"
>
<c-input
v-model=
"model.lidgrp.rec.pordis"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
<el-form-item
label=
"终点(航空)站"
prop=
"lidgrp.rec.pordis"
>
<c-input
v-model=
"model.lidgrp.rec.pordis"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"最终目的地"
prop=
"lidgrp.rec.shpto"
>
<c-input
v-model=
"model.lidgrp.rec.shpto"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
<c-input
v-model=
"model.lidgrp.rec.shpto"
maxlength=
"65"
placeholder=
"请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"装运期"
prop=
"lidgrp.blk.shpper"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.shpper"
maxlength=
"65"
:rows=
"6"
show-word-limit
placeholder=
"请输入装运期"
></c-input>
<c-input
type=
"textarea"
:disabled=
"model.lidgrp.rec.shpdat !=null && model.lidgrp.rec.shpdat !=''"
v-model=
"model.lidgrp.blk.shpper"
maxlength=
"65"
:rows=
"6"
show-word-limit
placeholder=
"请输入装运期"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -259,38 +308,42 @@
</el-form-item>
</c-col>
-->
</c-col>
<!-- ========================右边======================== -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"提交期限(天)"
prop=
"lidgrp.rec.prepers18"
>
<c-input
v-model=
"model.lidgrp.rec.prepers18"
style=
"width:100%"
placeholder=
"请输入天数"
></c-input>
<c-input
v-model=
"model.lidgrp.rec.prepers18"
style=
"width: 100%"
placeholder=
"请输入天数"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"交单期限"
prop=
"lidgrp.blk.preper"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.preper"
maxlength=
"35"
show-word-limit
placeholder=
"请输入交单期限"
></c-input>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.preper"
maxlength=
"35"
show-word-limit
placeholder=
"请输入交单期限"
></c-input>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onPreperButtxmsel"
></c-button>
@
click=
"onPreperButtxmsel"
></c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Presentation period text" prop="lidgrp.rec.prepertxts18">
<c-input v-model="model.lidgrp.rec.prepertxts18" maxlength="35" placeholder="请输入Presentation period text"></c-input>
...
...
@@ -304,18 +357,26 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"银行负担费用"
prop=
"lidgrp.blk.feetxt"
>
<c-fullbox>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.feetxt"
maxlength=
"80"
:rows=
"6"
show-word-limit
placeholder=
"请输入内容"
></c-input>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.feetxt"
maxlength=
"210"
:rows=
"6"
show-word-limit
placeholder=
"请输入内容"
></c-input>
<
template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onChariaButtxmsel"
></c-button>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"onChariaButtxmsel"
></c-button>
</
template
>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Drafts at" prop="lidgrp.rec.chato">
<c-select v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择Drafts at">
...
...
@@ -327,7 +388,7 @@
<el-form-item
label=
"收报行所属国家地区 "
prop=
"lidgrp.rec.stacty"
>
<c-select
v-model=
"model.lidgrp.rec.stacty"
style=
"width:100%"
style=
"width: 100%"
:code=
"codes.stacty"
placeholder=
"请选择地区代码"
>
...
...
@@ -335,13 +396,13 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"混合付款指示"
prop=
"lidgrp.blk.mixdet"
>
<c-input
type=
"textarea"
v-model=
"model.lidgrp.blk.mixdet"
maxlength=
"35"
:rows=
"4"
maxlength=
"130"
:rows=
"4"
show-word-limit
placeholder=
"请输入混合付款指示"
:disabled=
"this.flag3"
...
...
@@ -349,115 +410,113 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"远期汇票最大期限(天)"
prop=
"lidgrp.rec.tenmaxday"
>
<el-form-item
label=
"远期汇票最大期限(天)"
prop=
"lidgrp.rec.tenmaxday"
>
<c-input
:disabled=
" !(!(this.model.lidgrp.rec.avbby == 'P')) "
v-model=
"model.lidgrp.rec.tenmaxday"
placeholder=
"请输入天数"
></c-input>
:disabled=
"!!(this.model.lidgrp.rec.avbby == 'P')"
v-model=
"model.lidgrp.rec.tenmaxday"
placeholder=
"请输入天数"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</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/Litopn/Event"
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Litopn/Event"
;
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
()
{
data
()
{
return
{
flag1
:
true
,
flag2
:
true
,
flag3
:
true
,
flag4
:
true
,
flag5
:
false
,
flag6
:
false
}
flag1
:
true
,
flag2
:
true
,
flag3
:
true
,
flag4
:
true
,
flag5
:
false
,
flag6
:
false
,
};
},
methods
:{...
Event
,
onAvbpDet
(){
console
.
log
(
this
.
model
.
lidgrp
.
rec
.
avbby
)
}
methods
:
{
...
Event
,
onAvbpDet
()
{
console
.
log
(
this
.
model
.
lidgrp
.
rec
.
avbby
);
},
created
:
function
(){
},
watch
:{
"model.lidgrp.rec.avbwth"
:{
immediate
:
true
,
handler
(
val
,
oldVal
){
created
:
function
()
{},
watch
:
{
"model.lidgrp.rec.avbwth"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
//Any Bank
if
(
val
==
'O'
){
this
.
flag4
=
false
;
this
.
changeFormItemRequired
(
'lidgrp.avb.pts.adrblk'
,
false
)
this
.
flag6
=
false
}
//Advising Bank
else
if
(
val
==
'A'
){
this
.
flag4
=
true
;
this
.
flag5
=
true
;
this
.
flag6
=
true
;
}
//Issuing Bank
else
if
(
val
==
'I'
){
this
.
flag4
=
true
;
this
.
flag5
=
false
;
this
.
flag6
=
true
;
}
//Confirming Bank
else
if
(
val
==
'C'
){
this
.
flag4
=
true
;
this
.
flag5
=
true
;
this
.
flag6
=
true
;
}
//Specified Bank
else
if
(
val
==
'S'
){
this
.
flag4
=
true
;
this
.
flag5
=
false
;
this
.
flag6
=
false
;
}
if
(
val
==
"O"
)
{
this
.
flag4
=
false
;
this
.
changeFormItemRequired
(
"lidgrp.avb.pts.adrblk"
,
false
);
this
.
flag6
=
false
;
}
//Advising Bank
else
if
(
val
==
"A"
)
{
this
.
flag4
=
true
;
this
.
flag5
=
true
;
this
.
flag6
=
true
;
}
//Issuing Bank
else
if
(
val
==
"I"
)
{
this
.
flag4
=
true
;
this
.
flag5
=
false
;
this
.
flag6
=
true
;
}
//Confirming Bank
else
if
(
val
==
"C"
)
{
this
.
flag4
=
true
;
this
.
flag5
=
true
;
this
.
flag6
=
true
;
}
//Specified Bank
else
if
(
val
==
"S"
)
{
this
.
flag4
=
true
;
this
.
flag5
=
false
;
this
.
flag6
=
false
;
}
},
},
"model.lidgrp.rec.avbby"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
if
(
val
==
"D"
)
{
this
.
flag1
=
false
this
.
flag2
=
true
this
.
flag3
=
true
immediate
:
true
,
handler
(
val
,
oldVal
)
{
if
(
val
==
"D"
)
{
this
.
flag1
=
false
;
this
.
flag2
=
true
;
this
.
flag3
=
true
;
}
if
(
val
==
"N"
)
{
this
.
flag1
=
false
this
.
flag2
=
false
this
.
flag3
=
true
if
(
val
==
"N"
)
{
this
.
flag1
=
false
;
this
.
flag2
=
false
;
this
.
flag3
=
true
;
}
if
(
val
==
"P"
)
{
this
.
flag1
=
true
this
.
flag2
=
false
this
.
flag3
=
true
if
(
val
==
"P"
)
{
this
.
flag1
=
true
;
this
.
flag2
=
false
;
this
.
flag3
=
true
;
}
if
(
val
==
"M"
)
{
this
.
flag1
=
true
this
.
flag2
=
true
this
.
flag3
=
false
if
(
val
==
"M"
)
{
this
.
flag1
=
true
;
this
.
flag2
=
true
;
this
.
flag3
=
false
;
}
if
(
val
==
"A"
)
{
this
.
flag1
=
true
this
.
flag2
=
false
this
.
flag3
=
true
if
(
val
==
"A"
)
{
this
.
flag1
=
true
;
this
.
flag2
=
false
;
this
.
flag3
=
true
;
}
},
},
},
}
}
;
</
script
>
<
style
>
.centerLable
{
...
...
src/views/Business/Litopn/Ovwp.vue
View file @
fe34a940
...
...
@@ -93,16 +93,16 @@
v-model=
"model.lidgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
"币种"
:code=
"codes.cur"
:code=
"codes.cur
txt1
"
@
keyup
.
enter
.
native=
"nom1CurEvent"
>
<el-option
<
!-- <
el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option>
-->
</c-select>
</el-form-item>
</c-col>
...
...
@@ -233,6 +233,7 @@
<el-form-item
label=
"最迟装船日期"
prop=
"lidgrp.rec.shpdat"
>
<c-date-picker
type=
"date"
:disabled=
"model.lidgrp.blk.shpper != '' && model.lidgrp.blk.shpper != null "
v-model=
"model.lidgrp.rec.shpdat"
style=
"width: 100%"
placeholder=
"请选择日期"
...
...
@@ -649,6 +650,7 @@
v-model=
"model.lidgrp.ben.pts.adrblk"
maxlength=
"80"
show-word-limit
:disabled =
"true"
placeholder=
"请输入名称地址"
></c-input>
</el-form-item>
...
...
@@ -675,7 +677,8 @@
-->
<c-col
:span=
"24"
class=
"centerLable marginLable"
>
<c-checkbox
v-model=
"model.lidgrp.rec.rmbflg"
disabled
<c-checkbox
v-model=
"model.lidgrp.rec.rmbflg"
true-label=
"Y"
false-label=
""
style=
"margin-left:9px;padding: 0 10px;"
>
偿付行信息
</c-checkbox
>
...
...
src/views/Business/Litopn/Ptyp.vue
View file @
fe34a940
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