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
zhouqian
vue-gjjs
Commits
ccc7159f
Commit
ccc7159f
authored
2 years ago
by
sheyinchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bttsnd交易修改
parent
e5c3065c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
159 additions
and
166 deletions
+159
-166
index.js
src/config/CodeTable/index.js
+4
-0
Event.js
src/model/Bttdck/Event.js
+2
-0
Drv.vue
src/views/Business/Bttdck/Drv.vue
+0
-0
index.vue
src/views/Business/Bttdck/index.vue
+58
-25
Ccvpan.vue
src/views/Business/Bttsnd/Ccvpan.vue
+0
-96
Dscins.vue
src/views/Business/Bttsnd/Dscins.vue
+37
-22
Payp.vue
src/views/Business/Bttsnd/Payp.vue
+0
-0
index.vue
src/views/Business/Bttsnd/index.vue
+58
-23
No files found.
src/config/CodeTable/index.js
View file @
ccc7159f
...
...
@@ -5412,6 +5412,10 @@ const CodeTable = {
{
label
:
"Seller"
,
value
:
"SEL"
},
{
label
:
"Ordering Institution"
,
value
:
"ORI"
},
],
rolall1
:
[
{
label
:
"Is suing Bank"
,
value
:
"ISS"
},
{
label
:
"Further Party"
,
value
:
"OTH"
},
],
gitopn_rolall
:[
{
label
:
"Appliant"
,
value
:
"APL"
},
{
label
:
"1st Adv.thr.Bank"
,
value
:
"ATB"
},
...
...
This diff is collapsed.
Click to expand it.
src/model/Bttdck/Event.js
View file @
ccc7159f
...
...
@@ -194,5 +194,6 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
onSeainf
()
{},
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/views/Business/Bttdck/Drv.vue
View file @
ccc7159f
This diff is collapsed.
Click to expand it.
src/views/Business/Bttdck/index.vue
View file @
ccc7159f
<
template
>
<div
class=
"eContainer"
>
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
<el-form
:label-position=
"top"
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"200px"
size=
"small"
:validate-on-rule-change=
"false"
>
<!--
<c-bus-button
:
$
pntvm=
"this"
></c-bus-button>
-->
<c-function-btn
:handleSubmit=
"handleSubmit"
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
<!--
<el-button
size=
"small"
>
使用模板
</el-button>
-->
<el-button
size=
"small"
>
制裁信息
</el-button>
<!--
<el-button
size=
"small"
>
拆分报文
</el-button>
-->
<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=
"tabClick"
>
<!--PD000003 -->
...
...
@@ -59,29 +81,37 @@
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"Attachments"
name=
"doctre"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Bttdck
from
"~/model/Bttdck"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"~/model/Bttdck/Check"
import
Default
from
"~/model/Bttdck/Default"
import
Pattern
from
"~/model/Bttdck/Pattern"
import
Drv
from
"./Drv"
import
Dscinsp
from
"./Dscinsp"
import
Mt750p
from
"./Mt750p"
import
Mt754p
from
"./Mt754p"
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Bttdck
from
"~/model/Bttdck"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
commonFuncs
from
"~/mixin/commonFuncs"
;
import
Check
from
"~/model/Bttdck/Check"
;
import
Default
from
"~/model/Bttdck/Default"
;
import
Pattern
from
"~/model/Bttdck/Pattern"
;
import
Drv
from
"./Drv"
;
import
Dscinsp
from
"./Dscinsp"
;
import
Mt750p
from
"./Mt750p"
;
import
Mt754p
from
"./Mt754p"
;
import
Glepan
from
"~/views/Public/Glepan"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Engp
from
"~/views/Public/Engp"
import
Coninfp
from
"~/views/Public/Coninfp"
import
Engp
from
"~/views/Public/Engp"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Doctre
from
"~/views/Public/Doctre"
;
export
default
{
components
:{
...
...
@@ -94,13 +124,15 @@ export default {
"m-coninfp"
:
Coninfp
,
"m-docpan"
:
Docpan
,
"m-Glepan"
:
Glepan
,
"m-doctre"
:
Doctre
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
//mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"drv"
,
...
...
@@ -120,14 +152,15 @@ export default {
},
created
:
async
function
(){
console
.
log
(
"进入bttdck交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
//TODO 处理数据逻辑
}
else
//let rtnmsg = await this.init({})
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//更新数据
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
...
...
This diff is collapsed.
Click to expand it.
src/views/Business/Bttsnd/Ccvpan.vue
deleted
100644 → 0
View file @
e5c3065c
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"应付保证金金额"
prop=
"liaall.liaccv.concur"
>
<c-input
v-model=
"model.liaall.liaccv.concur"
maxlength=
"3"
placeholder=
"请输入应付保证金金额"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"合同金额"
prop=
"liaall.liaccv.newamt"
>
<c-input
v-model=
"model.liaall.liaccv.newamt"
placeholder=
"请输入合同金额"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"保证金应收比例"
prop=
"liaall.liaccv.cshpct"
>
<c-input
v-model=
"model.liaall.liaccv.cshpct"
placeholder=
"请输入保证金应收比例"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Reserved Amount"
prop=
"liaall.liaccv.newresamt"
>
<c-input
v-model=
"model.liaall.liaccv.newresamt"
placeholder=
"请输入Reserved Amount"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"保证金实收比例"
prop=
"liaall.liaccv.relcshpct"
>
<c-input
v-model=
"model.liaall.liaccv.relcshpct"
placeholder=
"请输入保证金实收比例"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.liaall.liaccv.gleflg"
>
Create gle flag
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"reserve amount based percent"
prop=
"liaall.liaccv.pctresamt"
>
<c-input
v-model=
"model.liaall.liaccv.pctresamt"
placeholder=
"请输入reserve amount based percent"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-checkbox
v-model=
"model.liaall.liaccv.chgcurflg"
>
Change currency flag
</c-checkbox>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onLiaccvAdd"
>
Add
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
icon=
"el-icon-delete"
@
click=
"onLiaccvDel"
>
Del
</c-button>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"金额总和"
prop=
"liaall.liaccv.totcovamt"
>
<c-input
v-model=
"model.liaall.liaccv.totcovamt"
placeholder=
"请输入金额总和"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<el-form-item
label=
"Additional Information "
prop=
"liaall.liaccv.addinf"
>
<c-input
type=
"textarea"
v-model=
"model.liaall.liaccv.addinf"
maxlength=
"70"
show-word-limit
placeholder=
"请输入Additional Information "
></c-input>
</el-form-item>
</c-col>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Bttsnd/Event"
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
}
}
</
script
>
<
style
>
</
style
>
This diff is collapsed.
Click to expand it.
src/views/Business/Bttsnd/Dscins.vue
View file @
ccc7159f
...
...
@@ -4,6 +4,20 @@
<c-col
:span=
"11"
>
<c-col
:span=
"24"
>
<c-col
:span=
"22"
>
<c-form-item
label=
"Discrepancies"
prop=
"btdgrp.blk.docdis"
>
<c-input
type=
"textarea"
v-model=
"model.btdgrp.blk.docdis"
maxlength=
"50"
show-word-limit
placeholder=
"请输入Discrepancies"
rows=
"4"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"2"
>
<c-button
size=
"small"
class=
"point"
type=
"primary"
@
click=
"onIntdisButtxmsel"
>
...
</c-button>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"22"
>
<el-form-item
label=
"Internal Discrepancies"
prop=
"btdgrp.blk.intdis"
>
<c-input
type=
"textarea"
v-model=
"model.btdgrp.blk.intdis"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Internal Discrepancies"
rows=
"4"
></c-input>
...
...
@@ -44,32 +58,22 @@
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"22"
>
<el-form-item
label=
"Discrepancies"
prop=
"btdgrp.blk.docdis"
>
<c-input
type=
"textarea"
v-model=
"model.btdgrp.blk.docdis"
maxlength=
"50"
show-word-limit
placeholder=
"请输入Discrepancies"
rows=
"4"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"2"
>
<c-button
size=
"small"
class=
"point"
type=
"primary"
@
click=
"onDocdisButtxmsel"
>
...
</c-button>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.btdgrp.blk.docdisflg"
>
discrepancies modified
</c-checkbox>
</c-col>
</c-col>
<!-- right -->
<c-col
:span=
"11"
:offset=
"1"
>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.btdgrp.blk.docdisflg"
>
discrepancies modified
</c-checkbox>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Further Identification"
prop=
"bttp.furide"
>
...
...
@@ -83,11 +87,16 @@
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.bttp.cre752flg"
>
Receive MT 752
</c-checkbox>
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.bttp.cre752flg"
>
Create 752
</c-checkbox>
</c-col>
<el-form-item
label=
"Further Identification"
prop=
"btdgrp.rec.furide"
>
<c-select
v-model=
"model.btdgrp.rec.furide"
style=
"width:100%"
placeholder=
"请选择Further Identification"
:code=
"codes.furide"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"Date of Advise"
prop=
"btdgrp.rec.disdat"
>
...
...
@@ -101,6 +110,10 @@
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.rmbclmnow"
>
Claim Reimbursement late
</c-checkbox>
</c-col>
<c-col
:span=
"24"
>
<c-checkbox
v-model=
"model.rmbclmnow"
>
Claim Reimbursement now
</c-checkbox>
</c-col>
...
...
@@ -115,8 +128,10 @@
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Bttsnd/Event"
//import Docpre from "~/views/Public/Docpre";
export
default
{
//components: { "c-docpre": Docpre },
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
...
...
This diff is collapsed.
Click to expand it.
src/views/Business/Bttsnd/Payp.vue
View file @
ccc7159f
This diff is collapsed.
Click to expand it.
src/views/Business/Bttsnd/index.vue
View file @
ccc7159f
...
...
@@ -18,44 +18,70 @@
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"1
6
0px"
label-width=
"1
5
0px"
size=
"small"
label-position=
"
lef
t"
label-position=
"
righ
t"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<!--PD000032 -->
<el-tab-pane
label=
"Send Documents"
name=
"payp"
>
<c-content>
<m-payp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000067 -->
<el-tab-pane
label=
"instr./Discrep."
name=
"dscins"
>
<c-content>
<m-dscins
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"表外"
name=
"engp"
>
<el-tab-pane
label=
"liability"
name=
"engp"
>
<c-content>
<m-engp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane
label=
"费用及账务"
name=
"setpan"
>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
label=
"保证金"
name=
"ccvpan"
>
<m-ccvpan
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"settlement"
name=
"setpan"
>
<c-content>
<m-setpan
:model=
"model"
:codes=
"codes"
/>
.
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Bookings"
name=
"glepan"
>
<c-content>
<m-glepan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<el-tab-pane
label=
"Completion"
name=
"coninfp"
>
<c-content>
<m-coninfp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane
label=
"面函及报文"
name=
"docpan"
>
<el-tab-pane
label=
"Messages"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"Attachments"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"跨境人民币申报"
name=
"cnyp"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
...
...
@@ -67,11 +93,13 @@ import Api from "~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Bttsnd
from
"~/model/Bttsnd"
import
commonProcess
from
"~/mixin/commonProcess"
import
commonFuncs
from
"~/mixin/commonFuncs"
import
Check
from
"~/model/Bttsnd/Check"
import
Default
from
"~/model/Bttsnd/Default"
import
Pattern
from
"~/model/Bttsnd/Pattern"
import
Payp
from
"./Payp"
import
Dscins
from
"./Dscins"
import
cnyp
from
"./Cnyp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Ccvpan from "./Ccvpan"
...
...
@@ -79,9 +107,10 @@ import Dscins from "./Dscins"
// import Coninfp from "./Coninfp";
import
Engp
from
"~/views/Public/Engp"
;
import
Setpan
from
"~/views/Public/Setpan"
;
import
Ccvpan
from
"~/views/Public/Ccv
pan"
;
import
Glepan
from
"~/views/Public/Gle
pan"
;
import
Docpan
from
"~/views/Public/Docpan"
;
import
Coninfp
from
"~/views/Public/Coninfp"
;
import
Doctre
from
"~/views/Public/Doctre"
;
export
default
{
components
:{
...
...
@@ -89,16 +118,18 @@ export default {
"m-dscins"
:
Dscins
,
"m-engp"
:
Engp
,
"m-setpan"
:
Setpan
,
"m-
ccvpan"
:
Ccv
pan
,
"m-
glepan"
:
Gle
pan
,
"m-docpan"
:
Docpan
,
"m-coninfp"
:
Coninfp
,
"m-coninfp"
:
Coninfp
,
"m-doctre"
:
Doctre
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
//mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins
:
[
commonProcess
,
commonFuncs
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"payp"
,
...
...
@@ -108,7 +139,7 @@ export default {
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
codes
:
{
...
CodeTable
},
}
},
...
...
@@ -118,10 +149,14 @@ export default {
},
created
:
async
function
(){
console
.
log
(
"进入bttsnd交易"
);
let
rtnmsg
=
await
this
.
init
({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
//let rtnmsg = await this.init({})
let
rtnmsg
=
await
this
.
init
(
this
.
$route
.
query
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//更新数据
Utils
.
copyValueFromVO
(
this
.
model
,
rtnmsg
.
data
);
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
}
else
...
...
This diff is collapsed.
Click to expand it.
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