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