| | |
| | | this.selectInsOrderTemplate() |
| | | this.getAuthorizedPerson(); |
| | | this.selectEnumByCategoryForUnit() |
| | | if (this.active == 1) { |
| | | // 下单流程 |
| | | } else { |
| | | if (this.active != 1){ |
| | | // 查看/审核流程 |
| | | // 请求接口,回显数据 |
| | | this.$axios.post(this.$api.insOrder.getInsOrder, { |
| | |
| | | this.$message.error('未选择紧急程度') |
| | | } else if (this.sampleList.length < 1) { |
| | | this.$message.error('请添加一个样品') |
| | | } else if (!this.sampleList.every(m => m.sampleCode)) { |
| | | this.$message.error('输入样品编号') |
| | | }else if (!this.sampleList.every(m => m.sample)) { |
| | | } else if (!this.sampleList.every(m => m.sample)) { |
| | | this.$message.error('输入样品名称') |
| | | }else if (!this.sampleList.every(m => m.model)) { |
| | | this.$message.error('输入样品型号') |
| | | }else if (!this.sampleList.every(m => m.standardMethodListId)) { |
| | | }else if (!this.sampleList.every(m => m.method)) { |
| | | this.$message.error('选择检验标准') |
| | | }else if (!this.sampleList.every(m => m.unit)) { |
| | | this.$message.error('输入单位') |