Zhu Zhonghua
2025-04-16 1f236bfe78813d4a97ad2bc0aa5af0575679c379
src/views/mainPlan/platePlan/index.vue
@@ -105,7 +105,6 @@
        :loading="loading"
        :height="height"
        @on-checkbox="handleCheckboxChange"
        :expand-config="expandConfig"
        :subGridOptions="subGridOptions"
    >
@@ -219,7 +218,7 @@
const daterangePlanStartDay = ref([]);
const daterangePlanEndDay = ref([]);
const height = ref(document.documentElement.clientHeight - 210 + "px;")
const height = ref(document.documentElement.clientHeight - 270 + "px;")
const isVisible = ref(false);
const isError = ref(false);
const planned = ref(true);
@@ -431,9 +430,9 @@
// 表格配置
const columns = ref([
  { field: 'expand', type: 'expand', width: 60, align: 'center', slots: { content: 'expandContent' } },
  { type: 'checkbox', width: 60, align:"center"},
  { type: 'seq', title: '序号', width: 60 },
  { field: 'expand', type: 'expand', width: 60, align: 'center', slots: { content: 'expandContent' } },
  {
    title: '主计划员',
    field: 'masterPlanner',
@@ -482,7 +481,7 @@
  {
    title: '单据号',
    field: 'documentNumber',
    width: 100,
    width: 140,
  },
  {
    title: '需求分类',
@@ -850,11 +849,9 @@
const expandConfig = ref({
  lazy: true,
  loadMethod ({ row }) {
    debugger;
    // 调用接口
    return listProcessRoute({'workOrderNo':row.documentNumber}).then(data => {
      row.subList = data.rows;
      debugger;
    })
  }
})