Browse Source

上拉加载更多

hella_online_20240829
yufei0306 3 months ago
parent
commit
6b89f51a0b
  1. 23
      src/pages/purchaseReceipt/job/receiptJob.vue

23
src/pages/purchaseReceipt/job/receiptJob.vue

@ -82,16 +82,16 @@
},
props: {
operation: "receipt" ,//reject
isShowAsn:{
operation: "receipt", //reject
isShowAsn: {
type: Boolean,
default: true
},
isShowJob:{
isShowJob: {
type: Boolean,
default: true
},
scanTitle:{
scanTitle: {
type: String,
default: '箱标签'
}
@ -140,6 +140,13 @@
},
methods: {
onReach() {
//
if (this.loadingType == 'loading' || this.loadingType == 'nomore') {
return;
}
this.getList("more");
},
refresh() {
this.getList('refresh');
},
@ -345,14 +352,14 @@
try {
let filters = []
if(result.label.barType=="BarCode"){
if (result.label.barType == "BarCode") {
// ASN
filters = [{
column: "asn_number",
action: "==",
value: result.label.code
}]
}else{
} else {
filters = [{
column: "packingNumber",
action: "==",
@ -394,8 +401,8 @@
item.selected = false
})
let list = []
resultList.forEach(item=>{
if(!list.find(subItem=>subItem.title==item.title)){
resultList.forEach(item => {
if (!list.find(subItem => subItem.title == item.title)) {
list.push(item)
}
})

Loading…
Cancel
Save