Parcourir la source

fix:修改发票管理货物信息本次开票金额保留小数

lazy il y a 2 semaines
Parent
commit
0377ef0b02

+ 1 - 1
src/views/invoicesManagement/components/ApplyInvoicingContent.vue

@@ -167,7 +167,7 @@
                 v-model="scope.row.openQuantity"
                 placeholder="请输入本次开票数量"
                 :disabled="disabled"
-                @blur="calcMoney(scope.row,scope.$index)"
+                @blur="formatMoney(Number(scope.row.openQuantity) * Number(scope.row.salesPrice))"
                 @input="totalOpenQuantity(scope.row,scope.$index)"
               />
             </template>