Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
warehouse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡懿
warehouse
Commits
02273372
Commit
02273372
authored
Jun 08, 2023
by
yyq1988
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验明细
parent
ccf9d969
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
0 deletions
+44
-0
goodsDetail.jsp
...in/webapp/webpage/modules/warehouse/goods/goodsDetail.jsp
+7
-0
goodsForm.jsp
...main/webapp/webpage/modules/warehouse/goods/goodsForm.jsp
+5
-0
materialLossForm.jsp
...bpage/modules/warehouse/materialloss/materialLossForm.jsp
+5
-0
materialRequisitionForm.jsp
...warehouse/materialrequisition/materialRequisitionForm.jsp
+12
-0
outboundForm.jsp
...ebapp/webpage/modules/warehouse/outbound/outboundForm.jsp
+5
-0
profitWarehousingForm.jsp
...les/warehouse/profitwarehousing/profitWarehousingForm.jsp
+5
-0
storageForm.jsp
.../webapp/webpage/modules/warehouse/storage/storageForm.jsp
+5
-0
No files found.
src/main/webapp/webpage/modules/warehouse/goods/goodsDetail.jsp
View file @
02273372
...
...
@@ -105,6 +105,13 @@
]
})
}
/**
* 获取所有明细数据
* @returns {*|jQuery}
*/
function getTableData() {
return $(selector).bootstrapTable('getData');
}
function addDetail(selector){
var row = {
id: '',
...
...
src/main/webapp/webpage/modules/warehouse/goods/goodsForm.jsp
View file @
02273372
...
...
@@ -99,6 +99,11 @@
if
(
!
isValidate
){
return
false
;
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
if
(
hasDetails
){
jp
.
warning
(
'请填写明细!'
);
return
;
}
jp
.
loading
();
jp
.
post
(
$
(
"#inputForm"
).
attr
(
'action'
),
$
(
'#inputForm'
).
serialize
(),
function
(
data
){
if
(
data
.
success
){
...
...
src/main/webapp/webpage/modules/warehouse/materialloss/materialLossForm.jsp
View file @
02273372
...
...
@@ -74,6 +74,11 @@
if
(
!
isValidate
){
return
false
;
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
if
(
hasDetails
){
jp
.
warning
(
'请填写明细!'
);
return
;
}
jp
.
loading
();
jp
.
post
(
$
(
"#inputForm"
).
attr
(
'action'
),
$
(
'#inputForm'
).
serialize
(),
function
(
data
){
if
(
data
.
success
){
...
...
src/main/webapp/webpage/modules/warehouse/materialrequisition/materialRequisitionForm.jsp
View file @
02273372
...
...
@@ -117,6 +117,18 @@
if
(
!
isValidate
){
return
false
;
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
if
(
hasDetails
){
jp
.
warning
(
'请填写领用物资!'
);
return
;
}
var
hasReceiver
=
getTableData
().
every
(
function
(
item
){
return
item
.
receiver
})
if
(
!
hasReceiver
){
jp
.
warning
(
'领用人必填!'
);
return
;
}
jp
.
loading
();
jp
.
post
(
$
(
"#inputForm"
).
attr
(
'action'
),
$
(
'#inputForm'
).
serialize
(),
function
(
data
){
if
(
data
.
success
){
...
...
src/main/webapp/webpage/modules/warehouse/outbound/outboundForm.jsp
View file @
02273372
...
...
@@ -82,6 +82,11 @@
if
(
!
isValidate
){
return
false
;
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
if
(
hasDetails
){
jp
.
warning
(
'请填写明细!'
);
return
;
}
jp
.
loading
();
jp
.
post
(
$
(
"#inputForm"
).
attr
(
'action'
),
$
(
'#inputForm'
).
serialize
(),
function
(
data
){
if
(
data
.
success
){
...
...
src/main/webapp/webpage/modules/warehouse/profitwarehousing/profitWarehousingForm.jsp
View file @
02273372
...
...
@@ -85,6 +85,11 @@
if
(
!
isValidate
){
return
false
;
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
if
(
hasDetails
){
jp
.
warning
(
'请填写明细!'
);
return
;
}
jp
.
loading
();
jp
.
post
(
$
(
"#inputForm"
).
attr
(
'action'
),
$
(
'#inputForm'
).
serialize
(),
function
(
data
){
if
(
data
.
success
){
...
...
src/main/webapp/webpage/modules/warehouse/storage/storageForm.jsp
View file @
02273372
...
...
@@ -133,6 +133,11 @@
if
(
!
isValidate
){
return
false
;
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
if
(
hasDetails
){
jp
.
warning
(
'请填写明细!'
);
return
;
}
jp
.
loading
();
jp
.
post
(
$
(
"#inputForm"
).
attr
(
'action'
),
$
(
'#inputForm'
).
serialize
(),
function
(
data
){
if
(
data
.
success
){
...
...
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