Commit 5921bc5f authored by 徐俊's avatar 徐俊

xujun

parent 65e737df
...@@ -452,11 +452,13 @@ ...@@ -452,11 +452,13 @@
<!-- 分年度用款计划 --> <!-- 分年度用款计划 -->
<fund-plan-edit :fundPlan.sync="formData.fundPlan" @save="planSave" /> <fund-plan-edit :fundPlan.sync="formData.fundPlan" @save="planSave" />
<!-- 项目承担单位研究资金支出预算明细表 -->
<unit-payment-edit :unitPayment.sync="formData.unitPayment"/>
<!-- <equipments-edit :equipments.sync="formData.equipments" /> --> <!-- <equipments-edit :equipments.sync="formData.equipments" /> -->
<!-- 设备费-购置设备预算明细表 --> <!-- 设备费-购置设备预算明细表 -->
<device-edit :deviceList.sync="formData.deviceList" /> <device-edit :deviceList.sync="formData.deviceList" />
<!-- 设备费-试制设备预算明细表 --> <!-- 设备费-试制设备预算明细表 -->
<manufacture-edit :manufactureList.sync:="formData.manufactureList"></manufacture-edit> <manufacture-edit :manufactureList.sync:="formData.manufactureList"/>
<a-row type="flex"> <a-row type="flex">
<a-col :span="24" style="text-align: center;"> <a-col :span="24" style="text-align: center;">
...@@ -617,6 +619,7 @@ import budgetEdit from '@/views/report/project/components/budgetEdit' ...@@ -617,6 +619,7 @@ import budgetEdit from '@/views/report/project/components/budgetEdit'
import fundPlanEdit from '@/views/report/project/components/fundPlanEdit' import fundPlanEdit from '@/views/report/project/components/fundPlanEdit'
import projectKpiEdit from '@/views/report/project/components/projectKpiEdit' import projectKpiEdit from '@/views/report/project/components/projectKpiEdit'
import manufactureEdit from '@/views/report/project/components/manufactureEdit' import manufactureEdit from '@/views/report/project/components/manufactureEdit'
import unitPaymentEdit from '@/views/report/project/components/unitPaymentEdit'
import projectSubEdit from '@/views/report/project/components/projectSubEdit' import projectSubEdit from '@/views/report/project/components/projectSubEdit'
import fileEdit from '@/views/report/project/components/fileEdit' import fileEdit from '@/views/report/project/components/fileEdit'
import { isEmptyParams } from "@/views/utils/common" import { isEmptyParams } from "@/views/utils/common"
...@@ -671,7 +674,7 @@ import cascaderSelect from '@/views/components/common/cascaderSelect' ...@@ -671,7 +674,7 @@ import cascaderSelect from '@/views/components/common/cascaderSelect'
export default { export default {
name: 'projectEdit', name: 'projectEdit',
components: { components: {
projectMemberEdit, cooperativeUnitsEdit, budgetEdit, fundPlanEdit, projectKpiEdit, fileEdit, previewFile, documentView, cascaderSelect, deviceEdit, projStageGoalsEdit, manufactureEdit, projectSubEdit, participateUnitsEdit projectMemberEdit, cooperativeUnitsEdit, budgetEdit, fundPlanEdit, projectKpiEdit, fileEdit, previewFile, documentView, cascaderSelect, deviceEdit, projStageGoalsEdit, manufactureEdit, unitPaymentEdit, projectSubEdit, participateUnitsEdit
}, },
props: { props: {
value: { value: {
...@@ -735,6 +738,7 @@ export default { ...@@ -735,6 +738,7 @@ export default {
fundPlan: [], fundPlan: [],
deviceList: [], deviceList: [],
manufactureList: [], manufactureList: [],
unitPayment: [],
stageGoals: [], stageGoals: [],
projectSubList: [], projectSubList: [],
fileList: [], fileList: [],
...@@ -821,6 +825,9 @@ export default { ...@@ -821,6 +825,9 @@ export default {
if (!!!this.formData.manufactureList || this.formData.manufactureList.length == 0) if (!!!this.formData.manufactureList || this.formData.manufactureList.length == 0)
this.formData.manufactureList = [] this.formData.manufactureList = []
if (!!!this.formData.unitPayment || this.formData.unitPayment.length == 0)
this.formData.unitPayment = []
if (!!!this.formData.stageGoals || this.formData.stageGoals.length == 0) if (!!!this.formData.stageGoals || this.formData.stageGoals.length == 0)
this.formData.stageGoals = [{ ...StageGoals }, { ...StageGoals }, { ...StageGoals }] this.formData.stageGoals = [{ ...StageGoals }, { ...StageGoals }, { ...StageGoals }]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment