From 88c8493c8ccd1d487966069f65ca2c9610683bdf Mon Sep 17 00:00:00 2001 From: hdy <1105738590@qq.com> Date: 星期二, 11 六月 2024 09:10:34 +0800 Subject: [PATCH] 打印 --- jcdm-ui/src/views/main/om/productionOrde/index.vue | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/jcdm-ui/src/views/main/om/productionOrde/index.vue b/jcdm-ui/src/views/main/om/productionOrde/index.vue index de94a66..f40770e 100644 --- a/jcdm-ui/src/views/main/om/productionOrde/index.vue +++ b/jcdm-ui/src/views/main/om/productionOrde/index.vue @@ -147,6 +147,16 @@ @click="patchwork" >琛ユ墦</el-button> </el-col> + <el-col :span="1.5"> + <el-button + type="warning" + plain + icon="el-icon-download" + size="mini" + :disabled="single" + @click="jieBang" + >瑙g粦</el-button> + </el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> @@ -297,7 +307,7 @@ delProductionOrde, addProductionOrde, updateProductionOrde, - receivingWorkOrders + receivingWorkOrders, jieBang } from "@/api/main/om/productionOrde/productionOrde"; import QRCode from "qrcodejs2"; @@ -406,6 +416,13 @@ this.test1() }, methods: { + jieBang(row){ + const id = row.id || this.ids + jieBang(id).then(response => { + this.getList() + this.$modal.msgSuccess("瑙g粦鎴愬姛"); + }); + }, patchwork(row){ const id = row.id || this.ids getProductionOrde(id).then(response => { -- Gitblit v1.9.3