|
@@ -85,7 +85,7 @@
|
|
, table = layui.table
|
|
, table = layui.table
|
|
, laytpl = layui.laytpl
|
|
, laytpl = layui.laytpl
|
|
|
|
|
|
- var id = layui.view.getParameterByName('id');
|
|
|
|
|
|
+ var order_id = layui.view.getParameterByName('order_id');
|
|
editdata = JSON.parse(JSON.stringify(parent.layui.table.editdata)); // 框架有Bug所以这么转换
|
|
editdata = JSON.parse(JSON.stringify(parent.layui.table.editdata)); // 框架有Bug所以这么转换
|
|
var data = editdata;
|
|
var data = editdata;
|
|
var getTpl = demo.innerHTML
|
|
var getTpl = demo.innerHTML
|
|
@@ -95,10 +95,10 @@
|
|
});
|
|
});
|
|
table.render({
|
|
table.render({
|
|
elem: '#customer_datagrid'
|
|
elem: '#customer_datagrid'
|
|
- , url: '/order/get_details/?order_id=' + id
|
|
|
|
|
|
+ , url: '/order/get_details/?order_id=' + order_id
|
|
, cols: [[
|
|
, cols: [[
|
|
{field: 'operation', title: "操作", width: 200}
|
|
{field: 'operation', title: "操作", width: 200}
|
|
- , {field: 'operation_time', title: '操作时间', width: 150}
|
|
|
|
|
|
+ , {field: 'operation_time_f', title: '操作时间', width: 150}
|
|
, {field: 'notes', title: '备注', width: 200}
|
|
, {field: 'notes', title: '备注', width: 200}
|
|
, {field: 'user_text', title: '操作人', width: 120}
|
|
, {field: 'user_text', title: '操作人', width: 120}
|
|
, {width: 100, align: 'center', fixed: 'right', toolbar: '#customer-operate-bar'}
|
|
, {width: 100, align: 'center', fixed: 'right', toolbar: '#customer-operate-bar'}
|