fix(crm): 统一销售金额单位为元并优化金额精度

1. 修改客户等级图表、销售报告页面的金额单位从万元改为元
2. 将金额计算和展示的精度从两位小数调整为三位小数
3. 新增合同默认编码和签订地点的默认值
This commit is contained in:
2026-06-04 14:28:33 +08:00
parent c71dfe3ff2
commit 8183bae824
6 changed files with 24 additions and 22 deletions

View File

@@ -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 = "修改订单信息";
});