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
4ad2d48d
authored
Jul 27, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
日期选择
parent
e5827e34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
5 deletions
resources/views/script/AddSupplierExaminationScript.blade.php
resources/views/web/AddSupplierExamination.blade.php
resources/views/script/AddSupplierExaminationScript.blade.php
View file @
4ad2d48d
<script>
<script>
layui
.
use
([
'table'
,
'form'
,
'element'
,
'table'
,
'layer'
,
'admin'
,
'xmSelect'
],
function
()
{
layui
.
use
([
'table'
,
'form'
,
'element'
,
'table'
,
'layer'
,
'admin'
,
'xmSelect'
,
'laydate'
],
function
()
{
let
admin
=
layui
.
admin
;
let
admin
=
layui
.
admin
;
let
form
=
layui
.
form
;
let
form
=
layui
.
form
;
let
element
=
layui
.
element
;
let
element
=
layui
.
element
;
let
laydate
=
layui
.
laydate
;
let
xmSelect
=
layui
.
xmSelect
;
let
xmSelect
=
layui
.
xmSelect
;
laydate
.
render
({
elem
:
'#examine_time'
,
type
:
'date'
,
format
:
'yyyy-MM-dd'
});
laydate
.
render
({
elem
:
'#stock_in_date'
,
type
:
'date'
,
format
:
'yyyy-MM-dd'
});
form
.
on
(
'submit(addSupplierExamination)'
,
function
(
data
)
{
form
.
on
(
'submit(addSupplierExamination)'
,
function
(
data
)
{
layer
.
confirm
(
'是否确认新增IQC检测资料?'
,
function
(
index
)
{
layer
.
confirm
(
'是否确认新增IQC检测资料?'
,
function
(
index
)
{
let
url
=
'/api/supplier_examination/AddSupplierExamination'
;
let
url
=
'/api/supplier_examination/AddSupplierExamination'
;
...
...
resources/views/web/AddSupplierExamination.blade.php
View file @
4ad2d48d
...
@@ -53,8 +53,10 @@
...
@@ -53,8 +53,10 @@
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-col-xs6"
>
<div
class=
"layui-col-xs6"
>
@inject('datePresenter','App\Presenters\DatePresenter')
<label
class=
"layui-form-label"
>
<span
class=
"require"
>
*
</span>
检货时间 :
</label>
{!! $datePresenter->render('examine_time','检货时间 : ','',['required'=>true]) !!}
<div
class=
"layui-input-inline"
style=
"margin-top: 0px"
>
<input
type=
"text"
id=
"examine_time"
name=
"examine_time"
placeholder=
"请输入检货时间 : "
class=
"layui-input "
value=
""
>
</div>
</div>
</div>
<div
class=
"layui-col-xs6"
>
<div
class=
"layui-col-xs6"
>
<label
class=
"layui-form-label"
>
A/B单 :
</label>
<label
class=
"layui-form-label"
>
A/B单 :
</label>
...
@@ -126,9 +128,15 @@
...
@@ -126,9 +128,15 @@
</div>
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
{{--
<div
class=
"layui-col-xs6"
>
--}}
{{-- @inject('datePresenter','App\Presenters\DatePresenter')--}}
{{-- {!! $datePresenter->render('stock_in_date','入库日期 : ','') !!}--}}
{{--
</div>
--}}
<div
class=
"layui-col-xs6"
>
<div
class=
"layui-col-xs6"
>
@inject('datePresenter','App\Presenters\DatePresenter')
<label
class=
"layui-form-label"
>
入库日期 :
</label>
{!! $datePresenter->render('stock_in_date','入库日期 : ','') !!}
<div
class=
"layui-input-inline"
style=
"margin-top: 0px"
>
<input
type=
"text"
id=
"stock_in_date"
name=
"stock_in_date"
placeholder=
"请输入入库日期 : "
class=
"layui-input "
value=
""
>
</div>
</div>
</div>
<div
class=
"layui-col-xs6"
>
<div
class=
"layui-col-xs6"
>
<label
class=
"layui-form-label"
>
来货单号 :
</label>
<label
class=
"layui-form-label"
>
来货单号 :
</label>
...
...
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