Commit 0835f068 by 杨树贤

补充修复

parent fd501f54
......@@ -46,7 +46,7 @@ class SupplierReceiptController extends Controller
public function AddSupplierReceipt($request)
{
$this->data['title'] = '添加供应商银行';
$this->data['nationList'] = NationModel::pluck('name_cn','nation_id')->toArray();
$this->data['nationList'] = NationModel::getNationList();
$this->data['internationalCodeList'] = NationModel::getNationList();
return $this->view('添加供应商银行');
}
......@@ -59,7 +59,7 @@ class SupplierReceiptController extends Controller
$model = new SupplierReceiptModel();
$this->data['receipt'] = $model->where('receipt_id', $receiptId)->first()->toArray();
}
$this->data['nationList'] = NationModel::pluck('name_cn','nation_id')->toArray();
$this->data['nationList'] = NationModel::getNationList();
$this->data['title'] = '修改供应商银行';
$this->data['view'] = 'AddSupplierReceipt';
$this->data['internationalCodeList'] = NationModel::getNationList();
......
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