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
09547ac6
Commit
09547ac6
authored
Aug 18, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
649d5018
cb6fae72
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
469 additions
and
14 deletions
+469
-14
BusinessButton.vue
src/components/BusinessButton.vue
+2
-2
index.js
src/config/CodeTable/index.js
+6
-3
Event.js
src/model/Ditopn/Event.js
+2
-2
Docpan.vue
src/views/Business/Ditopn/Docpan.vue
+1
-2
Setpan.vue
src/views/Business/Ditopn/Setpan.vue
+103
-3
SetpanDialog.vue
src/views/Business/Ditopn/SetpanDialog.vue
+354
-0
index.vue
src/views/Business/Ditopn/index.vue
+1
-2
No files found.
src/components/BusinessButton.vue
View file @
09547ac6
...
@@ -28,7 +28,7 @@ export default {
...
@@ -28,7 +28,7 @@ export default {
message
:
'保存成功'
,
message
:
'保存成功'
,
type
:
'success'
type
:
'success'
});
});
this
.
$history
.
push
(
"/business/trnrel"
)
this
.
$
router
.
history
.
push
(
"/business/trnrel"
)
}
else
{
}
else
{
this
.
$notify
({
this
.
$notify
({
title
:
'失败'
,
title
:
'失败'
,
...
@@ -46,7 +46,7 @@ export default {
...
@@ -46,7 +46,7 @@ export default {
message
:
'暂存成功'
,
message
:
'暂存成功'
,
type
:
'success'
type
:
'success'
});
});
this
.
$history
.
push
(
"/business/sptsel"
)
this
.
$
router
.
history
.
push
(
"/business/sptsel"
)
}
else
{
}
else
{
this
.
$notify
({
this
.
$notify
({
title
:
'失败'
,
title
:
'失败'
,
...
...
src/config/CodeTable/index.js
View file @
09547ac6
...
@@ -5771,13 +5771,16 @@ const CodeTable = {
...
@@ -5771,13 +5771,16 @@ const CodeTable = {
{
label
:
"国结系统融资过渡帐"
,
value
:
"BF"
}
{
label
:
"国结系统融资过渡帐"
,
value
:
"BF"
}
],
],
setfelRol
:
[
setfelRol
:
[
{
label
:
"ISS Issuing Bank"
,
value
:
"APL"
}
{
label
:
"OWN Ourselves"
,
value
:
"OWN"
},
{
label
:
"ISS issuing Bank"
,
value
:
"ISS"
},
{
label
:
"APL Applicat"
,
value
:
"APL"
}
],
],
ptydbt
:
[
ptydbt
:
[
{
label
:
"OWN Ourselves"
,
value
:
"OWN"
},
{
label
:
"OWN Ourselves"
,
value
:
"OWN"
},
{
label
:
"ISS issuing Bank"
,
value
:
"ISS"
}
{
label
:
"ISS issuing Bank"
,
value
:
"ISS"
},
{
label
:
"APL Applicat"
,
value
:
"APL"
}
],
],
P
ayee
:
[
p
ayee
:
[
{
label
:
"OWN Ourselves"
,
value
:
"OWN"
},
{
label
:
"OWN Ourselves"
,
value
:
"OWN"
},
{
label
:
"ISS issuing Bank"
,
value
:
"ISS"
}
{
label
:
"ISS issuing Bank"
,
value
:
"ISS"
}
]
]
...
...
src/model/Ditopn/Event.js
View file @
09547ac6
...
@@ -379,8 +379,8 @@ export default {
...
@@ -379,8 +379,8 @@ export default {
window
.
sessionStorage
.
docTXT
=
''
window
.
sessionStorage
.
docTXT
=
''
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
}
}
console
.
log
(
window
.
sessionStorage
.
docTXT
);
//
console.log( window.sessionStorage.docTXT);
console
.
log
(
window
.
sessionStorage
.
docXML
);
//
console.log( window.sessionStorage.docXML);
window
.
open
(
viewurl
,
'newwindow'
,
'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
window
.
open
(
viewurl
,
'newwindow'
,
'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
}
}
this
.
dialogOpen
=
true
this
.
dialogOpen
=
true
...
...
src/views/Business/Ditopn/Docpan.vue
View file @
09547ac6
...
@@ -238,10 +238,9 @@
...
@@ -238,10 +238,9 @@
-->
<
template
>
-->
<
template
>
<el-dialog
<el-dialog
:title=
"title"
:title=
"title"
:visible=
"centerDialogVisible"
:visible
.
sync
=
"centerDialogVisible"
width=
"60%"
width=
"60%"
center
center
:show-close=
"false"
>
>
<el-form
label-width=
"100px"
:model=
"dialog"
>
<el-form
label-width=
"100px"
:model=
"dialog"
>
<el-row>
<el-row>
...
...
src/views/Business/Ditopn/Setpan.vue
View file @
09547ac6
...
@@ -155,9 +155,70 @@
...
@@ -155,9 +155,70 @@
>
>
</el-button>
</el-button>
</
template
>
</
template
>
<
template
slot-scope=
"scoped"
>
<el-button
size=
"mini"
@
click=
"detail1(scoped.index, scoped.row)"
>
details
</el-button
>
</
template
>
</el-table-column>
</el-table-column>
</c-table>
</c-table>
</el-col>
</el-col>
<el-col>
<el-dialog
:visible
.
sync=
"dialogVisible"
center
>
<el-form
:model=
"dialog"
>
<el-form-item
label=
"收款人"
>
<el-select
v-model=
"dialog.ptypay"
>
<el-option
v-for=
"item in codes.ptypay"
:key=
"item.value"
:labelF=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"收款人摘要"
><el-input
v-model=
"dialog.txtpay"
/>
</el-form-item>
<el-form-item
label=
"付款人"
>
<el-select
v-model=
"dialog.ptydbt"
>
<el-option
v-for=
"item in codes.ptydbt"
:key=
"item.value"
:labelF=
"item.label"
:value=
"item.value"
/>
</el-select
></el-form-item>
<el-form-item
label=
"付款人摘要"
><el-input
v-model=
"dialog.txtdbp"
/>
</el-form-item>
<el-form-item
label=
"费用"
><el-select
v-model=
"dialog.cur"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:labelF=
"item.label"
:value=
"item.value"
/>
</el-select>
<el-input
v-model=
"dialog.amt"
style=
"width: 200px"
/></el-form-item>
<el-form-item
label-width=
"10em"
>
<el-checkbox
v-model=
"dialog.forflg"
>
CG00005
</el-checkbox
>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"saveDialog"
>
确 定
</el-button
>
</span>
</el-dialog>
</el-col>
<!--=================== Own Commission/Charges:================== -->
<!--=================== Own Commission/Charges:================== -->
<el-col
:span=
"24"
style=
"text-align: left"
>
<el-col
:span=
"24"
style=
"text-align: left"
>
<el-form-item
label=
"Own Commission/Charges:"
>
</el-form-item>
<el-form-item
label=
"Own Commission/Charges:"
>
</el-form-item>
...
@@ -217,9 +278,17 @@
...
@@ -217,9 +278,17 @@
<el-table-column
label=
"Fee Amount"
prop=
"amt"
width=
"auto"
>
<el-table-column
label=
"Fee Amount"
prop=
"amt"
width=
"auto"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Details"
prop=
"det"
width=
"auto"
>
<el-table-column
label=
"Details"
prop=
"det"
width=
"auto"
>
<
template
slot-scope=
"scoped"
>
<el-button
size=
"mini"
@
click=
"detail2(scoped.$index, scoped.row)"
>
details
</el-button
>
</
template
>
</el-table-column>
</el-table-column>
</c-table>
</c-table>
</el-col>
</el-col>
<setpan-dialog
v-if=
"dialogVisible2"
:visible=
"dialogVisible2"
:model=
"model"
:idx=
"index"
:codes=
"codes"
/>
<el-col
:span=
"24"
style=
"text-align: left"
>
<el-col
:span=
"24"
style=
"text-align: left"
>
<el-form-item
label=
"Settlement:"
label-width=
"100px"
>
<el-form-item
label=
"Settlement:"
label-width=
"100px"
>
</el-form-item>
</el-form-item>
...
@@ -253,7 +322,7 @@
...
@@ -253,7 +322,7 @@
width=
"auto"
width=
"auto"
>
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"Disp."
width=
"auto"
>
<el-table-column
label=
"Disp."
width=
"auto"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-select
v-model=
"scope.row.dsp"
>
<el-select
v-model=
"scope.row.dsp"
>
<el-option
<el-option
...
@@ -316,21 +385,52 @@
...
@@ -316,21 +385,52 @@
</template>
</template>
<
script
>
<
script
>
import
Event
from
"~/model/Ditopn/Event"
;
import
Event
from
"~/model/Ditopn/Event"
;
import
SetpanDialog
from
"./SetpanDialog.vue"
;
export
default
{
export
default
{
components
:
{
SetpanDialog
},
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
],
data
()
{
data
()
{
return
{};
return
{
dialogVisible
:
false
,
dialogVisible2
:
false
,
dialog
:
{
payee
:
""
,
ptydbt
:
""
,
txtpay
:
""
,
txtdbt
:
""
,
CG00005
:
""
,
},
dialog2
:
{
feetxtinf
:
""
,
feetxt
:
""
,
},
index
:
0
,
};
},
},
methods
:
{
methods
:
{
...
Event
,
...
Event
,
addRow
()
{
addRow
()
{
let
newRow
=
{};
let
newRow
=
{
...
dialog
};
this
.
model
.
setmod
.
setfog
.
setfol
.
push
(
newRow
);
this
.
model
.
setmod
.
setfog
.
setfol
.
push
(
newRow
);
},
},
removeRow
()
{
removeRow
()
{
this
.
model
.
setmod
.
setfog
.
setfol
.
pop
();
this
.
model
.
setmod
.
setfog
.
setfol
.
pop
();
},
},
detail1
(
index
,
row
)
{
this
.
dialogVisible
=
true
;
this
.
dialog
=
row
;
this
.
index
=
index
;
},
detail2
(
index
,
row
)
{
this
.
dialogVisible2
=
true
;
this
.
index
=
index
;
this
.
dialog2
=
row
},
saveDialog
()
{
this
.
visiable
=
false
;
this
.
model
.
setmod
.
setfog
.
setfol
[
this
.
index
]
=
this
.
dialog
;
},
},
},
created
:
function
()
{},
created
:
function
()
{},
};
};
...
...
src/views/Business/Ditopn/SetpanDialog.vue
0 → 100644
View file @
09547ac6
<
template
>
<el-dialog
:visible
.
sync=
"visiable"
center
fullscreen
destroy-on-close
><el-col>
<el-form
v-model=
"model.setmod.setfeg.setfel[idx]"
inline
>
<el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"费用代码"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].feecod"
disabled
/>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
<el-form-item
label=
"中文描述"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].feetxt"
style=
"width: 350px"
/>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].modflg"
disabled
style=
"width: 350px; margin-left: 100px"
/>
</el-form-item>
</el-col>
</el-col>
<el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"详细信息"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].feetxtinf"
/>
</el-form-item
>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"起算时间"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].dat1"
type=
"date"
/>
</el-form-item
>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"结束时间"
>
<el-input
v-model=
"
model.setmod.setfeg.setfel[idx].dat2
"
type=
"date"
/>
</el-form-item
>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"收取份数"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].unt"
/>
</el-form-item
>
</el-col>
</el-col>
<el-col>
<el-form-item
label=
"费用换算"
>
<el-select
v-model=
"model.setmod.setfeg.setfel[idx].usrcur"
>
<el-option
v-for=
"item in codes.usrcur"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
/>
</el-select>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].usramt"
style=
"width: 200px; margin-left: 50px"
/>
</el-form-item>
</el-col>
<el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"应收费用"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].cur"
disabled
style=
"width: 100px; margin-right: 10px"
/>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].ogiamt"
disabled
style=
"width: 200px"
/>
</el-form-item
>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"优惠百分比"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].dctrat"
>
<template
#
append
>
%
</
template
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"Period calculation starting at"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].datrefbeg"
disabled
/>
</el-form-item
>
</el-col>
</el-col>
<el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"付款方"
>
<el-select
v-model=
"model.setmod.setfeg.setfel[idx].rol"
>
<el-option
v-for=
"item in codes.rol"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"优惠金额"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].dctamt"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"优惠后实收费用金额"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].amt"
/>
</el-form-item>
</el-col>
</el-col>
<el-col>
<el-form-item
label=
"Per mile fee depending on duration"
/>
</el-col>
<el-col
:span=
"12"
>
<el-col>
<el-form-item
label=
"千分率"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.ratcal"
style=
"width: 200px"
/>
</el-form-item>
</el-col>
<el-col>
<el-form-item
label=
"最小值"
>
<el-select
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.mincur"
style=
"width: 200px"
>
<el-option
v-for=
"item in codes.mincur"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
/>
</el-select>
<!-- v-model="model.setmod.setfeg.setfel[idx].fecp1.fec.minamt" -->
<el-input
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.minamt"
/>
<el-input
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.minfcc"
/>
</el-form-item>
</el-col>
<el-col>
<el-form-item
label=
"最大值"
>
<el-select
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.maxcur"
style=
"width: 200px"
>
<el-option
v-for=
"item in codes.maxcur"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
/>
</el-select>
<el-input
style=
"width: 200px;"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.maxamt"
/>
<el-input
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.maxfcc"
/>
</el-form-item>
</el-col>
<el-col>
<el-form-item>
<el-checkbox
label=
"CG000652"
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.jnwshx"
/>
</el-form-item>
</el-col>
<el-col>
<el-form-item
label=
"销项税"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.taxrat"
disabled
style=
"width: 200px"
/>
</el-form-item>
</el-col>
<el-col>
<el-form-item
label=
"客户属性"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.custyp"
disabled
style=
"width: 200px"
/>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"Caiculation Base"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.calcbs"
disabled
style=
"width: 200px"
/>
</el-form-item>
<el-form-item
label=
"Calc.Period"
>
<el-select
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.pertyp"
>
<el-option
v-for=
"item in codes.pertyp"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"Min.Periods"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.per"
style=
"width: 200px"
/>
</el-form-item>
<el-form-item
label=
"Rates to Apply per Period Tier"
/>
<el-form-item
label=
"from Perimod"
>
<el-input
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perbegtr2"
/>
<el-input
disabled
style=
"width: 200px; margin-left: 50px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perrattr2"
/>
</el-form-item>
<el-form-item
label=
"from Perimod"
>
<el-input
disabled
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perbegtr3"
/>
<el-input
disabled
style=
"width: 200px; margin-left: 50px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perrattr3"
/>
</el-form-item>
<el-form-item
label=
"from Perimod"
>
<el-input
disabled
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perbegtr4"
/>
<el-input
disabled
style=
"width: 200px; margin-left: 50px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perrattr4"
/>
</el-form-item>
<el-form-item
label=
"from Perimod"
>
<el-input
disabled
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perbegtr5"
/>
<el-input
disabled
style=
"width: 200px; margin-left: 50px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perrattr5"
/>
</el-form-item>
</el-col>
<el-col>
</el-col>
<el-col
:span=
"18"
:offset=
"6"
>
<el-form-item
label=
"收费的说明信息"
>
<el-input
v-model=
"model.setmod.setfeg.setfel[idx].inftxt"
disabled
rows=
"10"
type=
"textarea"
style=
"width: 500px;"
/>
</el-form-item>
</el-col>
</el-form>
<el-col
:span=
"4"
:offset=
"8"
>
<el-button
type=
"primary"
@
click=
"saveDialog"
>
确 定
</el-button>
</el-col>
<el-col
:span=
"6"
>
<el-button
@
click=
"visiable = false"
>
取 消
</el-button>
</el-col>
</el-col>
</el-dialog>
</template>
<
script
>
export
default
{
props
:
{
visible
:
Boolean
,
model
:
Object
,
idx
:
Number
,
codes
:
Object
,
},
methods
:
{
saveDialog
()
{
this
.
visiable
=
false
;
},
},
computed
:{
visiable
:{
get
:
function
()
{
return
this
.
visible
;},
set
:
function
(
value
)
{
this
.
$parent
.
$parent
.
dialogVisible2
=
value
;
}
}
}
};
</
script
>
<
style
>
</
style
>
src/views/Business/Ditopn/index.vue
View file @
09547ac6
...
@@ -158,8 +158,7 @@ export default {
...
@@ -158,8 +158,7 @@ export default {
defaultRules
:
Default
,
defaultRules
:
Default
,
pattern
:
Pattern
,
pattern
:
Pattern
,
rules
:
null
,
rules
:
null
,
codes
:{...
CodeTable
codes
:{...
CodeTable
},
},
}
}
},
},
methods
:{
methods
:{
...
...
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