|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<view class=""> |
|
|
|
<receipt-job ref="receiptjob" operation="reject"></receipt-job> |
|
|
|
<receipt-job :title="title" ref="receiptjob" operation="reject"></receipt-job> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
@ -10,6 +10,7 @@ import { onShow, onNavigationBarButtonTap, onReady, onReachBottom, onPullDownRef |
|
|
|
import receiptJob from '@/pages/purchaseReceipt/job/receiptJob.vue' |
|
|
|
|
|
|
|
const receiptjob = ref() |
|
|
|
const title = ref('') |
|
|
|
onShow(() => { |
|
|
|
nextTick(() => { |
|
|
|
if (receiptjob.value != undefined) { |
|
|
@ -17,6 +18,9 @@ onShow(() => { |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
onLoad((option) => { |
|
|
|
title.value = option.title |
|
|
|
}) |
|
|
|
onPullDownRefresh(() => { |
|
|
|
receiptjob.value.refresh() |
|
|
|
}) |
|
|
|