Browse Source

修改生产线查询条件 2024/8/6

hella_vue3
王志国 1 month ago
parent
commit
4f503a5380
  1. 4
      src/pages/issue/job/issueJob.vue
  2. 22
      src/pages/repleinsh/job/repleinshJob.vue

4
src/pages/issue/job/issueJob.vue

@ -304,12 +304,12 @@ const getListByFilter = ( param )=>{
value: param.fromLocationCode
})
}
if (param.productionLine) {
if (param.productionLineCode) {
// 线
filters.push({
column: "productionLineCode",
action: "==",
value: param.productionLine
value: param.productionLineCode
})
}
if (param.itemCode) {

22
src/pages/repleinsh/job/repleinshJob.vue

@ -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({

Loading…
Cancel
Save