9 changed files with 80 additions and 21 deletions
-
7app/Admin/Controllers/ImsCjdcOrderMainController.php
-
19app/Admin/Extensions/MyDetailPage.php
-
5app/Admin/Extensions/OrderDetail.php
-
2app/Models/ImsCjdcOrder.php
-
20app/Models/LanzuGoods.php
-
20app/Models/LanzuOrderGoods.php
-
2app/Models/LanzuServiceHorseman.php
-
4public/css/deatail.css
-
20resources/views/orderdetail.php
@ -0,0 +1,20 @@ |
|||
<?php |
|||
|
|||
|
|||
namespace App\Models; |
|||
|
|||
|
|||
|
|||
use Dcat\Admin\Traits\HasDateTimeFormatter; |
|||
use Illuminate\Database\Eloquent\Model; |
|||
|
|||
class LanzuGoods extends Model |
|||
{ |
|||
use HasDateTimeFormatter; |
|||
|
|||
protected $table = 'lanzu_goods'; |
|||
protected $dateFormat = 'U'; |
|||
|
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,20 @@ |
|||
<?php |
|||
|
|||
|
|||
namespace App\Models; |
|||
|
|||
use Dcat\Admin\Traits\HasDateTimeFormatter; |
|||
use Illuminate\Database\Eloquent\Model; |
|||
|
|||
class LanzuOrderGoods extends Model |
|||
{ |
|||
use HasDateTimeFormatter; |
|||
|
|||
protected $table = 'lanzu_order_goods'; |
|||
protected $dateFormat = 'U'; |
|||
|
|||
public function goods() |
|||
{ |
|||
return $this->belongsTo('\App\Models\LanzuGoods','goods_id','id'); |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue