Files
aiot-platform-ui/apps/web-antd/dist/js/formatter-B7yl7IsI.js
lzh 24c3dbc8f1
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 8s
chore: build and deploy web-antd
2026-03-23 17:20:54 +08:00

2 lines
853 B
JavaScript

import{a as e,C as i}from"./biz-mall-enum-Bmxc7Ei7.js";import{dK as u,cB as n}from"../jse/index-index-B6J4axeY.js";function o(t){return t.discountType===e.PRICE.type?`¥${u(t.discountPrice)}`:t.discountType===e.PERCENT.type?`${t.discountPercent}%`:`未知【${t.discountType}`}function m(t){return t.takeLimitCount?t.takeLimitCount===-1?"无领取限制":`${t.takeLimitCount} 张/人`:" "}function d(t){return t.validityType===i.DATE.type?`${n(t.validStartTime)}${n(t.validEndTime)}`:t.validityType===i.TERM.type?`领取后第 ${t.fixedStartTerm} - ${t.fixedEndTerm} 天内可用`:`未知【${t.validityType}`}function f(t){return t.totalCount===-1?"不限制":t.totalCount}function s(t){return t.totalCount===-1?"不限制":t.totalCount-t.takeCount}function c(t){return`¥${u(t.usePrice)}`}export{f as a,o as d,s as r,m as t,c as u,d as v};