|
|
|
@ -537,12 +537,12 @@
|
|
|
|
|
} |
|
|
|
|
if(formData.planType==1 && formData.materialType !=6){ |
|
|
|
|
console.log('格式化后的数据', formData) |
|
|
|
|
if (!!formData.ifDirect){ |
|
|
|
|
if (formData.ifDirect==null){ |
|
|
|
|
this.$message.error('请选择是否属于直达物资!') |
|
|
|
|
return |
|
|
|
|
}else { |
|
|
|
|
if(formData.ifDirect==1){ |
|
|
|
|
if (!!formData.ifInspection){ |
|
|
|
|
if (formData.ifInspection==null){ |
|
|
|
|
this.$message.error('请选择是否需要送检!') |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
@ -616,12 +616,12 @@
|
|
|
|
|
formData.describes = this.describes |
|
|
|
|
console.log('格式化后的数据', formData) |
|
|
|
|
if(formData.planType==1 && formData.materialType !=6){ |
|
|
|
|
if (!!formData.ifDirect){ |
|
|
|
|
if (formData.ifDirect==null){ |
|
|
|
|
this.$message.error('请选择是否属于直达物资!') |
|
|
|
|
return |
|
|
|
|
}else { |
|
|
|
|
if(formData.ifDirect==1){ |
|
|
|
|
if (!!formData.ifInspection){ |
|
|
|
|
if (formData.ifInspection==null){ |
|
|
|
|
this.$message.error('请选择是否需要送检!') |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|