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
edc107fe
Commit
edc107fe
authored
Aug 04, 2022
by
huangxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtdcr交易页面修改
parent
f3a41cb4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
83 additions
and
36 deletions
+83
-36
Brtdcrd.vue
src/views/Business/Brtdcr/Brtdcrd.vue
+2
-1
Utlp.vue
src/views/Business/Brtdcr/Utlp.vue
+40
-7
index.vue
src/views/Business/Brtdcr/index.vue
+4
-4
LitTemp.vue
src/views/Public/LitTemp.vue
+37
-24
No files found.
src/views/Business/Brtdcr/Brtdcrd.vue
View file @
edc107fe
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
<el-form-item
label=
"Discrepancies"
prop=
"brdgrp.blk.docdis"
>
<el-form-item
label=
"Discrepancies"
prop=
"brdgrp.blk.docdis"
>
<c-fullbox>
<c-fullbox>
<c-input
<c-input
:disabled=
"model.advrefflg==''"
type=
"textarea"
type=
"textarea"
v-model=
"model.brdgrp.blk.docdis"
v-model=
"model.brdgrp.blk.docdis"
maxlength=
"3500"
maxlength=
"3500"
...
@@ -13,7 +14,7 @@
...
@@ -13,7 +14,7 @@
placeholder=
"请输入Discrepancies"
placeholder=
"请输入Discrepancies"
></c-input>
></c-input>
<template
slot=
"footer"
>
<template
slot=
"footer"
>
<c-button
size=
"small"
type=
"primary"
icon=
"el-icon-search"
<c-button
:disabled=
"model.advrefflg==''"
size=
"small"
type=
"primary"
icon=
"el-icon-search"
@
click=
"showGridPromptDialog('brtp.docdis.buttxmsel', null, null,
{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
@
click=
"showGridPromptDialog('brtp.docdis.buttxmsel', null, null,
{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
>
>
...
...
...
...
src/views/Business/Brtdcr/Utlp.vue
View file @
edc107fe
...
@@ -214,8 +214,7 @@
...
@@ -214,8 +214,7 @@
grp: 'brdgrp',
grp: 'brdgrp',
rol: 'prb',
rol: 'prb',
}"
}"
:disabled=
"true"
:disabled=
"this.flag1"
:isAdrblk=
"false"
>
>
</c-ptap1>
</c-ptap1>
</c-col>
</c-col>
...
@@ -306,10 +305,10 @@
...
@@ -306,10 +305,10 @@
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
""
>
<el-form-item
label=
""
prop=
"advrefflg"
>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<c-checkbox
:disabled=
"model.brdgrp.blk.disdocflg =='X'"
v-model=
"model.advrefflg"
<c-checkbox
:disabled=
"model.brdgrp.blk.disdocflg =='X'"
v-model=
"model.advrefflg"
>
Send Advice of Refusal MT734
</c-checkbox
@
change=
"advrefflgChange"
>
Send Advice of Refusal MT734
</c-checkbox
>
>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
...
@@ -321,10 +320,10 @@
...
@@ -321,10 +320,10 @@
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
""
>
<el-form-item
label=
""
prop=
"brdgrp.rec.advdocflg"
>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.brdgrp.rec.advdocflg"
<c-checkbox
v-model=
"model.brdgrp.rec.advdocflg"
>
Return of Documents
</c-checkbox
@
change=
"advdocflgChange"
>
Return of Documents
</c-checkbox
>
>
</c-col>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"12"
>
...
@@ -375,6 +374,7 @@ import Event from "~/model/Brtdcr/Event";
...
@@ -375,6 +374,7 @@ import Event from "~/model/Brtdcr/Event";
import
CurAmt
from
"~/views/Public/CurAmt"
;
import
CurAmt
from
"~/views/Public/CurAmt"
;
import
LitTemp
from
"~/views/Public/LitTemp"
;
import
LitTemp
from
"~/views/Public/LitTemp"
;
import
Ptap1
from
"~/views/Public/Ptap1"
;
import
Ptap1
from
"~/views/Public/Ptap1"
;
import
Utils
from
"~/utils"
;
export
default
{
export
default
{
inject
:
[
"root"
],
inject
:
[
"root"
],
...
@@ -385,11 +385,23 @@ export default {
...
@@ -385,11 +385,23 @@ export default {
"c-litTemp"
:
LitTemp
,
"c-litTemp"
:
LitTemp
,
"c-ptap1"
:
Ptap1
,
"c-ptap1"
:
Ptap1
,
},
},
data
()
{
data
()
{
return
{
return
{
flag
:
true
,
flag
:
true
,
flag1
:
true
,
};
};
},
},
watch
:{
"model.brdgrp.prb.pts.extkey"
:{
immediate
:
true
,
handler
(
val
,
oldVal
){
if
(
this
.
model
.
brdgrp
.
prb
.
pts
.
extkey
!=
''
){
this
.
flag1
=
true
;
}
}
},
},
computed
:
{
computed
:
{
advrefflg
:
{
advrefflg
:
{
get
()
{
get
()
{
...
@@ -399,9 +411,30 @@ export default {
...
@@ -399,9 +411,30 @@ export default {
this
.
model
.
advrefflg
=
val
?
"X"
:
""
;
this
.
model
.
advrefflg
=
val
?
"X"
:
""
;
},
},
},
},
advdocflg
:
{
get
()
{
return
this
.
model
.
brdgrp
.
rec
.
advdocflg
===
"X"
;
},
set
(
val
)
{
this
.
model
.
brdgrp
.
rec
.
advdocflg
=
val
?
"X"
:
""
;
},
},
},
methods
:
{
...
Event
,
async
advrefflgChange
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"brdgrp.blk.disdoc"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
},
async
advdocflgChange
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"brdgrp.blk.disdoc"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
}
},
},
methods
:
{
...
Event
},
created
:
function
()
{},
created
:
function
()
{},
},
};
};
</
script
>
</
script
>
<
style
>
<
style
>
...
...
src/views/Business/Brtdcr/index.vue
View file @
edc107fe
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<el-button
size=
"small"
>
智能提示
</el-button>
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
</c-function-btn>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"
myT
abClick"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"
t
abClick"
>
<!--PD000037 -->
<!--PD000037 -->
<el-tab-pane
label=
"Details"
name=
"utlp"
>
<el-tab-pane
label=
"Details"
name=
"utlp"
>
...
@@ -150,12 +150,12 @@ export default {
...
@@ -150,12 +150,12 @@ export default {
}
}
},
},
methods
:{
methods
:{
myTabClick
(
tab
){
//
myTabClick(tab){
this
.
tabClick
(
tab
)
//
this.tabClick(tab)
/**
/**
* do it yourself
* do it yourself
**/
**/
}
//
}
},
},
created
:
async
function
(){
created
:
async
function
(){
console
.
log
(
"进入brtdcr交易"
);
console
.
log
(
"进入brtdcr交易"
);
...
...
src/views/Public/LitTemp.vue
View file @
edc107fe
...
@@ -163,12 +163,13 @@
...
@@ -163,12 +163,13 @@
label=
"Document Type"
label=
"Document Type"
:prop=
"`$
{argadr.trans}.rec.docflg`"
:prop=
"`$
{argadr.trans}.rec.docflg`"
>
>
<c-
inpu
t
<c-
selec
t
v-model=
"model[argadr.trans].rec.docflg"
v-model=
"model[argadr.trans].rec.docflg"
style=
"width: 100%"
style=
"width: 100%"
disabled
disabled
:code=
"docflg"
>
>
</c-
inpu
t>
</c-
selec
t>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"11"
>
<c-col
:span=
"11"
>
...
@@ -192,12 +193,13 @@
...
@@ -192,12 +193,13 @@
label=
"Document Type"
label=
"Document Type"
:prop=
"`$
{argadr.trans}.rec.docflg`"
:prop=
"`$
{argadr.trans}.rec.docflg`"
>
>
<c-
inpu
t
<c-
selec
t
v-model=
"model[argadr.trans].rec.docflg"
v-model=
"model[argadr.trans].rec.docflg"
style=
"width: 100%"
style=
"width: 100%"
disabled
disabled
:code=
"docflg"
>
>
</c-
inpu
t>
</c-
selec
t>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</div>
</div>
...
@@ -208,12 +210,13 @@
...
@@ -208,12 +210,13 @@
label=
"Document Set Status"
label=
"Document Set Status"
:prop=
"`$
{argadr.trans}.rec.docsta`"
:prop=
"`$
{argadr.trans}.rec.docsta`"
>
>
<c-
inpu
t
<c-
selec
t
v-model=
"model[argadr.trans].rec.docsta"
v-model=
"model[argadr.trans].rec.docsta"
maxlength=
"1
"
style=
"width: 100%
"
disabled
disabled
:code=
"docsta"
>
>
</c-
inpu
t>
</c-
selec
t>
</c-form-item>
</c-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
...
@@ -279,23 +282,33 @@ export default {
...
@@ -279,23 +282,33 @@ export default {
data
()
{
data
()
{
return
{
return
{
data
:
[],
data
:
[],
cur
:
[
docflg
:
[
{
label
:
"HKD"
,
value
:
"HKD"
},
{
label
:
"Mixed Payment Documents"
,
value
:
"M"
},
{
label
:
"CHF"
,
value
:
"CHF"
},
{
label
:
"Sight Documents"
,
value
:
"P"
},
{
label
:
"EUR"
,
value
:
"EUR"
},
{
label
:
"Usance Documents(Acceptance)"
,
value
:
"A"
},
{
label
:
"USD"
,
value
:
"USD"
},
{
label
:
"Usance Documents(Deferred)"
,
value
:
"D"
},
{
label
:
"CAD"
,
value
:
"CAD"
},
],
{
label
:
"CNY"
,
value
:
"CNY"
},
docsta
:
[
{
label
:
"AUD"
,
value
:
"AUD"
},
{
label
:
"Goods released, Adv. of Payment received"
,
value
:
"A"
},
{
label
:
"SGD"
,
value
:
"SGD"
},
{
label
:
"Goods released, Adv. of Payment + docs"
,
value
:
"B"
},
{
label
:
"KRW"
,
value
:
"KRW"
},
{
label
:
"Adv. of Payment received, wait for docs"
,
value
:
"C"
},
{
label
:
"JPY"
,
value
:
"JPY"
},
{
label
:
"Advice of Payment and documents received"
,
value
:
"D"
},
{
label
:
"GBP"
,
value
:
"GBP"
},
{
label
:
"Adv. of Discrep. received, wait for docs"
,
value
:
"E"
},
{
label
:
"N/A(仅限汇总填报时使用)"
,
value
:
"N/A"
},
{
label
:
"Advice of Discrepancy and docs received"
,
value
:
"F"
},
{
label
:
"SEK"
,
value
:
"SEK"
},
{
label
:
"Documents received"
,
value
:
"G"
},
{
label
:
"NZD"
,
value
:
"NZD"
},
{
label
:
"Clean documents received"
,
value
:
"H"
},
],
{
label
:
"Discrepant documents received"
,
value
:
"I"
},
curtxt1
:
[
{
label
:
"Goods released, wait for documents"
,
value
:
"J"
},
{
label
:
"Goods released, documents received"
,
value
:
"K"
},
{
label
:
"Documents sent on approval basis"
,
value
:
"L"
},
{
label
:
"Documents taken up"
,
value
:
"M"
},
{
label
:
"Documents settled free of payment"
,
value
:
"N"
},
{
label
:
"Discrepant document received in trust"
,
value
:
"T"
},
{
label
:
"Other Type of Advice, wait for documents"
,
value
:
"O"
},
{
label
:
"Documents have been refused and returned"
,
value
:
"R"
},
],
curtxt1
:
[
{
label
:
`CNY-人民币`
,
value
:
`CNY`
},
{
label
:
`CNY-人民币`
,
value
:
`CNY`
},
{
label
:
`KRW-韩元`
,
value
:
`KRW`
},
{
label
:
`KRW-韩元`
,
value
:
`KRW`
},
{
label
:
`NZD-新西兰元`
,
value
:
`NZD`
},
{
label
:
`NZD-新西兰元`
,
value
:
`NZD`
},
...
...
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