From 060feecf301c272d4340c43c5c2ea429b8052ebc Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Thu, 2 Jan 2025 10:35:28 +0800 Subject: [PATCH] 2024-01-02 --- src/views/modules/part/bomManagement.vue | 1 + src/views/modules/part/recipeManagement.vue | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue index 337cfc6..d319b47 100644 --- a/src/views/modules/part/bomManagement.vue +++ b/src/views/modules/part/bomManagement.vue @@ -4197,6 +4197,7 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { + this.detailData.updateBy = this.$store.state.user.name updateAlternativeStatus(this.detailData).then(({data}) => { if (data && data.code === 0) { this.detailDataList = data.rows.detailDataList diff --git a/src/views/modules/part/recipeManagement.vue b/src/views/modules/part/recipeManagement.vue index 2eb6999..ed90105 100644 --- a/src/views/modules/part/recipeManagement.vue +++ b/src/views/modules/part/recipeManagement.vue @@ -3756,6 +3756,7 @@ export default { this.componentData.partsByWeight = this.componentData.weightShare this.componentData.qtyUom = this.componentData.weightShare / 100 this.componentData.qtyPerAssembly = this.componentData.weightShare / 100 + this.componentData.qtyKg = this.componentData.weightShare / 100 }, // 新增子明细方法 @@ -4203,6 +4204,7 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { + this.detailData.updateBy = this.$store.state.user.name updateAlternativeStatus(this.detailData).then(({data}) => { if (data && data.code === 0) { this.detailDataList = data.rows.detailDataList @@ -4230,6 +4232,7 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { + this.detailData.updateBy = this.$store.state.user.name updateAlternativeStatus(this.detailData).then(({data}) => { if (data && data.code === 0) { this.detailDataList = data.rows.detailDataList