diff --git a/src/views/xm/core/xmProjectPhase/XmProjecPhaseOverview.vue b/src/views/xm/core/xmProjectPhase/XmProjecPhaseOverview.vue new file mode 100644 index 00000000..19c1feb4 --- /dev/null +++ b/src/views/xm/core/xmProjectPhase/XmProjecPhaseOverview.vue @@ -0,0 +1,51 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/views/xm/core/xmProjectPhase/XmProjectPhaseEdit.vue b/src/views/xm/core/xmProjectPhase/XmProjectPhaseEdit.vue index e2de4143..973bf12c 100644 --- a/src/views/xm/core/xmProjectPhase/XmProjectPhaseEdit.vue +++ b/src/views/xm/core/xmProjectPhase/XmProjectPhaseEdit.vue @@ -1,97 +1,106 @@ + + - - - - - - - - - 标记为里程碑 - - - - - - - - - - - - - - - - - - - - - 工作量计算方式:总工时 = 工作日天数 * 每日工时数 * 人数 - 金额计算方式: 总金额 = 总工时 * 工时单价 - - - 预计时间: - 预估工期:小时 - 工时{{autoParams.phaseBudgetHours}}小时,工作日{{autoParams.weekday}}天 - - - 人员类型 - 人数 - 工作量(人时) - 单价(元/人时) - 总价(元) - - - - 内购 - - - {{autoParams.phaseBudgetInnerUserWorkload}}人时 - - {{this.toFixed(autoParams.phaseBudgetInnerUserAt)}}元,{{this.toFixed(autoParams.phaseBudgetInnerUserAt/10000)}} 万元 - - - 外购 - - - {{autoParams.phaseBudgetOutUserWorkload}}人时 - - {{autoParams.phaseBudgetOutUserAt }} 元 {{autoParams.phaseBudgetOutUserAt/10000 }}万元 + + + + + + + + + + + 标记为里程碑 + + + + + + + + + + + + + + - - - 合计 - {{autoParams.phaseBudgetOutUserCnt+autoParams.phaseBudgetInnerUserCnt}} - - {{autoParams.phaseBudgetOutUserWorkload+autoParams.phaseBudgetInnerUserWorkload }}人时,{{ (autoParams.phaseBudgetOutUserWorkload+autoParams.phaseBudgetInnerUserWorkload)/8/20 }}人月 - {{ (parseFloat2(autoParams.phaseBudgetOutUserPrice) + parseFloat2(autoParams.phaseBudgetInnerUserPrice))/2}}元/人时 - {{autoParams.phaseBudgetTotalCost}} 元,{{(autoParams.phaseBudgetTotalCost)/10000}} 万元 - - - 总计: {{parseFloat2(editForm.phaseBudgetInnerUserAt)+parseFloat2(editForm.phaseBudgetOutUserAt)+parseFloat2(editForm.phaseBudgetNouserAt)}}元 {{this.toFixed(autoParams.phaseBudgetTotalCost/10000)}}万元 - - - - - - - + + + + + 工作量计算方式:总工时 = 工作日天数 * 每日工时数 * 人数 + 金额计算方式: 总金额 = 总工时 * 工时单价 + + + 预计时间: + 预估工期:小时 + 工时{{autoParams.phaseBudgetHours}}小时,工作日{{autoParams.weekday}}天 + + + 人员类型 + 人数 + 工作量(人时) + 单价(元/人时) + 总价(元) + + + + 内购 + + + {{autoParams.phaseBudgetInnerUserWorkload}}人时 + + {{this.toFixed(autoParams.phaseBudgetInnerUserAt)}}元,{{this.toFixed(autoParams.phaseBudgetInnerUserAt/10000)}} 万元 + + + 外购 + + + {{autoParams.phaseBudgetOutUserWorkload}}人时 + + {{autoParams.phaseBudgetOutUserAt }} 元 {{autoParams.phaseBudgetOutUserAt/10000 }}万元 + + + + 合计 + {{autoParams.phaseBudgetOutUserCnt+autoParams.phaseBudgetInnerUserCnt}} + + {{autoParams.phaseBudgetOutUserWorkload+autoParams.phaseBudgetInnerUserWorkload }}人时,{{ (autoParams.phaseBudgetOutUserWorkload+autoParams.phaseBudgetInnerUserWorkload)/8/20 }}人月 + {{ (parseFloat2(autoParams.phaseBudgetOutUserPrice) + parseFloat2(autoParams.phaseBudgetInnerUserPrice))/2}}元/人时 + {{autoParams.phaseBudgetTotalCost}} 元,{{(autoParams.phaseBudgetTotalCost)/10000}} 万元 + + + 总计: {{parseFloat2(editForm.phaseBudgetInnerUserAt)+parseFloat2(editForm.phaseBudgetOutUserAt)+parseFloat2(editForm.phaseBudgetNouserAt)}}元 {{this.toFixed(autoParams.phaseBudgetTotalCost/10000)}}万元 + + + + + + + + + + + + + 取消 @@ -105,7 +114,8 @@ import { listOption } from '@/api/mdp/meta/itemOption';//下拉框数据查询 import { editXmProjectPhase } from '@/api/xm/core/xmProjectPhase'; import { mapGetters } from 'vuex' - + import XmProjectPhaseOverview from './XmProjectPhaseOverview';//新增界面 + export default { computed: { ...mapGetters([ @@ -348,6 +358,7 @@ },//end method components: { + XmProjectPhaseOverview, //在下面添加其它组件 'xm-project-phase-edit':XmProjectPhaseEdit }, mounted() {