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
57c2c681
Commit
57c2c681
authored
Jul 22, 2020
by
liuyunfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://exam.letrd.com:8900/fukai/vue-gjjs
parents
4adfa9e2
ae61003f
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
370 additions
and
28 deletions
+370
-28
index.js
src/config/CodeTable/index.js
+10
-0
cptopn.js
src/config/cptopn.js
+1
-0
ditopn.js
src/config/ditopn.js
+5
-0
index.vue
src/views/Business/Cptopn/index.vue
+3
-1
Engp.vue
src/views/Business/Ditopn/Engp.vue
+23
-3
LiaccvgDetail.vue
src/views/Business/Ditopn/LiaccvgDetail.vue
+68
-18
Fee.vue
src/views/Public/Fee.vue
+93
-6
FeslstDetail.vue
src/views/Public/FeslstDetail.vue
+94
-0
GlslstDetail.vue
src/views/Public/GlslstDetail.vue
+73
-0
No files found.
src/config/CodeTable/index.js
View file @
57c2c681
...
...
@@ -5638,6 +5638,15 @@ const CodeTable = {
negCode
:
[
{
label
:
`未指定银行`
,
value
:
`NULL`
},
{
label
:
`指定银行`
,
value
:
`DSIG`
},
],
payflg
:
[
{
label
:
`内扣`
,
value
:
`N`
},
{
label
:
`外收`
,
value
:
`W`
},
],
dsp
:
[
{
label
:
`请选择`
,
value
:
``
},
{
label
:
`现收`
,
value
:
`X`
},
{
label
:
`缓收`
,
value
:
`P`
},
]
}
export
default
CodeTable
;
\ No newline at end of file
src/config/cptopn.js
View file @
57c2c681
...
...
@@ -36,6 +36,7 @@ export default {
jshtyp
:
CodeTable
.
jshtyp
,
diqvjigou
:
CodeTable
.
diqvjigou
,
bopmethods
:
CodeTable
.
bopmethods
,
rol
:
CodeTable
.
rol
,
swfcod
:
{
SWT
:
[
{
label
:
'MT103'
,
value
:
'103'
},
...
...
src/config/ditopn.js
View file @
57c2c681
...
...
@@ -8,4 +8,8 @@ export default {
allow
:
CodeTable
.
allow
,
yesno
:
CodeTable
.
yesno
,
negCode
:
CodeTable
.
negCode
,
onsel
:
CodeTable
.
onsel
,
dsp
:
CodeTable
.
dsp
,
payflg
:
CodeTable
.
payflg
,
rol
:
CodeTable
.
rol
}
\ No newline at end of file
src/views/Business/Cptopn/index.vue
View file @
57c2c681
...
...
@@ -42,7 +42,9 @@
<!-- 费用 -->
<el-tab-pane
label=
"费用"
name=
"fee"
>
<m-fee
v-bind:model=
"model"
/>
<m-fee
v-bind:model=
"model"
v-bind:codes=
"codes"
/>
</el-tab-pane>
<!-- 会计分录 -->
...
...
src/views/Business/Ditopn/Engp.vue
View file @
57c2c681
...
...
@@ -204,24 +204,44 @@
:visible
.
sync=
"dialogVisible"
width=
"30%"
>
<span
slot=
"title"
></span>
<span>
这是一段信息
</span>
<m-liaccvg-detail
v-bind:model=
"liaccvg"
v-bind:codes=
"codes"
/>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"
dialogVisible = false
"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"
handleAdd
"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</template>
<
script
>
import
LiaccvgDetail
from
'./LiaccvgDetail'
export
default
{
components
:
{
'm-liaccvg-detail'
:
LiaccvgDetail
,
},
props
:
[
'model'
,
'codes'
],
data
()
{
return
{
dialogVisible
:
false
dialogVisible
:
false
,
liaccvg
:
{
cur
:
''
,
oldamt
:
''
,
chgamt
:
''
,
amt
:
''
,
cusact
:
''
,
ccvact
:
''
,
gleflg
:
''
}
}
},
methods
:
{
handleAdd
()
{
this
.
dialogVisible
=
false
this
.
model
.
liaall
.
liaccv
.
liaccvg
.
push
(
this
.
liaccvg
)
}
}
}
</
script
>
...
...
src/views/Business/Ditopn/LiaccvgDetail.vue
View file @
57c2c681
<
template
>
<div>
<el-form
:model=
"model"
ref=
"liaccvgForm"
label-position=
"left"
label-width=
"100px"
size=
"small"
>
</el-form>
<el-col
:span=
"24"
>
<el-col
:span=
"6"
class=
"suffix-title"
>
币种
</el-col>
<el-col
:span=
"18"
>
<el-select
v-model=
"model.cur"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
原始金额
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.oldamt"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
变动金额
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.chgamt"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
金额
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.amt"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
结算账号
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.cusact"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
保证金账号
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.ccvact"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
记账
</el-col>
<el-col
:span=
"18"
>
<el-select
v-model=
"model.gleflg"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.onsel"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-col>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
model
:
{
cur
:
''
,
oldamt
:
''
,
chgamt
:
''
,
amt
:
''
,
cusact
:
''
,
ccvact
:
''
,
gleflg
:
''
}
}
},
methods
:
{
}
props
:
[
'model'
,
'codes'
]
}
</
script
>
<
style
scoped
>
.suffix-title
{
line-height
:
40px
;
}
[
class
*=
el-col-
]
{
height
:
50px
;
}
</
style
>
\ No newline at end of file
src/views/Public/Fee.vue
View file @
57c2c681
...
...
@@ -52,7 +52,8 @@
</el-table-column>
<el-table-column
prop=
""
label=
"操作"
>
label=
"操作"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
>
查看
</el-button>
<el-button
type=
"text"
size=
"small"
>
编辑
</el-button>
...
...
@@ -60,7 +61,7 @@
</el-table-column>
</el-table>
</div>
<el-button
plain
class=
"add-btn"
@
click=
"
add
Feslst"
>
+
</el-button>
<el-button
plain
class=
"add-btn"
@
click=
"
handleClick
Feslst"
>
+
</el-button>
<div
class=
"title"
>
财务明细
</div>
<div
class=
"e-table-wrapper"
>
<el-table
...
...
@@ -101,18 +102,104 @@
</el-table-column>
</el-table>
</div>
<el-button
plain
class=
"add-btn"
@
click=
"addGlslst"
>
+
</el-button>
<el-button
plain
class=
"add-btn"
@
click=
"handleClickGlslst"
>
+
</el-button>
<el-dialog
:visible
.
sync=
"feslstVisible"
width=
"30%"
>
<span
slot=
"title"
></span>
<m-feslst-detail
v-bind:model=
"feslst"
v-bind:codes=
"codes"
/>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"feslstVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"addFeslst"
>
确 定
</el-button>
</span>
</el-dialog>
<el-dialog
:visible
.
sync=
"glslstVisible"
width=
"30%"
>
<span
slot=
"title"
></span>
<m-glslst-detail
v-bind:model=
"glslst"
v-bind:codes=
"codes"
/>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"glslstVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"addGlslst"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</template>
<
script
>
import
FeslstDetail
from
'./FeslstDetail'
import
GlslstDetail
from
'./GlslstDetail'
export
default
{
props
:[
'model'
],
components
:
{
'm-feslst-detail'
:
FeslstDetail
,
'm-glslst-detail'
:
GlslstDetail
},
props
:[
'model'
,
'codes'
],
data
:
function
()
{
return
{
feslstVisible
:
false
,
glslstVisible
:
false
,
feslst
:
{
rol
:
''
,
feecod
:
''
,
feetxt
:
''
,
cur
:
''
,
basamt
:
''
,
amt
:
''
,
dsp
:
''
,
payflg
:
''
},
glslst
:
{
debcdtflg
:
''
,
cur
:
''
,
amt
:
''
,
dsp
:
''
,
act
:
''
,
acccur
:
''
,
accamt
:
''
,
rat
:
''
}
}
},
methods
:
{
addFeslst
()
{
alert
(
'addFeslst'
)
this
.
feslstVisible
=
false
this
.
model
.
setmod
.
setfeg
.
fegmod
.
feslst
.
push
(
this
.
feslst
)
this
.
feslst
=
{
rol
:
''
,
feecod
:
''
,
feetxt
:
''
,
cur
:
''
,
basamt
:
''
,
amt
:
''
,
dsp
:
''
,
payflg
:
''
}
},
addGlslst
()
{
alert
(
'addGlslst'
)
this
.
glslstVisible
=
false
this
.
model
.
setmod
.
setglg
.
glgmod
.
glslst
.
push
(
this
.
glslst
)
this
.
glslst
=
{
debcdtflg
:
''
,
cur
:
''
,
amt
:
''
,
dsp
:
''
,
act
:
''
,
acccur
:
''
,
accamt
:
''
,
rat
:
''
}
},
handleClickFeslst
()
{
this
.
feslstVisible
=
true
},
handleClickGlslst
()
{
this
.
glslstVisible
=
true
}
}
}
...
...
src/views/Public/FeslstDetail.vue
0 → 100644
View file @
57c2c681
<
template
>
<div>
<el-col
:span=
"6"
class=
"suffix-title"
>
角色
</el-col>
<el-col
:span=
"18"
>
<el-select
v-model=
"model.rol"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.rol"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
费用代码
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.feecod"
maxlength=
"32"
placeholder=
"请输入"
disabled
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
费用名称
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.feetxt"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
收费币种
</el-col>
<el-col
:span=
"18"
>
<el-select
v-model=
"model.cur"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
应收金额
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.basamt"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
实收金额
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.amt"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
现收/缓收
</el-col>
<el-col
:span=
"18"
>
<el-select
v-model=
"model.dsp"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.dsp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
内扣/外收
</el-col>
<el-col
:span=
"18"
>
<el-select
v-model=
"model.payflg"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.payflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-col>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
'model'
,
'codes'
]
}
</
script
>
<
style
scoped
>
.suffix-title
{
line-height
:
40px
;
}
[
class
*=
el-col-
]
{
height
:
50px
;
}
</
style
>
\ No newline at end of file
src/views/Public/GlslstDetail.vue
0 → 100644
View file @
57c2c681
<
template
>
<div>
<el-col
:span=
"6"
class=
"suffix-title"
>
借/贷
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.debcdtflg"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
结算币种
</el-col>
<el-col
:span=
"18"
>
<el-select
v-model=
"model.cur"
style=
"width:100%"
placeholder=
"请选择"
>
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
结算金额
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.amt"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
结算方式
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.dsp"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
账户
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.act"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
原币种
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.acccur"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
原金额
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.accamt"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
<el-col
:span=
"6"
class=
"suffix-title"
>
汇率
</el-col>
<el-col
:span=
"18"
>
<el-input
v-model=
"model.rat"
maxlength=
"32"
placeholder=
"请输入"
></el-input>
</el-col>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
'model'
,
'codes'
]
}
</
script
>
<
style
scoped
>
.suffix-title
{
line-height
:
40px
;
}
[
class
*=
el-col-
]
{
height
:
50px
;
}
</
style
>
\ No newline at end of file
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