cuijian
2023-09-05 4788862cc0736b6d1432655b9e626b126ce14b59
精度检验打印
已修改1个文件
12 ■■■■■ 文件已修改
src/views/eam/DailyMaintenanceOrderList3m.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/DailyMaintenanceOrderList3m.vue
@@ -57,6 +57,13 @@
      >新增</a-button>
      <a-button
        v-if="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
        @click="handlePrintPrecision(selectionRows[0])"
        type="primary"
        style="margin-left: 8px"
      >精度检验单打印
      </a-button>
      <a-button
        v-if="selectedRowKeys.length == 1 && selectionRows[0].status == '8'"
        @click="handlePrintCheck(selectionRows[0])"
        type="primary"
        style="margin-left: 8px"
@@ -514,6 +521,11 @@
      this.selectionRows = selectionRows;
    },
    handlePrintPrecision(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/858844938446508032?id=`+record.id; //网站链接
      window.open(href, "_blank");
    },
    handlePrintCheck(record) {
      let href = `${window._CONFIG['domianURL']}/jmreport/view/858867141388996608?id=`+record.id; //网站链接
      window.open(href, "_blank");