12345678910111213141516171819202122232425 |
- <template>
- <stock-in-order-detail v-if="isEdit == 0" v-on:edit-record="isEdit = 1"></stock-in-order-detail>
- <stock-in-order-edit v-else></stock-in-order-edit>
- </template>
-
- <script>
- import StockInOrderDetail from './drugStockInOrderDetail'
- import StockInOrderEdit from './drugStockInOrderEdit'
- export default {
- name: 'stockInDeatail',
- components: { StockInOrderEdit, StockInOrderDetail },
- data() {
- return {
- isEdit: 0
- }
- }
-
- }
-
- </script>
-
- <style scoped>
-
- </style>
|