半成品模块数据精度
This commit is contained in:
@@ -123,7 +123,7 @@ export default {
|
||||
qty () {
|
||||
let res = ''
|
||||
res = accDiv(this.total_qty, this.unit_weight)
|
||||
res = Number(res).toFixed(3)
|
||||
res = Number(res).toFixed(0)
|
||||
return res
|
||||
}
|
||||
},
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<th>物料编号</th>
|
||||
<th>物料名称</th>
|
||||
<th>物料规格</th>
|
||||
<th>数量</th>
|
||||
<th>重量(g)</th>
|
||||
<th>单重(g)</th>
|
||||
<th>载具号</th>
|
||||
</tr>
|
||||
@@ -47,7 +47,7 @@
|
||||
<td>{{e.material_code}}</td>
|
||||
<td>{{e.material_name}}</td>
|
||||
<td>{{ e.material_spec }}</td>
|
||||
<td>{{e.canuse_qty | numeric(3)}}</td>
|
||||
<td>{{e.canuse_qty | numeric(0)}}</td>
|
||||
<td>{{ e.unit_weight | numeric(3) }}</td>
|
||||
<td>{{ e.storagevehicle_code }}</td>
|
||||
</tr>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<th>货位</th>
|
||||
<th>物料编号</th>
|
||||
<th>物料名称</th>
|
||||
<th>重量</th>
|
||||
<th>重量(g)</th>
|
||||
<th>单重(g)</th>
|
||||
<th>载具号</th>
|
||||
</tr>
|
||||
@@ -45,7 +45,7 @@
|
||||
<td>{{e.struct_name}}</td>
|
||||
<td>{{e.material_code}}</td>
|
||||
<td>{{e.material_name}}</td>
|
||||
<td>{{e.canuse_qty | numeric(3)}}</td>
|
||||
<td>{{e.canuse_qty | numeric(0)}}</td>
|
||||
<td>{{ e.unit_weight | numeric(3) }}</td>
|
||||
<td>{{ e.storagevehicle_code }}</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user