修复班组管理产线下拉和时间文案
This commit is contained in:
@@ -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 }))
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user