refactor(ui): 将BOM相关术语统一修改为参数

修改所有界面中的BOM、SKU等术语为"参数",包括标签、提示信息、表格列名等。涉及多个组件和视图文件,确保术语一致性。
This commit is contained in:
砂糖
2025-11-13 13:29:19 +08:00
parent 6bde071842
commit 754d6d762a
37 changed files with 812 additions and 124 deletions

View File

@@ -104,7 +104,7 @@
@pagination="getList"
/>
<!-- 添加或修改产品BOM产品-原材料清单对话框 -->
<!-- 添加或修改产品参数产品-原材料清单对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="产品" prop="productId">
@@ -162,7 +162,7 @@ export default {
showSearch: true,
// 总条数
total: 0,
// 产品BOM(产品-原材料清单)表格数据
// 产品参数(产品-原材料清单)表格数据
productBomList: [],
// 弹出层标题
title: "",
@@ -200,7 +200,7 @@ export default {
this.getList();
},
methods: {
/** 查询产品BOM(产品-原材料清单)列表 */
/** 查询产品参数(产品-原材料清单)列表 */
getList() {
this.loading = true;
listProductBom(this.queryParams).then(response => {
@@ -246,7 +246,7 @@ export default {
handleAdd() {
this.reset();
this.open = true;
this.title = "添加产品BOM(产品-原材料清单)";
this.title = "添加产品参数(产品-原材料清单)";
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -257,7 +257,7 @@ export default {
this.loading = false;
this.form = response.data;
this.open = true;
this.title = "修改产品BOM(产品-原材料清单)";
this.title = "修改产品参数(产品-原材料清单)";
});
},
/** 提交按钮 */
@@ -288,7 +288,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const bomIds = row.bomId || this.ids;
this.$modal.confirm('是否确认删除产品BOM(产品-原材料清单)编号为"' + bomIds + '"的数据项?').then(() => {
this.$modal.confirm('是否确认删除产品参数(产品-原材料清单)编号为"' + bomIds + '"的数据项?').then(() => {
this.loading = true;
return delProductBom(bomIds);
}).then(() => {