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
749850c5
authored
Jul 27, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
上传校验
parent
4ad2d48d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
app/Http/Services/SupplierExaminationService.php
app/Http/Transformers/SupplierExaminationTransformer.php
resources/views/script/SupplierExaminationListScript.blade.php
app/Http/Services/SupplierExaminationService.php
View file @
749850c5
...
@@ -189,7 +189,6 @@ class SupplierExaminationService
...
@@ -189,7 +189,6 @@ class SupplierExaminationService
return
$exception
->
getMessage
();
return
$exception
->
getMessage
();
}
finally
{
}
finally
{
unlink
(
$filePath
);
unlink
(
$filePath
);
return
true
;
}
}
}
}
...
...
app/Http/Transformers/SupplierExaminationTransformer.php
View file @
749850c5
...
@@ -18,7 +18,8 @@ class SupplierExaminationTransformer
...
@@ -18,7 +18,8 @@ class SupplierExaminationTransformer
$item
[
'update_time'
]
=
$item
[
'update_time'
]
?
date
(
'Y-m-d H:i:s'
,
$item
[
'update_time'
])
:
''
;
$item
[
'update_time'
]
=
$item
[
'update_time'
]
?
date
(
'Y-m-d H:i:s'
,
$item
[
'update_time'
])
:
''
;
$item
[
'examine_time'
]
=
$item
[
'examine_time'
]
?
date
(
'Y-m-d'
,
$item
[
'examine_time'
])
:
''
;
$item
[
'examine_time'
]
=
$item
[
'examine_time'
]
?
date
(
'Y-m-d'
,
$item
[
'examine_time'
])
:
''
;
$item
[
'stock_in_date'
]
=
$item
[
'stock_in_date'
]
?
date
(
'Y-m-d'
,
$item
[
'stock_in_date'
])
:
''
;
$item
[
'stock_in_date'
]
=
$item
[
'stock_in_date'
]
?
date
(
'Y-m-d'
,
$item
[
'stock_in_date'
])
:
''
;
$item
[
'abnormal_level'
]
=
$item
[
'abnormal_level'
]
?:
''
;
$item
[
'abnormal_level'
]
=
$item
[
'abnormal_level'
]
?
array_get
(
config
(
'field.SupplierAbnormalLevel'
),
$item
[
'abnormal_level'
])
:
''
;
}
}
unset
(
$item
);
unset
(
$item
);
return
$list
;
return
$list
;
...
...
resources/views/script/SupplierExaminationListScript.blade.php
View file @
749850c5
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
{
field
:
'tally_request'
,
title
:
'理货要求'
,
align
:
'center'
,
width
:
80
},
{
field
:
'tally_request'
,
title
:
'理货要求'
,
align
:
'center'
,
width
:
80
},
{
field
:
'examine_request'
,
title
:
'验货要求'
,
align
:
'center'
,
width
:
100
},
{
field
:
'examine_request'
,
title
:
'验货要求'
,
align
:
'center'
,
width
:
100
},
{
field
:
'unhealthy_amount'
,
title
:
'不良数'
,
align
:
'center'
,
width
:
80
},
{
field
:
'unhealthy_amount'
,
title
:
'不良数'
,
align
:
'center'
,
width
:
80
},
{
field
:
'abnormal_level'
,
title
:
'异常等级'
,
align
:
'center'
,
width
:
80
},
{
field
:
'abnormal_level'
,
title
:
'异常等级'
,
align
:
'center'
,
width
:
1
80
},
{
field
:
'unhealthy_content'
,
title
:
'不良现象'
,
align
:
'center'
,
width
:
150
},
{
field
:
'unhealthy_content'
,
title
:
'不良现象'
,
align
:
'center'
,
width
:
150
},
{
field
:
'examine_result'
,
title
:
'检验结果'
,
align
:
'center'
,
width
:
150
},
{
field
:
'examine_result'
,
title
:
'检验结果'
,
align
:
'center'
,
width
:
150
},
{
field
:
'remark'
,
title
:
'备注'
,
align
:
'center'
,
width
:
150
},
{
field
:
'remark'
,
title
:
'备注'
,
align
:
'center'
,
width
:
150
},
...
...
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