|
|
@ -126,10 +126,14 @@ def bind_tmp_input_db():
|
|
|
|
"put_in_date": Utils.get_str_datetime(),
|
|
|
|
"put_in_date": Utils.get_str_datetime(),
|
|
|
|
"put_in_user_id": user_info.user_id,
|
|
|
|
"put_in_user_id": user_info.user_id,
|
|
|
|
"put_in_user_name": user_info.real_name,
|
|
|
|
"put_in_user_name": user_info.real_name,
|
|
|
|
"status":1,
|
|
|
|
# "status":1,
|
|
|
|
"remain": remain_num,
|
|
|
|
"remain": remain_num,
|
|
|
|
"func_type": func_type,
|
|
|
|
"func_type": func_type,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if len(bar_code) > 10:
|
|
|
|
|
|
|
|
new_dict["status"] = 5
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
new_dict["status"] = 1
|
|
|
|
finds_list = dir(EntityMedicament())
|
|
|
|
finds_list = dir(EntityMedicament())
|
|
|
|
for i in finds_list:
|
|
|
|
for i in finds_list:
|
|
|
|
if i in new_dict.keys():
|
|
|
|
if i in new_dict.keys():
|
|
|
|