wangyufei
3 weeks ago
6 changed files with 184 additions and 9 deletions
@ -0,0 +1,52 @@ |
|||
<template> |
|||
<view class=""> |
|||
<receipt-job :title="title" source_type="Develop" scanTitle="箱标签/ASN单号" :isShowAsn="false" :isShowJob="false" ref="receiptjob" operation='receipt'></receipt-job> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import receiptJob from '@/pages/purchaseReceipt/job/receiptJob.vue' |
|||
|
|||
export default { |
|||
name: 'purchaseReceiptTool', |
|||
components: { |
|||
receiptJob |
|||
}, |
|||
data() { |
|||
return { |
|||
title:'' |
|||
}; |
|||
}, |
|||
onShow() { |
|||
if(this.$refs.receiptjob!=undefined){ |
|||
this.$refs.receiptjob.refresh(); |
|||
} |
|||
}, |
|||
onLoad(option) { |
|||
this.title = option.title |
|||
}, |
|||
|
|||
onPullDownRefresh() { |
|||
this.$refs.receiptjob.refresh(); |
|||
}, |
|||
|
|||
onReachBottom() { |
|||
this.$refs.receiptjob.onReach(); |
|||
}, |
|||
onNavigationBarButtonTap(e) { |
|||
if (e.index === 0) { |
|||
this.$refs.receiptjob.goHome(); |
|||
// this.$refs.receiptjob.refresh(); |
|||
} else if (e.index == 1) { |
|||
this.$refs.receiptjob.openFilter(); |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
|
|||
</style> |
@ -0,0 +1,52 @@ |
|||
<template> |
|||
<view class=""> |
|||
<receipt-job :title="title" source_type="TOOL" scanTitle="箱标签/ASN单号" :isShowAsn="false" :isShowJob="false" ref="receiptjob" operation='receipt'></receipt-job> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import receiptJob from '@/pages/purchaseReceipt/job/receiptJob.vue' |
|||
|
|||
export default { |
|||
name: 'purchaseReceiptTool', |
|||
components: { |
|||
receiptJob |
|||
}, |
|||
data() { |
|||
return { |
|||
title:'' |
|||
}; |
|||
}, |
|||
onShow() { |
|||
if(this.$refs.receiptjob!=undefined){ |
|||
this.$refs.receiptjob.refresh(); |
|||
} |
|||
}, |
|||
onLoad(option) { |
|||
this.title = option.title |
|||
}, |
|||
|
|||
onPullDownRefresh() { |
|||
this.$refs.receiptjob.refresh(); |
|||
}, |
|||
|
|||
onReachBottom() { |
|||
this.$refs.receiptjob.onReach(); |
|||
}, |
|||
onNavigationBarButtonTap(e) { |
|||
if (e.index === 0) { |
|||
this.$refs.receiptjob.goHome(); |
|||
// this.$refs.receiptjob.refresh(); |
|||
} else if (e.index == 1) { |
|||
this.$refs.receiptjob.openFilter(); |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
|
|||
</style> |
Loading…
Reference in new issue