王志国
1 month ago
4 changed files with 112 additions and 7 deletions
@ -0,0 +1,48 @@ |
|||
<template> |
|||
<view class=""> |
|||
<product-putaway-record :title="title" ref="productPutawayRecord" putawayType='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" 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