|
|
@ -172,7 +172,7 @@ export default function Measure() { |
|
|
|
}, [dispatch]) |
|
|
|
|
|
|
|
const onSaveClick = () => { |
|
|
|
if (!contextState.currOrgCode) { |
|
|
|
if (!contextState.currOrgCode || !orgTextArr) { |
|
|
|
Dialog.alert({ |
|
|
|
content: '请选择铁路局/工务段/线路', |
|
|
|
onConfirm: () => { |
|
|
@ -246,7 +246,7 @@ export default function Measure() { |
|
|
|
}); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (!contextState.currOrgCode) { |
|
|
|
if (!contextState.currOrgCode || !orgTextArr) { |
|
|
|
Dialog.alert({ |
|
|
|
content: '请选择铁路局/工务段/线路', |
|
|
|
onConfirm: () => { |
|
|
|