Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dsyerp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
dsyerp
Commits
a9535ec9
Commit
a9535ec9
authored
Apr 22, 2023
by
wxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库出库中备注必填
parent
2283da3a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
module/Stock/view/stock/ex-warehouse/add.phtml
module/Stock/view/stock/ex-warehouse/add.phtml
+9
-3
module/Stock/view/stock/index/add.phtml
module/Stock/view/stock/index/add.phtml
+9
-3
No files found.
module/Stock/view/stock/ex-warehouse/add.phtml
View file @
a9535ec9
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<div
class=
"col-xs-4 form-group"
>
<div
class=
"col-xs-4 form-group"
>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<?php
echo
$this
->
translate
(
'备注'
);
?>
<?php
echo
$this
->
translate
(
'备注'
);
?>
<span
class=
"must_add_value"
>
*
</span>
<?php
echo
$this
->
formElement
(
$form
->
get
(
'exWarehouseOrderInfo'
));
?>
<?php
echo
$this
->
formElement
(
$form
->
get
(
'exWarehouseOrderInfo'
));
?>
<?php
echo
$this
->
formElementErrors
(
$form
->
get
(
'exWarehouseOrderInfo'
),
[
'class'
=>
'error-message'
]);
?>
<?php
echo
$this
->
formElementErrors
(
$form
->
get
(
'exWarehouseOrderInfo'
),
[
'class'
=>
'error-message'
]);
?>
</div>
</div>
...
@@ -131,7 +131,10 @@
...
@@ -131,7 +131,10 @@
warehouseId
:
{
warehouseId
:
{
required
:
true
,
required
:
true
,
min
:
1
min
:
1
}
},
exWarehouseOrderInfo
:
{
required
:
true
},
},
},
messages
:
{
messages
:
{
exWarehouseOrderSn
:
{
exWarehouseOrderSn
:
{
...
@@ -140,7 +143,10 @@
...
@@ -140,7 +143,10 @@
warehouseId
:
{
warehouseId
:
{
required
:
"
<?php
echo
$this
->
translate
(
'请选择仓库!'
);
?>
"
,
required
:
"
<?php
echo
$this
->
translate
(
'请选择仓库!'
);
?>
"
,
min
:
"
<?php
echo
$this
->
translate
(
'请选择仓库!'
);
?>
"
min
:
"
<?php
echo
$this
->
translate
(
'请选择仓库!'
);
?>
"
}
},
exWarehouseOrderInfo
:
{
required
:
"
<?php
echo
$this
->
translate
(
'备注不能为空!'
);
?>
"
},
},
},
submitHandler
:
function
(
form
)
{
submitHandler
:
function
(
form
)
{
if
(
typeof
(
$
(
"
input[name='goodsId[]']
"
).
val
())
==
"
undefined
"
)
{
if
(
typeof
(
$
(
"
input[name='goodsId[]']
"
).
val
())
==
"
undefined
"
)
{
...
...
module/Stock/view/stock/index/add.phtml
View file @
a9535ec9
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<div
class=
"col-xs-4 form-group"
>
<div
class=
"col-xs-4 form-group"
>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<?php
echo
$this
->
translate
(
'备注'
);
?>
<?php
echo
$this
->
translate
(
'备注'
);
?>
<span
class=
"must_add_value"
>
*
</span>
<?php
echo
$this
->
formElement
(
$form
->
get
(
'warehouseOrderInfo'
));
?>
<?php
echo
$this
->
formElement
(
$form
->
get
(
'warehouseOrderInfo'
));
?>
<?php
echo
$this
->
formElementErrors
(
$form
->
get
(
'warehouseOrderInfo'
),
[
'class'
=>
'error-message'
]);
?>
<?php
echo
$this
->
formElementErrors
(
$form
->
get
(
'warehouseOrderInfo'
),
[
'class'
=>
'error-message'
]);
?>
</div>
</div>
...
@@ -155,7 +155,10 @@
...
@@ -155,7 +155,10 @@
warehouseId
:
{
warehouseId
:
{
required
:
true
,
required
:
true
,
min
:
1
min
:
1
}
},
warehouseOrderInfo
:
{
required
:
true
},
},
},
messages
:
{
messages
:
{
warehouseOrderSn
:
{
warehouseOrderSn
:
{
...
@@ -164,7 +167,10 @@
...
@@ -164,7 +167,10 @@
warehouseId
:
{
warehouseId
:
{
required
:
"
<?php
echo
$this
->
translate
(
'请选择仓库!'
);
?>
"
,
required
:
"
<?php
echo
$this
->
translate
(
'请选择仓库!'
);
?>
"
,
min
:
"
<?php
echo
$this
->
translate
(
'请选择仓库!'
);
?>
"
min
:
"
<?php
echo
$this
->
translate
(
'请选择仓库!'
);
?>
"
}
},
warehouseOrderInfo
:
{
required
:
"
<?php
echo
$this
->
translate
(
'备注不能为空!'
);
?>
"
},
},
},
submitHandler
:
function
(
form
)
{
submitHandler
:
function
(
form
)
{
if
(
typeof
(
$
(
"
input[name='goodsId[]']
"
).
val
())
==
"
undefined
"
)
{
if
(
typeof
(
$
(
"
input[name='goodsId[]']
"
).
val
())
==
"
undefined
"
)
{
...
...
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