| | |
| | | this.getInfoRow(); |
| | | }, |
| | | 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.currentId = this.$route.query.currentId |
| | | this.getInfoRow(); |
| | |
| | | this.$set(this.addObj, 'buyUnitMeas', res.data.insOrderTemplate.buyUnitMeas) |
| | | this.$set(this.addObj, 'updateBatchNo', res.data.insOrderTemplate.updateBatchNo) |
| | | this.$set(this.addObj, 'supplierName', res.data.insOrderTemplate.supplierName) |
| | | this.$set(this.addObj, 'declareDate', res.data.insOrderTemplate.declareDate) |
| | | this.addObj.type = String(this.addObj.type) |
| | | this.sampleList = this.HaveJson(res.data.sampleProduct); |
| | | this.getProNum() |