fix(wms报表): 为待办动作列表添加actionStatus参数
统一为所有报表页面的待办动作列表请求添加actionStatus=2参数,确保查询结果的一致性
This commit is contained in:
@@ -316,6 +316,7 @@ export default {
|
|||||||
async getLossList() {
|
async getLossList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
|
actionStatus: 2,
|
||||||
actionType: 11, // 酸轧工序
|
actionType: 11, // 酸轧工序
|
||||||
pageSize: 999,
|
pageSize: 999,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@@ -323,7 +324,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
@@ -337,6 +337,7 @@ export default {
|
|||||||
async getLossList() {
|
async getLossList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
|
actionStatus: 2,
|
||||||
actionType: 11, // 酸轧工序
|
actionType: 11, // 酸轧工序
|
||||||
pageSize: 999,
|
pageSize: 999,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@@ -344,7 +345,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
@@ -392,6 +392,7 @@ export default {
|
|||||||
async getLossList() {
|
async getLossList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
|
actionStatus: 2,
|
||||||
actionType: 11, // 酸轧工序
|
actionType: 11, // 酸轧工序
|
||||||
pageSize: 999,
|
pageSize: 999,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@@ -399,7 +400,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
@@ -321,6 +321,7 @@ export default {
|
|||||||
async getLossList() {
|
async getLossList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
|
actionStatus: 2,
|
||||||
actionType: 11, // 酸轧工序
|
actionType: 11, // 酸轧工序
|
||||||
pageSize: 999,
|
pageSize: 999,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@@ -328,7 +329,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ export default {
|
|||||||
async getList() {
|
async getList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 11, // 酸轧工序
|
actionType: 11, // 酸轧工序
|
||||||
@@ -192,7 +192,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
@@ -302,6 +302,7 @@ export default {
|
|||||||
async getLossList() {
|
async getLossList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
|
actionStatus: 2,
|
||||||
actionType: 501, // 镀锌工序
|
actionType: 501, // 镀锌工序
|
||||||
pageSize: 999,
|
pageSize: 999,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@@ -309,7 +310,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
@@ -323,6 +323,7 @@ export default {
|
|||||||
async getLossList() {
|
async getLossList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
|
actionStatus: 2,
|
||||||
actionType: 501, // 镀锌工序
|
actionType: 501, // 镀锌工序
|
||||||
pageSize: 999,
|
pageSize: 999,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@@ -330,7 +331,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
@@ -379,6 +379,7 @@ export default {
|
|||||||
async getLossList() {
|
async getLossList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
|
actionStatus: 2,
|
||||||
actionType: 501, // 镀锌工序
|
actionType: 501, // 镀锌工序
|
||||||
pageSize: 999,
|
pageSize: 999,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@@ -386,7 +387,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
@@ -305,6 +305,7 @@ export default {
|
|||||||
async getLossList() {
|
async getLossList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
|
actionStatus: 2,
|
||||||
actionType: 501, // 镀锌工序
|
actionType: 501, // 镀锌工序
|
||||||
pageSize: 999,
|
pageSize: 999,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@@ -312,7 +313,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ export default {
|
|||||||
async getList() {
|
async getList() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const res1 = await listPendingAction({
|
const res1 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 501, // 镀锌工序
|
actionType: 501, // 镀锌工序
|
||||||
@@ -192,7 +192,7 @@ export default {
|
|||||||
endTime: this.queryParams.byCreateTimeEnd,
|
endTime: this.queryParams.byCreateTimeEnd,
|
||||||
})
|
})
|
||||||
const res2 = await listPendingAction({
|
const res2 = await listPendingAction({
|
||||||
// actionStatus: 2,
|
actionStatus: 2,
|
||||||
warehouseId: this.queryParams.planId,
|
warehouseId: this.queryParams.planId,
|
||||||
// actionType: 401,
|
// actionType: 401,
|
||||||
actionType: 120, // 分条工序
|
actionType: 120, // 分条工序
|
||||||
|
|||||||
Reference in New Issue
Block a user