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

<script>
  import SalesReturnEdit from './salesReturnEdit'
  import SalesReturnOrderDetail from './salesReturnOrderDetail'
  export default {
    name: 'stockInDeatail',
    components: { SalesReturnOrderDetail, SalesReturnEdit },
    data() {
      return {
        isEdit: 0
      }
    }

  }

</script>

<style scoped>

</style>
