From f3cb03e9e6cbd21bc5f1d9b2570f964d29a48aa8 Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期一, 15 四月 2024 10:09:56 +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