<template>
  <view :class="dataContent.scaned ? 'scan_view' : ''">
    <balance :dataContent="dataContent" :isShowStdPack="false" :isShowPack="isShowPack" :isShowFromLocation="isShowLocation"></balance>
    <production-info :dataContent="packageContent"></production-info>
  </view>
</template>

<script setup lang="ts">
import balance from '@/mycomponents/balance/balance.vue'
import productionInfo from '@/mycomponents/production/productionInfo.vue'

const props = defineProps({
  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
  }
})
</script>

<style></style>
