| | |
| | | Vue.prototype.HaveJson = (val) => { |
| | | return JSON.parse(JSON.stringify(val)); |
| | | }; |
| | | Vue.prototype.javaApi = "http://114.132.189.42:7012"; |
| | | Vue.prototype.javaApi = "http://192.168.21.53:8001/lims"; |
| | | Vue.prototype.checkPermi = checkPermi; |
| | | Vue.prototype.uploadHeader = { |
| | | Authorization: "Bearer " + getToken(), |
| | |
| | | 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() |