@@ -368,7 +368,7 @@ export default {
return [];
},
- // 格式化物品名称(添加规格和BOM信息)
+ // 格式化物品名称(添加规格和参数信息)
formatItemName(item) {
if (!item) return '';
@@ -384,11 +384,11 @@ export default {
specs.push(item.specification);
}
- // 2. 添加BOM参数(最多2个)
+ // 2. 添加参数参数(最多2个)
if (item.bomItems && item.bomItems.length > 0) {
const bomParams = item.bomItems
.filter(bomItem => bomItem.attrKey && bomItem.attrValue)
- .slice(0, 2); // 最多2个BOM参数
+ .slice(0, 2); // 最多2个参数参数
bomParams.forEach(param => {
specs.push(`${param.attrKey}:${param.attrValue}`);
@@ -439,7 +439,7 @@ export default {
const nameMatch = item.rawMaterialName && item.rawMaterialName.toLowerCase().includes(searchQuery);
// 搜索规格
const specMatch = item.specification && item.specification.toLowerCase().includes(searchQuery);
- // 搜索 BOM 参数
+ // 搜索 参数 参数
const bomMatch = item.bomItems && item.bomItems.some(bom =>
(bom.attrKey && bom.attrKey.toLowerCase().includes(searchQuery)) ||
(bom.attrValue && bom.attrValue.toLowerCase().includes(searchQuery))
@@ -454,7 +454,7 @@ export default {
const nameMatch = item.productName && item.productName.toLowerCase().includes(searchQuery);
// 搜索规格
const specMatch = item.specification && item.specification.toLowerCase().includes(searchQuery);
- // 搜索 BOM 参数
+ // 搜索 参数 参数
const bomMatch = item.bomItems && item.bomItems.some(bom =>
(bom.attrKey && bom.attrKey.toLowerCase().includes(searchQuery)) ||
(bom.attrValue && bom.attrValue.toLowerCase().includes(searchQuery))
@@ -900,7 +900,7 @@ export default {
}
}
-/* BOM参数展示 */
+/* 参数参数展示 */
.bom-params {
display: grid;
grid-template-columns: repeat(2, 1fr);
diff --git a/klp-ui/src/views/wms/coil/typing.vue b/klp-ui/src/views/wms/coil/typing.vue
index 720bf8fe..b5c0266f 100644
--- a/klp-ui/src/views/wms/coil/typing.vue
+++ b/klp-ui/src/views/wms/coil/typing.vue
@@ -448,7 +448,7 @@ export default {
return warehouse ? warehouse.warehouseName : '';
},
- // 格式化物品名称(添加规格和BOM信息)
+ // 格式化物品名称(添加规格和参数信息)
formatItemName(item) {
if (!item) return '';
@@ -464,11 +464,11 @@ export default {
specs.push(item.specification);
}
- // 2. 添加BOM参数(最多2个)
+ // 2. 添加参数参数(最多2个)
if (item.bomItems && item.bomItems.length > 0) {
const bomParams = item.bomItems
.filter(bomItem => bomItem.attrKey && bomItem.attrValue)
- .slice(0, 2); // 最多2个BOM参数
+ .slice(0, 2); // 最多2个参数参数
bomParams.forEach(param => {
specs.push(`${param.attrKey}:${param.attrValue}`);
@@ -527,21 +527,21 @@ export default {
try {
this.itemSearchLoading = true;
if (itemType === 'raw_material') {
- // 使用带BOM的接口
+ // 使用带参数的接口
const response = await listRawMaterial({
pageNum: 1,
pageSize: 100,
- withBom: true // 请求包含BOM信息
+ withBom: true // 请求包含参数信息
});
if (response.code === 200) {
this.rawMaterialList = response.rows || [];
}
} else if (itemType === 'product') {
- // 使用带BOM的接口
+ // 使用带参数的接口
const response = await listProduct({
pageNum: 1,
pageSize: 100,
- withBom: true // 请求包含BOM信息
+ withBom: true // 请求包含参数信息
});
if (response.code === 200) {
this.productList = response.rows || [];
@@ -581,7 +581,7 @@ export default {
const nameMatch = item.rawMaterialName && item.rawMaterialName.toLowerCase().includes(searchQuery);
// 搜索规格
const specMatch = item.specification && item.specification.toLowerCase().includes(searchQuery);
- // 搜索 BOM 参数
+ // 搜索 参数 参数
const bomMatch = item.bomItems && item.bomItems.some(bom =>
(bom.attrKey && bom.attrKey.toLowerCase().includes(searchQuery)) ||
(bom.attrValue && bom.attrValue.toLowerCase().includes(searchQuery))
@@ -596,7 +596,7 @@ export default {
const nameMatch = item.productName && item.productName.toLowerCase().includes(searchQuery);
// 搜索规格
const specMatch = item.specification && item.specification.toLowerCase().includes(searchQuery);
- // 搜索 BOM 参数
+ // 搜索 参数 参数
const bomMatch = item.bomItems && item.bomItems.some(bom =>
(bom.attrKey && bom.attrKey.toLowerCase().includes(searchQuery)) ||
(bom.attrValue && bom.attrValue.toLowerCase().includes(searchQuery))
diff --git a/klp-ui/src/views/wms/order/components/CurrentSituationArea.vue b/klp-ui/src/views/wms/order/components/CurrentSituationArea.vue
index 628994cf..04f50bb6 100644
--- a/klp-ui/src/views/wms/order/components/CurrentSituationArea.vue
+++ b/klp-ui/src/views/wms/order/components/CurrentSituationArea.vue
@@ -30,11 +30,11 @@
-
+
情况区
-
订单所需的产品统计、根据BOM计算的原料需求、原料库存和需求情况
+
订单所需的产品统计、根据参数计算的原料需求、原料库存和需求情况
diff --git a/klp-ui/src/views/wms/order/panels/detail.vue b/klp-ui/src/views/wms/order/panels/detail.vue
index 850dfff6..bd33f551 100644
--- a/klp-ui/src/views/wms/order/panels/detail.vue
+++ b/klp-ui/src/views/wms/order/panels/detail.vue
@@ -64,7 +64,7 @@
-
+
diff --git a/klp-ui/src/views/wms/product/index.vue b/klp-ui/src/views/wms/product/index.vue
index 2f6c32f6..f7113047 100644
--- a/klp-ui/src/views/wms/product/index.vue
+++ b/klp-ui/src/views/wms/product/index.vue
@@ -129,7 +129,7 @@
-
+
@@ -159,7 +159,7 @@
type="text"
icon="el-icon-data-analysis"
@click="handleBom(scope.row)"
- >SKU
+ >参数
@@ -264,7 +264,7 @@
-
+
diff --git a/klp-ui/src/views/wms/product/semi.vue b/klp-ui/src/views/wms/product/semi.vue
index 7ef63e0c..d2f6d62d 100644
--- a/klp-ui/src/views/wms/product/semi.vue
+++ b/klp-ui/src/views/wms/product/semi.vue
@@ -128,7 +128,7 @@