|
@@ -195,7 +195,7 @@ const completedSteps = (tabIndex) => {
|
|
|
const isStepValid = (tabIndex) => {
|
|
|
const current = currentStep.value[tabIndex]
|
|
|
debugger
|
|
|
- if (formData[tabIndex][current].ifNormal===null) {
|
|
|
+ if (formData[tabIndex][current].ifNormal===null||formData[tabIndex][current].ifNormal===undefined) {
|
|
|
return false
|
|
|
}
|
|
|
if (formData[tabIndex][current].ifNormal&&(formData[tabIndex][current].description===undefined||formData[tabIndex][current].description===null||formData[tabIndex][current].description==='')) {
|
|
@@ -243,6 +243,7 @@ const submitForm = (tabIndex,current,type) => {
|
|
|
push({ name: 'IotInspectOrder', params:{}})
|
|
|
}
|
|
|
} catch (error) {
|
|
|
+ debugger
|
|
|
ElMessage.error('提交失败,请检查数据')
|
|
|
}
|
|
|
}
|