From ad2437550eb0c8f3c3c8736df1a38a713f920ec2 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期五, 15 十二月 2023 10:13:40 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before

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

diff --git a/src/views/technology/completeproductstructure/completeproductstructure-form.vue b/src/views/technology/completeproductstructure/completeproductstructure-form.vue
index b0931ef..03ee99f 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>
@@ -294,7 +294,6 @@
   },
   computed: {
     editable: function() {
-      console.log()
       if (!this.dataForm.id) {
         return true
       }
@@ -335,32 +334,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