Commit bba56874 by 杨树贤

申请审核

parent b149eb8d
......@@ -218,7 +218,7 @@ class SupplierApiController extends Controller
{
//禁用不是直接修改为无法交易,而是改为审核中,然后审核通过后,变成无法交易
$supplierId = $request->get('supplier_id');
$disableReason = $request->get('disable_reason');
$disableReason = trim($request->get('disable_reason'));
if (empty($disableReason)) {
$this->response(-1, '禁用理由必填');
}
......
......@@ -138,7 +138,6 @@ return [
'SkipChangeSupplierTypeNames' => [
"Arrow Electronics Inc",
"Mouser Electronics Inc",
"Chip One Stop, Inc.",
"驰万电子(深圳)有限公司",
"TI STORE",
"欧时电子元件(上海)有限公司",
......
......@@ -25,7 +25,7 @@
}
</style>
<div class="layui-card">
<form class="layui-form" action="" lay-filter="supplier_form">
<form class="layui-form" action="" lay-filter="supplier_form">
<div class="layui-card-header fix-top">
<div class="layui-row">
<div class="layui-col-md2">
......@@ -81,12 +81,9 @@
<button type="button" class="layui-btn layui-btn submit-loading" lay-submit
lay-filter="updateSupplier">确认修改供应商
</button>
@if (!checkPerm('IgnoreUpdateAudit'))
<button type="button" class="layui-btn layui-btn submit-loading" lay-submit
lay-filter="applyAuditSupplier">申请审核
</button>
@endif
<button type="button" class="layui-btn layui-btn submit-loading" lay-submit
lay-filter="applyAuditSupplier">申请审核
</button>
@endif
<a id="supplierDetailUrl"
href="/supplier/SupplierDetail?view=iframe&supplier_id={{$supplier['supplier_id']}}"
......
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