diff --git a/apps/drug/views.py b/apps/drug/views.py index e0eaad1..62d6181 100644 --- a/apps/drug/views.py +++ b/apps/drug/views.py @@ -61,7 +61,8 @@ def drug_collect(): elif str(drug_entity.func_type) != str(func_type): data = Utils.false_return(msg="试剂不属于这里当前管理") elif drug_entity.remain == '' or drug_entity.remain == None or not drug_entity: - data = Utils.false_return(msg="试剂未称重,请先称重!") + if str(func_type) != "3": + data = Utils.false_return(msg="试剂未称重,请先称重!") else: customer_id = drug_entity.customer_id client_id = drug_entity.client_id