|
|
@ -44,7 +44,7 @@ const queryParams = { |
|
|
|
// id 转str 否则form回显匹配不到
|
|
|
|
userDept.id = userDept.id.toString() |
|
|
|
const userDeptArray:any = [userDept] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* @returns {Array} 制品报废申请主表 |
|
|
@ -250,7 +250,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '创建时间', |
|
|
|
field: 'createTime', |
|
|
@ -539,7 +539,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isForm: false, |
|
|
|
isTableForm: false, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '来源工位代码', |
|
|
|
field: 'workStationCode', |
|
|
@ -837,7 +837,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '包装号', |
|
|
|
field: 'packingNumber', |
|
|
@ -884,8 +884,8 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '库存状态', |
|
|
|
field: 'inventoryStatus', |
|
|
@ -916,7 +916,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isForm: false, |
|
|
|
isTableForm: false, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '物料描述1', |
|
|
|
field: 'itemDesc1', |
|
|
@ -939,8 +939,8 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isForm: false, |
|
|
|
isTableForm: false, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '项目代码', |
|
|
|
field: 'projectCode', |
|
|
@ -952,7 +952,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isForm: false, |
|
|
|
isTableForm: false, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '最后更新时间', |
|
|
|
field: 'updateTime', |
|
|
@ -1047,7 +1047,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|
field: 'action', |
|
|
@ -1075,9 +1075,9 @@ export const ProductscrapRequestDetailRules = reactive({ |
|
|
|
workStationCode: [ |
|
|
|
{ required: true, message: '请选择工位代码', trigger: 'change' } |
|
|
|
], |
|
|
|
processCode: [ |
|
|
|
{ required: true, message: '请选择工序代码', trigger: 'change' } |
|
|
|
], |
|
|
|
// processCode: [
|
|
|
|
// { required: true, message: '请选择工序代码', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
itemCode: [ |
|
|
|
{ required: true, message: '请选择物料代码', trigger: 'change' } |
|
|
|
], |
|
|
@ -1189,7 +1189,7 @@ export const ProdcutscrapBomScrap = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
label: '从库位代码', |
|
|
|
field: 'fromLocationCode', |
|
|
@ -1261,5 +1261,5 @@ export const ProdcutscrapBomScrap = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
|
|
//表单校验
|
|
|
|
export const ProdcutscrapBomScrapRules = reactive({ |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|