|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
<template> |
|
|
|
|
<a-card :bordered="true"> |
|
|
|
|
|
|
|
|
|
<a-tabs style="text-align: center" @change="changeTables"> |
|
|
|
|
<a-tab-pane tab="电商采购" key="1" forceRender> |
|
|
|
|
<a-tabs style="text-align: center" @change="changeTables"> |
|
|
|
|
<a-tab-pane tab="电商采购" key="1" v-if="onlineDisabled" forceRender> |
|
|
|
|
<a-tabs style="text-align: center"> |
|
|
|
|
<a-tab-pane tab="流程正文" key="1" forceRender> |
|
|
|
|
<process-udget-plan-form :dianshang="planType" :isNew="isNew" :processData="processData" :disabled="disabled" @afterSubmit="afterSub" @close="close" :task="task" @passTask="passTask" @backTask="backTask" :hieg="hieg" @loadData="loadData"/> |
|
|
|
|
<process-udget-plan-form :dianshang="planType" :isNew="isNew" :processData="processData" :disabled="disabled" @planType="showType" @afterSubmit="afterSub" @close="close" :task="task" @passTask="passTask" @backTask="backTask" :hieg="hieg" @loadData="loadData"/> |
|
|
|
|
</a-tab-pane> |
|
|
|
|
|
|
|
|
|
<a-tab-pane tab="流程节点图" key="2" forceRender> |
|
|
|
@ -17,10 +17,10 @@
|
|
|
|
|
</a-tabs> |
|
|
|
|
</a-tab-pane> |
|
|
|
|
|
|
|
|
|
<a-tab-pane tab="非电商采购" key="2" forceRender> |
|
|
|
|
<a-tab-pane tab="非电商采购" key="2" v-if="noDisabled" forceRender> |
|
|
|
|
<a-tabs style="text-align: center"> |
|
|
|
|
<a-tab-pane tab="流程正文" key="1" forceRender> |
|
|
|
|
<process-udget-plan-form :dianshang="planType" :isNew="isNew" :processData="processData" :disabled="disabled" @afterSubmit="afterSub" @close="close" :task="task" @passTask="passTask" @backTask="backTask" :hieg="hieg" @loadData="loadData"/> |
|
|
|
|
<process-udget-plan-form :dianshang="planType" :isNew="isNew" :processData="processData" :disabled="disabled" @planType="showType" @afterSubmit="afterSub" @close="close" :task="task" @passTask="passTask" @backTask="backTask" :hieg="hieg" @loadData="loadData"/> |
|
|
|
|
</a-tab-pane> |
|
|
|
|
|
|
|
|
|
<a-tab-pane tab="流程节点图" key="2" forceRender> |
|
|
|
@ -50,15 +50,20 @@
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
|
|
|
|
import ProcessUdgetPlanForm from './ProcessUdgetPlanForm' |
|
|
|
|
import historicPictrue from '../historicPictrue' |
|
|
|
|
import historicDetail from '../historicDetail' |
|
|
|
|
var docxx = require("docx-preview"); |
|
|
|
|
export default { |
|
|
|
|
name: 'ProcessUdgetPlan', |
|
|
|
|
components: {ProcessUdgetPlanForm,historicPictrue, historicDetail}, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
planType:1 |
|
|
|
|
planType:1, |
|
|
|
|
tabKey:2, |
|
|
|
|
noDisabled:true, |
|
|
|
|
onlineDisabled:true |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
props: { |
|
|
|
@ -142,8 +147,15 @@
|
|
|
|
|
this.$emit('loadData') |
|
|
|
|
}, |
|
|
|
|
changeTables(val){ |
|
|
|
|
|
|
|
|
|
this.planType=Number(val); |
|
|
|
|
}, |
|
|
|
|
showType(val){ |
|
|
|
|
if (val==2){ |
|
|
|
|
this.onlineDisabled=false |
|
|
|
|
} |
|
|
|
|
if (val==1){ |
|
|
|
|
this.noDisabled=false |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|