廖井涛
4 天以前 4955996ab044bc275ac78da3543b9d9f5ad7f8d9
north-glass-erp/northglass-erp/src/views/sd/bom/OrderBOM.vue
@@ -508,7 +508,7 @@
                    }
                  })
                  // 计算总价
                  product.totalPrice = details.reduce((sum, d) => sum + (d.materialPric || 0), 0)
                  product.totalPrice = details.reduce((sum, d) => sum + (d.materialPric || 0) , 0)
                })
                dialogTableVisible.value = true
              }
@@ -709,11 +709,11 @@
          <div class="card-header">
            <span style="font-weight: bold">成品合计</span>
            &nbsp;&nbsp;&nbsp;
            <span>面积:{{ bomSum.sumData[0].area }}㎡</span>
            <span>面积:{{ bomSum.sumData[0].area.toFixed(2) }}㎡</span>
            &nbsp;&nbsp;&nbsp;
            <span>数量:{{ bomSum.sumData[0].quantity }}</span>
            &nbsp;&nbsp;&nbsp;
            <span>周长:{{ bomSum.sumData[0].perimeter }}m</span>
            <span>周长:{{ bomSum.sumData[0].perimeter.toFixed(2) }}m</span>
          </div>
        </template>