sth
This commit is contained in:
parent
beaa0a32a9
commit
c1ac4bf315
|
|
@ -63,11 +63,12 @@ class Dispatchlog extends Backend
|
|||
->select();
|
||||
|
||||
$firstLog = end($logs);
|
||||
|
||||
foreach ($orderLogs as $item) {
|
||||
if($item->order_status == 20 && $item->create_time <= $firstLog->create_time){
|
||||
$item->progress_logs = $logs;
|
||||
break;
|
||||
if(!empty($logs)){
|
||||
foreach ($orderLogs as $item) {
|
||||
if($item->order_status == 20 && $item->create_time <= $firstLog->create_time){
|
||||
$item->progress_logs = $logs;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
$this->view->assign('logs',json_encode($orderLogs));
|
||||
|
|
|
|||
|
|
@ -174,8 +174,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','layer'], function ($,
|
|||
},*/
|
||||
{
|
||||
name: 'dispatchlog',
|
||||
text:"日志",
|
||||
title:"变更日记",
|
||||
text:"查看轨迹图",
|
||||
title:"查看轨迹图",
|
||||
icon: 'fa fa-list',
|
||||
url: function(row){
|
||||
return 'orders/dispatchlog/index?dispatch_id='+row.id;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user