From 972b01d9d02d93b609e0d3f8ff58fffb08b98dfd Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 13 三月 2026 09:36:02 +0800
Subject: [PATCH] 新疆海川开心 1.付款与回款展示字段修改 2.付款登记编辑的时候需要付款日期可修改
---
src/views/productionManagement/productionReporting/components/formDia.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/productionManagement/productionReporting/components/formDia.vue b/src/views/productionManagement/productionReporting/components/formDia.vue
index 80d0e0b..8529960 100644
--- a/src/views/productionManagement/productionReporting/components/formDia.vue
+++ b/src/views/productionManagement/productionReporting/components/formDia.vue
@@ -46,14 +46,14 @@
/>
</template>
</el-table-column>
- <el-table-column label="鍗曚环(鍏�)" prop="unitPrice" width="120">
+ <el-table-column label="鍗曚环(鍏�)" prop="unitPrice" width="200">
<template #default="scope">
<el-input-number
v-model="scope.row.unitPrice"
placeholder="璇疯緭鍏�"
:min="0"
- :step="0.01"
- :precision="2"
+ :step="0.001"
+ :precision="3"
clearable
style="width: 100%"
@change="() => calculateTotalPrice(scope.row)"
@@ -154,7 +154,7 @@
pendingFinishNum: pendingFinish, // 淇濆瓨鍘熷鐨勫緟鎶ュ伐鏁伴噺
finishedNum: autoFill,
unitPrice: unitPrice,
- totalPrice: (autoFill * unitPrice).toFixed(2),
+ totalPrice: (autoFill * unitPrice).toFixed(3),
schedulingUserId: row?.schedulingUserId ?? '',
schedulingDate: row?.schedulingDate ?? '',
};
@@ -180,7 +180,7 @@
const unitPrice = Number(row.unitPrice ?? 0);
if (quantity > 0 && unitPrice > 0) {
- row.totalPrice = (quantity * unitPrice).toFixed(2);
+ row.totalPrice = (quantity * unitPrice).toFixed(3);
} else {
row.totalPrice = '0.00';
}
--
Gitblit v1.9.3