| | |
| | | {field: 'computeGrossArea', title: t('processCard.areaToDivided'), width: '60px'}, |
| | | {field: 'totalThickness', title: t('processCard.totalThickness'), width: '80px'}, |
| | | {field: 'thickness', title: t('processCard.glassThickness'), width: '60px'}, |
| | | {field: 'weight', title: t('processCard.weight')} |
| | | {field: 'weight', title: t('processCard.weight'),slots:{default:'weight_sum'}} |
| | | ],//表头按钮 |
| | | |
| | | toolbarConfig: { |
| | |
| | | }, |
| | | |
| | | } |
| | | const weightSum = (row) =>{ |
| | | return parseFloat((row.baiscQuantity*row.thickness*row.width*row.height*2.5/1000000).toFixed(2)) |
| | | } |
| | | |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | </template> |
| | | |
| | | |
| | | |
| | | </vxe-grid> |
| | | |
| | | </el-aside> |
| | |
| | | </li> |
| | | </ul> |
| | | </template> |
| | | <template #weight_sum="{ row }"> |
| | | <span>{{ weightSum(row) }} </span> |
| | | </template> |
| | | |
| | | <template #num1_filter="{ column, $panel }"> |
| | | <div> |