From c466006a64f1cbbcbf04e0ae4a2d73de302aa92a Mon Sep 17 00:00:00 2001
From: qq_41295110 <qq_41295110@noreply.gitcode.com>
Date: 星期二, 13 一月 2026 11:35:08 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI

---
 src/views/scMould/basicModeling/Gy_MouldFile.vue |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/views/scMould/basicModeling/Gy_MouldFile.vue b/src/views/scMould/basicModeling/Gy_MouldFile.vue
index 7e4fa62..e45f187 100644
--- a/src/views/scMould/basicModeling/Gy_MouldFile.vue
+++ b/src/views/scMould/basicModeling/Gy_MouldFile.vue
@@ -95,9 +95,9 @@
               </el-form-item>
             </el-col>
             <el-col :span="6">
-              <el-form-item label="鍗曚綅" prop="HUnitName" v-show="isHide">
+              <el-form-item label="鍗曚綅" prop="HUnitName" v-show="isShow">
                 <el-input v-model="form.HUnitName" placeholder="璇疯緭鍏ュ崟浣�" disabled>
-                  <el-button slot="append" icon="el-icon-search"></el-button>
+                  <el-button slot="append" icon="el-icon-search"  @click="openDataDialog(11)"></el-button>
                 </el-input>
               </el-form-item>
             </el-col>
@@ -505,6 +505,7 @@
       <GySupplier @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="gySupplierShow" />
       <GyCustomer @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="gyCustomerShow" />
       <GyStockPlace @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="gyStockPlaceShow" />
+      <GyUnit @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName" v-if="gyUnitShow" />
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="deptClickSub">纭� 瀹�</el-button>
         <el-button @click="deptClose">鍙� 娑�</el-button>
@@ -527,11 +528,12 @@
 import GySupplier from '@/views/basic/gy/gySupplier.vue'
 import GyCustomer from '@/views/GyCustomer'
 import GyStockPlace from '@/views/basic/gyStockPlace/gyStockPlace.vue'
+import GyUnit from '@/views/basic/gyUnit/gyUnit.vue'
 import moment from 'moment';
 
 export default {
   name: 'Gy_MouldFile',
-  components: { Dept, Warehouse, Material, RowSettings, GyEmployee, GySource, GySupplier, GyCustomer, GyStockPlace },
+  components: { Dept, Warehouse, Material, RowSettings, GyEmployee, GySource, GySupplier, GyCustomer, GyStockPlace,GyUnit },
   props: {
     OperationType: { type: Number, },
     linterid: { type: Number, },
@@ -569,6 +571,7 @@
       gySupplierShow: false,
       gyCustomerShow: false,
       gyStockPlaceShow: false,
+      gyUnitShow: false,
       deptform: {},//寮圭獥閫変腑鏁版嵁
       openData: false,//鏁版嵁寮圭獥
       dialogTitle: '',
@@ -856,6 +859,10 @@
           }
           this.gyStockPlaceShow = false
           this.openData = false
+        } else if (num == 11){
+          this.gyUnitShow= false
+          this.openData = false
+
         }
       } else {
         this.$modal.msgError("璇烽�夋嫨鍗曟潯鏁版嵁!");
@@ -962,7 +969,7 @@
         HMouldDotCheckRuleInterID: 0,
         HMouldMaintainRuleInterName: '',
         HMouldMaintainRuleInterID: 0,
-        HBarCode: '',
+        HBarCode: '1',
         HMadeSupID: 0,
         HMadeSupName: '',
         HMouldClass: '',
@@ -1503,6 +1510,7 @@
       this.gySupplierShow = false
       this.gyCustomerShow = false
       this.gyStockPlaceShow = false
+      this.gyUnitShow= false
     },
     //  鎵撳紑鏁版嵁鍒楄〃寮圭獥
     openDataDialog(num, row) {
@@ -1543,6 +1551,10 @@
         this.dialogTitle = '浠撲綅鍒楄〃'
         this.gyStockPlaceShow = true
         this.openData = true
+      } else if (num == 11) {
+        this.dialogTitle = '鍗曚綅鍒楄〃'
+        this.gyUnitShow = true
+        this.openData = true
       }
     },
   }

--
Gitblit v1.9.1