| | |
| | | }); |
| | | } else { |
| | | addDonationwitness(this.witnessform).then(response => { |
| | | if (response.code === 200) { |
| | | |
| | | this.$modal.msgSuccess("获取见证信息新增成功"); |
| | | this.form.donationcategory = this.witnessform.donationcategory; |
| | | let data = JSON.parse(JSON.stringify(this.form)); |
| | |
| | | data.patientstate = data.patientstate.join(","); |
| | | getDonationNumber(data).then(res => { |
| | | this.form.donorno = res.msg; |
| | | this.istb = true; |
| | | this.Processvalidation(); |
| | | }); |
| | | this.istb = true; |
| | | this.$modal.closeLoading(); |
| | | }else{ |
| | | this.$modal.msgError("获取见证信息新增失败"); |
| | | |
| | | } |
| | | }); |
| | | } |
| | | |