|
|
@ -1,7 +1,6 @@ |
|
|
|
import type {CrudSchema} from '@/hooks/web/useCrudSchemas' |
|
|
|
import {dateFormatter} from '@/utils/formatTime' |
|
|
|
import {Warehouse} from "@/views/wms/basicDataManage/factoryModeling/warehouse/warehouse.data"; |
|
|
|
import * as WarehouseApi from "@/api/wms/warehouse"; |
|
|
|
import * as WorkstationApi from "@/api/mes/workstation"; |
|
|
|
|
|
|
|
// 表单校验
|
|
|
|
export const WorkstationRules = reactive({ |
|
|
@ -215,13 +214,12 @@ export const Opersteps = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isTableForm:true, |
|
|
|
} |
|
|
|
])) |
|
|
|
export const popCheckList = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
export const popList = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '多选列表', |
|
|
|
field: 'popCheckList', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
isForm: false, |
|
|
|
isSearch: false, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
@ -229,8 +227,8 @@ export const popCheckList = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
searchListPlaceholder: '请选择仓库代码', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '仓库信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Warehouse.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: WarehouseApi.getWarehousePage, // 查询弹窗所需分页方法
|
|
|
|
searchAllSchemas: Team.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: WorkstationApi.getTeamPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|