| | |
| | | value:null |
| | | } |
| | | let param = null |
| | | let currentTable = '' |
| | | self.onmessage = function(event) { |
| | | const data = JSON.parse(event.data); |
| | | if(currentTable!=data.currentTable){ |
| | | tableList = data.tableList; |
| | | } |
| | | currentTable = data.currentTable; |
| | | if(data.type&&data.type=='saveData'){ |
| | | tableList = data.tableList; |
| | | param = data.param; |
| | |
| | | a[b].v.v = 0 |
| | | }else if(a[b].v.ct&&a[b].v.ct.fa&&typeof a[b].v.ct.fa == 'string'&&a[b].v.ct.fa.includes('.')){ |
| | | let num = 0 |
| | | let str = n.v.ct.fa.split('.')[1] |
| | | let str = a[b].v.ct.fa.split('.')[1] |
| | | num = str.length |
| | | a[b].v.v = comResult?Number(comResult).toFixed(num):0 |
| | | }else{ |