|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<view class=""> |
|
|
|
<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" |
|
|
|
@onScanNumber="getScanNumber" :checkedToday="checkedToday" :checkedWaitTask="checkedWaitTask" |
|
|
|
:isShowItemCode="true" @productionLineCode="productionLineCode" @fromLocationCode="fromLocationCode" |
|
|
@ -155,8 +155,8 @@ const getList = (type, fromLocationCode = '') => { |
|
|
|
filters, |
|
|
|
pageNo: pageNo.value, |
|
|
|
pageSize: pageSize.value, |
|
|
|
sort: 'number', |
|
|
|
by: 'desc' |
|
|
|
// sort: 'number', |
|
|
|
// by: 'desc' |
|
|
|
} |
|
|
|
getRepleinshJobList(params) |
|
|
|
.then((res) => { |
|
|
@ -367,14 +367,14 @@ const getListByFilter = ( param )=>{ |
|
|
|
value: param.fromLocationCode |
|
|
|
}) |
|
|
|
} |
|
|
|
if (param.productionLine) { |
|
|
|
// 生产线 |
|
|
|
filters.push({ |
|
|
|
column: "productionLineCode", |
|
|
|
action: "==", |
|
|
|
value: param.productionLine |
|
|
|
}) |
|
|
|
} |
|
|
|
// if (param.productionLine) { |
|
|
|
// // 生产线 |
|
|
|
// filters.push({ |
|
|
|
// column: "productionLineCode", |
|
|
|
// action: "==", |
|
|
|
// value: param.productionLine |
|
|
|
// }) |
|
|
|
// } |
|
|
|
if (param.itemCode) { |
|
|
|
// 生产线 |
|
|
|
filters.push({ |
|
|
|