|
|
@ -2,10 +2,16 @@ |
|
|
|
<view class=""> |
|
|
|
<com-empty-view v-if="jobList.length==0"></com-empty-view> |
|
|
|
|
|
|
|
<job-filter :isShowFromLocationCode="true" |
|
|
|
<job-filter :isShowFromLocationCode="true" :isShowFromAreaCode="true" :isShowToAreaCode="true" |
|
|
|
:isShowProductionLineCode="false" |
|
|
|
ref="filter" otherTitle="" :isShowItemCode="true" |
|
|
|
@onQuery="getListByFilter" :isShowQurery='true'> |
|
|
|
</job-filter> |
|
|
|
|
|
|
|
<!-- <job-filter :isShowFromLocationCode="true" |
|
|
|
ref="filter" otherTitle="" :isShowItemCode="true" |
|
|
|
@onQuery="getListByFilter" :isShowQurery='true'> |
|
|
|
</job-filter> --> |
|
|
|
<view v-if="jobList.length>0"> |
|
|
|
<uni-swipe-action ref="swipeAction"> |
|
|
|
<view v-for="(item, index) in jobList" :key="index"> |
|
|
@ -231,6 +237,23 @@ |
|
|
|
value: queryParams.itemCode |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
//来源库区 |
|
|
|
if (queryParams.fromAreaCode) { |
|
|
|
filterParams.push({ |
|
|
|
column: "fromAreaCode", |
|
|
|
action: "==", |
|
|
|
value: queryParams.fromAreaCode |
|
|
|
}) |
|
|
|
} |
|
|
|
//到库区 |
|
|
|
if (queryParams.toAreaCode) { |
|
|
|
filterParams.push({ |
|
|
|
column: "toAreaCode", |
|
|
|
action: "==", |
|
|
|
value: queryParams.toAreaCode |
|
|
|
}) |
|
|
|
} |
|
|
|
return filterParams; |
|
|
|
|
|
|
|
}, |
|
|
|