Commit 5a1f5507 by 杨树贤

新增检测采购员不包含离职的

parent 91f188ec
......@@ -60,7 +60,7 @@ class SupplierExaminationController extends Controller
$this->data['supplierName'] = $supplierName;
}
//获取所有采购员提供选择
$purchaseUsers = (new IntracodeModel())->getAllEncode();
$purchaseUsers = (new IntracodeModel())->getEncode();
$purchaseUserNames = collect($purchaseUsers)->pluck('name', 'name')->toArray();
$this->data['purchaseUserNames'] = $purchaseUserNames;
$this->data['supplierNames'] = (new SupplierChannelModel())->where('is_type',0)
......@@ -81,7 +81,7 @@ class SupplierExaminationController extends Controller
$this->data['supplierName'] = $supplierName;
}
//获取所有采购员提供选择
$purchaseUsers = (new IntracodeModel())->getAllEncode();
$purchaseUsers = (new IntracodeModel())->getEncode();
$purchaseUserNames = collect($purchaseUsers)->pluck('name', 'name')->toArray();
$this->data['purchaseUserNames'] = $purchaseUserNames;
$this->data['supplierNames'] = (new SupplierChannelModel())->where('is_type',0)
......
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