From 34b44ef04091bdf3c7d97cf94d0f3d2fc8bfa031 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期二, 19 十二月 2023 09:26:04 +0800
Subject: [PATCH] 	modified:   src/views/plan/manufacturingorder/index.vue 	modified:   vue.config.js

---
 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