Commit 3605184b by 杨树贤

特殊供应商提示问题

parent b7a2d47c
......@@ -67,7 +67,7 @@ class SupplierController extends Controller
$applyData = $applyService->getAuditSupplierShareApplyList($request->user->userId);
$this->data['shareApplyCount'] = $applyData['total'];
$statusData = [];
foreach (config('fixed.SupplierStatus') as $key=>$value) {
foreach (config('fixed.SupplierStatus') as $key => $value) {
$statusData[] = [
'name' => $value,
'value' => $key,
......@@ -186,6 +186,8 @@ class SupplierController extends Controller
]);
$this->data['supplier'] = $supplier;
$this->data['address'] = $supplierService->getAddress($supplierId);
$this->data['ignore_supplier_type_change_tips'] = in_array($supplier['supplier_name'],
config('field.SkipChangeSupplierTypeNames'));
return $this->view('编辑供应商');
}
......
......@@ -71,6 +71,9 @@
obj2Checked = true;
}
}
@if ($ignore_supplier_type_change_tips)
msg = '';
@endif
if (msg) {
layer.confirm(msg, {btn: ["确认", "取消"]},
function (index) {
......
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