|
|
@@ -936,9 +936,8 @@
|
|
|
this.$refs['GoodsInfo'].$refs['EntityFormCert'].validate((valid) => {
|
|
|
valid2 = valid
|
|
|
})
|
|
|
-
|
|
|
if (this.formData.OperType === '制造商') {
|
|
|
- if (this.formData.MaunLicense === '' && this.formData.SafetyLicense === '') {
|
|
|
+ if (!this.formData.MaunLicense && !this.formData.SafetyLicense) {
|
|
|
valid1 = false
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
@@ -947,7 +946,7 @@
|
|
|
return
|
|
|
}
|
|
|
} else if (this.formData.OperType === '代理商') {
|
|
|
- if (this.formData.AgentManufacturer === '') {
|
|
|
+ if (!this.formData.AgentManufacturer) {
|
|
|
valid1 = false
|
|
|
this.$message({
|
|
|
type: 'warning',
|