|
|
@ -84,12 +84,21 @@ export const PreparetoissueMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
enterSearch: true, |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择车间代码', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '车间信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Workshop.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: WorkshopApi.getWorkshopPage // 查询弹窗所需分页方法
|
|
|
|
searchPage: WorkshopApi.getWorkshopPage, // 查询弹窗所需分页方法
|
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -103,12 +112,21 @@ export const PreparetoissueMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
form: { |
|
|
|
labelMessage: '该生产线会影响明细中的物料代码,工位', |
|
|
|
componentProps: { |
|
|
|
enterSearch: true, |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择生产线', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '生产线信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法
|
|
|
|
searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
|
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -122,12 +140,21 @@ export const PreparetoissueMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
enterSearch: true, |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选班组', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '班组信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Team.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: TeamApi.getTeamPage // 查询弹窗所需分页方法
|
|
|
|
searchPage: TeamApi.getTeamPage, // 查询弹窗所需分页方法
|
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -141,12 +168,21 @@ export const PreparetoissueMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
enterSearch: true, |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选班次', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '班次信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Shift.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ShiftApi.getShiftPage // 查询弹窗所需分页方法
|
|
|
|
searchPage: ShiftApi.getShiftPage, // 查询弹窗所需分页方法
|
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -224,6 +260,7 @@ export const PreparetoissueMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
form: { |
|
|
|
labelMessage: '同时影响车间 生产线 班组 班次', |
|
|
|
componentProps: { |
|
|
|
enterSearch:true, |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择生产计划', // 输入框占位文本
|
|
|
|
searchField: 'number', // 查询弹窗赋值字段
|
|
|
@ -244,7 +281,15 @@ export const PreparetoissueMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
key: 'planType', |
|
|
|
value: 'predict', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
}], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'number', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -479,6 +524,7 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
enterSearch:true, |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择工位', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
@ -499,10 +545,20 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
}], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
enterSearch: true, |
|
|
|
isShowTableFormSearch:true, |
|
|
|
multiple: true, |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择工位', // 输入框占位文本
|
|
|
@ -510,6 +566,7 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
searchTitle: '工位信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: WorkStationApi.getWorkstationPage, // 查询弹窗所需分页方法
|
|
|
|
verificationPage: WorkStationApi.getWorkstationByCodes,// 失去焦点校验输入框的数据内容存在
|
|
|
|
searchCondition: [{ |
|
|
|
key: 'productionLineCode', |
|
|
|
value: 'prodLine', |
|
|
@ -524,7 +581,15 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
}], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
@ -537,6 +602,7 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
enterSearch: true, |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择物料代码', // 输入框占位文本
|
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
@ -548,10 +614,19 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
value: 'prodLine', |
|
|
|
message: '请填写生产线代码!', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
}], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
enterSearch: true, |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择物料代码', // 输入框占位文本
|
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
@ -563,7 +638,15 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
value: 'prodLine', |
|
|
|
message: '请填写生产线代码!', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
}], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'componentItemCode', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|