|
|
@ -10,6 +10,9 @@ import { Productionline } from '@/views/wms/basicDataManage/factoryModeling/prod |
|
|
|
import * as WorkshopApi from '@/api/wms/workshop' |
|
|
|
import { Workshop } from '@/views/wms/basicDataManage/factoryModeling/workshop/workshop.data' |
|
|
|
|
|
|
|
|
|
|
|
import * as WorkstationApi from '@/api/wms/workstation' |
|
|
|
|
|
|
|
import { validateYS } from '@/utils/validator' |
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
@ -118,14 +121,7 @@ export const Workstation = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '库位信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
} |
|
|
|
// TODO: 陈放修改 ; 数据过滤 查询库区对应成品类型下的所有库位
|
|
|
|
] |
|
|
|
searchPage: WorkstationApi.selectAreaTypeToLocation, // 查询弹窗所需分页方法
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -144,23 +140,7 @@ export const Workstation = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '库位信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
action: '==', |
|
|
|
isSearch: true, |
|
|
|
isMainValue: false |
|
|
|
} |
|
|
|
// TODO: 陈放修改 ; 数据过滤 查询库区对应成品类型下的所有库位
|
|
|
|
// ,{
|
|
|
|
// key: 'type',
|
|
|
|
// value: 'FG',
|
|
|
|
// action: '==',
|
|
|
|
// isSearch: true,
|
|
|
|
// isMainValue: false
|
|
|
|
// }
|
|
|
|
] |
|
|
|
searchPage: WorkstationApi.selectAreaTypeToLocation, // 查询弹窗所需分页方法
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|