This commit is contained in:
JenniferW 2025-09-03 15:04:50 +08:00
parent 7ab4feb90f
commit 5bad6f3682
4 changed files with 14 additions and 16 deletions

BIN
public/images/cars/new.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -2,13 +2,13 @@
export const paramsToCompare = [
"品名/物料名称",
"品号",
"品号-规格型号",
"图号",
"CBC版本",
"技术规范版本",
"技术规范编号",
"技术规范版本",
"技术规范名称",
"CBC编号",
"品号-规格型号",
"CBC版本",
"车型",
"型号",
"材质",
@ -21,13 +21,13 @@ export const paramsToCompare = [
export const fieldMap = {
"品名/物料名称": "name",
品号: "productNumber",
"品号-规格型号": "specificationModel",
图号: "drawingNumber",
CBC版本: "CBCVersion",
技术规范版本: "technicalSpecVersion",
技术规范编号: "technicalSpecCode",
技术规范版本: "technicalSpecVersion",
技术规范名称: "technicalSpecName",
CBC编号: "CBCCode",
"品号-规格型号": "specificationModel",
CBC版本: "CBCVersion",
车型: "carModel",
型号: "model",
材质: "material",

View File

@ -192,20 +192,17 @@
@click="toggleSelect(item)"
>
<div class="result-card-info">
<div
class="result-card-name text-truncate"
:title="item.name"
>
<div class="result-card-name" :title="item.name">
{{ item.name }}
</div>
<div
class="result-card-parameter text-truncate"
class="result-card-parameter"
:title="`品号:${item.productNumber}`"
>
<span>品号</span>{{ item.productNumber }}
</div>
<div
class="result-card-parameter text-truncate"
class="result-card-parameter"
:title="`品号-规格型号:${item.specificationModel}`"
>
<span>品号-规格型号 </span>{{ item.specificationModel }}
@ -1746,10 +1743,11 @@ function handleConfirm() {
.result-card-parameter {
font-size: 13px;
color: #888;
margin-bottom: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
overflow: visible;
white-space: normal;
padding: 2px;
max-width: 300px;
word-break: break-word;
span {
color: #555;
}