fix(crm): 统一销售金额单位为元并优化金额精度
1. 修改客户等级图表、销售报告页面的金额单位从万元改为元 2. 将金额计算和展示的精度从两位小数调整为三位小数 3. 新增合同默认编码和签订地点的默认值
This commit is contained in:
@@ -87,13 +87,13 @@
|
||||
<!-- 合计行 -->
|
||||
<div class="table-row table-total-row">
|
||||
<div class="table-cell" colspan="3">合计</div>
|
||||
<div class="table-cell">{{ totalQuantity.toFixed(2) }}</div>
|
||||
<div class="table-cell">{{ totalQuantity.toFixed(3) }}</div>
|
||||
<div class="table-cell"></div>
|
||||
<div class="table-cell"></div>
|
||||
<div class="table-cell"></div>
|
||||
<div class="table-cell">{{ totalTaxTotal.toFixed(2) }}</div>
|
||||
<div class="table-cell">{{ totalNoTaxTotal.toFixed(2) }}</div>
|
||||
<div class="table-cell">{{ totalTaxAmount.toFixed(2) }}</div>
|
||||
<div class="table-cell">{{ totalTaxTotal.toFixed(3) }}</div>
|
||||
<div class="table-cell">{{ totalNoTaxTotal.toFixed(3) }}</div>
|
||||
<div class="table-cell">{{ totalTaxAmount.toFixed(3) }}</div>
|
||||
<div class="table-cell"></div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -402,12 +402,12 @@ export default {
|
||||
this.form = {
|
||||
contractId: undefined,
|
||||
contractName: '产品销售合同',
|
||||
contractCode: undefined,
|
||||
contractCode: 'KLPYX',
|
||||
supplier: '嘉祥科伦普重工有限公司',
|
||||
customer: undefined,
|
||||
signTime: undefined,
|
||||
deliveryDate: undefined,
|
||||
signLocation: undefined,
|
||||
signLocation: '济宁市嘉祥县',
|
||||
productContent: undefined,
|
||||
contractContent: `二、交(提)货方式:
|
||||
|
||||
@@ -512,6 +512,8 @@ export default {
|
||||
getOrder(orderId).then(response => {
|
||||
this.loading = false;
|
||||
this.form = response.data;
|
||||
if (!this.form.contractCode) this.form.contractCode = 'KLPYX';
|
||||
if (!this.form.signLocation) this.form.signLocation = '济宁市嘉祥县';
|
||||
this.open = true;
|
||||
this.title = "修改订单信息";
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user