From 23b4b0e764ba8d7bf73f9c7d999f4144427d31cd Mon Sep 17 00:00:00 2001 From: xyc <jc_xiong@hotmail.com> Date: 星期五, 13 九月 2024 16:35:35 +0800 Subject: [PATCH] 新增可靠性框图自动排版功能 --- web/src/views/modules/basicInfo/XhProductModel-AddOrUpdate.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/views/modules/basicInfo/XhProductModel-AddOrUpdate.vue b/web/src/views/modules/basicInfo/XhProductModel-AddOrUpdate.vue index 976797f..8812cec 100644 --- a/web/src/views/modules/basicInfo/XhProductModel-AddOrUpdate.vue +++ b/web/src/views/modules/basicInfo/XhProductModel-AddOrUpdate.vue @@ -1,7 +1,7 @@ <template> - <zt-dialog ref="dialog" @confirm="formSubmit"> + <zt-dialog ref="dialog" @confirm="formSubmit" :hasConfirm="true"> <el-form :model="dataForm" ref="dataForm" :disabled="dataForm.disabled" label-width="120px"> - <zt-form-item label="涓婄骇绯荤粺" prop="pid" v-if="isShow"> + <zt-form-item label="涓婄骇鑺傜偣" prop="pid" v-if="isShow"> <zt-combo-tree v-model="dataForm.pid" :datas="productList"/> </zt-form-item> <zt-form-item label="鍚嶇О" prop="name" rules="required"> @@ -58,6 +58,7 @@ }, methods: { init(id, params) { + this.getProductList() if (params.shipId) { this.dataForm.shipId = params.shipId } @@ -69,7 +70,6 @@ } else if (params.type === 'zt') { this.dataForm.pid = params.pid this.dataForm.productType = 2 - this.getProductList() this.getDefaultImg(this.dataForm.productType) } else { this.dataForm.pid = params.pid -- Gitblit v1.9.1