| | |
| | | totalArea = add(totalArea, collection.total_area) |
| | | //根据有几层计算重量 |
| | | for (let j = 0; j < produceList.value[i].detail.length; j++) { |
| | | if (produceList.value[i].detail[j].technologyNumber.length>1){ |
| | | totalWeight += collection.weight * collection.quantity * 1; |
| | | |
| | | let ceng = produceList.value[i].detail[j].technologyNumber.length |
| | | if (produceList.value[i].processName!=""){ |
| | | for (let k = 0; k < produceList.value[i].detail[j].technologyNumber.length; k++) { |
| | | totalWeight += collection.width * collection.height * collection.quantity / 1000000 * collection.separation * 2.5 * 1; |
| | | } |
| | | }else { |
| | | totalWeight += collection.width * collection.height * collection.quantity / 1000000 * collection.separation * 2.5 * 1; |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | //每个序号周长 |