Pārlūkot izejas kodu

后端: 年审物资类一级供应商不交费

baichengfei 4 gadi atpakaļ
vecāks
revīzija
ef1e529bce

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

@@ -146,8 +146,8 @@ func (this *OilAnnualListenerController) CheckNeedPay() {
 	result := 0
 	isPay := "false"
 	unPay := "false"
-	// 2021年08月24日20:11:39 年审所有一级供应商不交费
-	if supplierEntity.Grade == "1" {
+	// 2021年08月24日20:11:39 年审所有物资类一级供应商不交费
+	if supplierEntity.Grade == "1" && supplierCertEntity.SupplierTypeCode == "01" {
 		result = 2
 	} else {
 		for _, eachItem := range isPayList {