Bläddra i källkod

变更令,保留小数位数问题

MaiXinRong 5 år sedan
förälder
incheckning
71b84fb6de
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/view/change/info.ejs

+ 1 - 1
app/view/change/info.ejs

@@ -438,7 +438,7 @@
                         <td data-site="2"><%= cl.bwmx %></td>
                         <td data-site="3"><input class="form-control form-control-sm" placeholder="变更详情" type="text" value="<%= cl.detail %>"></td>
                         <td data-site="4"><%= cl.unit %></td>
-                        <td data-site="5"><%= ctx.helper.roundNum(cl.unit_price, tpUnit) %></td>
+                        <td data-site="5"><%= ctx.helper.roundNum(cl.unit_price, upUnit) %></td>
                         <td data-site="6"><%= ctx.helper.roundNum(cl.oamount, ctx.helper.findDecimal(cl.unit)) %></td>
                         <td data-site="7"><%= ctx.helper.roundNum(ctx.helper.accMul(cl.unit_price, cl.oamount), tpUnit) %></td>
                         <td data-site="8"><input class="form-control form-control-sm" placeholder="变更数量" type="text" onkeyup="RegNum(this,event,<%= ctx.helper.findDecimal(cl.unit) %>)"  value="<%= ctx.helper.roundNum(cl.camount, ctx.helper.findDecimal(cl.unit)) %>"></td>