Browse Source

修改发料任务显示问题

intex
lijuncheng 2 days ago
parent
commit
6cbb7586ad
  1. 3
      src/common/detail.js
  2. 7
      src/pages/issue/job/issueDetailBatch.vue

3
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 => {

7
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

Loading…
Cancel
Save