Browse Source

Merge branch 'dev1.2.0' of http://222.90.211.174:3000/suf/factoring-trade-front-end-v2 into dev1.2.0

sufan 2 weeks ago
parent
commit
1b257f6bd2

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

@@ -167,7 +167,7 @@
                 v-model="scope.row.openQuantity"
                 v-model="scope.row.openQuantity"
                 placeholder="请输入本次开票数量"
                 placeholder="请输入本次开票数量"
                 :disabled="disabled"
                 :disabled="disabled"
-                @blur="calcMoney(scope.row,scope.$index)"
+                @blur="formatMoney(Number(scope.row.openQuantity) * Number(scope.row.salesPrice))"
                 @input="totalOpenQuantity(scope.row,scope.$index)"
                 @input="totalOpenQuantity(scope.row,scope.$index)"
               />
               />
             </template>
             </template>
@@ -440,7 +440,7 @@ export default {
     },
     },
     calcMoney() {
     calcMoney() {
       return (val) => {
       return (val) => {
-        return formatMoney(Number(val.openQuantity) * Number(val.salesPrice))
+        return formatMoney(Number(val.openQuantity) * Number(val.salesPrice), 4)
       }
       }
     }
     }
     // #region 贸理通4.0版本优化 发票管理
     // #region 贸理通4.0版本优化 发票管理