| | |
| | | dataForGlassInventory.value = data; |
| | | }; |
| | | |
| | | //获取GlassInventory的值(查询库存) |
| | | const sendDataGlassInventory = ref() |
| | | const handleInventoyData = (selectedLabel1,selectedLabel2) => { |
| | | sendDataGlassInventory.value = { |
| | | selectedLabel1, selectedLabel2 |
| | | }; |
| | | }; |
| | | |
| | | //右键菜单打开修边 |
| | | const isTrimmingDialogVisible = ref(false); |
| | | const sendTrimming = (value) => { |
| | | isTrimmingDialogVisible.value = value; |
| | | }; |
| | | |
| | | </script> |
| | | |
| | | <template > |
| | | <div style="width: 100%;height: 100%"> |
| | | <div id="main-body"> |
| | | <project-detail @changeDialog="changeDialog" @forward-data-to-grandparent="handleProjectDetailData"/> |
| | | <project-detail @changeDialog="changeDialog" |
| | | @forward-data-to-grandparent="handleProjectDetailData" |
| | | @send-inventory-to-op="handleInventoyData" |
| | | :TrimmingDialogVisible="isTrimmingDialogVisible" /> |
| | | </div> |
| | | <div id="main-footer"> |
| | | <glass-inventory :receivedData="dataForGlassInventory"/> |
| | | <glass-inventory :receivedData="dataForGlassInventory" |
| | | :InventoryData="sendDataGlassInventory" |
| | | @select-trimming="sendTrimming"/> |
| | | </div> |
| | | |
| | | |