Files
2026-06-09 17:02:13 +08:00

18 lines
449 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export function splitTypeLabel(type) {
return Number(type) === 1 ? '百分比' : '固定金额';
}
export function tcmBaseLabel(type) {
return Number(type) === 1 ? '处方总价' : '药店利润';
}
export const SPLIT_TYPE_OPTIONS = [
{ label: '元/件(固定金额)', value: 0 },
{ label: '百分比(%', value: 1 },
];
export const TCM_BASE_OPTIONS = [
{ label: '药店利润', value: 0 },
{ label: '处方总价', value: 1 },
];