From 4477a4a90fe3c441c25c5cddddee05aa32c8113c Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期六, 28 十月 2023 18:24:50 +0800
Subject: [PATCH] 上架规则列表编辑,产品和产品类别只能展开有数据的
---
src/views/operate/inventoryAdjustment/index.vue | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/views/operate/inventoryAdjustment/index.vue b/src/views/operate/inventoryAdjustment/index.vue
index 525b7d3..8e4e94d 100644
--- a/src/views/operate/inventoryAdjustment/index.vue
+++ b/src/views/operate/inventoryAdjustment/index.vue
@@ -102,7 +102,7 @@
selectBox: false,
selectIndex: true,
tableColumn: [
- { label: "浣嶇疆", prop: "locationName", location: false },
+ { label: "浣嶇疆", prop: "locationName", location: true },
{ label: "浜у搧", prop: "productName", product: true },
{ label: "鍦ㄥ簱鏁伴噺", prop: "amount" },
{ label: "璁¢噺鍗曚綅", prop: "unit" },
@@ -216,7 +216,6 @@
},
// 鍙栨秷
discardBtnClick() {
- console.log(this.tableList.tableData,"鐪嬬湅")
this.tableList.tableData.forEach((item)=>{
item.differenceAmount=0;
item.adjustAmount=0
@@ -244,7 +243,7 @@
console.log("鍘嗗彶")
this.$router.push({
name: "inventoryAdjustmentHistory",
- params: { locationId: row.locationId, productId: row.productId }
+ params: { locationId: row.locationId, productId: row.productId,baseOperationType:row.baseOperationType}
})
}
},
@@ -276,7 +275,6 @@
},
// 琛岀偣鍑�
tableRowClick(row, rowIndex) {
- console.log(row,"kankna")
this.locationId=row.locationId
this.rowIndex = rowIndex
this.isSel()
--
Gitblit v1.8.0