tangning hace 2 años
padre
commit
2322e6e659
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 2 2
      src/views/work/confirmPriceModal.vue
  2. 2 2
      src/views/work/quoteModel.vue

+ 2 - 2
src/views/work/confirmPriceModal.vue

@@ -184,7 +184,7 @@
             },
           })
         })
-        fileFlow.priceCount = count
+        fileFlow.priceCount = count.toFixed(2)
         priceSchema.map(item =>{
           console.log('priceSchema',item)
           appendSchemaByField(item,'')
@@ -294,7 +294,7 @@
             count = count +fromPrice
           }
         }
-        fileFlow.priceCount = count
+        fileFlow.priceCount = count.toFixed(2)
       }
 
       function clearInfo(val){

+ 2 - 2
src/views/work/quoteModel.vue

@@ -199,7 +199,7 @@
             },
           })
         })
-        fileFlow.priceCount = count
+        fileFlow.priceCount = count.toFixed(2)
         priceSchema.map(item =>{
           console.log('priceSchema',item)
           appendSchemaByField(item,'')
@@ -321,7 +321,7 @@
             count = count +fromPrice
           }
         }
-        fileFlow.priceCount = count
+        fileFlow.priceCount = count.toFixed(2)
       }
 
       function clearInfo(val){