diff --git a/mes-ui/mes-ui-admin-vue3/src/views/heli/partpurchase/index.vue b/mes-ui/mes-ui-admin-vue3/src/views/heli/partpurchase/index.vue
index 0a9ee8ad..02ec99b0 100644
--- a/mes-ui/mes-ui-admin-vue3/src/views/heli/partpurchase/index.vue
+++ b/mes-ui/mes-ui-admin-vue3/src/views/heli/partpurchase/index.vue
@@ -158,7 +158,13 @@
预估单价
-
+
@@ -166,7 +172,11 @@
预估总价
-
@@ -445,11 +455,11 @@ const floatMul = (a, b) => {
} catch (f) {}
return Number(d.replace(".", "")) * Number(e.replace(".", "")) / Math.pow(10, c);
}
-const changeUnitPrice =(row:any)=>{
+const changeUnitPrice =(row:any)=>{
row.estimatedPrices=parseFloat((row.unitPrice* row.purchaseAmounts).toFixed(1))
}
-const changeEstimatedPrices =(row:any)=>{
+const changeEstimatedPrices =(row:any)=>{
row.unitPrice=parseFloat((row.estimatedPrices/row.purchaseAmounts).toFixed(1))
}
const change1 =(row:any)=>{
@@ -529,7 +539,7 @@ const handleSelectedUser = (currentIndex, newValue: any) => {
}
}
-const singleSubmissions=()=>{
+const singleSubmissions=()=>{
submitForm();
}
const submitForm = async () => {