|
|
@ -127,6 +127,7 @@ import { formatDate } from '@/utils/formatTime' |
|
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
const { loadStart, loadDone } = usePageLoading() |
|
|
|
// 线标原料报废申请 |
|
|
|
// 线标报废申请 |
|
|
|
defineOptions({ name: 'ProductionscrapRequestMain' }) |
|
|
|
|
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
@ -292,6 +293,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
if(formField == 'costCenterCode'){ |
|
|
|
setV['costcentreCode'] = val[0]['costcentreCode'] |
|
|
|
setV['costCenterType'] = val[0]['costcentreType'] |
|
|
|
if(val[0]['costcentreType']!=formRef.formModel['costCenterType']){ |
|
|
|
setV['reasonCodeRequisition'] = '' |
|
|
|
} |
|
|
|
} |
|
|
|
if(formField == 'reasonCodeRequisition'){ |
|
|
|
setV['reasonCodeRequisition'] = val[0]['code'] |
|
|
|