文件名从 src/views/business/productOrder/components/add.vue 修改 |
| | |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | export default { |
| | | name: 'Add', |
| | | name: 'AddView', |
| | | components: { |
| | | limsTable, |
| | | cableConfig, |
| | |
| | | this.active = this.$route.query.active |
| | | this.tabIndex = this.$route.query.tabIndex |
| | | this.currentId = this.$route.query.currentId |
| | | this.getUserNowData() |
| | | this.getInfo() |
| | | }, |
| | | activated() { |
| | | this.$refs.addObj.resetFields() |
| | | this.addObj.createTime = '' |
| | | this.addObj.id = '' |
| | | this.addObj.updateTime = '' |
| | | this.sampleList = [] |
| | | this.productList = [] |
| | | this.active = this.$route.query.active |
| | | this.tabIndex = this.$route.query.tabIndex |
| | | this.currentId = this.$route.query.currentId |