出库状态改为生命周期
其他文档改为电子文档
电子文档新增指派设备结构树
| | |
| | | } |
| | | |
| | | .left-container { |
| | | width: 45%; |
| | | width: 40%; |
| | | height: 100%; |
| | | |
| | | /deep/ .ant-card-body { |
| | |
| | | }, |
| | | { title: '设备编号', dataIndex: 'docCode', align: 'center' }, |
| | | { |
| | | title: '出库状态', |
| | | title: '生命周期', |
| | | dataIndex: 'pullStatus_dictText', |
| | | key: 'pullStatus', |
| | | align: 'center', |
| | |
| | | sorter: true |
| | | }, |
| | | { |
| | | title: '出库状态', |
| | | title: '生命周期', |
| | | dataIndex: 'pullStatus_dictText', |
| | | key: 'pullStatus', |
| | | align: 'center', |
| | |
| | | sorter: true |
| | | }, |
| | | { |
| | | title: '出库状态', |
| | | title: '生命周期', |
| | | dataIndex: 'pullStatus_dictText', |
| | | key: 'pullStatus', |
| | | align: 'center', |
| | |
| | | }, |
| | | { title: '设备编号', dataIndex: 'docCode', align: 'center' }, |
| | | { |
| | | title: '出库状态', |
| | | title: '生命周期', |
| | | dataIndex: 'pullStatus_dictText', |
| | | key: 'pullStatus', |
| | | align: 'center', |
| | |
| | | <!-- |
| | | Description: 检索电子样板List |
| | | Description: 检索电子文档List |
| | | Author: 作者 liuyh |
| | | Date: 2025-02-27 |
| | | --> |
| | |
| | | sorter: true |
| | | }, |
| | | { |
| | | title: '出库状态', |
| | | title: '生命周期', |
| | | dataIndex: 'pullStatus_dictText', |
| | | key: 'pullStatus', |
| | | align: 'center', |
| | |
| | | <!-- |
| | | Description: 检索电子样板List |
| | | Description: 检索电子文档List |
| | | Author: 作者 liuyh |
| | | Date: 2025-02-27 |
| | | --> |
| | |
| | | sorter: true |
| | | }, |
| | | { |
| | | title: '出库状态', |
| | | title: '生命周期', |
| | | dataIndex: 'pullStatus_dictText', |
| | | key: 'pullStatus', |
| | | align: 'center', |
| | |
| | | sorter: true |
| | | }, |
| | | { |
| | | title: '出库状态', |
| | | title: '生命周期', |
| | | dataIndex: 'pullStatus_dictText', |
| | | key: 'pullStatus', |
| | | align: 'center', |
| | |
| | | </a-table> |
| | | |
| | | <DocumentModal ref="modalForm" @ok="modalFormOk"/> |
| | | |
| | | <NcDocumentAssignModal :size="size" ref="documentAssignModalRef" |
| | | :currentDocumentInfo="currentRightClickedDocumentInfo"/> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import { getAction } from '@/api/manage' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import DocumentModal from '../../../../common/DocumentModal' |
| | | import NcDocumentAssignModal from '@views/dnc/base/modules/ProductStructure/Document/NcDocumentAssignModal.vue' |
| | | |
| | | export default { |
| | | name: 'OtherDocumentTableList', |
| | | components: { DocumentModal }, |
| | | components: { NcDocumentAssignModal, DocumentModal }, |
| | | mixins: [JeecgListMixin], |
| | | props: { |
| | | currentTreeNodeInfo: { |
| | |
| | | }, |
| | | { title: '设备编号', dataIndex: 'docCode', align: 'center' }, |
| | | { |
| | | title: '出库状态', |
| | | title: '生命周期', |
| | | dataIndex: 'pullStatus_dictText', |
| | | key: 'pullStatus', |
| | | align: 'center', |
| | |
| | | } |
| | | ], |
| | | dataSource: [], |
| | | currentRightClickedDocumentInfo: {}, |
| | | currentClickedDocumentInfo: {}, |
| | | url: { |
| | | list: '/nc/doc/find/page' |
| | |
| | | watch: { |
| | | currentTreeNodeInfo: { |
| | | handler(value) { |
| | | this.currentClickedDocumentInfo = {} |
| | | this.currentClickedDocumentInfo = this.currentRightClickedDocumentInfo = {} |
| | | }, |
| | | immediate: true |
| | | } |
| | |
| | | on: { |
| | | contextmenu: event => { |
| | | event.preventDefault() |
| | | this.currentRightClickedDocumentInfo = Object.assign({ param: 'OTHER' }, record) |
| | | this.$emit('handleTableContextMenuOpen', { ...record, param: 'OTHER' }) |
| | | }, |
| | | click: () => { |
| | |
| | | this.$refs.modalForm.title = modalTitle |
| | | }, |
| | | |
| | | handleDocumentAssign(record, modalTitle) { |
| | | if (!this.$refs.documentAssignModalRef) return |
| | | this.$refs.documentAssignModalRef.title = modalTitle |
| | | this.$refs.documentAssignModalRef.visible = true |
| | | }, |
| | | |
| | | handleDelete() { |
| | | // 此处函数为屏蔽mixins中的同名函数,通用函数写在父级中 |
| | | }, |
| | |
| | | :size="containerSize"/> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane :key="4" tab="使用设备" v-if="currentLevelInfo.classificationId_dictText==='nc'"> |
| | | <a-tab-pane :key="4" tab="使用设备"> |
| | | <UseDocumentEquipmentTableList ref="useDocumentEquipmentTableRef" :currentDocumentInfo="currentLevelInfo" |
| | | :size="containerSize"/> |
| | | </a-tab-pane> |
| | |
| | | </div> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane :key="2" tab="其他文档"> |
| | | <a-tab-pane :key="2" tab="电子文档"> |
| | | <OtherDocumentTableList ref="otherDocumentTableListRef" :currentTreeNodeInfo="currentTreeNodeInfo" |
| | | @handleTableContextMenuOpen="handleTableContextMenuOpen" :size="tableContainerSize"/> |
| | | </a-tab-pane> |
| | |
| | | { label: '添加部件', code: 'product_add_child', icon: 'plus', isCommonMethod: false }, |
| | | { label: '编辑产品信息', code: 'product_edit', icon: 'edit', isCommonMethod: false }, |
| | | // { label: '导出文档', code: 'product_export', icon: 'export', isCommonMethod: true }, |
| | | { label: '导入其他文档', code: 'product_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子样板', code: 'product_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '导入电子文档', code: 'product_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子文档', code: 'product_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '检索NC文件', code: 'product_search_nc', icon: 'search', isCommonMethod: true }, |
| | | { label: '删除', code: 'product_delete', icon: 'delete', isCommonMethod: true }, |
| | | { label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true } |
| | |
| | | { label: '创建工序', code: 'component_add_relative', icon: 'plus', isCommonMethod: false }, |
| | | { label: '编辑部件信息', code: 'component_edit', icon: 'edit', isCommonMethod: false }, |
| | | // { label: '导出文档', code: 'component_export', icon: 'export', isCommonMethod: true }, |
| | | { label: '导入其他文档', code: 'component_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子样板', code: 'component_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '导入电子文档', code: 'component_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子文档', code: 'component_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '检索NC文件', code: 'component_search_nc', icon: 'search', isCommonMethod: true }, |
| | | { label: '引用部件', code: 'component_borrow', icon: 'plus', isCommonMethod: false }, |
| | | { label: '删除', code: 'component_delete', icon: 'delete', isCommonMethod: true }, |
| | |
| | | // { label: '创建工序', code: 'parts_add_relative', icon: 'plus', isCommonMethod: false }, |
| | | { label: '编辑零件信息', code: 'parts_edit', icon: 'edit', isCommonMethod: false }, |
| | | // { label: '导出文档', code: 'parts_export', icon: 'export', isCommonMethod: true }, |
| | | { label: '导入其他文档', code: 'parts_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子样板', code: 'parts_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '导入电子文档', code: 'parts_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子文档', code: 'parts_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '检索NC文件', code: 'parts_search_nc', icon: 'search', isCommonMethod: true }, |
| | | { label: '删除', code: 'parts_delete', icon: 'delete', isCommonMethod: true }, |
| | | { label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true } |
| | |
| | | { label: '创建工艺规程版本', code: 'version_add', icon: 'plus', isCommonMethod: false }, |
| | | { label: '创建工序', code: 'version_add_child', icon: 'plus', isCommonMethod: false }, |
| | | { label: '编辑工艺规程版本信息', code: 'version_edit', icon: 'edit', isCommonMethod: false }, |
| | | { label: '导入其他文档', code: 'version_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子样板', code: 'version_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '导入电子文档', code: 'version_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子文档', code: 'version_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '检索NC文件', code: 'version_search_nc', icon: 'search', isCommonMethod: true }, |
| | | { label: '删除', code: 'version_delete', icon: 'delete', isCommonMethod: true }, |
| | | { label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true } |
| | |
| | | { label: '删除', code: 'process_delete', icon: 'delete', isCommonMethod: true }, |
| | | // { label: '导出NC程序', code: 'process_export', icon: 'export', isCommonMethod: true }, |
| | | { label: '导入NC程序', code: 'process_nc_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '导入其他文档', code: 'process_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子样板', code: 'process_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '导入电子文档', code: 'process_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子文档', code: 'process_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '检索NC文件', code: 'process_search_nc', icon: 'search', isCommonMethod: true }, |
| | | { label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true }, |
| | | { label: '发送nc程序至三维工艺', code: 'process_send_nc_to_plm', icon: 'import', isCommonMethod: true } |
| | |
| | | { label: '删除', code: 'processStep_delete', icon: 'delete', isCommonMethod: true }, |
| | | // { label: '导出NC程序', code: 'processStep_export', icon: 'import', isCommonMethod: true }, |
| | | { label: '导入NC程序', code: 'processStep_nc_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '导入其他文档', code: 'processStep_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子样板', code: 'processStep_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '导入电子文档', code: 'processStep_other_import', icon: 'import', isCommonMethod: true }, |
| | | { label: '检索电子文档', code: 'processStep_search', icon: 'search', isCommonMethod: true }, |
| | | { label: '检索NC文件', code: 'processStep_search_nc', icon: 'search', isCommonMethod: true }, |
| | | { label: '权限配置', code: 'public_assign_permission', icon: 'idcard', isCommonMethod: true }, |
| | | { label: '发送nc程序至三维工艺', code: 'processStep_send_nc_to_plm', icon: 'import', isCommonMethod: true } |
| | |
| | | }, |
| | | { title: '设备编号', dataIndex: 'docCode', align: 'center' }, |
| | | { |
| | | title: '出库状态', |
| | | title: '生命周期', |
| | | dataIndex: 'pullStatus_dictText', |
| | | key: 'pullStatus', |
| | | align: 'center', |
| | |
| | | <a-descriptions-item label="文档后缀">{{currentLevelDetails.docSuffix}}</a-descriptions-item> |
| | | <a-descriptions-item label="文档状态">{{currentLevelDetails.docDispatchStatus_dictText}}</a-descriptions-item> |
| | | <a-descriptions-item label="系统指定版本">{{currentLevelDetails.publishVersion}}</a-descriptions-item> |
| | | <a-descriptions-item label="出库状态">{{currentLevelDetails.pullStatus_dictText}}</a-descriptions-item> |
| | | <a-descriptions-item label="生命周期">{{currentLevelDetails.pullStatus_dictText}}</a-descriptions-item> |
| | | <a-descriptions-item label="出库人">{{currentLevelDetails.pullUser_dictText}}</a-descriptions-item> |
| | | <a-descriptions-item label="创建人">{{currentLevelDetails.createBy_dictText}}</a-descriptions-item> |
| | | <a-descriptions-item label="创建时间">{{currentLevelDetails.createTime}}</a-descriptions-item> |
| | |
| | | }, |
| | | |
| | | /** |
| | | * 点击导入其他文档时触发 |
| | | * 点击导入电子文档时触发 |
| | | * @param treeNodeInfo 点击树节点右键菜单导入程序时传入树节点信息 |
| | | * @param tableRowInfo 右键表格行时传入行信息 |
| | | * @param modalTitle 弹窗标题 |
| | |
| | | //其它文档 |
| | | OTHER: [ |
| | | { label: '编辑文档信息', code: 'document_edit', subMenu: [], icon: 'edit', isCommonMethod: false }, |
| | | { label: '指派到设备', code: 'document_assign', subMenu: [], icon: 'cluster', isCommonMethod: false }, |
| | | { label: '导入文档', code: 'document_other_import', subMenu: [], icon: 'import', isCommonMethod: true }, |
| | | { label: '下载', code: 'document_download', subMenu: [], icon: 'download', isCommonMethod: true }, |
| | | { label: '删除', code: 'document_delete', subMenu: [], icon: 'delete', isCommonMethod: true }, |
| | |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span='span'> |
| | | <a-form-model-item label='出库状态' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='pullStatus_dictText'> |
| | | <a-form-model-item label='生命周期' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='pullStatus_dictText'> |
| | | <a-input :disabled='coldisabled' v-model='tableRowRecord.pullStatus_dictText'></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span='span'> |
| | | <a-form-model-item label='出库状态' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='pullStatus_dictText'> |
| | | <a-form-model-item label='生命周期' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='pullStatus_dictText'> |
| | | <a-input :disabled='coldisabled' v-model='tableRowRecord.pullStatus_dictText'></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span='span'> |
| | | <a-form-model-item label='出库状态' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='pullStatus_dictText'> |
| | | <a-form-model-item label='生命周期' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='pullStatus_dictText'> |
| | | <a-input :disabled='coldisabled' v-model='tableRowRecord.pullStatus_dictText'></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | dataIndex: 'outActualCount' |
| | | }, |
| | | { |
| | | title:'出库状态', |
| | | title:'生命周期', |
| | | align:"center", |
| | | dataIndex: 'status_dictText' |
| | | }, |
| | |
| | | dataIndex: 'outboundTime' |
| | | }, |
| | | { |
| | | title:'出库状态', |
| | | title:'生命周期', |
| | | align:"center", |
| | | dataIndex: 'outStatus_dictText' |
| | | }, |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="出库状态;1.未出库;2.部分出库;3.出库完成" :labelCol="labelCol" |
| | | <a-form-model-item label="生命周期;1.未出库;2.部分出库;3.出库完成" :labelCol="labelCol" |
| | | :wrapperCol="wrapperCol" prop="status"> |
| | | <a-input-number v-model="model.status" placeholder="请输入出库状态;1.未出库;2.部分出库;3.出库完成" |
| | | <a-input-number v-model="model.status" placeholder="请输入生命周期;1.未出库;2.部分出库;3.出库完成" |
| | | style="width: 100%" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | align:"center", |
| | | dataIndex: 'groupCompanySign' |
| | | }, |
| | | |
| | | |
| | | // { |
| | | // title:'可用库存数量', |
| | | // align:"center", |
| | |
| | | dataIndex: 'positionCode' |
| | | }, |
| | | // { |
| | | // title:'出库状态;1.未出库;2.部分出库;3.出库完成', |
| | | // title:'生命周期;1.未出库;2.部分出库;3.出库完成', |
| | | // align:"center", |
| | | // dataIndex: 'status' |
| | | // }, |
| | |
| | | dataIndex: 'positionCode' |
| | | }, |
| | | // { |
| | | // title:'出库状态;1.未出库;2.部分出库;3.出库完成', |
| | | // title:'生命周期;1.未出库;2.部分出库;3.出库完成', |
| | | // align:"center", |
| | | // dataIndex: 'status' |
| | | // }, |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="出库状态;1.未出库;2.部分出库;3.出库完成" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="status"> |
| | | <a-input-number v-model="model.status"placeholder="请输入出库状态;1.未出库;2.部分出库;3.出库完成" style="width: 100%" /> |
| | | <a-form-model-item label="生命周期;1.未出库;2.部分出库;3.出库完成" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="status"> |
| | | <a-input-number v-model="model.status"placeholder="请输入生命周期;1.未出库;2.部分出库;3.出库完成" style="width: 100%" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | // dataIndex: 'outActualCount' |
| | | // }, |
| | | { |
| | | title:'出库状态', |
| | | title:'生命周期', |
| | | align:"center", |
| | | dataIndex: 'status_dictText' |
| | | }, |
| | |
| | | scopedSlots: { customRender: 'useLife' }, |
| | | }, |
| | | // { |
| | | // title:'出库状态;1.未出库;2.部分出库;3.出库完成', |
| | | // title:'生命周期;1.未出库;2.部分出库;3.出库完成', |
| | | // align:"center", |
| | | // dataIndex: 'status' |
| | | // }, |
| | |
| | | // scopedSlots: { customRender: 'useLife' }, |
| | | // }, |
| | | // { |
| | | // title:'出库状态;1.未出库;2.部分出库;3.出库完成', |
| | | // title:'生命周期;1.未出库;2.部分出库;3.出库完成', |
| | | // align:"center", |
| | | // dataIndex: 'status' |
| | | // }, |
| | |
| | | dataIndex: 'outboundTime' |
| | | }, |
| | | { |
| | | title:'出库状态', |
| | | title:'生命周期', |
| | | align:"center", |
| | | dataIndex: 'outStatus_dictText' |
| | | }, |