Browse Source

线边报废申请--成本中心类型更换,清空原因代码

hella_online_20241017
yufei_wang 1 month ago
parent
commit
35a40e1f96
  1. 4
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue

4
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue

@ -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']

Loading…
Cancel
Save