|
|
@ -134,6 +134,73 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '生产线代码', |
|
|
|
field: 'productionLineCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled:true, |
|
|
|
multiple: true, |
|
|
|
// isInpuFocusShow: true,
|
|
|
|
searchListPlaceholder: '请选择生产线代码', |
|
|
|
searchField: 'code', |
|
|
|
searchTitle: '生产线信息', |
|
|
|
searchAllSchemas: Productionline.allSchemas, |
|
|
|
searchPage: ProductionlineApi.getProductionlinePage, |
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'workshopCode', |
|
|
|
value: 'workshopCode', |
|
|
|
message: '请填写车间代码!', |
|
|
|
isMainValue: true |
|
|
|
}], |
|
|
|
verificationPage: ProductionlineApi.getProductionlineByCodes, // 校验数去焦点输入是否正确的方法
|
|
|
|
isShowTableFormSearch: true, |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, |
|
|
|
searchListPlaceholder: '请选择生产线代码', |
|
|
|
searchField: 'code', |
|
|
|
searchTitle: '生产线信息', |
|
|
|
searchAllSchemas: Productionline.allSchemas, |
|
|
|
searchPage: ProductionlineApi.getProductionlinePage, |
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'workshopCode', |
|
|
|
value: 'workshopCode', |
|
|
|
message: '请填写车间代码!', |
|
|
|
isMainValue: true |
|
|
|
}], |
|
|
|
verificationParams: [{ |
|
|
|
key: 'code', |
|
|
|
action: '==', |
|
|
|
value: '', |
|
|
|
isMainValue: false, |
|
|
|
isSearch: true, |
|
|
|
isFormModel: true, |
|
|
|
}], // 失去焦点校验参数
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '班组', |
|
|
|
field: 'team', |
|
|
@ -521,6 +588,9 @@ export const ProductreceiptRequestMainRules = reactive({ |
|
|
|
// shift: [
|
|
|
|
// { required: true, message: '请选择班次代码', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
productionLineCode: [ |
|
|
|
{ required: true, message: '请选择生产线代码', trigger: 'change' } |
|
|
|
], |
|
|
|
dueTime: [ |
|
|
|
{ required: true, message: '请选择截止时间', trigger: 'blur' } |
|
|
|
], |
|
|
@ -552,6 +622,7 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
tableForm:{ |
|
|
|
disabled:true, |
|
|
|
multiple: true, |
|
|
|