From 62d36f52a6058e0483feceb8819475b31bc1f102 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期三, 10 四月 2024 18:59:23 +0800 Subject: [PATCH] 库存调整,出入库明细跳转明细单修改 --- src/views/productManage/product/components/bomDialog.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/productManage/product/components/bomDialog.vue b/src/views/productManage/product/components/bomDialog.vue index 343cdea..1d4faa7 100644 --- a/src/views/productManage/product/components/bomDialog.vue +++ b/src/views/productManage/product/components/bomDialog.vue @@ -66,8 +66,8 @@ thatEditRow:this.editRow, isTableShow: true, form: {}, - // BomTableData:[], - BomTableData: this.editRow.BomTableData, + BomTableData:[], + // BomTableData: this.editRow.BomTableData, // BomTableData: JSON.parse(this.editRow.BomTableData), // BomTableData: [{ id: 303, createdAt: "2024-02-05 18:02:47", updatedAt: "2024-02-05 18:02:47",name: "kg", isDefault: false }], work: 1, @@ -107,9 +107,9 @@ watch: { }, created() { - console.log(this.thatEditRow,"thatEditRow") }, - mounted() { }, + mounted() { + }, methods: { handleAdd() { this.BomTableData=this.thatEditRow.BomTableData @@ -148,6 +148,7 @@ console.log(this.codenumberList.replace(/,/g, "")); }, switchChange(scope, val) { + this.BomTableData=this.thatEditRow.BomTableData let arr = []; for (let i in this.BomTableData) { if (this.BomTableData[i].isDefault) { -- Gitblit v1.8.0