From a48ded866d223f581944ea9043df1b296b3425e3 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 21 十二月 2023 13:17:46 +0800
Subject: [PATCH] 	modified:   src/views/basic/company/index.vue 	modified:   src/views/basic/customizeparamtemplatetype/index.vue 	modified:   src/views/basic/division/index.vue 	modified:   src/views/basic/factory/index.vue 	modified:   src/views/basic/location/index.vue 	modified:   src/views/basic/param/index.vue 	modified:   src/views/basic/part/index.vue 	modified:   src/views/basic/post/index.vue 	modified:   src/views/basic/shift/index.vue 	modified:   src/views/basic/staff/index.vue 	modified:   src/views/basic/template/index.vue 	modified:   src/views/basic/warehouse/index.vue 	modified:   src/views/basic/workstation/index.vue 	modified:   src/views/plan/manufacturingorder/index.vue 	modified:   src/views/plan/masterproductionschedule/index.vue 	modified:   src/views/plan/operationtask/index.vue 	modified:   src/views/plan/productionschedul/index.vue 	modified:   src/views/quality/finishedProductInspection/index.vue 	modified:   src/views/quality/rawMaterial/index.vue 	modified:   src/views/technology/completeproductstructure/index.vue 	modified:   src/views/technology/document/index.vue 	modified:   src/views/technology/operation/index.vue 	modified:   src/views/technology/routing/index.vue 	modified:   src/views/technology/structure/index.vue 	modified:   src/views/warehouse/FinishedWarehousing/index.vue 	modified:   src/views/warehouse/changestock/index.vue 	modified:   src/views/warehouse/pallettransports/index.vue

---
 src/views/technology/completeproductstructure/completeproductstructure-form.vue |   26 +++-----------------------
 1 files changed, 3 insertions(+), 23 deletions(-)

diff --git a/src/views/technology/completeproductstructure/completeproductstructure-form.vue b/src/views/technology/completeproductstructure/completeproductstructure-form.vue
index b0931ef..1be7ec1 100644
--- a/src/views/technology/completeproductstructure/completeproductstructure-form.vue
+++ b/src/views/technology/completeproductstructure/completeproductstructure-form.vue
@@ -7,7 +7,7 @@
         <h2 v-if="!editable">鏌ョ湅-瀹屾暣浜у搧缁撴瀯</h2>
       </div>
       <div class="btn-group header-right" v-if="editable">
-        <el-button :disabled="isSubmit" v-thinclick="`dataFormSubmit`"
+        <el-button type="primary" :disabled="isSubmit" v-thinclick="`dataFormSubmit`"
           >淇濆瓨</el-button
         >
       </div>
@@ -40,6 +40,7 @@
               </el-form-item>
 
               <el-form-item label="闆朵欢鍚�" prop="partName">
+                <el-tooltip class="item" effect="dark" :content="treeForm.partName" >
                 <el-input
                   v-model="treeForm.partName"
                   placeholder="闆朵欢鍚�"
@@ -47,6 +48,7 @@
                   disabled
                 >
                 </el-input>
+                </el-tooltip>
               </el-form-item>
 
               <el-form-item label="绫诲瀷" prop="bomTypeDb">
@@ -294,7 +296,6 @@
   },
   computed: {
     editable: function() {
-      console.log()
       if (!this.dataForm.id) {
         return true
       }
@@ -335,32 +336,11 @@
       if (this.dataForm.id) {
         getObj(this.dataForm.id).then((response) => {
           var resultData = response.data.data
-          console.log(resultData)
           this.treeForm = resultData
-          // this.treeForm.id = resultData.id
-          // this.treeForm.partId = resultData.partId
-          // this.treeForm.partNo = resultData.partNo
-          // this.treeForm.partName = resultData.partName
-          // this.treeForm.number = resultData.number
-          // this.treeForm.insulationColor = resultData.insulationColor
-          // this.treeForm.sheathColor = resultData.sheathColor
-          // this.treeForm.characteristicOne = resultData.characteristicOne
-          // this.treeForm.version = resultData.version
-          // this.treeForm.alternativeNo = resultData.alternativeNo
-          // this.treeForm.alternativeDesc = resultData.alternativeDesc
-          // this.treeForm.bomTypeDb = resultData.bomTypeDb
-          // this.treeForm.state = resultData.state
-          // this.treeForm.remark = resultData.remark
           this.dataForm.state = resultData.state
           this.preViewData = []
           this.preViewData.push(resultData.tree)
           this.tableData = resultData.bomComponentVOS
-          // getPartAllStructureExt(this.treeForm).then((res) => {
-          //   const result = res.data
-          //   if (result.code === 0) {
-          //     this.tableData.push(result.data)
-          //   }
-          // })
         })
       } else {
         this.initDefaultForm()

--
Gitblit v1.9.3