| | |
| | | <el-table-column |
| | | prop="close_time" |
| | | :label="$t('message.user.shijian')" |
| | | :formatter="formatterDate" |
| | | ></el-table-column> |
| | | <!-- <el-table-column prop="order_no" label="订单号"></el-table-column> --> |
| | | <el-table-column |
| | |
| | | </template> |
| | | <script> |
| | | import { getContractOrder } from "@/api/order.js"; |
| | | import {initDate} from "@/utils/utils" |
| | | import dayjs from "dayjs"; |
| | | export default { |
| | | name: "contractHistoryOrder", |
| | |
| | | }; |
| | | const res = await getContractOrder(data); |
| | | this.tableData = res.data; |
| | | this.tableData.forEach( item => { |
| | | item.close_time = item.close_time.split(/ +/)[0] + ' ' + initDate(item.close_time.split(/ +/)[1]) |
| | | }) |
| | | this.tableLength = res.data.length; |
| | | if (this.tableLength == 0 || this.tableLength < 10) { |
| | | this.isNext = true; |