| | |
| | | showStatus: true |
| | | }, |
| | | menuConfig: { |
| | | body: { |
| | | /*body: { |
| | | options: [ |
| | | [ |
| | | { |
| | |
| | | }, |
| | | ] |
| | | ] |
| | | } |
| | | }*/ |
| | | }, |
| | | //表头参数 |
| | | columns: [ |
| | |
| | | align: 'center',//文字居中 |
| | | stripe: true,//斑马纹 |
| | | rowConfig: {isCurrent: true, isHover: true, height: 30},//鼠标移动或选择高亮 |
| | | id: 'CustomerList', |
| | | id: 'CustomerListDetail', |
| | | //showFooter: true,//显示脚 |
| | | printConfig: {}, |
| | | importConfig: {}, |
| | |
| | | addListener(brokenGrid.value,brokenGridOptions) |
| | | let damage =ref(brokenRow.value.damageDetails) |
| | | brokenGrid.value.reloadData(damage.value) |
| | | addListener(xGrid.value, gridOptions) |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | onMounted(() => { |
| | | window.addEventListener('keypress', qrcodeScanner); |
| | | addListener(xGrid.value, gridOptions) |
| | | //addListener(xGrid.value, gridOptions) |
| | | }) |
| | | |
| | | // 在组件卸载时移除键盘事件监听 |