From 265c75bb59b5072d8e4893890296f74b14b83984 Mon Sep 17 00:00:00 2001 From: wuteng <419274783@qq.com> Date: Thu, 31 Jul 2025 14:56:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A7=E7=89=A9=E7=BB=84=E6=89=B9=E6=AC=A1?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/emis/emisBatchGroupLog.js | 12 ++ .../emisTmsSiteBatch/BigBatchGroupMgnt.vue | 15 ++- .../emisTmsSiteBatch/panel/BatchLogList.vue | 121 ++++++++++++++++++ .../panel/BigBatchListPanel.vue | 2 +- 4 files changed, 144 insertions(+), 6 deletions(-) create mode 100644 src/api/emis/emisBatchGroupLog.js create mode 100644 src/views/emis/emisTmsSiteBatch/panel/BatchLogList.vue diff --git a/src/api/emis/emisBatchGroupLog.js b/src/api/emis/emisBatchGroupLog.js new file mode 100644 index 00000000..a9efe5f7 --- /dev/null +++ b/src/api/emis/emisBatchGroupLog.js @@ -0,0 +1,12 @@ +import request from '@/utils/request' + +// 查询批次操作日志列表 +export function listEmisBatchOperLog(batchNo) { + return request({ + url: '/emis/emisTmsSiteBatchLog/getTmsSiteBatchLogList', + method: 'get', + params: { + batchNo: batchNo + } + }) +} diff --git a/src/views/emis/emisTmsSiteBatch/BigBatchGroupMgnt.vue b/src/views/emis/emisTmsSiteBatch/BigBatchGroupMgnt.vue index df477afb..93282bf5 100644 --- a/src/views/emis/emisTmsSiteBatch/BigBatchGroupMgnt.vue +++ b/src/views/emis/emisTmsSiteBatch/BigBatchGroupMgnt.vue @@ -12,7 +12,9 @@ - + + + @@ -22,13 +24,14 @@ import BigBatchListPanel from '@/views/emis/emisTmsSiteBatch/panel/BigBatchListPanel.vue'; import BigBatchEditForm from '@/views/emis/emisTmsSiteBatch/panel/BigBatchEditForm.vue'; import BigBatchViewOnly from '@/views/emis/emisTmsSiteBatch/panel/BigBatchViewOnly.vue'; - +import BatchLogList from '@/views/emis/emisTmsSiteBatch/panel/BatchLogList.vue'; export default { name: "BigBatchGroupMgnt", components: { BigBatchListPanel, BigBatchEditForm, - BigBatchViewOnly + BigBatchViewOnly, + BatchLogList, }, dicts: [ ], @@ -39,6 +42,7 @@ export default { openEditForm:false, openViewForm:false, batchId:null, + batchNo:null, isCopy:false, editTabTitle:'批次编辑', }; @@ -71,8 +75,9 @@ export default { this.editTabTitle='批次复制'; this.activeTab='batchEdit'; }, - onViewBatch(batchId){ - this.batchId=batchId; + onViewBatch(val){ + this.batchId=val.id; + this.batchNo =val.batchNo; this.isCopy = false; this.openViewForm=true; this.activeTab='batchView'; diff --git a/src/views/emis/emisTmsSiteBatch/panel/BatchLogList.vue b/src/views/emis/emisTmsSiteBatch/panel/BatchLogList.vue new file mode 100644 index 00000000..0e261143 --- /dev/null +++ b/src/views/emis/emisTmsSiteBatch/panel/BatchLogList.vue @@ -0,0 +1,121 @@ + + + + + + diff --git a/src/views/emis/emisTmsSiteBatch/panel/BigBatchListPanel.vue b/src/views/emis/emisTmsSiteBatch/panel/BigBatchListPanel.vue index 567cde2b..6f415d47 100644 --- a/src/views/emis/emisTmsSiteBatch/panel/BigBatchListPanel.vue +++ b/src/views/emis/emisTmsSiteBatch/panel/BigBatchListPanel.vue @@ -574,7 +574,7 @@ export default { this.$emit("onCopy",this.ids); }, handleShowBatchInfo(row){ - this.$emit("onView",row.id); + this.$emit("onView",row); }, handleFormChanged(){ this.openForm = false;