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
0d5f807c
Commit
0d5f807c
authored
Nov 02, 2023
by
lixinyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtudp联动修改
parent
2efb8141
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
128 additions
and
19 deletions
+128
-19
check.js
src/business/brtudp/model/check.js
+1
-1
index.js
src/business/brtudp/model/index.js
+5
-4
Ovwp.vue
src/business/brtudp/views/Ovwp.vue
+3
-3
Payp.vue
src/business/brtudp/views/Payp.vue
+119
-11
No files found.
src/business/brtudp/model/check.js
View file @
0d5f807c
...
...
@@ -163,7 +163,7 @@ export default {
],
'aamset.utlamt'
:
[
{
type
:
'string'
,
required
:
false
,
message
:
'必输项'
},
{
max
:
18
,
message
:
'整数位不能超过1
4
位'
},
{
max
:
18
,
message
:
'整数位不能超过1
8
位'
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
'小数位不能超过3位'
}
],
'brdgrp.prb.adrelc'
:
[
...
...
src/business/brtudp/model/index.js
View file @
0d5f807c
...
...
@@ -111,8 +111,8 @@ export default class Brtudp {
},
},
aamset
:
{
utlamt
:
''
,
utlamt2
:
''
utlamt
:
'
0.00
'
,
utlamt2
:
'
0.00
'
},
cfabrt
:
{
recgrp
:
{
...
...
@@ -173,12 +173,13 @@ export default class Brtudp {
expdat
:
''
,
ownref
:
''
,
branchinr
:
''
,
inr
:
''
inr
:
''
,
avbby
:
''
,
},
cbs
:
{
opn1
:
{
cur
:
''
,
amt
:
''
amt
:
'
0.00
'
}
}
},
...
...
src/business/brtudp/views/Ovwp.vue
View file @
0d5f807c
...
...
@@ -13,12 +13,12 @@
<el-collapse-item
title=
"付款通知"
name=
"mt754p"
v-if=
"model.brdgrp.rec.advtyp == '754'"
>
<m-mt754p
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"其他通知"
name=
"othadvtypp"
v-if=
"model.brdgrp.rec.advtyp == 'oth'"
>
<m-othadvtypp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"装运详情"
name=
"shpdet"
v-if=
"model.brdgrp.rec.dscinsflg"
>
<m-shpdet
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"通知详情"
name=
"othadvtypp"
v-if=
"model.brdgrp.rec.advtyp == 'oth'"
>
<m-othadvtypp
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<el-collapse-item
title=
"外债远期信用证数据采集"
name=
"cfap"
>
<m-cfap
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
...
...
src/business/brtudp/views/Payp.vue
View file @
0d5f807c
...
...
@@ -79,7 +79,6 @@
v-model=
"model.brdgrp.cbs.max.cur"
style=
"width: 100%"
placeholder=
"请输入金额"
:code=
"codes.curtxt1"
disabled
>
</c-select>
...
...
@@ -105,7 +104,6 @@
v-model=
"model.brdgrp.cbs.opn1.cur"
maxlength=
"3"
placeholder=
"请输入金额"
:code=
"codes.curtxt"
disabled
>
</c-select>
...
...
@@ -256,7 +254,7 @@
<c-col
:span=
"13"
>
<el-form-item
label=
"承兑金额"
prop=
"setmod.doccur"
>
<c-input
v-model=
"
model.setmod.
doccur"
v-model=
"doccur"
style=
"width: 100%"
placeholder=
"请输入承兑金额"
disabled
...
...
@@ -274,10 +272,9 @@
<c-col
:span=
"13"
>
<el-form-item
label=
"单据金额"
prop=
"brdgrp.cbs.opn2.cur"
>
<c-select
v-model=
"
model.brdgrp.cbs.opn2.
cur"
v-model=
"
opn2
cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.curtxt1"
disabled
>
</c-select>
...
...
@@ -296,10 +293,9 @@
<c-col
:span=
"13"
>
<el-form-item
label=
"附加金额"
prop=
"brdgrp.cbs.opn2.cur"
>
<c-select
v-model=
"
model.brdgrp.cbs.opn2.
cur"
v-model=
"
opn2
cur"
style=
"width: 100%"
placeholder=
"请选择币种"
:code=
"codes.curtxt1"
disabled
>
</c-select>
...
...
@@ -322,6 +318,7 @@
style=
"width: 100%"
placeholder=
"请选择类型"
:code=
"paysmt"
@
change=
"sftmtChange()"
>
</c-select>
</el-form-item>
...
...
@@ -479,8 +476,8 @@
:model=
"model"
:argadr=
"{
title: '',
grp: 'br
t
p',
rol: '
oth
',
grp: 'br
dgr
p',
rol: '
apl
',
}"
:disabled=
"true"
:isAdrblk=
"false"
...
...
@@ -516,9 +513,120 @@ export default {
],
};
},
methods
:
{},
methods
:
{
sftmtChange
:
function
()
{
if
(
this
,
this
.
model
.
sftmt
!=
''
){
this
.
model
.
brdgrp
.
tag72add
=
'We acknowledge receipt of documents and will settle as follows:'
}
}
},
created
:
function
()
{},
computed
:
{},
computed
:
{
opn2cur
(){
this
.
model
.
brdgrp
.
cbs
.
opn2
.
cur
=
this
.
model
.
brdgrp
.
cbs
.
max
.
cur
return
this
.
model
.
brdgrp
.
cbs
.
opn2
.
cur
},
doccur
(){
this
.
model
.
setmod
.
doccur
=
this
.
model
.
brdgrp
.
cbs
.
max
.
cur
return
this
.
model
.
setmod
.
doccur
}
,
},
watch
:{
"model.sftmt"
:{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
if
(
val
!=
''
){
this
.
model
.
brdgrp
.
tag72add
=
'We acknowledge receipt of documents and will settle as follows:'
}
},
},
"model.setmod.docamt"
:{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
var
utlamt
=
this
.
model
.
setmod
.
docamt
-
this
.
model
.
aamset
.
utlamt2
;
this
.
model
.
aamset
.
utlamt
=
utlamt
.
toString
();
},
},
"lidgrp.rec.avbby"
:{
handler
(
val
,
oldVal
)
{
this
.
model
.
brdgrp
.
rec
.
docflg
=
this
.
model
.
lidgrp
.
rec
.
avbby
;
},
},
"brdgrp.rec"
:
{
immediate
:
true
,
handler
(
val
,
oldVal
)
{
var
rec
=
this
.
model
.
brdgrp
.
rec
;
if
(
rec
.
advdat
!=
''
&&
rec
.
advtyp
==
'754'
){
if
(
rec
.
relgodflg
!=
''
){
if
(
rec
.
rcvdat
==
''
){
rec
.
docsta
=
'A'
;
}
else
{
rec
.
docsta
=
'B'
;
}
}
else
{
if
(
rec
.
rcvdat
==
''
){
rec
.
docsta
=
'C'
;
}
else
{
rec
.
docsta
=
'D'
;
}
}
}
if
(
rec
.
disdat
!=
''
&&
rec
.
advtyp
==
'750'
)
{
if
(
rec
.
rcvdat
==
''
){
rec
.
docsta
=
'E'
;
}
else
{
rec
.
docsta
=
'F'
;
}
}
if
(
rec
.
advtyp
==
'oth'
){
if
(
rec
.
rcvdat
==
''
){
rec
.
docsta
=
'O'
;
}
}
if
(
rec
.
disdat
!=
''
&&
rec
.
Advdat
!=
''
){
if
(
rec
.
rcvdat
!=
''
&&
rec
.
dscinsflg
==
''
)
{
rec
.
docsta
=
'G'
;
}
if
(
rec
.
rcvdat
!=
''
&&
this
.
model
.
brdgrp
.
blk
.
docdis
==
''
&&
rec
.
dscinsflg
!=
''
)
{
rec
.
docsta
=
'H'
;
}
if
(
rec
.
rcvdat
!=
''
&&
this
.
model
.
brdgrp
.
blk
.
docdis
!=
''
&&
rec
.
dscinsflg
!=
''
)
{
rec
.
docsta
=
'I'
;
}
}
if
(
rec
.
relgodflg
!=
''
)
{
if
(
rec
.
rcvdat
==
''
)
{
rec
.
docsta
=
'J'
;
}
else
{
rec
.
docsta
=
'K'
;
}
}
if
(
rec
.
approvcod
!=
''
)
{
rec
.
docsta
=
'L'
;
}
if
(
rec
.
acpnowflg
!=
''
)
{
rec
.
docsta
=
'M'
;
}
if
(
rec
.
frepayflg
!=
''
)
{
rec
.
docsta
=
'N'
;
}
if
(
rec
.
advdocflg
!=
''
)
{
rec
.
docsta
=
'R'
;
}
},
},
},
};
</
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