Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
25bfdf2a
authored
Jul 04, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' into ysx-供应商新建-20220701
parents
316f1272
3ff2079b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
app/Http/Validators/SupplierValidator.php
config/field.php
resources/views/web/AddSupplier.blade.php
app/Http/Validators/SupplierValidator.php
View file @
25bfdf2a
...
...
@@ -124,8 +124,8 @@ class SupplierValidator
/**
* --->>附件必填要求:
* 如果供应商类别为正式供应商,营业执照
、开票资料
必须上传(结算币种为人民币);
* 如果供应商类别为临时供应商,营业执照
、开票资料
必须上传(结算币种为人民币),品质保证协议不需要上传
* 如果供应商类别为正式供应商,营业执照必须上传(结算币种为人民币);
* 如果供应商类别为临时供应商,营业执照必须上传(结算币种为人民币),品质保证协议不需要上传
* 必须上传品质保证协议才能成为正式供应商,没有上传品质保证协议只能为临时供应商(代理商跟原厂类型的供应商不需要上传品质保证协议)。
* 供应商类型为代理商的,需要上传代理证才能成为正式供应商,没有上传代理证的只能为临时供应商。
* 非国内的供应商,商业登记证不能为空
...
...
@@ -150,9 +150,9 @@ class SupplierValidator
$errorMessageList
[]
=
'营业执照必须上传'
;
}
if
(
!
in_array
(
'billing_information'
,
$attachmentFields
)
&&
$validateData
[
'currency'
]
==
1
)
{
$errorMessageList
[]
=
'如果选择币种为人民币,开票资料必须上传'
;
}
//
if (!in_array('billing_information', $attachmentFields) && $validateData['currency'] == 1) {
//
$errorMessageList[] = '如果选择币种为人民币,开票资料必须上传';
//
}
if
(
$validateData
[
'supplier_type'
]
==
SupplierChannelModel
::
SUPPLIER_TYPE_OFFICIAL
&&
!
in_array
(
$validateData
[
'supplier_group'
],
[
SupplierChannelModel
::
SUPPLIER_TYPE_OFFICIAL
,
SupplierChannelModel
::
SUPPLIER_GROUP_PROXY
]))
{
...
...
config/field.php
View file @
25bfdf2a
...
...
@@ -167,7 +167,8 @@ return [
"香港唯样科技有限公司"
,
"深圳市九州电子之家有限公司"
,
"深圳前海硬之城信息技术有限公司"
,
"北京京北通宇电子元件有限公司济南分公司"
"北京京北通宇电子元件有限公司济南分公司"
,
"HYPERNET TECHNOLOGY (HONGKONG) CO.,LIMITED"
,
],
'CompanyNature'
=>
[
'其它'
=>
'其它'
,
...
...
resources/views/web/AddSupplier.blade.php
View file @
25bfdf2a
...
...
@@ -416,7 +416,7 @@
3、此处新增供应商基本信息以及配置跟进人,其他信息补全必须进入编辑页面;
</P>
<P>
4、正式供应商建档必须上传营业执照,
开票资料,
现货商类型必须上传品质协议;
4、正式供应商建档必须上传营业执照,现货商类型必须上传品质协议;
</P>
<P>
5、正式供应商建档必须维护至少一条银行信息;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment