Commit aa9fb513 by 夏超

[fix] 修改收料接口

parent cf034758
...@@ -26,6 +26,7 @@ class InheritEntrustOrderMain(Main): ...@@ -26,6 +26,7 @@ class InheritEntrustOrderMain(Main):
date_dt = pytz.utc.localize(i.plan_date).astimezone(user_tz) date_dt = pytz.utc.localize(i.plan_date).astimezone(user_tz)
plan_date = date_dt.strftime("%Y-%m-%d %H:%M:%S") plan_date = date_dt.strftime("%Y-%m-%d %H:%M:%S")
allow_qty, default_qty = i._get_wo_allow_qty() allow_qty, default_qty = i._get_wo_allow_qty()
_logger.info(f"数据{allow_qty}, {i.finish_qty + i.unqualified_qty}")
if allow_qty <= (i.finish_qty + i.unqualified_qty): if allow_qty <= (i.finish_qty + i.unqualified_qty):
continue continue
info.append({ info.append({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment