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 @@
<el-form-item
label=
"Discrepancies"
prop=
"brdgrp.blk.docdis"
>
<c-fullbox>
<c-input
:disabled=
"model.advrefflg==''"
type=
"textarea"
v-model=
"model.brdgrp.blk.docdis"
maxlength=
"3500"
...
...
@@ -13,7 +14,7 @@
placeholder=
"请输入Discrepancies"
></c-input>
<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')"
>
...
...
...
src/views/Business/Brtdcr/Utlp.vue
View file @
edc107fe
...
...
@@ -214,8 +214,7 @@
grp: 'brdgrp',
rol: 'prb',
}"
:disabled=
"true"
:isAdrblk=
"false"
:disabled=
"this.flag1"
>
</c-ptap1>
</c-col>
...
...
@@ -306,10 +305,10 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
>
<el-form-item
label=
""
prop=
"advrefflg"
>
<c-col
:span=
"12"
>
<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
:span=
"12"
>
...
...
@@ -321,10 +320,10 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
>
<el-form-item
label=
""
prop=
"brdgrp.rec.advdocflg"
>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.brdgrp.rec.advdocflg"
>
Return of Documents
</c-checkbox
@
change=
"advdocflgChange"
>
Return of Documents
</c-checkbox
>
</c-col>
<c-col
:span=
"12"
>
...
...
@@ -375,6 +374,7 @@ import Event from "~/model/Brtdcr/Event";
import
CurAmt
from
"~/views/Public/CurAmt"
;
import
LitTemp
from
"~/views/Public/LitTemp"
;
import
Ptap1
from
"~/views/Public/Ptap1"
;
import
Utils
from
"~/utils"
;
export
default
{
inject
:
[
"root"
],
...
...
@@ -385,11 +385,23 @@ export default {
"c-litTemp"
:
LitTemp
,
"c-ptap1"
:
Ptap1
,
},
data
()
{
return
{
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
:
{
advrefflg
:
{
get
()
{
...
...
@@ -399,9 +411,30 @@ export default {
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
()
{},
},
};
</
script
>
<
style
>
...
...
src/views/Business/Brtdcr/index.vue
View file @
edc107fe
...
...
@@ -14,7 +14,7 @@
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
<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 -->
<el-tab-pane
label=
"Details"
name=
"utlp"
>
...
...
@@ -150,12 +150,12 @@ export default {
}
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
//
myTabClick(tab){
//
this.tabClick(tab)
/**
* do it yourself
**/
}
//
}
},
created
:
async
function
(){
console
.
log
(
"进入brtdcr交易"
);
...
...
src/views/Public/LitTemp.vue
View file @
edc107fe
...
...
@@ -163,12 +163,13 @@
label=
"Document Type"
:prop=
"`$
{argadr.trans}.rec.docflg`"
>
<c-
inpu
t
<c-
selec
t
v-model=
"model[argadr.trans].rec.docflg"
style=
"width: 100%"
disabled
:code=
"docflg"
>
</c-
inpu
t>
</c-
selec
t>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
...
...
@@ -192,12 +193,13 @@
label=
"Document Type"
:prop=
"`$
{argadr.trans}.rec.docflg`"
>
<c-
inpu
t
<c-
selec
t
v-model=
"model[argadr.trans].rec.docflg"
style=
"width: 100%"
disabled
:code=
"docflg"
>
</c-
inpu
t>
</c-
selec
t>
</el-form-item>
</c-col>
</div>
...
...
@@ -208,12 +210,13 @@
label=
"Document Set Status"
:prop=
"`$
{argadr.trans}.rec.docsta`"
>
<c-
inpu
t
<c-
selec
t
v-model=
"model[argadr.trans].rec.docsta"
maxlength=
"1
"
style=
"width: 100%
"
disabled
:code=
"docsta"
>
</c-
inpu
t>
</c-
selec
t>
</c-form-item>
</c-col>
</c-col>
...
...
@@ -279,23 +282,33 @@ export default {
data
()
{
return
{
data
:
[],
cur
:
[
{
label
:
"HKD"
,
value
:
"HKD"
},
{
label
:
"CHF"
,
value
:
"CHF"
},
{
label
:
"EUR"
,
value
:
"EUR"
},
{
label
:
"USD"
,
value
:
"USD"
},
{
label
:
"CAD"
,
value
:
"CAD"
},
{
label
:
"CNY"
,
value
:
"CNY"
},
{
label
:
"AUD"
,
value
:
"AUD"
},
{
label
:
"SGD"
,
value
:
"SGD"
},
{
label
:
"KRW"
,
value
:
"KRW"
},
{
label
:
"JPY"
,
value
:
"JPY"
},
{
label
:
"GBP"
,
value
:
"GBP"
},
{
label
:
"N/A(仅限汇总填报时使用)"
,
value
:
"N/A"
},
{
label
:
"SEK"
,
value
:
"SEK"
},
{
label
:
"NZD"
,
value
:
"NZD"
},
],
curtxt1
:
[
docflg
:
[
{
label
:
"Mixed Payment Documents"
,
value
:
"M"
},
{
label
:
"Sight Documents"
,
value
:
"P"
},
{
label
:
"Usance Documents(Acceptance)"
,
value
:
"A"
},
{
label
:
"Usance Documents(Deferred)"
,
value
:
"D"
},
],
docsta
:
[
{
label
:
"Goods released, Adv. of Payment received"
,
value
:
"A"
},
{
label
:
"Goods released, Adv. of Payment + docs"
,
value
:
"B"
},
{
label
:
"Adv. of Payment received, wait for docs"
,
value
:
"C"
},
{
label
:
"Advice of Payment and documents received"
,
value
:
"D"
},
{
label
:
"Adv. of Discrep. received, wait for docs"
,
value
:
"E"
},
{
label
:
"Advice of Discrepancy and docs received"
,
value
:
"F"
},
{
label
:
"Documents received"
,
value
:
"G"
},
{
label
:
"Clean documents received"
,
value
:
"H"
},
{
label
:
"Discrepant documents received"
,
value
:
"I"
},
{
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
:
`KRW-韩元`
,
value
:
`KRW`
},
{
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