更新云芯对账

parent efbf84a5
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
namespace App\Http\Controllers; namespace App\Http\Controllers;
use App\map\ReconcilePurMap;
use App\Model\CommonModel; use App\Model\CommonModel;
use App\Model\SupplierAccountModel; use App\Model\SupplierAccountModel;
use Config; use Config;
...@@ -106,6 +107,7 @@ class WebController extends Controller ...@@ -106,6 +107,7 @@ class WebController extends Controller
//财务对账列表 //财务对账列表
private function ReconcilePurList($request,$data,$id){ private function ReconcilePurList($request,$data,$id){
$data['title']='对账列表'; $data['title']='对账列表';
$data['status'] = ReconcilePurMap::$status;
return view('pc',$data); return view('pc',$data);
} }
//财务对账列表-明细 //财务对账列表-明细
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<label class="tag">状态:</label> <label class="tag">状态:</label>
<select class="sel w180" name="status" id="status"> <select class="sel w180" name="status" id="status">
<option value=""></option> <option value=""></option>
<?php foreach (\App\map\ReconcilePurMap::$status as $a=>$b) { ?> <?php foreach ($status as $a=>$b) { ?>
<option value="<?= $a ?>"><?= $b ?></option> <option value="<?= $a ?>"><?= $b ?></option>
<?php } ?> <?php } ?>
</select> </select>
......
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 sign in to comment