feat(market): 新增委托加工业务并复用临床科研流程
独立 biz_type=contract_processing,申请/缴费/出库与临床科研共用逻辑; 业务子类型支持胎盘冻干粉/脂肪外泌体/NK/MSC/其他自定义,并补充菜单与生产质检 Tab。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
964384108a
commit
9b5e68f4ae
58 files changed
+717
-116
No files matched your search
@@ -383,14 +383,14 @@ async def api_save_application(
|
||||
|
||||
if (
|
||||
not is_edit
|
||||
and biz_type not in ("clinical_application", "basic_experiment")
|
||||
and biz_type not in ("clinical_application", "basic_experiment", "contract_processing")
|
||||
and not app_data["channelServiceOrderId"]
|
||||
):
|
||||
return error_response(400, "请选择渠道服务订单")
|
||||
|
||||
if (
|
||||
not is_edit
|
||||
and biz_type in ("clinical_application", "basic_experiment")
|
||||
and biz_type in ("clinical_application", "basic_experiment", "contract_processing")
|
||||
and not app_data["channelId"]
|
||||
):
|
||||
return error_response(400, "请选择渠道")
|
||||
|
||||
Reference in new issue
Block a user