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
ac9b966a
Commit
ac9b966a
authored
Feb 23, 2023
by
yyq1988
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整入库表
parent
261fa378
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
jeeplus.js
src/main/webapp/static/common/js/jeeplus.js
+3
-3
gridselect.jsp
src/main/webapp/webpage/modules/common/gridselect.jsp
+1
-1
storageDetail.jsp
...ebapp/webpage/modules/warehouse/storage/storageDetail.jsp
+6
-2
storageForm.jsp
.../webapp/webpage/modules/warehouse/storage/storageForm.jsp
+2
-0
No files found.
src/main/webapp/static/common/js/jeeplus.js
View file @
ac9b966a
...
@@ -322,8 +322,8 @@ function delRow(obj, prefix){
...
@@ -322,8 +322,8 @@ function delRow(obj, prefix){
}
}
});
});
},
},
openStorageSelectDialog
:
function
(
isMultiSelect
,
batchNum
,
yesFuc
){
openStorageSelectDialog
:
function
(
params
,
yesFuc
){
var
url
=
ctx
+
"/warehouse/storage/storage/findByPcTypeModel?goodsInfo.goods.batchNum="
+
batchNum
;
var
url
=
ctx
+
"/warehouse/storage/storage/findByPcTypeModel?goodsInfo.goods.batchNum="
+
params
.
batchNum
+
"&qrCode.state="
+
params
.
state
;
var
fieldLabels
=
"物资编码|名称|类型|型号"
;
var
fieldLabels
=
"物资编码|名称|类型|型号"
;
var
fieldKeys
=
"qrCode.code|name|type.name|model"
;
var
fieldKeys
=
"qrCode.code|name|type.name|model"
;
var
searchLabels
=
"类型|型号"
;
var
searchLabels
=
"类型|型号"
;
...
@@ -334,7 +334,7 @@ function delRow(obj, prefix){
...
@@ -334,7 +334,7 @@ function delRow(obj, prefix){
title
:
"选择入库明细"
,
title
:
"选择入库明细"
,
auto
:
true
,
auto
:
true
,
name
:
'friend'
,
name
:
'friend'
,
content
:
ctx
+
"/tag/gridselect?url="
+
encodeURIComponent
(
url
)
+
"&fieldLabels="
+
encodeURIComponent
(
fieldLabels
)
+
"&fieldKeys="
+
encodeURIComponent
(
fieldKeys
)
+
"&searchLabels="
+
encodeURIComponent
(
searchLabels
)
+
"&searchKeys="
+
encodeURIComponent
(
searchKeys
)
+
"&isMultiSelected="
+
isMultiSelect
,
content
:
ctx
+
"/tag/gridselect?url="
+
encodeURIComponent
(
url
)
+
"&fieldLabels="
+
encodeURIComponent
(
fieldLabels
)
+
"&fieldKeys="
+
encodeURIComponent
(
fieldKeys
)
+
"&searchLabels="
+
encodeURIComponent
(
searchLabels
)
+
"&searchKeys="
+
encodeURIComponent
(
searchKeys
)
+
"&isMultiSelected="
+
params
.
isMultiSelect
,
btn
:
[
'确定'
,
'关闭'
],
btn
:
[
'确定'
,
'关闭'
],
yes
:
function
(
index
,
layero
){
yes
:
function
(
index
,
layero
){
var
iframeWin
=
layero
.
find
(
'iframe'
)[
0
].
contentWindow
;
//得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
var
iframeWin
=
layero
.
find
(
'iframe'
)[
0
].
contentWindow
;
//得到iframe页的窗口对象,执行iframe页的方法:iframeWin.method();
...
...
src/main/webapp/webpage/modules/common/gridselect.jsp
View file @
ac9b966a
...
@@ -28,7 +28,7 @@ $(document).ready(function() {
...
@@ -28,7 +28,7 @@ $(document).ready(function() {
//可供选择的每页的行数(*)
//可供选择的每页的行数(*)
pageList
:
[
10
,
25
,
50
,
'ALL'
],
pageList
:
[
10
,
25
,
50
,
'ALL'
],
//这个接口需要处理bootstrap table传递的固定参数,并返回特定格式的json数据
//这个接口需要处理bootstrap table传递的固定参数,并返回特定格式的json数据
url
:
"${url}"
,
url
:
jp
.
unescapeHTML
(
"${url}"
)
,
//默认值为 'limit',传给服务端的参数为:limit, offset, search, sort, order Else
//默认值为 'limit',传给服务端的参数为:limit, offset, search, sort, order Else
//queryParamsType:'',
//queryParamsType:'',
////查询参数,每次调用是会带上这个参数,可自定义
////查询参数,每次调用是会带上这个参数,可自定义
...
...
src/main/webapp/webpage/modules/warehouse/storage/storageDetail.jsp
View file @
ac9b966a
...
@@ -108,14 +108,18 @@
...
@@ -108,14 +108,18 @@
return $(selector).bootstrapTable('getSelections');
return $(selector).bootstrapTable('getSelections');
}
}
/**
* 手动添加明细
* @param selector
*/
function addDetail(selector){
function addDetail(selector){
// 选择该批次号下的货品明细
if(!$("#batchNum").val()){
if(!$("#batchNum").val()){
jp.warning('请选择批次号!');
jp.warning('请选择批次号!');
return;
return;
}
}
jp.openStorageSelectDialog(
true,$("#batchNum").val()
,function (items){
jp.openStorageSelectDialog(
{batchNum:$("#batchNum").val(),state: 0, isMultiSelect: true }
,function (items){
if(Array.isArray(items)){
if(Array.isArray(items)){
var data = items.map(function (item){
var data = items.map(function (item){
if(item.goodsInfo && !item.goodsInfo.amount){
if(item.goodsInfo && !item.goodsInfo.amount){
...
...
src/main/webapp/webpage/modules/warehouse/storage/storageForm.jsp
View file @
ac9b966a
...
@@ -90,11 +90,13 @@
...
@@ -90,11 +90,13 @@
<
%@
include
file=
"storageDetail.jsp"
%
>
<
%@
include
file=
"storageDetail.jsp"
%
>
</td>
</td>
</tr>
</tr>
<c:if
test=
"${mode == 'view'}"
>
<tr>
<tr>
<td
colspan=
"4"
>
<td
colspan=
"4"
>
<
%@
include
file=
"storageStatistic.jsp"
%
>
<
%@
include
file=
"storageStatistic.jsp"
%
>
</td>
</td>
</tr>
</tr>
</c:if>
</table>
</table>
</form:form>
</form:form>
</div>
</div>
...
...
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