Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
platform
hg-smart
Commits
0865e2f9
Commit
0865e2f9
authored
May 29, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
其他入库单,其他出库单
parent
9c2b4826
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
12 deletions
+36
-12
HGKC006A.js
src/main/webapp/HG/KC/HGKC006A.js
+17
-5
HGKC007A.js
src/main/webapp/HG/KC/HGKC007A.js
+19
-7
No files found.
src/main/webapp/HG/KC/HGKC006A.js
View file @
0865e2f9
...
@@ -137,7 +137,7 @@ let initInvent = function () {
...
@@ -137,7 +137,7 @@ let initInvent = function () {
*/
*/
let
initSpec
=
function
()
{
let
initSpec
=
function
()
{
let
inInfo
=
new
EiInfo
();
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"inqu_status-0-inventTypes"
,
[
1
,
2
]);
//
inInfo.set("inqu_status-0-inventTypes", [1, 2]);
inInfo
.
set
(
"inqu_status-0-isSplicingSymbol"
,
false
);
inInfo
.
set
(
"inqu_status-0-isSplicingSymbol"
,
false
);
EiCommunicator
.
send
(
"HGPZ005"
,
"queryInventBoxAll"
,
inInfo
,
{
EiCommunicator
.
send
(
"HGPZ005"
,
"queryInventBoxAll"
,
inInfo
,
{
onSuccess
:
function
(
ei
)
{
onSuccess
:
function
(
ei
)
{
...
@@ -182,12 +182,24 @@ let save = function () {
...
@@ -182,12 +182,24 @@ let save = function () {
}
}
let
flag
=
true
;
let
flag
=
true
;
$
.
each
(
rows
,
function
(
index
,
item
)
{
$
.
each
(
rows
,
function
(
index
,
item
)
{
let
whCode
=
item
.
get
(
"whCode"
);
let
inventType
=
item
.
get
(
"inventType"
);
/* if(isBlank(whCode)){
let
inventCode
=
item
.
get
(
"inventCode"
);
message("选中的第"+(index+1)+"行\"仓库名称\",不能为空!");
let
inventRecordId
=
item
.
get
(
"inventRecordId"
);
if
(
isBlank
(
inventType
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
存货类型
\"
,不能为空!"
);
flag
=
false
;
flag
=
false
;
return
false
;
return
false
;
}*/
}
if
(
isBlank
(
inventCode
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
存货名称
\"
,不能为空!"
);
flag
=
false
;
return
false
;
}
if
(
isBlank
(
inventRecordId
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
规格
\"
,不能为空!"
);
flag
=
false
;
return
false
;
}
});
});
if
(
flag
)
{
if
(
flag
)
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
保存
\"
操作? "
,
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
保存
\"
操作? "
,
{
...
...
src/main/webapp/HG/KC/HGKC007A.js
View file @
0865e2f9
...
@@ -137,7 +137,7 @@ let initInvent = function () {
...
@@ -137,7 +137,7 @@ let initInvent = function () {
*/
*/
let
initSpec
=
function
()
{
let
initSpec
=
function
()
{
let
inInfo
=
new
EiInfo
();
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"inqu_status-0-inventTypes"
,
[
1
,
2
]);
//
inInfo.set("inqu_status-0-inventTypes", [1, 2]);
inInfo
.
set
(
"inqu_status-0-isSplicingSymbol"
,
false
);
inInfo
.
set
(
"inqu_status-0-isSplicingSymbol"
,
false
);
EiCommunicator
.
send
(
"HGPZ005"
,
"queryInventBoxAll"
,
inInfo
,
{
EiCommunicator
.
send
(
"HGPZ005"
,
"queryInventBoxAll"
,
inInfo
,
{
onSuccess
:
function
(
ei
)
{
onSuccess
:
function
(
ei
)
{
...
@@ -184,12 +184,24 @@ let save = function () {
...
@@ -184,12 +184,24 @@ let save = function () {
}
}
let
flag
=
true
;
let
flag
=
true
;
$
.
each
(
rows
,
function
(
index
,
item
)
{
$
.
each
(
rows
,
function
(
index
,
item
)
{
/* let whCode= item.get("whCode");
let
inventType
=
item
.
get
(
"inventType"
);
if(isBlank(whCode)){
let
inventCode
=
item
.
get
(
"inventCode"
);
message("选中的第"+(index+1)+"行\"仓库名称\",不能为空!");
let
inventRecordId
=
item
.
get
(
"inventRecordId"
);
flag = false;
if
(
isBlank
(
inventType
)){
return false;
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
存货类型
\"
,不能为空!"
);
}*/
flag
=
false
;
return
false
;
}
if
(
isBlank
(
inventCode
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
存货名称
\"
,不能为空!"
);
flag
=
false
;
return
false
;
}
if
(
isBlank
(
inventRecordId
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
规格
\"
,不能为空!"
);
flag
=
false
;
return
false
;
}
});
});
if
(
flag
)
{
if
(
flag
)
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
保存
\"
操作? "
,
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
保存
\"
操作? "
,
{
...
...
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