feat: 更改时间来源、格式
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="first-time"
|
||||
>首次代理时间:{{ sheep.$helper.timeFormat(v.createTime, 'yy-mm-dd hh:MM:ss') }}</view
|
||||
>首次代理时间:{{ sheep.$helper.timeFormat(v.createTime, 'yyyy-mm-dd hh:MM:ss') }}</view
|
||||
>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -102,8 +102,8 @@
|
||||
? Math.max(0, Math.min(100, (totalRevenue / totalPrice) * 100))
|
||||
: 0;
|
||||
const timeText = sheep.$helper?.timeFormat
|
||||
? sheep.$helper.timeFormat(order?.createTime, 'yy-mm-dd hh:MM:ss')
|
||||
: String(order?.createTime || '');
|
||||
? sheep.$helper.timeFormat(firstItem?.saleTime, 'yyyy-mm-dd hh:MM:ss')
|
||||
: String(firstItem?.saleTime || '');
|
||||
const payPriceFen = Number(order?.payPrice ?? 0) || 0;
|
||||
const totalYuan = payPriceFen / 100;
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user