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
306e67ac
Commit
306e67ac
authored
Mar 01, 2023
by
yyq1988
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对接物资盘亏
parent
cd95ae43
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
99 additions
and
182 deletions
+99
-182
materialLossDetail.jsp
...age/modules/warehouse/materialloss/materialLossDetail.jsp
+0
-0
materialLossForm.jsp
...bpage/modules/warehouse/materialloss/materialLossForm.jsp
+67
-174
materialLossList.js
...ebpage/modules/warehouse/materialloss/materialLossList.js
+32
-8
No files found.
src/main/webapp/webpage/modules/warehouse/materialloss/materialLossDetail.jsp
0 → 100644
View file @
306e67ac
This diff is collapsed.
Click to expand it.
src/main/webapp/webpage/modules/warehouse/materialloss/materialLossForm.jsp
View file @
306e67ac
This diff is collapsed.
Click to expand it.
src/main/webapp/webpage/modules/warehouse/materialloss/materialLossList.js
View file @
306e67ac
...
...
@@ -241,21 +241,21 @@ $(document).ready(function() {
$
(
'#materialLossTable'
).
bootstrapTable
(
'refresh'
);
}
function
add
(){
jp
.
go
(
"${ctx}/warehouse/materialloss/materialLoss/form/add"
);
jp
.
openSaveDialog
(
"新增物资盘亏"
,
"${ctx}/warehouse/materialloss/materialLoss/form/add"
,
'1200'
,
'800'
);
}
function
edit
(
id
){
if
(
id
==
undefined
){
id
=
getIdSelections
();
}
jp
.
go
(
"${ctx}/warehouse/materialloss/materialLoss/form/edit?id="
+
id
);
jp
.
openSaveDialog
(
"编辑物资盘亏"
,
"${ctx}/warehouse/materialloss/materialLoss/form/edit?id="
+
id
,
'1200'
,
'800'
);
}
function
view
(
id
){
//没有权限时,不显示确定按钮
if
(
id
==
undefined
){
id
=
getIdSelections
();
}
jp
.
go
(
"${ctx}/warehouse/materialloss/materialLoss/form/view?id="
+
id
);
jp
.
openViewDialog
(
"查看物资盘亏"
,
"${ctx}/warehouse/materialloss/materialLoss/form/view?id="
+
id
,
'1200'
,
'800'
);
}
...
...
@@ -299,9 +299,15 @@ $(document).ready(function() {
<
table
class
=
"ani table"
>
<
thead
>
<
tr
>
<
th
>
盘亏表主表
ID
<
/th
>
<
th
>
物资台账明细
ID
<
/th
>
<
th
>
备注信息
<
/th
>
<
th
>
物资名称
<
/th
>
<
th
>
物资编号
<
/th
>
<
th
>
类型
<
/th
>
<
th
>
型号
<
/th
>
<
th
>
单价
<
/th
>
<
th
>
批次号
<
/th
>
<
th
>
货架
<
/th
>
<
th
>
仓库
<
/th
>
<
th
>
备注
<
/th
>
<
/tr
>
<
/thead
>
<
tbody
id
=
"materialLossChild-{{idx}}-1-List"
>
...
...
@@ -313,10 +319,28 @@ $(document).ready(function() {
<
script
type
=
"text/template"
id
=
"materialLossChild1Tpl"
>
//<!--
<
tr
>
<
td
>
{{
row
.
materialLoss
.
id
}}
{{
row
.
ledgerInfo
.
name
}}
<
/td
>
<
td
>
{{
row
.
ledgerInfo
.
id
}}
{{
row
.
ledgerInfo
.
code
}}
<
/td
>
<
td
>
{{
row
.
ledgerInfo
.
type
.
name
}}
<
/td
>
<
td
>
{{
row
.
ledgerInfo
.
model
}}
<
/td
>
<
td
>
{{
row
.
ledgerInfo
.
amount
}}
<
/td
>
<
td
>
{{
row
.
ledgerInfo
.
batchNum
}}
<
/td
>
<
td
>
{{
row
.
ledgerInfo
.
shelves
.
name
}}
<
/td
>
<
td
>
{{
row
.
ledgerInfo
.
shelves
.
warehouse
.
name
}}
<
/td
>
<
td
>
{{
row
.
remarks
}}
...
...
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