| | |
| | | methods: { |
| | | // 进厂检验报告下载 |
| | | downLoad0 () { |
| | | if(this.downLoadInfo.enterRatifyStatus !== 1){ |
| | | this.$message.error("报告未审批或审批未通过,无法下载") |
| | | return |
| | | } |
| | | let url = this.downLoadInfo.enterUrlS ? this.downLoadInfo.enterUrlS : this.downLoadInfo.enterUrl |
| | | if(url){ |
| | | url = url.split('.')[0]+'.pdf' |
| | |
| | | }, |
| | | // 季度检验报告下载 |
| | | downLoad1 () { |
| | | if(this.downLoadInfo.quarterRatifyStatus !== 1){ |
| | | this.$message.error("报告未审批或审批未通过,无法下载") |
| | | return |
| | | } |
| | | let url = this.downLoadInfo.quarterUrlS ? this.downLoadInfo.quarterUrlS : this.downLoadInfo.quarterUrl |
| | | if(url){ |
| | | url = url.split('.')[0]+'.pdf' |