src/views/business/materialOrderComponents/materialOrder/downFileDialog.vue
@@ -44,6 +44,10 @@
  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'
@@ -56,6 +60,10 @@
    },
    // 季度检验报告下载
    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'