| | |
| | | |
| | | <script setup> |
| | | import {ref} from "vue"; |
| | | import { |
| | | modelPage, |
| | | } from "@/api/basicData/product.js"; |
| | | import {productModelList} from "@/api/basicData/productModel.js"; |
| | | |
| | | const StructureEdit = () => import('@/views/productionManagement/productStructure/StructureEdit.vue') |
| | | const StructureEdit = defineAsyncComponent(() => import('@/views/productionManagement/productStructure/StructureEdit.vue')) |
| | | |
| | | const tableColumn = ref([ |
| | | { |
| | |
| | | }; |
| | | const getModelList = () => { |
| | | tableLoading.value = true; |
| | | modelPage({ |
| | | productModelList({ |
| | | current: page.current, |
| | | size: page.size, |
| | | }).then((res) => { |
| | | console.log("res", res); |
| | | tableData.value = res.records; |
| | | page.total = res.total; |
| | | tableLoading.value = false; |