| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button icon="el-icon-refresh" size="mini" @click="refresh">重 置</el-button> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">查 询</el-button> |
| | | <el-button type="primary" size="mini" @click="refreshTable">查询</el-button> |
| | | <el-button size="mini" @click="refresh">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div class="page_total"> |
| | |
| | | </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, |
| | |
| | | { label: '委托试验', value: 'Customer-ordered test', type: 'success' }, |
| | | { label: '抽检', value: '抽检', type: 'danger' }, |
| | | { label: '进厂检验', value: '进厂检验', type: 'info' }, |
| | | { label: '季度检验', value: 'Quarterly inspection', type: '' }, |
| | | { label: '可靠性检验', value: 'Quarterly inspection', type: '' }, |
| | | ], |
| | | urgencyLevel: [], |
| | | inspectionTaskState: [], |
| | |
| | | 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, |
| | |
| | | <style scoped> |
| | | .page_total { |
| | | margin-bottom: 10px; |
| | | display: flex; |
| | | } |
| | | |
| | | .page_total span:last-child { |
| | | color: #3a7bfa; |
| | | font-size: 23px; |
| | | font-weight: 400; |
| | | } |
| | | </style> |