<template>
  <stock-out-order-detail v-if="isEdit == 0"   v-on:edit-record="isEdit = 1"></stock-out-order-detail>
  <stock-out-edit v-else></stock-out-edit>
</template>

<script>
  import StockOutOrderDetail from './drugStockOutOrderDetail'
  import StockOutEdit from './drugStockOutOrderEdit'
  export default {
    name: 'stockInDeatail',
    components: { StockOutEdit, StockOutOrderDetail},
    data() {
      return {
        isEdit: 0
      }
    }

  }

</script>

<style scoped>

</style>
