Browse Source

补料任务,来源库位

hella_online_20240829
yufei0306 4 months ago
parent
commit
c9106101cd
  1. 19
      src/pages/repleinsh/job/repleinshJob.vue

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

@ -1,9 +1,9 @@
<template>
<view class="">
<com-empty-view v-if="jobList.length==0"></com-empty-view>
<job-filter ref="filter" otherTitle="ASN" @switchChangeToday="switchChangeToday"
<job-filter :isShowFromLocationCode="true" ref="filter" otherTitle="ASN" @switchChangeToday="switchChangeToday"
@switchChangeWait="switchChangeWait" @onScanNumber="getScanNumber" :checkedToday="checkedToday"
:checkedWaitTask="checkedWaitTask">
:checkedWaitTask="checkedWaitTask" @fromLocationCode="fromLocationCode">
</job-filter>
<view v-if="jobList.length>0">
<uni-swipe-action ref="swipeAction">
@ -113,7 +113,7 @@
},
methods: {
getList(type) {
getList(type, fromLocationCode = '') {
let that = this;
uni.showLoading({
@ -141,7 +141,14 @@
action: "in",
value: this.status
})
if (fromLocationCode != '') {
//
filters.push({
column: "fromLocationCode",
action: "==",
value: fromLocationCode
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -177,6 +184,10 @@
that.showMessage(error)
})
},
fromLocationCode(fromLocationCode) {
console.log('fromLocationCode', fromLocationCode)
this.getList('refresh', fromLocationCode, '')
},
openJobDetail(item) {
uni.navigateTo({

Loading…
Cancel
Save