From 15aa8f68d5028624648e35e8c065693e3b44b3c2 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Fri, 14 Feb 2025 17:02:06 +0800 Subject: [PATCH] =?UTF-8?q?2/14=20=E6=96=B0=E5=A2=9E=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E8=AE=BE=E8=AE=A11.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/product/product.vue | 206 +++++++++++++++++++---- src/views/basic/product/productEdit.vue | 208 +++++++++++++++++++----- 2 files changed, 339 insertions(+), 75 deletions(-) diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue index 32bd8c69..63c91e09 100644 --- a/src/views/basic/product/product.vue +++ b/src/views/basic/product/product.vue @@ -1317,44 +1317,67 @@ {{ productRemarkSet.remarkTitle1 }}: {{ productRemarkSet.remarkTitle6 }}: - + + + + + - {{ productRemarkSet.remarkTitle2 }}: {{ productRemarkSet.remarkTitle1 }}: - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1371,14 +1394,13 @@ - + + + + + + + + + + + + + + + + + + + + + @@ -1426,12 +1469,12 @@ {{ productRemarkSet.remarkTitle6 }}: {{ productRemarkSet.remarkTitle7 }}: @@ -1449,12 +1492,12 @@ {{ productRemarkSet.remarkTitle7 }}: {{ productRemarkSet.remarkTitle8 }}: @@ -1470,12 +1513,12 @@ {{ productRemarkSet.remarkTitle8 }}: {{ productRemarkSet.remarkTitle9 }}: + + + + + {{ productRemarkSet.remarkTitle10 }}: + + + + + + + + + {{ productRemarkSet.remarkTitle11 }}: + + + + + + + + + + + + + + + {{ productRemarkSet.remarkTitle12 }}: + + + + + + + + + + + + {{ productRemarkSet.remarkTitle13 }}: + + + + + + + + @@ -2128,10 +2253,12 @@ export default { this.isUseDyCheck = true; } }); + this.productType = this.detailList[0].productType; this.editQuery.versionNumber = this.detailList[0].versionNumber this.editQuery.originUuid = this.detailList[0].originUuid this.editQuery.destinyType = this.detailList[0].destinyType + }) .catch(() => { this.loading = false; @@ -2382,6 +2509,25 @@ export default { _this.getDetailList(ttquery); //获取关联第三方系统产品信息列表 _this.getThirdSysDetail(); + if (row.basicPrductRemak6 != null){ + _this.editQuery.basicPrductRemak6 = Number(row.basicPrductRemak6) + } + if (row.basicPrductRemak1 != null){ + _this.editQuery.basicPrductRemak1 = Number(row.basicPrductRemak1) + } + if (row.basicPrductRemak2 != null){ + _this.editQuery.basicPrductRemak2 = Number(row.basicPrductRemak2) + } + if (row.basicPrductRemak11 != null){ + _this.editQuery.basicPrductRemak11 = Number(row.basicPrductRemak11) + } + if (row.basicPrductRemak12 != null){ + _this.editQuery.basicPrductRemak12 = Number(row.basicPrductRemak12) + } + if (row.basicPrductRemak13 != null){ + _this.editQuery.basicPrductRemak13 = Number(row.basicPrductRemak13) + } + }, diff --git a/src/views/basic/product/productEdit.vue b/src/views/basic/product/productEdit.vue index 806abb46..c4d36c07 100644 --- a/src/views/basic/product/productEdit.vue +++ b/src/views/basic/product/productEdit.vue @@ -227,103 +227,200 @@ + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - - + + - - {{ item.hsmc }} - + size="small" + placeholder="请输入内容" + type='number' + step="0.01" + v-model="editQuery.basicPrductRemak10" + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -876,9 +973,26 @@ export default { Treeselect }, created() { - console.log("dayinshshhs", this.editQuery) this.useMutiChange(true) this.getThirdSysDetail(); + if (this.editQuery.basicPrductRemak6 != null){ + this.editQuery.basicPrductRemak6 = Number(this.editQuery.basicPrductRemak6) + } + if (this.editQuery.basicPrductRemak1 != null){ + this.editQuery.basicPrductRemak1 = Number(this.editQuery.basicPrductRemak1) + } + if (this.editQuery.basicPrductRemak2 != null){ + this.editQuery.basicPrductRemak2 = Number(this.editQuery.basicPrductRemak2) + } + if (this.editQuery.basicPrductRemak11 != null){ + this.editQuery.basicPrductRemak11 = Number(this.editQuery.basicPrductRemak11) + } + if (this.editQuery.basicPrductRemak12!= null){ + this.editQuery.basicPrductRemak12 = Number(this.editQuery.basicPrductRemak12) + } + if (this.editQuery.basicPrductRemak13 != null){ + this.editQuery.basicPrductRemak13 = Number(this.editQuery.basicPrductRemak13) + } if (this.editQuery.isDateBy == 1) { this.editQuery.recentDateTime = this.editQuery.recentDateTime / 24; } @@ -895,6 +1009,10 @@ export default { this.classifySearch("") }, methods: { + changeLieBie(){ + this.editQuery.basicPrductRemak1 = null + this.editQuery.basicPrductRemak2 = null + }, classifyChange() { this.classifyChange(this.editQuery.flbm) let item = this.classifyList.find(item => item.code == this.editQuery.flbm)