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