From e5b17e96f050cc12c7ba890d196dd5f7f54926d7 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 21 九月 2026 16:35:15 +0800
Subject: [PATCH] 徐州-什克金属 1.产品名称和规格型号改成物料编码和物料描述
---
src/views/productManagement/productIdentifier/index.vue | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/views/productManagement/productIdentifier/index.vue b/src/views/productManagement/productIdentifier/index.vue
index 94359e4..8ba87ee 100644
--- a/src/views/productManagement/productIdentifier/index.vue
+++ b/src/views/productManagement/productIdentifier/index.vue
@@ -6,7 +6,7 @@
class="search-row">
<el-col :span="6">
<el-input v-model="searchForm.productName"
- placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�"
+ placeholder="璇疯緭鍏ョ墿鏂欑紪鐮�"
clearable
@keyup.enter="handleSearch">
<template #prefix>
@@ -63,10 +63,10 @@
width="80"
align="center" />
<el-table-column prop="productName"
- label="浜у搧鍚嶇О"
+ label="鐗╂枡缂栫爜"
width="150" />
<el-table-column prop="productCode"
- label="浜у搧缂栫爜"
+ label="鐗╂枡缂栫爜"
width="120" />
<el-table-column prop="batchNo"
label="鎵规鍙�"
@@ -138,17 +138,17 @@
label-width="100px">
<el-row :gutter="20">
<el-col :span="12">
- <el-form-item label="浜у搧鍚嶇О"
+ <el-form-item label="鐗╂枡缂栫爜"
prop="productName">
<el-input v-model="form.productName"
- placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�"></el-input>
+ placeholder="璇疯緭鍏ョ墿鏂欑紪鐮�"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
- <el-form-item label="浜у搧缂栫爜"
+ <el-form-item label="鐗╂枡缂栫爜"
prop="productCode">
<el-input v-model="form.productCode"
- placeholder="璇疯緭鍏ヤ骇鍝佺紪鐮�"></el-input>
+ placeholder="璇疯緭鍏ョ墿鏂欑紪鐮�"></el-input>
</el-form-item>
</el-col>
</el-row>
@@ -227,10 +227,10 @@
title="鏍囪瘑鐢熸垚"
width="500px">
<el-form label-width="100px">
- <el-form-item label="浜у搧鍚嶇О">
+ <el-form-item label="鐗╂枡缂栫爜">
<span>{{ currentProduct.productName }}</span>
</el-form-item>
- <el-form-item label="浜у搧缂栫爜">
+ <el-form-item label="鐗╂枡缂栫爜">
<span>{{ currentProduct.productCode }}</span>
</el-form-item>
<el-form-item label="鎵规鍙�">
@@ -251,8 +251,8 @@
<el-select v-model="codeRule"
placeholder="璇烽�夋嫨缂栫爜瑙勫垯"
style="width: 100%">
- <el-option label="浜у搧缂栫爜+鎵规鍙�+搴忓彿"
- value="浜у搧缂栫爜+鎵规鍙�+搴忓彿"></el-option>
+ <el-option label="鐗╂枡缂栫爜+鎵规鍙�+搴忓彿"
+ value="鐗╂枡缂栫爜+鎵规鍙�+搴忓彿"></el-option>
<el-option label="鏃堕棿鎴�+闅忔満鏁�"
value="鏃堕棿鎴�+闅忔満鏁�"></el-option>
<el-option label="鑷畾涔夎鍒�"
@@ -279,7 +279,7 @@
title="閲嶆柊鍒嗛厤鏍囪瘑"
width="500px">
<el-form label-width="100px">
- <el-form-item label="浜у搧鍚嶇О">
+ <el-form-item label="鐗╂枡缂栫爜">
<span>{{ currentProduct.productName }}</span>
</el-form-item>
<el-form-item label="鏍囪瘑鐮�">
@@ -318,8 +318,8 @@
alt="浜岀淮鐮�"
class="qr-image" />
<div class="qr-info">
- <p><strong>浜у搧鍚嶇О锛�</strong>{{ currentQRProduct.productName }}</p>
- <p><strong>浜у搧缂栫爜锛�</strong>{{ currentQRProduct.productCode }}</p>
+ <p><strong>鐗╂枡缂栫爜锛�</strong>{{ currentQRProduct.productName }}</p>
+ <p><strong>鐗╂枡缂栫爜锛�</strong>{{ currentQRProduct.productCode }}</p>
<p><strong>鎵规鍙凤細</strong>{{ currentQRProduct.batchNo }}</p>
<p><strong>鏍囪瘑鐮侊細</strong>{{ currentQRProduct.identifierCode }}</p>
<p><strong>鏍囪瘑绫诲瀷锛�</strong>{{ currentQRProduct.identifierType }}</p>
@@ -424,8 +424,8 @@
});
const rules = {
- productName: [{ required: true, message: "璇疯緭鍏ヤ骇鍝佸悕绉�", trigger: "blur" }],
- productCode: [{ required: true, message: "璇疯緭鍏ヤ骇鍝佺紪鐮�", trigger: "blur" }],
+ productName: [{ required: true, message: "璇疯緭鍏ョ墿鏂欑紪鐮�", trigger: "blur" }],
+ productCode: [{ required: true, message: "璇疯緭鍏ョ墿鏂欑紪鐮�", trigger: "blur" }],
batchNo: [{ required: true, message: "璇疯緭鍏ユ壒娆″彿", trigger: "blur" }],
identifierType: [
{ required: true, message: "璇烽�夋嫨鏍囪瘑绫诲瀷", trigger: "change" },
@@ -654,7 +654,7 @@
const newIdentifiers = [];
for (let i = 1; i <= generateQuantity.value; i++) {
let identifierCode = "";
- if (codeRule.value === "浜у搧缂栫爜+鎵规鍙�+搴忓彿") {
+ if (codeRule.value === "鐗╂枡缂栫爜+鎵规鍙�+搴忓彿") {
identifierCode = `${currentProduct.value.productCode}_${
currentProduct.value.batchNo
}_${String(i).padStart(3, "0")}`;
--
Gitblit v1.9.3