| | |
| | | } |
| | | }, |
| | | save0(){ |
| | | let sampleList = this.handleData(this.HaveJson(this.sampleList),this.handleAsk,1) |
| | | this.saveMethod(sampleList) |
| | | if(this.editTable.every(m=>m.value)){ |
| | | let sampleList = this.handleData(this.HaveJson(this.sampleList),this.handleAsk,1) |
| | | this.saveMethod(sampleList) |
| | | }else{ |
| | | this.$message.error('请填写识别符值') |
| | | } |
| | | }, |
| | | handleData(sampleList,calBack,type){ |
| | | let editTable = [] |
| | |
| | | a.model = a.model + ((a.modelNum == null || a.modelNum == '' || a.modelNum == 'null') ? |
| | | '' : ( |
| | | '-' + a.modelNum)) |
| | | a.insProduct = a.insProduct.filter(b=>b.state === 1) |
| | | return a |
| | | })), |
| | | pairing: JSON.stringify(this.bsm2Val2) |
| | |
| | | this.saveLoad = false |
| | | if (res.code == 201) return |
| | | this.$message.success('提交成功') |
| | | // this.$parent.multipleSelection = [{id: this.currentId}] |
| | | // this.$parent.print() |
| | | // 如果紧急程度为紧急,需要直接下发人员 |
| | | // if (this.addObj.type == 2) { |
| | | // this.issuedDialogVisible = true; |