Compare commits
2 Commits
9dc8d589f0
...
c2ba4b0193
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2ba4b0193 | ||
|
|
564086c72a |
1494
klp-ui/src/views/wms/coil/do/correntAll.vue
Normal file
1494
klp-ui/src/views/wms/coil/do/correntAll.vue
Normal file
File diff suppressed because it is too large
Load Diff
@@ -26,7 +26,7 @@ export async function fetchOutputList(queryParams) {
|
|||||||
(a, b) => new Date(b.createTime) - new Date(a.createTime)
|
(a, b) => new Date(b.createTime) - new Date(a.createTime)
|
||||||
).map(item => {
|
).map(item => {
|
||||||
// 计算宽度和厚度,将规格按照*分割,*前的是厚度,*后的是宽度
|
// 计算宽度和厚度,将规格按照*分割,*前的是厚度,*后的是宽度
|
||||||
const [thickness, width] = item.specification.split('*')
|
const [thickness, width] = item.specification?.split('*') || [0, 0]
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
computedThickness: parseFloat(thickness),
|
computedThickness: parseFloat(thickness),
|
||||||
@@ -36,12 +36,14 @@ export async function fetchOutputList(queryParams) {
|
|||||||
return sortedList
|
return sortedList
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function fetchLossList(queryParams) {
|
export async function fetchLossList(actionTypes, queryParams) {
|
||||||
const resultList = await Promise.all(this.actionTypes.map(actionType => {
|
const resultList = await Promise.all(actionTypes.map(actionType => {
|
||||||
return listPendingAction({
|
return listPendingAction({
|
||||||
...queryParams,
|
...queryParams,
|
||||||
actionStatus: 2,
|
actionStatus: 2,
|
||||||
actionType,
|
actionType,
|
||||||
|
startTime: queryParams.byCreateTimeStart,
|
||||||
|
endTime: queryParams.byCreateTimeEnd,
|
||||||
pageSize: 99999,
|
pageSize: 99999,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user