| | |
| | | > |
| | | <div>{{ item.name }}</div> |
| | | <div class="flex-2"> |
| | | {{ getFormatTime(item.open_time) }} |
| | | {{ item.open_time}} |
| | | </div> |
| | | <div v-if="item.direction == 'buy'" class="green"> |
| | | {{ $t("message.jiaoyi.zuoduomairu") }} |
| | |
| | | <div v-if="item.state=='created'">已完成</div> --> |
| | | <!-- <div>{{ item.settlement_time }}</div>--> |
| | | <div class="flex-2"> |
| | | {{ getFormatTime(item.settlement_time) }} |
| | | {{ item.settlement_time}} |
| | | </div> |
| | | <div |
| | | v-if="type == 'orders'" |
| | |
| | | import { useUserStore } from "@/store/user"; |
| | | import AxiosCurrency from "@/api/currency.js"; |
| | | import { handleSymbolImg } from "@/utils"; |
| | | import {initDate} from '@/utils/utils' |
| | | |
| | | export default { |
| | | name: "deliveryDelegateList", |
| | |
| | | if (this.type == "orders") { |
| | | this.orderNumber = res?.total || res.data.length; |
| | | } |
| | | let result = res.data.sort(this.sortData) |
| | | result.forEach(m => {// |
| | | m.open_time = m.open_time.split(' ')[0] + ' ' + initDate(m.open_time.split(' ')[1]) |
| | | m.settlement_time = m.settlement_time.split(' ')[0] + ' ' + initDate(m.settlement_time.split(' ')[1]) |
| | | }); |
| | | this.currencyData = res.data.sort(this.sortData); |
| | | this.currencyDataLength = res.data.length; |
| | | if (this.currencyDataLength == 0 || this.currencyDataLength < 10) { |