From e9d95f6a18c39e449cc3d4a8656f15f64e186aec Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 15 五月 2026 15:33:03 +0800
Subject: [PATCH] 天津宝东 1.代码更新
---
src/views/basicData/product/index.vue | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/src/views/basicData/product/index.vue b/src/views/basicData/product/index.vue
index 07da49b..4f2694b 100644
--- a/src/views/basicData/product/index.vue
+++ b/src/views/basicData/product/index.vue
@@ -66,11 +66,9 @@
</div>
</div>
<div class="right">
- <div style="margin-bottom: 10px"
- v-if="isShowButton">
- <el-button type="primary"
- @click="openModelDia('add')">
- 鏂板瑙勬牸鍨嬪彿
+ <div style="margin-bottom: 10px" v-if="isShowButton">
+ <el-button type="primary" @click="openModelDia('add')">
+ 鏂板灏哄
</el-button>
<ImportExcel :product-id="currentId"
@uploadSuccess="getModelList" />
@@ -122,7 +120,7 @@
</template>
</el-dialog>
<el-dialog v-model="modelDia"
- title="瑙勬牸鍨嬪彿"
+ title="灏哄"
width="400px"
@close="closeModelDia"
@keydown.enter.prevent>
@@ -144,10 +142,10 @@
</el-col>
</el-row>
<el-col :span="24">
- <el-form-item label="瑙勬牸鍨嬪彿锛�"
+ <el-form-item label="灏哄锛�"
prop="model">
<el-input v-model="modelForm.model"
- placeholder="璇疯緭鍏ヨ鏍煎瀷鍙�"
+ placeholder="璇疯緭鍏ュ昂瀵�"
clearable
@keydown.enter.prevent />
</el-form-item>
@@ -297,7 +295,7 @@
prop: "productCode",
},
{
- label: "瑙勬牸鍨嬪彿",
+ label: "灏哄",
prop: "model",
},
{
@@ -413,7 +411,7 @@
form.value.productName =
type === "edit" && data ? data.productName : "";
};
- // 鎵撳紑瑙勬牸鍨嬪彿寮规
+ // 鎵撳紑灏哄寮规
const openModelDia = (type, data) => {
modelOperationType.value = type;
modelDia.value = true;
@@ -494,7 +492,7 @@
getModelList();
};
- // 鎻愪氦瑙勬牸鍨嬪彿淇敼
+ // 鎻愪氦灏哄淇敼
const submitModelForm = () => {
proxy.$refs.modelFormRef.validate(valid => {
if (valid) {
@@ -517,7 +515,7 @@
selectedRows.value = selection;
};
- // 鏌ヨ瑙勬牸鍨嬪彿
+ // 鏌ヨ灏哄
const pagination = obj => {
page.current = obj.page;
page.size = obj.limit;
@@ -536,7 +534,7 @@
tableLoading.value = false;
});
};
- // 鍒犻櫎瑙勬牸鍨嬪彿
+ // 鍒犻櫎灏哄
const handleDelete = () => {
let ids = [];
if (selectedRows.value.length > 0) {
--
Gitblit v1.9.3