north-glass-erp/northglass-erp/src/views/mm/mainProductStock/CreateProductStock.vue
@@ -1,6 +1,6 @@ <script setup> import {reactive} from "vue"; import {reactive, ref} from "vue"; import {useRouter} from 'vue-router' let router=useRouter() const getTableRow = (row,type) =>{ @@ -194,19 +194,14 @@ } }) const xGrid = ref(); const gridEvents = { toolbarButtonClick ({ code }) { const $grid = xGrid.value if ($grid) { switch (code) { case 'add': { router.push({path: '/main/trader/CreateTrader'}) /*if($grid.getCheckboxRecords().length==0){ VXETable.modal.message( '请选择一条数据!') return }*/ alert('我接收到子组件传送的编辑信息') return; }