Commit 284482b0 authored by jingnan's avatar jingnan 👀

物料领用发放扫码数量科学记数法转换为普通数字类型

parent 6cd81d6c
......@@ -260,6 +260,7 @@ export default {
res.items.map((p) => {
if (p.extScanCodeRecords && p.extScanCodeRecords.length > 0) {
p.extScanCodeRecords.forEach(record => {
record.amount = Number(record.amount).toFixed(20).replace(/\.0+$/, '').replace(/(\.\d+[1-9])0+$/, '$1')
resData.push({
recordData: record,
scanCodeRecordsState: record.status,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment