From 35a40e1f96b67f597e44c5c3aaa2f79976ce7166 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Mon, 14 Oct 2024 15:35:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E8=BE=B9=E6=8A=A5=E5=BA=9F=E7=94=B3?= =?UTF-8?q?=E8=AF=B7--=E6=88=90=E6=9C=AC=E4=B8=AD=E5=BF=83=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=9B=B4=E6=8D=A2=EF=BC=8C=E6=B8=85=E7=A9=BA=E5=8E=9F?= =?UTF-8?q?=E5=9B=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionscrap/productionscrapRequestMain/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue b/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue index 2fcda4d45..d7061b56d 100644 --- a/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue +++ b/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']