From a846f28bef985e7671f0b469fb73541cbfb08a93 Mon Sep 17 00:00:00 2001
From: admin <15939171744@163.com>
Date: 星期六, 01 六月 2024 11:15:39 +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