@ -303,6 +303,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV[formField] = val[0][searchField]
formRef.setValues(setV)
}
const setV = {}
if (formField == 'shift') {
setV['shift'] = val[0]['code']
setV['shiftName'] = val[0]['name']
})
// 查询页面返回——详情
@ -129,7 +129,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]>
},
{
label: '班次',
label: '班次代码',
field: 'shift',
sort: 'custom',
table: {
@ -161,6 +161,19 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]>
label: '班次名称',
field: 'shiftName',
form: {
componentProps: {
disabled: true
width: 150
label: '从仓库代码',
field: 'fromWarehouseCode',
@ -170,6 +170,11 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
}else{
// const setV = {}
@ -199,7 +199,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
@ -231,6 +231,19 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
// {
// label: '物料代码',
// field: 'detailItemCode',
@ -162,6 +162,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
@ -203,7 +203,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
@ -235,6 +235,19 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([