From a2c33664f683aee11fdc62391c8d1e21cc74f5b2 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 21 五月 2026 17:24:49 +0800
Subject: [PATCH] 天津宝东 1.修改展示字段
---
src/views/salesManagement/salesQuotation/index.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/views/salesManagement/salesQuotation/index.vue b/src/views/salesManagement/salesQuotation/index.vue
index d283869..c5ef3ea 100644
--- a/src/views/salesManagement/salesQuotation/index.vue
+++ b/src/views/salesManagement/salesQuotation/index.vue
@@ -35,7 +35,7 @@
>
<el-table-column align="center" label="搴忓彿" type="index" width="60" />
<el-table-column prop="product" label="浜у搧鍚嶇О" min-width="180" show-overflow-tooltip />
- <el-table-column prop="specification" label="灏哄" min-width="140" show-overflow-tooltip />
+ <el-table-column prop="specification" label="瑙勬牸鍨嬪彿" min-width="140" show-overflow-tooltip />
<el-table-column prop="paper" label="绾稿紶" min-width="120" show-overflow-tooltip />
<el-table-column prop="paperWeight" label="瀹氶噺" min-width="100" show-overflow-tooltip />
<el-table-column prop="unitPrice" label="鍗曚环" width="120" align="right">
@@ -104,7 +104,7 @@
</el-form-item>
</template>
</el-table-column>
- <el-table-column prop="specification" label="灏哄" width="200">
+ <el-table-column prop="specification" label="瑙勬牸鍨嬪彿" width="200">
<template #default="scope">
<el-form-item :prop="`products.${scope.$index}.specificationId`" class="product-table-form-item">
<el-select
@@ -214,7 +214,7 @@
<h4>浜у搧鏄庣粏</h4>
<el-table :data="currentQuotation.products" border style="width: 100%">
<el-table-column prop="product" label="浜у搧鍚嶇О" />
- <el-table-column prop="specification" label="灏哄" />
+ <el-table-column prop="specification" label="瑙勬牸鍨嬪彿" />
<el-table-column prop="unit" label="鍗曚綅" />
<el-table-column prop="paper" label="绾稿紶" />
<el-table-column prop="paperWeight" label="瀹氶噺" />
@@ -306,7 +306,7 @@
const productRowRules = {
productId: [{ required: true, message: '璇烽�夋嫨浜у搧鍚嶇О', trigger: 'change' }],
- specificationId: [{ required: true, message: '璇烽�夋嫨灏哄', trigger: 'change' }],
+ specificationId: [{ required: true, message: '璇烽�夋嫨瑙勬牸鍨嬪彿', trigger: 'change' }],
unit: [{ required: true, message: '璇峰~鍐欏崟浣�', trigger: 'blur' }],
unitPrice: [{ required: true, message: '璇峰~鍐欏崟浠�', trigger: 'change' }]
}
@@ -410,7 +410,7 @@
if (label) {
row.product = label;
}
- // 鑾峰彇灏哄鍒楄〃锛岃缃埌褰撳墠琛岀殑 modelOptions
+ // 鑾峰彇瑙勬牸鍨嬪彿鍒楄〃锛岃缃埌褰撳墠琛岀殑 modelOptions
modelList({ id: value }).then((res) => {
row.modelOptions = res || [];
});
@@ -590,7 +590,7 @@
? Number(product.productId)
: findNodeIdByLabel(productOptions.value, productName) || ''
- // 濡傛灉鏈変骇鍝両D锛屽姞杞藉搴旂殑灏哄鍒楄〃
+ // 濡傛灉鏈変骇鍝両D锛屽姞杞藉搴旂殑瑙勬牸鍨嬪彿鍒楄〃
let modelOptions = [];
let resolvedSpecificationId = product.specificationId || '';
@@ -607,7 +607,7 @@
}
}
} catch (error) {
- console.error('鍔犺浇灏哄澶辫触:', error);
+ console.error('鍔犺浇瑙勬牸鍨嬪彿澶辫触:', error);
}
}
@@ -625,7 +625,7 @@
dieCuttingFee: Number(product.dieCuttingFee || 0),
grindingFee: Number(product.grindingFee || 0),
amount: product.amount || 0,
- modelOptions: modelOptions // 涓烘瘡琛屾坊鍔犵嫭绔嬬殑灏哄鍒楄〃
+ modelOptions: modelOptions // 涓烘瘡琛屾坊鍔犵嫭绔嬬殑瑙勬牸鍨嬪彿鍒楄〃
}
}))
form.subtotal = source.subtotal || 0
@@ -696,7 +696,7 @@
dieCuttingFee: 0,
grindingFee: 0,
amount: 0,
- modelOptions: [] // 涓烘瘡琛屾坊鍔犵嫭绔嬬殑灏哄鍒楄〃
+ modelOptions: [] // 涓烘瘡琛屾坊鍔犵嫭绔嬬殑瑙勬牸鍨嬪彿鍒楄〃
})
}
--
Gitblit v1.9.3