修复班组管理产线下拉和时间文案
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

This commit is contained in:
sheng
2026-06-25 23:43:36 +08:00
parent 2ba84edae3
commit ec3b031670
3 changed files with 6 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ import { i18nMixin } from '@/composables/useI18n'
import { confirmMixin } from '@/composables/useConfirmHandle'
import PageTable from '@/components/page-table'
import { getFactoryAreaALL } from '@/api/production-master-data/factory-area'
import { getProductionLineList } from '@/api/production-master-data/production-line'
import { getProductionLineALL } from '@/api/production-master-data/production-line'
import { getUserList } from '@/api/system-administration/user'
import { downloadRename, readExcel } from '@/utils/file'
import { getTeamList, createTeam, editTeam, deleteTeam, getTeamImportTemplate, importTeamData, exportTeamTask, getTeamMemberList, deleteTeamMember } from '@/api/production-master-data/team-management'
@@ -201,7 +201,7 @@ export default {
},
async loadLines (areaId, target) {
if (!areaId) { this[target] = []; return }
const res = await getProductionLineList({ area_id: areaId, page_no: 1, page_size: 10000 })
const res = await getProductionLineALL({ area_id: areaId })
const { list } = readPageData(res)
this[target] = list.map(item => ({ label: item.name, value: item.id }))
},