Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
Project
Project
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
徐俊
yn-science-front
Commits
e8fe0a3d
Commit
e8fe0a3d
authored
4 months ago
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
d65714cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
142 additions
and
4 deletions
+142
-4
manufactureEdit.vue
src/views/report/project/components/manufactureEdit.vue
+102
-0
manufactureInfo.vue
src/views/report/project/components/manufactureInfo.vue
+31
-0
projectEdit.vue
src/views/report/project/components/projectEdit.vue
+9
-4
No files found.
src/views/report/project/components/manufactureEdit.vue
0 → 100644
View file @
e8fe0a3d
<
template
>
<div>
<a-row>
<a-col
:span=
"24"
>
<div
class=
"tb-title"
>
<span>
设备费-试制设备预算明细表
<strong>
(金额单位:万元)
</strong></span>
</div>
</a-col>
</a-row>
<a-row
type=
"flex"
class=
"row_center"
>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
序号
</div>
</div>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
设备名称
</div>
</div>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
功能和技术指标
</div>
</div>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
单价(万元/台套)
</div>
</div>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
数量(台套)
</div>
</div>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
金额
</div>
</div>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
财政资金
</div>
</div>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
自筹资金
</div>
</div>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
试制单位
</div>
</div>
</a-col>
<a-col
:span=
"2"
class=
"bg-gray"
>
<div
class=
"special-middle"
>
<div>
安置单位
</div>
</div>
</a-col>
</a-row>
<a-row
v-for=
"(item, index) in manufactureList"
:key=
"'manufactureList'+index"
type=
"flex"
class=
"row_center"
>
<a-col
:span=
"1"
>
<div
class=
"special-middle"
><a-button
icon=
"close"
type=
"primary"
shape=
"circle"
size=
"small"
@
click=
"deleteManufacture(item)"
></a-button>
{{
index
+
1
}}
</div>
</a-col>
<a-col
:span=
"20"
>
<a-form-model-item
:prop=
"'manufactureList.' + index + '.name'"
:rules=
"
{required: true, message: '*', trigger: 'blur',}">
<a-input
v-model=
"item.name"
:maxLength=
"100"
style=
"width: 90%;"
/>
</a-form-model-item>
</a-col>
</a-row>
</div>
</
template
>
<
script
>
export
default
{
name
:
"manufactureEdit"
,
props
:
{
manufactureList
:
{
type
:
Array
,
default
:
()
=>
{
return
[];
},
},
},
data
()
{
return
{};
},
created
()
{
},
methods
:
{
deleteManufacture
(
item
)
{
let
index
=
this
.
manufactureList
.
indexOf
(
item
)
if
(
index
!==
-
1
)
{
this
.
manufactureList
.
splice
(
index
,
1
)
}
}
},
};
</
script
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/views/report/project/components/manufactureInfo.vue
0 → 100644
View file @
e8fe0a3d
<
template
>
<div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"manufactureInfo"
,
props
:
{
manufactureList
:
{
type
:
Array
,
default
:
()
=>
{
return
[];
},
},
},
data
()
{
return
{
};
},
created
()
{
},
methods
:
{
},
};
</
script
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/views/report/project/components/projectEdit.vue
View file @
e8fe0a3d
...
...
@@ -583,11 +583,11 @@
</a-col>
</a-row>
<!-- 设备费-购置设备预算明细表 -->
<!--
<equipments-edit
:equipments
.
sync=
"formData.equipments"
/>
-->
<!-- 设备费-购置设备预算明细表 -->
<device-edit
:deviceList
.
sync=
"formData.deviceList"
/>
<!-- 设备费-试制设备预算明细表 -->
<manufacture-edit
:manufactureList
.
sync:=
"formData.manufactureList"
></manufacture-edit>
<!-- 附件 -->
<file-edit
:fileList
.
sync=
"formData.fileList"
/>
...
...
@@ -608,6 +608,7 @@ import budgetEdit from '@/views/report/project/components/budgetEdit'
import
fundPlanEdit
from
'@/views/report/project/components/fundPlanEdit'
import
projectKpiEdit
from
'@/views/report/project/components/projectKpiEdit'
import
equipmentsEdit
from
'@/views/report/project/components/equipmentsEdit'
import
manufactureEdit
from
'@/views/report/project/components/manufactureEdit'
import
fileEdit
from
'@/views/report/project/components/fileEdit'
import
{
isEmptyParams
}
from
"@/views/utils/common"
import
moment
from
'moment'
...
...
@@ -660,7 +661,7 @@ import cascaderSelect from '@/views/components/common/cascaderSelect'
export
default
{
name
:
'projectEdit'
,
components
:
{
projectMemberEdit
,
cooperativeUnitsEdit
,
budgetEdit
,
fundPlanEdit
,
projectKpiEdit
,
fileEdit
,
previewFile
,
documentView
,
cascaderSelect
,
equipmentsEdit
,
devic
eEdit
projectMemberEdit
,
cooperativeUnitsEdit
,
budgetEdit
,
fundPlanEdit
,
projectKpiEdit
,
fileEdit
,
previewFile
,
documentView
,
cascaderSelect
,
equipmentsEdit
,
deviceEdit
,
manufactur
eEdit
},
props
:
{
value
:
{
...
...
@@ -722,6 +723,7 @@ export default {
budget
:
[],
fundPlan
:
[],
deviceList
:
[],
manufactureList
:
[],
fileList
:
[],
auditList
:
[],
managerDept
:
""
,
...
...
@@ -800,6 +802,9 @@ export default {
if
(
!!!
this
.
formData
.
deviceList
||
this
.
formData
.
deviceList
.
length
==
0
)
this
.
formData
.
deviceList
=
[]
if
(
!!!
this
.
formData
.
manufactureList
||
this
.
formData
.
manufactureList
.
length
==
0
)
this
.
formData
.
manufactureList
=
[]
if
(
!!!
this
.
formData
.
fileList
||
!
this
.
formData
.
fileList
.
length
||
this
.
formData
.
fileList
.
length
==
0
)
{
this
.
formData
.
fileList
=
[]
}
...
...
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