From 3b02a02e6f615f167b06ca4d62d094cda777d862 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期一, 22 一月 2024 09:55:35 +0800 Subject: [PATCH] 模具使用记录 --- 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