huangbin 4 anos atrás
pai
commit
a23592b710

+ 1 - 1
src/views/order/commodity_contract/components/commodity_contract_summary/components/commodity_contract_summary_settlement/setup.ts

@@ -156,7 +156,7 @@ export function handleCalculation(selectedRow: QueryTradePositionRsp) {
             if (num !== '--' && price !== '--') {
                 if (deliveryGoods.value) {
                     const agreeunit = getAgreeunit(selected.value.pgoodscode)
-                    result = (+num) * (+price) * agreeunit + (selected.value.pricemove + selected.value.num)
+                    result = (Number(num) * Number(price) * agreeunit) + (selected.value.pricemove * selected.value.num)
                 }
             }
         }