gaoluyang
昨天 44177e4d6906a1469efdfd64d652bf05bce5b065
src/views/productionManagement/productionReporting/components/formDia.vue
@@ -94,7 +94,7 @@
<script setup>
import {ref} from "vue";
import {getStaffJoinInfo, staffJoinAdd, staffJoinUpdate} from "@/api/personnelManagement/onboarding.js";
// import {getStaffJoinInfo, staffJoinAdd, staffJoinUpdate} from "@/api/personnelManagement/onboarding.js";
import {userListNoPageByTenantId} from "@/api/system/user.js";
import {productionReport, productionReportUpdate} from "@/api/productionManagement/productionReporting.js";
const { proxy } = getCurrentInstance()
@@ -144,7 +144,7 @@
   const unitPrice = Number(form.value.unitPrice ?? 0);
   
   if (quantity > 0 && unitPrice > 0) {
      form.value.totalPrice = (quantity * unitPrice).toFixed(2);
      form.value.totalPrice = (quantity * unitPrice).toFixed(3);
   } else {
      form.value.totalPrice = '0.00';
   }