| | |
| | | align: 'center',//文字居中 |
| | | stripe: true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true, height: 30, useKey: false},//鼠标移动或选择高亮 |
| | | id: 'CustomerListRight', |
| | | id: 'AddProcessCardRight', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | align: 'center',//文字居中 |
| | | stripe: true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true, height: 30, useKey: false},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'AddProcessCardLeft', |
| | | showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | return parseFloat((row.baiscQuantity*row.thickness*row.width*row.height*2.5/1000000).toFixed(2)) |
| | | } |
| | | |
| | | //右边表格定义 |
| | | // const $grid = xGrid.value |
| | | // //获取右边表格checkbox选中的数据 |
| | | // const checkedList = $grid.getCheckboxRecords() |
| | | |
| | | // const checkedSum = (checkedList) =>{ |
| | | // let sum = 0 |
| | | // checkedList.forEach((item)=>{ |
| | | // sum += parseFloat(item.weightSum) |
| | | // }) |
| | | // return sum |
| | | // } |
| | | </script> |
| | | |
| | | <template> |