| | |
| | | selectStandardTreeList2 |
| | | } from "@/api/business/rawMaterialOrder"; |
| | | import { |
| | | addInsOrder, delInsOrderTemplate, |
| | | addInsOrder, addInsOrderTemplate, delInsOrderTemplate, |
| | | getQuarterOnOrder, |
| | | selectOrderManDay, |
| | | updateInsOrder, |
| | |
| | | sampleList: this.sampleList, |
| | | selectTree:this.selectTree |
| | | }) |
| | | }, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | | } |
| | | }).then(res => { |
| | | if (res.code == 201) return |
| | | this.templateLoading = false; |
| | | this.templateDia = false; |
| | | this.$message.success('保存成功') |
| | | this.selectInsOrderTemplate() |
| | | this.templateName = '' |
| | | }).catch(e => { |
| | | this.templateLoading = false; |
| | | }) |
| | | } else { |
| | | this.$message.error('请填写模板名称') |
| | |
| | | }, |
| | | // 辅助线芯配置 |
| | | openAuxiliaryCore () { |
| | | if (this.active === 1) { |
| | | if (this.active == 1) { |
| | | if (this.sampleIds.length === 0) { |
| | | this.$message.error("未选择样品") |
| | | } else if (this.sampleIds.length === 1) { |
| | |
| | | } |
| | | }, |
| | | openCableConfig() { |
| | | if (this.active === 1) { |
| | | if (this.active == 1) { |
| | | if (this.sampleIds.length === 0) { |
| | | this.$message.error("未选择样品") |
| | | } else if (this.sampleIds.length === 1) { |