| | |
| | | :loading="loading" |
| | | :height="height" |
| | | @on-checkbox="handleCheckboxChange" |
| | | |
| | | :expand-config="expandConfig" |
| | | :subGridOptions="subGridOptions" |
| | | > |
| | |
| | | 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); |
| | |
| | | |
| | | // 表格配置 |
| | | 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', |
| | |
| | | { |
| | | title: '单据号', |
| | | field: 'documentNumber', |
| | | width: 100, |
| | | width: 140, |
| | | }, |
| | | { |
| | | title: '需求分类', |
| | |
| | | const expandConfig = ref({ |
| | | lazy: true, |
| | | loadMethod ({ row }) { |
| | | debugger; |
| | | // 调用接口 |
| | | return listProcessRoute({'workOrderNo':row.documentNumber}).then(data => { |
| | | row.subList = data.rows; |
| | | debugger; |
| | | }) |
| | | } |
| | | }) |