| | |
| | | :size="containerSize"/> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane :key="4" tab="使用设备" v-if="+currentLevelInfo.attributionType===5"> |
| | | <a-tab-pane :key="4" tab="使用设备" v-if="currentLevelInfo.classificationId_dictText==='nc'"> |
| | | <UseDocumentEquipmentTableList ref="useDocumentEquipmentTableRef" :currentDocumentInfo="currentLevelInfo" |
| | | :size="containerSize"/> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane :key="5" tab="刀具列表"> |
| | | <a-tab-pane :key="5" tab="刀具列表" v-if="currentLevelInfo.classificationId_dictText==='nc'"> |
| | | <CutterTableList ref="cutterTableListRef" :currentLevelInfo="currentLevelInfo" :size="containerSize"/> |
| | | </a-tab-pane> |
| | | |
| | |
| | | <DocumentInfoFlow ref="flowTableListRef" :currentLevelDetails="currentLevelInfo" :size="containerSize"/> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane :key="7" tab="批次列表"> |
| | | <a-tab-pane :key="7" tab="批次列表" v-if="currentLevelInfo.classificationId_dictText==='nc'"> |
| | | <GuideCardBatchList ref="guideCardBatchInfoRef" :guideCardBatchInfo="currentLevelInfo" :size="containerSize"/> |
| | | </a-tab-pane> |
| | | |
| | |
| | | this.$bus.$on('reloadMainBottomTableData', this.reloadMainBottomTableData) |
| | | this.getCutterListDisplayPermission('dnc_cutter_process', 'isProcessHasCutterList') |
| | | this.getCutterListDisplayPermission('dnc_cutter_step', 'isProcessStepHasCutterList') |
| | | this.$bus.$on('reloadCutterList', this.reloadCutterList) |
| | | }, |
| | | |
| | | // 在beforeDestroy钩子中移除 |
| | | beforeDestroy() { |
| | | this.$bus.$off('reloadCutterList', this.reloadCutterList) |
| | | }, |
| | | |
| | | methods: { |
| | | /** |
| | | * 获取刀具列表在工序和工步层级的展示权限 |
| | |
| | | }) |
| | | }, |
| | | |
| | | reloadCutterList() { |
| | | if (this.$refs.cutterTableListRef) { |
| | | this.$refs.cutterTableListRef.searchQuery(1) |
| | | } |
| | | }, |
| | | |
| | | /** |
| | | * 接收树组件以及表格传来的当前选中或点击的项信息 |
| | | * @param levelInfo 当前层级信息 |