feat(market): 完善临床科研与委托加工上线能力
补齐项目组负责人审批、费用信息、合作客户、生产出库菜单、申请单号 LCKY 前缀及配套 SQL 迁移,并同步相关前后端与单测。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
7a3c58ed99
commit
c22a0d1eb0
77 files changed
+8375
-1869
No files matched your search
@@ -55,7 +55,7 @@ export const PRODUCTION_WORK_ORDER_TABS: ProductionWorkOrderTabConfig[] = [
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'pilot_service',
|
||||
listLayout: 'standalone',
|
||||
/** 客户已下线中试业务:侧栏不展示,路由 key 保留供历史解析 */
|
||||
/** 与市场中试菜单一致:侧栏 Tab 隐藏,保留 key 供历史工单解析 */
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
|
||||
@@ -55,7 +55,7 @@ export const QC_WORK_ORDER_TABS: QcWorkOrderTabConfig[] = [
|
||||
workOrderType: 'outbound',
|
||||
bizType: 'pilot_service',
|
||||
listLayout: 'outbound-grouped',
|
||||
/** 客户已下线中试业务:侧栏不展示,路由 key 保留供历史解析 */
|
||||
/** 与市场中试菜单一致:侧栏 Tab 隐藏,保留 key 供历史工单解析 */
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
|
||||
@@ -654,6 +654,26 @@ export function applicationStatusTagType(
|
||||
return map[status] || 'info'
|
||||
}
|
||||
|
||||
/** 临床科研/委托加工申请单审批状态 */
|
||||
export function applicationApprovalStatusLabel(status: string): string {
|
||||
const map: Record<string, string> = {
|
||||
dsp: '待审批',
|
||||
ytg: '已通过',
|
||||
yth: '已驳回'
|
||||
}
|
||||
return map[status] || status || '-'
|
||||
}
|
||||
export function applicationApprovalStatusTagType(
|
||||
status: string
|
||||
): '' | 'success' | 'warning' | 'danger' | 'info' {
|
||||
const map: Record<string, '' | 'success' | 'warning' | 'danger' | 'info'> = {
|
||||
dsp: 'warning',
|
||||
ytg: 'success',
|
||||
yth: 'danger'
|
||||
}
|
||||
return map[status] || 'info'
|
||||
}
|
||||
|
||||
// ========== 中试服务体检状态 ==========
|
||||
export function checkupStatusLabel(status: string): string {
|
||||
const map: Record<string, string> = {
|
||||
|
||||
Reference in new issue
Block a user