Explorar el Código

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

lazy hace 2 semanas
padre
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>