feat(金额显示): 统一金额单位为万元并优化产品内容处理
refactor(产品内容): 提取产品内容处理逻辑到独立工具类 style(合同表单): 调整技术附件和商务附件顺序
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<el-table-column prop="contactPerson" label="联系人" min-width="80"></el-table-column>
|
||||
<el-table-column prop="customerLevel" label="客户等级" min-width="100"></el-table-column>
|
||||
<el-table-column prop="industry" label="所属行业" min-width="120"></el-table-column>
|
||||
<el-table-column prop="orderAmount" label="订单金额">
|
||||
<el-table-column prop="orderAmount" label="订单金额(万元)">
|
||||
<template #default="scope">
|
||||
{{ formatAmount(scope.row.orderAmount) }}
|
||||
</template>
|
||||
@@ -50,7 +50,7 @@
|
||||
<el-tag v-else type="danger">未结款</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="unpaidAmount" label="未结金额" min-width="100">
|
||||
<el-table-column prop="unpaidAmount" label="未结金额(万元)" min-width="100">
|
||||
<template #default="scope">
|
||||
{{ formatAmount(scope.row.unpaidAmount) }}
|
||||
</template>
|
||||
@@ -79,7 +79,7 @@
|
||||
<el-table-column prop="productName" label="产品名称" min-width="150"></el-table-column>
|
||||
<el-table-column prop="specification" label="产品规格" min-width="120"></el-table-column>
|
||||
<el-table-column prop="productCount" label="产品数量" min-width="80"></el-table-column>
|
||||
<el-table-column prop="unitPrice" label="单价(元)" min-width="100">
|
||||
<el-table-column prop="unitPrice" label="单价(元 / 吨)" min-width="100">
|
||||
<template #default="scope">
|
||||
{{ formatAmount(scope.row.unitPrice) }}
|
||||
</template>
|
||||
@@ -115,7 +115,7 @@
|
||||
<span class="customer-info">客户编码:{{ customer.customerCode }}</span>
|
||||
<span class="customer-info">客户等级:{{ customer.customerLevel }}</span>
|
||||
<span class="customer-info">所属行业:{{ customer.industry }}</span>
|
||||
<span class="summary-info">总订单金额:{{ formatAmount(customer.totalOrderAmount) }} 元</span>
|
||||
<span class="summary-info">总订单金额:{{ formatAmount(customer.totalOrderAmount) }} 万元</span>
|
||||
<span class="summary-info">订单数量:{{ customer.orderCount }} 单</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -130,7 +130,7 @@
|
||||
empty-text="该客户暂无订单数据"
|
||||
>
|
||||
<el-table-column prop="orderCode" label="订单编号" min-width="120"></el-table-column>
|
||||
<el-table-column prop="orderAmount" label="订单金额(元)" min-width="120">
|
||||
<el-table-column prop="orderAmount" label="订单金额(万元)" min-width="120">
|
||||
<template #default="scope">
|
||||
{{ formatAmount(scope.row.orderAmount) }}
|
||||
</template>
|
||||
@@ -154,7 +154,7 @@
|
||||
<el-tag v-else type="danger">未结款</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="unpaidAmount" label="未结金额(元)" min-width="120">
|
||||
<el-table-column prop="unpaidAmount" label="未结金额(万元)" min-width="120">
|
||||
<template #default="scope">
|
||||
{{ formatAmount(scope.row.unpaidAmount) }}
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user