From d289be3b10e9b259625ca9128b54bc62950c4e48 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期一, 08 九月 2025 17:57:49 +0800 Subject: [PATCH] 出库状态改为生命周期 其他文档改为电子文档 电子文档新增指派设备结构树 --- src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue b/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue index 2fad9dd..685236f 100644 --- a/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue +++ b/src/views/dnc/base/modules/DeviceStructure/Document/HasReceivedDocumentTableList.vue @@ -9,6 +9,9 @@ </a-table> <DocumentModal ref="modalForm" @ok="modalFormOk"/> + + <has-received-document-assign-modal :size="size" ref="documentAssignModalRef" + :currentDocumentInfo="currentRightClickedDocumentInfo"/> </div> </template> @@ -16,17 +19,18 @@ import { getAction } from '@/api/manage' import { JeecgListMixin } from '@/mixins/JeecgListMixin' import DocumentModal from '../../../../common/DocumentModal.vue' + import HasReceivedDocumentAssignModal from './HasReceivedDocumentAssignModal' export default { name: 'HasReceivedDocumentTableList', - components: { DocumentModal }, + components: { HasReceivedDocumentAssignModal, DocumentModal }, mixins: [JeecgListMixin], props: { currentTreeNodeInfo: { type: Object }, - currentTypeOfDevice:{ - type:Number + currentTypeOfDevice: { + type: Number }, size: { type: String @@ -51,12 +55,12 @@ dataIndex: 'docName', key: 'docName', align: 'center', - scopedSlots: {customRender: 'docName'}, + scopedSlots: { customRender: 'docName' }, width: 300, sorter: true }, { - title: '鍑哄簱鐘舵��', + title: '鐢熷懡鍛ㄦ湡', dataIndex: 'pullStatus_dictText', key: 'pullStatus', align: 'center', @@ -185,7 +189,12 @@ this.$refs.modalForm.title = modalTitle }, - handleDocumentAssign(record, modalTitle) { + /** + * 鎺у埗鎸囨淳鍒颁骇鍝佸脊绐� + * @param record 琛ㄦ牸琛屼俊鎭� + * @param modalTitle 寮圭獥鏍囬 + */ + handleDocumentRecAssign(record, modalTitle) { this.$refs.documentAssignModalRef.title = modalTitle this.$refs.documentAssignModalRef.visible = true }, -- Gitblit v1.9.3