Browse Source

装箱单成衣体积计算调整

jbb 2 năm trước cách đây
mục cha
commit
0ada259d2f

+ 1 - 1
src/views/packing-list/packinglist-clothes/clothesAddDrawer.vue

@@ -651,7 +651,7 @@ export default {
       if (dataRow.outerBoxLength != "" && dataRow.outerBoxLength != undefined &&
       dataRow.outerBoxWidth != "" && dataRow.outerBoxWidth != undefined &&
       dataRow.outerBoxHeight != "" && dataRow.outerBoxHeight != undefined){
-      dataRow.totalVolume = (dataRow.outerBoxLength * dataRow.outerBoxWidth * dataRow.outerBoxHeight * dataRow.boxNumber).toFixed(3)
+      dataRow.totalVolume = (dataRow.outerBoxLength * dataRow.outerBoxWidth * dataRow.outerBoxHeight * dataRow.boxNumber/1000000).toFixed(3)
       }
       if (dataRow.unitPrice != undefined && dataRow.unitPrice != ""){
         dataRow.totalPrice = (dataRow.unitPrice*dataRow.total).toFixed(2)