| | |
| | | </div> |
| | | <div> |
| | | <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading" |
| | | :rowClassName="rowClassName" :height="'calc(100vh - 270px)'" @pagination="pagination" |
| | | key="tableData0"></lims-table> |
| | | :rowClassName="rowClassName" :height="'calc(100vh - 270px)'" @pagination="pagination" |
| | | key="tableData0"></lims-table> |
| | | </div> |
| | | <!--报告查看--> |
| | | <el-dialog title="报告查看" :visible.sync="issuedVisible" width="80vw" :modal-append-to-body="false" |
| | |
| | | if (params == 0) { |
| | | return "成品下单"; |
| | | } else { |
| | | return "原材料下单"; |
| | | return "原辅料下单"; |
| | | } |
| | | }, |
| | | }, |
| | |
| | | sonLaboratoryList: [], |
| | | typeSourceList: [ |
| | | { label: '成品下单', value: 0 }, |
| | | { label: '原材料下单', value: 1 }, |
| | | { label: '原辅料下单', value: 1 }, |
| | | ], |
| | | isCopper: null, |
| | | customsInspection: {}, |
| | | typeSource: null,// 0:成品下单,1:原材料下单 |
| | | typeSource: null,// 0:成品下单,1:原辅料下单 |
| | | showInfoDialog: false, // 产业链信息查看 |
| | | issuedVisible: false, |
| | | fullscreen: false, |
| | |
| | | this.currentId = parseInt(row.id) |
| | | switch (row.isCopper) { |
| | | case 0: |
| | | // 原材料 |
| | | // 原辅料 |
| | | this.$router.push({ |
| | | path: "/materialOrder/customsInspection", query: { |
| | | customsInspection: row, |
| | |
| | | }, |
| | | // 下载报告 |
| | | download(row) { |
| | | let url = (row.urlS===null||row.urlS==='')?row.url:row.urlS |
| | | let url = (row.urlS === null || row.urlS === '') ? row.url : row.urlS |
| | | const link = document.createElement('a'); |
| | | link.href = this.javaApi + url; |
| | | link.target = '_blank'; |
| | |
| | | fileName = row.tempUrlPdf |
| | | fileType = "pdf" |
| | | } |
| | | fileName = fileName.replace('/word/','') |
| | | fileName = fileName.replace('/word/', '') |
| | | const userName = this.nickName |
| | | this.option = { |
| | | url: this.javaApi + "/word/" + fileName, |