style(web-admin): format webview plan form and paste helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-09-14 16:48:25 +08:00
1 parent a382f3e730
commit bf22c4b031
3 files changed
+26 -34

No files matched your search

+2 -1
View File
@@ -118,7 +118,8 @@ export async function buildMpPlanPrintHtml(
const userInfo = userStore.getUserInfo as { realName?: string; userName?: string } | null
const loginUserName = String(userInfo?.realName || userInfo?.userName || '').trim()
return replaceSubpackSlipPlaceholders(htmlContent, plan, {
getUnitLabel: (unitCode: string) => dictStore.getLabel('crm_product_unit', unitCode) || unitCode,
getUnitLabel: (unitCode: string) =>
dictStore.getLabel('crm_product_unit', unitCode) || unitCode,
subpackSlipNo,
orderDate: formatSubpackSlipDateIso(),
orderUser: loginUserName,