chenhj
2 天以前 2a146bcbd2c3752d699338bad39a07feabe6890e
src/views/productionManagement/productStructure/index.vue
@@ -28,11 +28,9 @@
<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([
  {
@@ -88,11 +86,10 @@
};
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;