From 9f2460bad24053ab368886407a3a47b34421fd70 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 18 四月 2024 19:03:52 +0800
Subject: [PATCH] 入库出库调拨出入库明细 4个模块添加和编辑产品的时候增加辅助数量的计算逻辑,浮动值和数量相乘所得
---
src/views/warehouseManage/listingRules/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/warehouseManage/listingRules/index.vue b/src/views/warehouseManage/listingRules/index.vue
index bd4fda5..32b3b4c 100644
--- a/src/views/warehouseManage/listingRules/index.vue
+++ b/src/views/warehouseManage/listingRules/index.vue
@@ -90,7 +90,6 @@
this.setTable()
let query = this.$route.query
if (query) {
- console.log("aaaaaaaaaaaaa", query)
this.queryProductId = query.productId?.length ? query.productId : null
this.categoryId = query.id ? Number(query.id) : null
this.pagerOptions.currPage = 1
@@ -132,7 +131,7 @@
const list = res.data.map((item) => {
return {
...item,
- areaName: { label: item.location.jointName, value: item.location.id },
+ areaName: { label: item.area.jointName, value: item.area.id },
subLocation: { label: item.location.jointName, value: item.location.id },
productName: item.product.name,
productCategory: item.productCategory.name,
@@ -368,10 +367,11 @@
},
// 閫変腑浜у搧鏂规硶
selProductClick(value, item) {
+ console.log(value, item)
if (value === "product") {
this.RuleType = 1
this.tableList.tableColumn[2].productType = false
- this.productId = item.id
+ this.productId = item.productId
this.productCategoryId = item.categoryId
} else if (value === "productType") {
this.productCategoryId = item.id
--
Gitblit v1.8.0