Browse Source

删除出库table切换

dev
long 2 years ago
parent
commit
cdfbf3fc30
  1. 22
      src/views/activiti/form/ProcessMaterialsDelivery.vue

22
src/views/activiti/form/ProcessMaterialsDelivery.vue

@ -1,14 +1,11 @@
<template>
<a-card :bordered="false">
<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-materials-delivery-form :dianshang="delivery" :isNew="isNew" :hieg="hieg" @delivery="showType" :processData="processData" :disabled="disabled"
@afterSubmit="afterSub" @close="close" :task="task" @passTask="passTask"
@backTask="backTask" @loadData="loadData"/>
</a-tab-pane>
<a-tab-pane tab="流程节点图" key="2" forceRender>
<historic-pictrue :pictureId="pictureId" :procInstId="procInstId"/>
</a-tab-pane>
@ -16,24 +13,7 @@
<historic-detail :pictureId="pictureId" :procInstId="procInstId"/>
</a-tab-pane>
</a-tabs>
</a-tab-pane>
<a-tab-pane tab="项目部出库" key="2" v-if="noDisabled" forceRender>
<a-tabs style="text-align: center">
<a-tab-pane tab="流程正文" key="1" forceRender>
<process-materials-delivery-form :dianshang="delivery" :isNew="isNew" :hieg="hieg" @delivery="showType" :processData="processData" :disabled="disabled"
@afterSubmit="afterSub" @close="close" :task="task" @passTask="passTask"
@backTask="backTask" @loadData="loadData"/>
</a-tab-pane>
<a-tab-pane tab="流程节点图" key="2" forceRender>
<historic-pictrue :pictureId="pictureId" :procInstId="procInstId"/>
</a-tab-pane>
<a-tab-pane tab="审批历史" key="3" forceRender>
<historic-detail :pictureId="pictureId" :procInstId="procInstId"/>
</a-tab-pane>
</a-tabs>
</a-tab-pane>
</a-tabs>
</a-card>
</template>
@ -90,12 +70,10 @@
//
if (user.orgType==2){
this.delivery = 1
this.noDisabled=false
}
//
if (user.orgType==3){
this.delivery = 2
this.onlineDisabled=false
}
},
methods: {

Loading…
Cancel
Save