niexiting
4 months ago
4 changed files with 123 additions and 9 deletions
@ -0,0 +1,48 @@ |
|||||
|
<template> |
||||
|
<view class=""> |
||||
|
<product-putaway-record :title="title" ref="productPutawayRecord" type='assemble'></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> |
@ -0,0 +1,48 @@ |
|||||
|
<template> |
||||
|
<view class=""> |
||||
|
<product-putaway-record :title="title" ref="productPutawayRecord" type='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