asd26269546 1 rok temu
rodzic
commit
5b54bf0559

+ 2 - 2
src/views/salesMange/saleContract/middle/index.vue

@@ -181,13 +181,13 @@
           <div class="baseRow" style="display: flex">
             <div class="contentRow" style="width: calc(100% - 100px); text-align: right; color: #409eff">FREIGHT COST:</div>
             <div class="contentRow" style="width: 100px; text-align: center">
-              {{ statisticsTwo("amount", 2) }}
+              {{( printDetails.amount -  statisticsTwo("amount", 2)).toFixed(2) }}
             </div>
           </div>
           <div class="baseRow" style="display: flex">
             <div class="contentRow" style="width: calc(100% - 100px); text-align: right; color: #409eff">TOTAL PRICE:</div>
             <div class="contentRow" style="width: 100px; text-align: center">
-              {{ printDetails.totalAmount }}
+              {{ printDetails.amount }}
             </div>
           </div>
           <div class="baseRow" style="display: flex; border-bottom: 1px solid black">