Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
成
成本清洗系统
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
杜学成
成本清洗系统
Merge requests
!12
Featrue/lhh
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Featrue/lhh
featrue/lhh
into
develop
Overview
0
Commits
2
Pipelines
0
Changes
3
Merged
刘镐珲
requested to merge
featrue/lhh
into
develop
1 year ago
Overview
0
Commits
2
Pipelines
0
Changes
3
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
16a2748e
2 commits,
1 year ago
3 files
+
121
−
45
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
WebSite/src/views/cost-allocation/index.vue
+
29
−
8
Options
@@ -51,14 +51,16 @@
<div
style=
"margin-bottom: 10px;"
>
默认全部计入成本分摊,不计入成本分摊的数据请单独勾选
</div>
<el-table
:data=
"data.costAllocationData"
border
style=
"width: 100%"
>
<el-table
:data=
"data.costAllocationData
.body
"
border
style=
"width: 100%"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
prop=
"date"
label=
"凭证号"
align=
"center"
/>
<el-table-column
prop=
"year"
label=
"经费项目"
align=
"center"
/>
<el-table-column
prop=
"address"
label=
"成本中心编号"
align=
"center"
/>
<el-table-column
prop=
"aaa"
label=
"成本中心名称"
align=
"center"
/>
<el-table-column
prop=
"bbb"
label=
"科目"
align=
"center"
/>
<el-table-column
prop=
"ccc"
label=
"摘要"
align=
"center"
/>
<el-table-column
v-for=
"item in data.costAllocationData.head"
:key=
"item.prop"
:label=
"item.label"
align=
"center"
:prop=
"item.prop"
>
</el-table-column>
</el-table>
</el-card>
</div>
@@ -66,7 +68,26 @@
<
script
setup
>
import
{
reactive
,
onMounted
}
from
'
vue
'
;
const
data
=
reactive
({
costAllocationData
:
[],
costAllocationData
:
{
head
:
[
{
label
:
'
凭证号
'
,
prop
:
'
a
'
},
{
label
:
'
经费项目
'
,
prop
:
'
b
'
},
{
label
:
'
成本中心编号
'
,
prop
:
'
c
'
},
{
label
:
'
成本中心名称
'
,
prop
:
'
d
'
},
{
label
:
'
科目
'
,
prop
:
'
e
'
},
{
label
:
'
摘要
'
,
prop
:
'
f
'
}
],
body
:
[
{
a
:
'
凭证号
'
,
b
:
'
经费项目
'
,
c
:
'
成本中心编号
'
,
d
:
'
成本中心名称
'
,
e
:
'
科目
'
,
f
:
'
摘要
'
}
]
},
costAllocationForm
:
{
costingDatabase
:
''
,
year
:
''
,