From 6cbb7586ade45ba997fbd6437ccdb7c8a0caa9d7 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 21 Nov 2024 13:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E6=96=99=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/detail.js | 3 +++ src/pages/issue/job/issueDetailBatch.vue | 7 ++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/detail.js b/src/common/detail.js index ad26df7b..59722ec2 100644 --- a/src/common/detail.js +++ b/src/common/detail.js @@ -84,6 +84,9 @@ export function getThreeDataSource(data) { items = data.subList return items; } + + + export function getDataSource(subList) { let items = []; subList.forEach(detail => { diff --git a/src/pages/issue/job/issueDetailBatch.vue b/src/pages/issue/job/issueDetailBatch.vue index f3aade3f..ddcc65ea 100644 --- a/src/pages/issue/job/issueDetailBatch.vue +++ b/src/pages/issue/job/issueDetailBatch.vue @@ -66,10 +66,6 @@ compareAsc, } from '@/common/basic.js'; - import { - getDataSource - } from '@/pages/issue/js/issue.js'; - import { getManagementPrecisions } from '@/common/balance.js'; @@ -79,6 +75,7 @@ import { + getDataSourceBatch, getTreeDataSource, calcTreeHandleQty, getScanCount, @@ -221,7 +218,7 @@ that.jobContent = res.data; that.jobStatus = res.data.status that.subList = res.data.subList; - that.detailSource = getThreeDataSource(that.jobContent) + that.detailSource = getDataSourceBatch(that.subList) that.jobContent.detailToLocationCode = res.data.subList[0].toLocationCode that.toLocationCode= res.data.subList[0].toLocationCode that.fromLocationCode = that.subList[0].fromLocationCode