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
01e9b52c
Commit
01e9b52c
authored
Sep 27, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
76bedf48
e0f71389
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
466 additions
and
37 deletions
+466
-37
Opnp1.vue
src/views/Business/Cptopn/Opnp1.vue
+29
-6
Outp.vue
src/views/Business/Cptopn/Outp.vue
+3
-3
Setpan.vue
src/views/Business/Cptopn/Setpan.vue
+51
-24
SetpanDialog.vue
src/views/Business/Cptopn/SetpanDialog.vue
+378
-0
Wg.vue
src/views/Business/Cptopn/Wg.vue
+2
-1
index.vue
src/views/Business/Cptopn/index.vue
+3
-3
No files found.
src/views/Business/Cptopn/Opnp1.vue
View file @
01e9b52c
...
...
@@ -76,12 +76,13 @@
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"1
0
"
>
<el-col
:span=
"1
4
"
>
<el-form-item
label=
"汇款金额"
prop=
"cpdgrp.cbs.nom1.cur"
>
<c-select
v-model=
"model.cpdgrp.cbs.nom1.cur"
style=
"width: 100%"
placeholder=
""
>
<el-option
v-for=
"item in codes.cur"
...
...
@@ -92,7 +93,7 @@
</c-select>
</el-form-item>
</el-col>
<el-col
:span=
"1
2
"
>
<el-col
:span=
"1
0
"
>
<el-form-item
label=
""
label-width=
"15px"
prop=
"cpdgrp.cbs.nom1.amt"
>
<c-input
v-model=
"model.cpdgrp.cbs.nom1.amt"
...
...
@@ -128,7 +129,7 @@
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"1
0
"
>
<el-col
:span=
"1
2
"
>
<el-form-item
label=
"是否需要核验"
prop=
"cpdgrp.rec.ischktyp"
>
<c-select
v-model=
"model.cpdgrp.rec.ischktyp"
...
...
@@ -145,7 +146,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"1
0"
:offset=
"2
"
>
<el-col
:span=
"1
1"
:offset=
"1
"
>
<el-form-item
label=
"预计核验日期"
label-width=
"120px"
prop=
"cpdgrp.rec.paydat"
>
<c-date-picker
type=
"date"
...
...
@@ -173,7 +174,7 @@
<el-col
:span=
"24"
>
<el-form-item
label=
"货物类型"
>
<c-select
v-model=
"model
3
"
style=
"width: 100%"
placeholder=
"请选择货物类型"
>
<c-select
v-model=
"model
.cpdgrp.rec.stagod
"
style=
"width: 100%"
placeholder=
"请选择货物类型"
>
<el-option
v-for=
"item in codes.godcod"
:key=
"item.value"
...
...
@@ -278,7 +279,7 @@
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"报文类型"
label-width=
"120px"
>
<el-form-item
label=
"报文类型"
label-width=
"120px"
prop=
"cpdgrp.rec.swftyp"
>
<c-select
style=
"width: 100%"
placeholder=
""
v-model=
"model.cpdgrp.rec.swftyp"
>
<el-option
v-for=
"item in codes.swftyp"
:label=
"item.label"
:value=
"item.value"
:key=
"item.value"
></el-option>
</c-select>
...
...
@@ -306,6 +307,23 @@
<el-col
:span=
"4"
:offset=
"20"
>
<c-checkbox
v-model=
"model.cpdgrp.rec.tsnflg"
>
同名划转
</c-checkbox>
</el-col>
<el-col
:span=
"18"
>
<el-form-item
label=
"清算模式"
v-if=
"model.cpdgrp.cbs.nom1.cur == 'CNY'"
>
<c-select
v-model=
"model.cptp.liqtyp"
style=
"width: 100%"
placeholder=
"请选择清算模式"
>
<el-option
v-for=
"item in liqtypOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</c-select>
</el-form-item>
</el-col>
</el-col>
</el-col>
...
...
@@ -1384,6 +1402,11 @@ export default {
{
value
:
'7'
,
label
:
'其他企业'
},
{
value
:
'8'
,
label
:
'私人'
},
],
liqtypOptions
:[
{
value
:
'B'
,
label
:
'人行支付系统'
},
{
value
:
'C'
,
label
:
'代理行模式'
},
{
value
:
'O'
,
label
:
'Other'
},
],
gridPromptDialog
:
{
title
:
''
,
columnStr
:
''
,
...
...
src/views/Business/Cptopn/Outp.vue
View file @
01e9b52c
...
...
@@ -40,7 +40,7 @@
<el-form-item
label=
"付款人属性"
>
<c-select
style=
"width: 50%"
placeholder=
"请选择付款人属性"
>
<el-option
v-for=
"item in
options
"
v-for=
"item in
codes.cpayeeattr
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
@@ -74,7 +74,7 @@
<el-form-item
label=
"结算方式"
>
<c-select
style=
"width: 50%"
placeholder=
"请选择结算方式"
>
<el-option
v-for=
"item in
options
"
v-for=
"item in
codes.sbalancemode
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
@@ -86,7 +86,7 @@
<el-form-item
label=
"清算(结算)账户类型"
>
<c-select
style=
"width: 70%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in
options
"
v-for=
"item in
codes.cpayeraccttyp
"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
...
...
src/views/Business/Cptopn/Setpan.vue
View file @
01e9b52c
<
template
>
<
div
class=
"eibs-tab"
>
<
el-row
class=
"eibs-tab"
>
<!-- ===================顶部===================== -->
<el-col
:span=
"6"
>
<el-form-item
label=
"Reference"
label-width=
"100px"
prop=
"setmod.ref"
>
...
...
@@ -11,12 +11,12 @@
></c-input>
</el-form-item>
</el-col>
<el-col
:span=
"
4
"
>
<el-col
:span=
"
6
"
>
<el-form-item
label=
"Amount Settled"
label-width=
"150px"
>
<c-input
v-model=
"
temp1
"
v-model=
"
model.setmod.doccur
"
style=
"width: 100%"
placeholder=
""
placeholder=
"
CNY
"
:readonly=
"true"
></c-input>
...
...
@@ -26,7 +26,7 @@
<el-col
:span=
"4"
>
<el-form-item
label=
""
label-width=
"20px"
>
<c-input
v-model=
"
temp2
"
v-model=
"
model.setmod.docamt
"
:readonly=
"true"
placeholder=
""
></c-input>
...
...
@@ -34,14 +34,21 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"
Type
"
label-width=
"100px"
>
<c-
inpu
t
v-model=
"
temp3
"
readonly
<el-form-item
label=
"
类型
"
label-width=
"100px"
>
<c-
selec
t
v-model=
"
model.setmod.dspflg
"
disabled
style=
"width: 100%"
placeholder=
""
placeholder=
"
请选择Type of settlement
"
>
</c-input
>
<el-option
v-for=
"item in codes.dspflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</el-col>
...
...
@@ -109,7 +116,7 @@
<el-col
:span=
"22"
style=
"margin-bottom: 18px"
:offset=
"1"
>
<c-table
style=
"text-align: center"
:list=
"
data
"
:list=
"
model.setmod.setfog.setfol
"
:paginationShow=
"false"
:border=
"true"
>
...
...
@@ -265,6 +272,7 @@
</el-table-column>
</c-table>
</el-col>
<setpan-dialog
v-if=
"dialogVisible2"
:visible=
"dialogVisible2"
:model=
"model"
:idx=
"index"
:codes=
"codes"
/>
<!--=================== Settlement:================== -->
<el-col
:span=
"24"
style=
"text-align: left"
>
<el-form-item
label=
"Settlement:"
label-width=
"100px"
>
...
...
@@ -273,7 +281,7 @@
<el-col
:span=
"22"
style=
"margin-bottom: 18px"
:offset=
"1"
>
<c-table
style=
"text-align: center"
:list=
"
data
"
:list=
"
model.setmod.setglg.setgll
"
:paginationShow=
"false"
:border=
"true"
>
...
...
@@ -341,31 +349,50 @@
<el-table-column
label=
""
width=
"auto"
>
</el-table-column>
</c-table>
</el-col>
</
div
>
</
el-row
>
</template>
<
script
>
import
Api
from
"~/service/Api"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/Cptopn/Event"
;
import
SetpanDialog
from
"./SetpanDialog.vue"
;
import
Utils
from
"~/utils/index"
export
default
{
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
components
:
{
SetpanDialog
},
data
()
{
return
{
temp1
:
'USD'
,
temp2
:
'0.00'
,
temp3
:
'final'
,
dialogVisible2
:
false
,
dialog2
:
{
feetxtinf
:
""
,
feetxt
:
""
,
},
index
:
0
,
data
:[]
};
},
methods
:
{
dispDefault
()
{
},
methods
:
{
...
Event
,
dispDefault
(){
Api
.
post
(
"cptopn/executeDefault/mac"
,
Utils
.
getRequestDataFn
.
call
(
this
)).
then
(
res
=>
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
)
})
},
detail2
(
index
,
row
)
{
Api
.
post
(
"cptopn/executeRule/det"
,
Utils
.
getRequestDataFn
.
call
(
this
)).
then
(
res
=>
{
this
.
dialogVisible2
=
true
;
this
.
index
=
index
;
this
.
dialog2
=
row
})
},
...
Event
},
created
:
function
()
{},
},
created
:
function
()
{},
};
</
script
>
<
style
>
...
...
src/views/Business/Cptopn/SetpanDialog.vue
0 → 100644
View file @
01e9b52c
<
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=
"费用代码"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].feecod"
disabled
/>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
<el-form-item
label=
"中文描述"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].feetxt"
style=
"width: 350px"
/>
<c-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=
"详细信息"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].feetxtinf"
/>
</el-form-item
>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"起算时间"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].dat1"
type=
"date"
/>
</el-form-item
>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"结束时间"
>
<c-input
v-model=
"
model.setmod.setfeg.setfel[idx].dat2
"
type=
"date"
/>
</el-form-item
>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"收取份数"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].unt"
/>
</el-form-item
>
</el-col>
</el-col>
<el-col>
<el-form-item
label=
"费用换算"
>
<c-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"
/>
</c-select>
<c-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=
"应收费用"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].cur"
disabled
style=
"width: 100px; margin-right: 10px"
/>
<c-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=
"优惠百分比"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].dctrat"
>
<template
#
append
>
%
</
template
>
</c-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"Period calculation starting at"
>
<c-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=
"付款方"
>
<c-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"
/>
</c-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"优惠金额"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].dctamt"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"优惠后实收费用金额"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].amt"
/>
</el-form-item>
</el-col>
</el-col>
<el-col>
<el-form-item
:label=
"idx==0?'Per mile fee depending on duration':
'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.'"
/>
</el-col>
<el-col
:span=
"12"
>
<el-col
v-if=
"idx==0"
>
<el-col>
<el-form-item
label=
"千分率"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.ratcal"
style=
"width: 200px"
/>
</el-form-item>
</el-col>
<el-col>
<el-form-item
label=
"最小值"
>
<c-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"
/>
</c-select>
<!-- v-model="model.setmod.setfeg.setfel[idx].fecp1.fec.minamt" -->
<c-input
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.minamt"
/>
<c-input
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.minfcc"
/>
</el-form-item>
</el-col>
<el-col>
<el-form-item
label=
"最大值"
>
<c-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"
/>
</c-select>
<c-input
style=
"width: 200px;"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.maxamt"
/>
<c-input
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.maxfcc"
/>
</el-form-item>
</el-col>
<el-col>
<el-form-item>
<c-checkbox
label=
"CG000652"
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.jnwshx"
/>
</el-form-item>
</el-col>
</el-col>
<el-col
v-else
>
<el-form-item
label=
"Amount"
>
<c-select
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.ratcur"
>
<el-option
v-for=
"item in codes.cur"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
<c-input
style=
"width:200px;"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.untamt "
>
</c-input>
</el-form-item>
</el-col>
<el-col>
<el-form-item
label=
"销项税"
>
<c-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=
"客户属性"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.custyp"
disabled
style=
"width: 200px"
/>
</el-form-item>
</el-col>
</el-col>
<el-col
v-if=
"idx==0"
:span=
"12"
>
<el-form-item
label=
"Caiculation Base"
>
<c-input
v-model=
"model.setmod.setfeg.setfel[idx].fecp1.calcbs"
disabled
style=
"width: 200px"
/>
</el-form-item>
<el-form-item
label=
"Calc.Period"
>
<c-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"
/>
</c-select>
</el-form-item>
<el-form-item
label=
"Min.Periods"
>
<c-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"
>
<c-input
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perbegtr2"
/>
<c-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"
>
<c-input
disabled
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perbegtr3"
/>
<c-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"
>
<c-input
disabled
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perbegtr4"
/>
<c-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"
>
<c-input
disabled
style=
"width: 200px"
v-model=
"model.setmod.setfeg.setfel[idx].wrkfec.perbegtr5"
/>
<c-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=
"收费的说明信息"
>
<c-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"
>
<c-button
type=
"primary"
@
click=
"saveDialog"
>
确 定
</c-button>
</el-col>
<el-col
:span=
"6"
>
<c-button
@
click=
"visiable = false"
>
取 消
</c-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
)
{
debugger
;
this
.
$parent
.
$parent
.
dialogVisible2
=
value
;
}
}
}
};
</
script
>
<
style
>
</
style
>
src/views/Business/Cptopn/Wg.vue
View file @
01e9b52c
...
...
@@ -85,7 +85,8 @@ export default {
return
{
};
},
methods
:
{
...
Event
},
methods
:
{
...
Event
,
},
created
:
function
()
{},
};
</
script
>
...
...
src/views/Business/Cptopn/index.vue
View file @
01e9b52c
...
...
@@ -50,10 +50,10 @@
<m-wg
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"境内汇款申请书-基础信息"
v-if=
"model.bopmod.basflg"
>
<el-tab-pane
label=
"境内汇款申请书-基础信息"
v-if=
"model.bopmod.
szflg === '2' && model.bopmod.
basflg"
>
<m-dbe
:model=
"model"
:codes=
"codes"
></m-dbe>
</el-tab-pane>
<el-tab-pane
label=
"境外汇款申请书-基础信息"
v-if=
"model.bopmod.basflg"
>
<el-tab-pane
label=
"境外汇款申请书-基础信息"
v-if=
"model.bopmod.
szflg === '1' && model.bopmod.
basflg"
>
<m-dbb
:model=
"model"
:codes=
"codes"
></m-dbb>
</el-tab-pane>
...
...
@@ -61,7 +61,7 @@
<!--PD000002 -->
<m-cnyp
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<el-tab-pane
label=
"2111跨境支出信息"
>
<el-tab-pane
label=
"2111跨境支出信息"
v-if=
"model.cnybop.outflg==='1'"
>
<m-outp
:model=
"model"
:codes=
"codes"
></m-outp>
</el-tab-pane>
</el-tabs>
...
...
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