wd 4 år sedan
förälder
incheckning
6eca998ef6
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      src/dashoo.cn/backend/api/controllers/oilsupplier/supplier.go

+ 2 - 1
src/dashoo.cn/backend/api/controllers/oilsupplier/supplier.go

@@ -4051,7 +4051,8 @@ func (this *OilSupplierController) GetLackCertList() {
 			file.Grade = supEntity.Grade
 			if supEntity.OperType == "制造商" {
 				file.Type = 1
-			} else if supEntity.OperType == "非制造商" {
+			}
+			if supEntity.OperType == "贸易商" || supEntity.OperType == "代理商" {
 				file.Type = 2
 			}
 			// 其他字段值