|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<com-empty-view v-if="jobList.length == 0"></com-empty-view> |
|
|
<com-empty-view v-if="jobList.length == 0"></com-empty-view> |
|
|
<job-filter :isShowFromLocationCode="true" :isShowProductionLineCode="true" :productionline="productionlineList" |
|
|
<job-filter :isShowFromLocationCode="true" :isShowProductionLineCode="false" :productionline="productionlineList" |
|
|
ref="filter" otherTitle="" @switchChangeToday="switchChangeToday" @switchChangeWait="switchChangeWait" |
|
|
ref="filter" otherTitle="" @switchChangeToday="switchChangeToday" @switchChangeWait="switchChangeWait" |
|
|
@onScanNumber="getScanNumber" :checkedToday="checkedToday" :checkedWaitTask="checkedWaitTask" |
|
|
@onScanNumber="getScanNumber" :checkedToday="checkedToday" :checkedWaitTask="checkedWaitTask" |
|
|
:isShowItemCode="true" @productionLineCode="productionLineCode" @fromLocationCode="fromLocationCode" |
|
|
:isShowItemCode="true" @productionLineCode="productionLineCode" @fromLocationCode="fromLocationCode" |
|
@ -155,8 +155,8 @@ const getList = (type, fromLocationCode = '') => { |
|
|
filters, |
|
|
filters, |
|
|
pageNo: pageNo.value, |
|
|
pageNo: pageNo.value, |
|
|
pageSize: pageSize.value, |
|
|
pageSize: pageSize.value, |
|
|
sort: 'number', |
|
|
// sort: 'number', |
|
|
by: 'desc' |
|
|
// by: 'desc' |
|
|
} |
|
|
} |
|
|
getRepleinshJobList(params) |
|
|
getRepleinshJobList(params) |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
@ -367,14 +367,14 @@ const getListByFilter = ( param )=>{ |
|
|
value: param.fromLocationCode |
|
|
value: param.fromLocationCode |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
if (param.productionLine) { |
|
|
// if (param.productionLine) { |
|
|
// 生产线 |
|
|
// // 生产线 |
|
|
filters.push({ |
|
|
// filters.push({ |
|
|
column: "productionLineCode", |
|
|
// column: "productionLineCode", |
|
|
action: "==", |
|
|
// action: "==", |
|
|
value: param.productionLine |
|
|
// value: param.productionLine |
|
|
}) |
|
|
// }) |
|
|
} |
|
|
// } |
|
|
if (param.itemCode) { |
|
|
if (param.itemCode) { |
|
|
// 生产线 |
|
|
// 生产线 |
|
|
filters.push({ |
|
|
filters.push({ |
|
|