Commit acd15911 by 冷斌

fix bug

parent a4c156af
...@@ -199,6 +199,10 @@ class HomeAction extends UserAction ...@@ -199,6 +199,10 @@ class HomeAction extends UserAction
$ordertype = 'exams'; $ordertype = 'exams';
$table = 'exams_paper_order'; $table = 'exams_paper_order';
$check_type = 'exams'; $check_type = 'exams';
} else if ($_GET['ordertype'] == 'goods') {
$ordertype = 'goods';
$table = 'el_goods_order';
$check_type = 'goods_order';
} }
$data = M($table)->where($map)->order($order)->findPage($limit); $data = M($table)->where($map)->order($order)->findPage($limit);
......
...@@ -110,6 +110,7 @@ ...@@ -110,6 +110,7 @@
items: [] items: []
}, { }, {
title: "已取消", title: "已取消",
v: 'goods',
items: [] items: []
}] }]
}, { }, {
...@@ -125,6 +126,7 @@ ...@@ -125,6 +126,7 @@
items: [] items: []
}, { }, {
title: "已取消", title: "已取消",
v: 'goods',
items: [] items: []
}] }]
}, { }, {
...@@ -140,6 +142,7 @@ ...@@ -140,6 +142,7 @@
items: [] items: []
}, { }, {
title: "已取消", title: "已取消",
v: 'goods',
items: [] items: []
}] }]
}] }]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment