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
b60da57f
Commit
b60da57f
authored
Dec 29, 2021
by
zhengxiaokui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zxk
parent
d2607a36
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
125 additions
and
21 deletions
+125
-21
Default.js
src/model/Letame/Default.js
+0
-0
index.js
src/model/Letsel/index.js
+1
-0
index.js
src/model/Lttopn/index.js
+0
-0
index.vue
src/views/Business/Letame/index.vue
+46
-8
index.vue
src/views/Business/Letopn/index.vue
+1
-1
index.vue
src/views/Business/Letrsv/index.vue
+19
-1
Sel.vue
src/views/Business/Letsel/Sel.vue
+28
-7
SelMune.vue
src/views/Business/Letsel/SelMune.vue
+24
-3
index.vue
src/views/Business/Lttopn/index.vue
+6
-1
No files found.
src/model/Letame/Default.js
View file @
b60da57f
This diff is collapsed.
Click to expand it.
src/model/Letsel/index.js
View file @
b60da57f
...
...
@@ -34,6 +34,7 @@ export default class Letsel {
trnpentrbp
:
""
,
// Label showing stored uncommited transactions for TR/BP .trnpentrbp
ledgrp
:
{
rec
:
{
inr
:
""
,
ownref
:
""
,
// L/C Reference .ledgrp.rec.ownref
nam
:
""
,
// Externally Displayed Name to Identify the Contract .ledgrp.rec.nam
revflg
:
""
,
// Revolving Flag .ledgrp.rec.revflg
...
...
src/model/Lttopn/index.js
View file @
b60da57f
This diff is collapsed.
Click to expand it.
src/views/Business/Letame/index.vue
View file @
b60da57f
...
...
@@ -94,21 +94,36 @@
<el-tab-pane
label=
"货物描述修改"
name=
"dogpame"
>
<!--
<m-dogpame
:model=
"model"
:codes=
"codes"
/>
-->
<c-content>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'lcrgod'"
/>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'lcrgod'"
/>
</c-content>
</el-tab-pane>
<!--PD000102 -->
<el-tab-pane
label=
"附加条款修改"
name=
"adcpame"
>
<c-content>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'adlcnd'"
/>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'adlcnd'"
/>
</c-content>
</el-tab-pane>
<!--PD000098 -->
<el-tab-pane
label=
"单据要求修改"
name=
"dorpame"
>
<c-content>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'lcrdoc'"
/>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'lcrdoc'"
/>
</c-content>
</el-tab-pane>
...
...
@@ -128,16 +143,34 @@
</el-tab-pane>
-->
<!--PD000400 -->
<el-tab-pane
v-if=
"model.ledgrp.rec.spcrcbflg"
label=
"Spc.Pay Conditions for Ban"
name=
"sprpame"
>
<el-tab-pane
v-if=
"model.ledgrp.rec.spcrcbflg"
label=
"Spc.Pay Conditions for Ban"
name=
"sprpame"
>
<c-content>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'spcrcb'"
/>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'spcrcb'"
/>
</c-content>
</el-tab-pane>
<!--PD000396 -->
<el-tab-pane
v-if=
"model.ledgrp.rec.spcbenflg"
label=
"Spc.Pay Conditions for Ben"
name=
"spbpame"
>
<el-tab-pane
v-if=
"model.ledgrp.rec.spcbenflg"
label=
"Spc.Pay Conditions for Ben"
name=
"spbpame"
>
<c-content>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'spcben'"
/>
<m-doxpame
:model=
"model"
:codes=
"codes"
:recgrp=
"'ledgrp'"
:ametyp=
"'spcben'"
/>
</c-content>
</el-tab-pane>
</c-tabs>
...
...
@@ -227,7 +260,12 @@ export default {
console
.
log
(
"进入letame交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//更新数据
this
.
updateModel
(
rtnmsg
.
data
);
//Utils.copyValueFromVO(this.model, rtnmsg.data);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
...
...
src/views/Business/Letopn/index.vue
View file @
b60da57f
...
...
@@ -225,7 +225,7 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//更新数据
this
.
updateModel
(
rtnmsg
.
data
)
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
//
Utils.copyValueFromVO(this.model, rtnmsg.data);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
...
...
src/views/Business/Letrsv/index.vue
View file @
b60da57f
...
...
@@ -131,6 +131,19 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref=
"etyDialog"
:promptData=
"promptData"
@
select-ety=
"selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref=
"doxpDialog"
:isPty=
"false"
:promptData=
"promptData"
@
select-ety=
"selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</
template
>
...
...
@@ -201,7 +214,12 @@ export default {
console
.
log
(
"进入letrsv交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
console
.
log
(
"1111"
,
this
.
model
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
...
...
src/views/Business/Letsel/Sel.vue
View file @
b60da57f
...
...
@@ -225,9 +225,9 @@
</el-form-item>
</c-col>
<c-col
:offset=
"12"
:span=
"10"
>
<el-tabs
tab-position=
"right"
@
tab-click=
"
change
"
>
<el-tabs
tab-position=
"right"
@
tab-click=
"
onNarBtnClick('9')
"
>
<el-tab-pane
v-for=
"it in meum"
:key=
"it.label"
:label=
"it.label"
>
<sel-mune
:data=
"it.item"
/>
<sel-mune
:data=
"it.item"
:model=
"model"
/>
</el-tab-pane>
</el-tabs>
</c-col>
...
...
@@ -251,15 +251,17 @@ export default {
meum
:
[
{
label
:
"L/C"
,
hotreg
:
"1"
,
item
:
[
{
title
:
"Pre-Advising/Notifying"
,
url
:
"
#
/business/letrsv"
,
url
:
"/business/letrsv"
,
disabled
:
false
,
},
{
title
:
"Advising/Confirming"
,
url
:
"#/business/letopn"
,
url
:
"/business/letopn"
,
hotsubx
:
"6"
,
disabled
:
false
,
},
{
title
:
"Reservation"
,
url
:
"#"
,
disabled
:
false
},
...
...
@@ -267,7 +269,8 @@ export default {
{
title
:
"Confirmation an Export L/C"
,
url
:
"#"
,
disabled
:
true
},
{
title
:
"Amending Issuing Bank"
,
url
:
"#/business/letame"
,
url
:
"/business/letame"
,
hotsubx
:
"6"
,
disabled
:
false
,
},
{
...
...
@@ -335,8 +338,14 @@ export default {
},
{
label
:
"Transfer"
,
hotreg
:
"11"
,
item
:
[
{
title
:
"Opening a Transfer L/C"
,
url
:
"#"
,
disabled
:
true
},
{
title
:
"Opening a Transfer L/C"
,
url
:
"/business/lttopn"
,
hotsubx
:
"1"
,
disabled
:
false
,
},
{
title
:
"Amenting a Transfer L/C"
,
url
:
"#"
,
disabled
:
true
},
{
title
:
"Receiving Docs from 2nd Benfic"
,
...
...
@@ -386,7 +395,19 @@ export default {
],
};
},
methods
:
{
...
Event
,
change
(
tab
,
event
)
{}
},
methods
:
{
...
Event
,
change
(
tab
,
event
)
{},
//各入口按钮请求
async
onNarBtnClick
(
hotreg
)
{
let
rtnmsg
=
await
this
.
executeRule
(
`cfgfil.hotreg
${
hotreg
}
`
);
if
((
rtnmsg
.
respCode
=
SUCCESS
))
{
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Letsel/SelMune.vue
View file @
b60da57f
...
...
@@ -8,25 +8,46 @@
>
<el-table-column
prop=
"title"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-link
<c-button
@
click
.
native=
"onNarBtnClick(scope.row.url, scope.row.hotsubx)"
:title=
"scope.row.title"
:disabled=
"scope.row.disabled"
>
{{
scope
.
row
.
title
}}
</c-button
>
<!--
<el-link
:disabled=
"scope.row.disabled"
:href=
"scope.row.url"
v-if=
"scope.row.title"
>
{{
scope
.
row
.
title
}}
</el-link
>
>
-->
</
template
>
</el-table-column>
</el-table>
</template>
<
script
>
import
CommonProcess
from
"~/mixin/CommonProcess"
;
export
default
{
props
:
[
"data"
],
inject
:
[
"root"
],
props
:
[
"data"
,
"model"
],
mixins
:
[
CommonProcess
],
// 里面包含了Default、Check等的公共处理
data
()
{
return
{
cellSttyle
:
{
height
:
"25px"
},
};
},
methods
:
{
//各入口按钮请求
async
onNarBtnClick
(
href
,
hotsubx
)
{
let
rtnmsg
=
await
this
.
executeRule
(
`cfgfil.hotsub
${
hotsubx
}
`
);
console
.
log
(
"cfgfil.code:"
+
this
.
model
.
cfgfil
[
`subtrn
${
hotsubx
}
`
]);
if
((
rtnmsg
.
respCode
=
SUCCESS
))
{
this
.
$router
.
history
.
push
(
href
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
},
};
</
script
>
...
...
src/views/Business/Lttopn/index.vue
View file @
b60da57f
...
...
@@ -129,7 +129,12 @@ export default {
console
.
log
(
"进入lttopn交易"
);
let
rtnmsg
=
await
this
.
init
({});
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
updateModel
(
rtnmsg
.
data
);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
console
.
log
(
"1111"
,
this
.
model
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
...
...
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