diff --git a/src/pages/order/packageDetail/index.js b/src/pages/order/packageDetail/index.js
index 1367c58c..24db123b 100644
--- a/src/pages/order/packageDetail/index.js
+++ b/src/pages/order/packageDetail/index.js
@@ -4,8 +4,33 @@ import TabPage from "@/components/tabPage/main.js"
import moment from "moment"
import React from "react"
import { Notify } from "zent"
+import Grid from "@/components/gird/main.js"
import "./more.less"
+const Column = [
+ {
+ title: "创建时间",
+ name: "time",
+ prop: "time",
+ type: "slot",
+ width: "20%"
+ },
+ {
+ title: "操作描述",
+ name: "message",
+ prop: "message",
+ type: "normal",
+ width: "20%"
+ },
+ {
+ title: "详情",
+ name: "opearo",
+ type: "slot",
+ prop: "opearo",
+ width: "50%"
+ }
+]
+
export default class order extends React.Component {
constructor(props) {
super(props)
@@ -75,31 +100,60 @@ export default class order extends React.Component {
return (
-
- -
- 结算订单号:
- {orderDetail_data.settlement_no}
-
- -
- 创建时间:
- {orderDetail_data.create_time}
-
- -
- 兑换数量:
- {orderDetail_data.order_rows ? orderDetail_data.order_rows.length : "0"}
-
- {orderDetail_data.order_rows
- ? orderDetail_data.order_rows.map((item) => {
- return (
- -
- 关联订单号:
- {item.order_number}
- {item.create_time}
-
- )
- })
- : null}
-
+ {this.state.tabactive == 0 ? (
+
+ -
+ 结算订单号:
+ {orderDetail_data.settlement_no}
+
+ -
+ 创建时间:
+ {orderDetail_data.create_time}
+
+ -
+ 兑换数量:
+
+ {orderDetail_data.order_rows ? orderDetail_data.order_rows.length : "0"}
+
+
+ {orderDetail_data.order_rows
+ ? orderDetail_data.order_rows.map((item) => {
+ return (
+ -
+ 关联订单号:
+ {item.order_number}
+ {item.create_time}
+
+ )
+ })
+ : null}
+
+ ) : (
+
+
{
+ this.countChange(e)
+ }}
+ countbarVisible={false}
+ isSwitch={false}
+ pageChange={(e) => {
+ this.pageChange(e)
+ }}
+ checkChange={this.selection.bind(this)}
+ ComponentHandler={(com, rowData) => {
+ if (com == "time") {
+ return {moment.unix(rowData.time).format("YYYY-MM-DD HH:mm:ss")}
+ }
+ }}
+ />
+
+ )}
)