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 value: param.fromLocationCode
}) })
} }
if (param.productionLine) { if (param.productionLineCode) {
// 线 // 线
filters.push({ filters.push({
column: "productionLineCode", column: "productionLineCode",
action: "==", action: "==",
value: param.productionLine value: param.productionLineCode
}) })
} }
if (param.itemCode) { if (param.itemCode) {

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

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

Loading…
Cancel
Save