fix(wms报表): 为待办动作列表添加actionStatus参数

统一为所有报表页面的待办动作列表请求添加actionStatus=2参数,确保查询结果的一致性
This commit is contained in:
砂糖
2026-03-05 09:34:30 +08:00
parent 721c48d6a4
commit 8659847e96
10 changed files with 20 additions and 12 deletions

View File

@@ -316,6 +316,7 @@ export default {
async getLossList() {
this.loading = true
const res1 = await listPendingAction({
actionStatus: 2,
actionType: 11, // 酸轧工序
pageSize: 999,
pageNum: 1,
@@ -323,7 +324,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序

View File

@@ -337,6 +337,7 @@ export default {
async getLossList() {
this.loading = true
const res1 = await listPendingAction({
actionStatus: 2,
actionType: 11, // 酸轧工序
pageSize: 999,
pageNum: 1,
@@ -344,7 +345,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序

View File

@@ -392,6 +392,7 @@ export default {
async getLossList() {
this.loading = true
const res1 = await listPendingAction({
actionStatus: 2,
actionType: 11, // 酸轧工序
pageSize: 999,
pageNum: 1,
@@ -399,7 +400,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序

View File

@@ -321,6 +321,7 @@ export default {
async getLossList() {
this.loading = true
const res1 = await listPendingAction({
actionStatus: 2,
actionType: 11, // 酸轧工序
pageSize: 999,
pageNum: 1,
@@ -328,7 +329,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序

View File

@@ -182,7 +182,7 @@ export default {
async getList() {
this.loading = true
const res1 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 11, // 酸轧工序
@@ -192,7 +192,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序

View File

@@ -302,6 +302,7 @@ export default {
async getLossList() {
this.loading = true
const res1 = await listPendingAction({
actionStatus: 2,
actionType: 501, // 镀锌工序
pageSize: 999,
pageNum: 1,
@@ -309,7 +310,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序

View File

@@ -323,6 +323,7 @@ export default {
async getLossList() {
this.loading = true
const res1 = await listPendingAction({
actionStatus: 2,
actionType: 501, // 镀锌工序
pageSize: 999,
pageNum: 1,
@@ -330,7 +331,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序

View File

@@ -379,6 +379,7 @@ export default {
async getLossList() {
this.loading = true
const res1 = await listPendingAction({
actionStatus: 2,
actionType: 501, // 镀锌工序
pageSize: 999,
pageNum: 1,
@@ -386,7 +387,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序

View File

@@ -305,6 +305,7 @@ export default {
async getLossList() {
this.loading = true
const res1 = await listPendingAction({
actionStatus: 2,
actionType: 501, // 镀锌工序
pageSize: 999,
pageNum: 1,
@@ -312,7 +313,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序

View File

@@ -182,7 +182,7 @@ export default {
async getList() {
this.loading = true
const res1 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 501, // 镀锌工序
@@ -192,7 +192,7 @@ export default {
endTime: this.queryParams.byCreateTimeEnd,
})
const res2 = await listPendingAction({
// actionStatus: 2,
actionStatus: 2,
warehouseId: this.queryParams.planId,
// actionType: 401,
actionType: 120, // 分条工序