niexiting
4 months ago
3 changed files with 78 additions and 75 deletions
@ -1,49 +1,48 @@ |
|||
<template> |
|||
<view class=""> |
|||
<product-putaway-record :title="title" ref="productPutawayRecord" putawayType='predict'></product-putaway-record> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import productPutawayRecord from '@/pages/productPutaway/record/productPutawayRecord.vue' |
|||
|
|||
export default { |
|||
components: { |
|||
productPutawayRecord |
|||
}, |
|||
data() { |
|||
return { |
|||
title:'' |
|||
}; |
|||
}, |
|||
|
|||
onLoad(option){ |
|||
//this.title = option.title |
|||
}, |
|||
|
|||
onShow() { |
|||
// if(this.$refs.productPutawayRecord!=undefined){ |
|||
// this.$refs.productPutawayRecord.refresh(); |
|||
// } |
|||
}, |
|||
|
|||
onPullDownRefresh() { |
|||
// this.$refs.productPutawayRecord.refresh(); |
|||
}, |
|||
onNavigationBarButtonTap(e) { |
|||
// if (e.index === 0) { |
|||
// this.$refs.productPutawayRecord.toHome(); |
|||
// } else if (e.index == 1) { |
|||
// this.$refs.productPutawayRecord.openFilter(); |
|||
// } |
|||
}, |
|||
|
|||
methods: { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
|
|||
</style> |
|||
<view class=""> |
|||
<product-putaway-record :title="title" ref="productPutawayRecord" putawayType='predict'></product-putaway-record> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import productPutawayRecord from '@/pages/productPutaway/record/productPutawayRecord.vue' |
|||
|
|||
export default { |
|||
components: { |
|||
productPutawayRecord |
|||
}, |
|||
data() { |
|||
return { |
|||
title:'' |
|||
}; |
|||
}, |
|||
onLoad(option){ |
|||
this.title = option.title |
|||
}, |
|||
|
|||
onShow() { |
|||
if(this.$refs.productPutawayRecord!=undefined){ |
|||
this.$refs.productPutawayRecord.refresh(); |
|||
} |
|||
}, |
|||
|
|||
onPullDownRefresh() { |
|||
this.$refs.productPutawayRecord.refresh(); |
|||
}, |
|||
onNavigationBarButtonTap(e) { |
|||
if (e.index === 0) { |
|||
this.$refs.productPutawayRecord.toHome(); |
|||
} else if (e.index == 1) { |
|||
this.$refs.productPutawayRecord.openFilter(); |
|||
} |
|||
}, |
|||
|
|||
methods: { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
|
|||
</style> |
Loading…
Reference in new issue