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
b011c852
authored
Jul 27, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
模板
parent
149cf5f5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
app/Http/Services/SupplierExaminationService.php
public/data/import_supplier_examination_template.csv
public/data/supplier_examination_data.csv
app/Http/Services/SupplierExaminationService.php
View file @
b011c852
...
@@ -191,6 +191,9 @@ class SupplierExaminationService
...
@@ -191,6 +191,9 @@ class SupplierExaminationService
private
function
checkImportCsvHeader
(
$header
)
private
function
checkImportCsvHeader
(
$header
)
{
{
$header
=
array_map
(
function
(
$value
)
{
return
trim
(
$value
,
'*'
);
},
$header
);
$validHeader
=
[
$validHeader
=
[
'销售订单号'
,
'销售订单号'
,
'采购订单号'
,
'采购订单号'
,
...
...
public/data/import_supplier_examination_template.csv
View file @
b011c852
销售订单号,采购订单号,
检货时间,销售,采购员,A/B单,供应商,型号,品牌,数量,批次,产地,入库日期,来货单号,送货单,理货要求,验货要求,不良数,异常等级,不良现象,
检验结果,备注
销售订单号,采购订单号,
*检货时间,销售,*采购员,A/B单,*供应商,*型号,*品牌,*数量,批次,产地,入库日期,来货单号,送货单,理货要求,验货要求,*不良数,异常等级,不良现象,*
检验结果,备注
public/data/supplier_examination_data.csv
View file @
b011c852
销售订单号,采购订单号,
检货时间,销售,采购员,A/B单,供应商,型号,品牌,数量,批次,产地,入库日期,来货单号,送货单,理货要求,验货要求,不良数,异常等级,不良现象,
检验结果,备注
销售订单号,采购订单号,
*检货时间,销售,*采购员,A/B单,*供应商,*型号,*品牌,*数量,批次,产地,入库日期,来货单号,送货单,理货要求,验货要求,*不良数,异常等级,不良现象,*
检验结果,备注
12
3,12
3,2020/2/3,123,易敏,123,深圳市华之电科技有限公司,123,123,123,123,123,2020/2/3,123,123,123,123,123,1,特批入库,特批入库,123
12
02206066763112,120220606676313
3,2020/2/3,123,易敏,123,深圳市华之电科技有限公司,123,123,123,123,123,2020/2/3,123,123,123,123,123,1,特批入库,特批入库,123
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