<template> <view :class="dataContent.scaned?'scan_view':''"> <balance :dataContent="dataContent" :isShowStdPack="false" :isShowPack="isShowPack" :isShowLocation="isShowLocation"></balance> <production-info :dataContent="packageContent"></production-info> </view> </template> <script> import balance from '@/mycomponents/balance/balance.vue' import productionInfo from '@/mycomponents/production/productionInfo.vue' export default { components: { balance, productionInfo }, data() { return { } }, props: { dataContent: { type: Object, default: {} }, packageContent: { type: Object, default: {} }, isShowPack: { type: Boolean, default: true }, isShowBatch: { type: Boolean, default: true }, isShowLocation: { type: Boolean, default: true }, isShowStdPack: { type: Boolean, default: true } }, watch: { }, methods: { } } </script> <style> </style>