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
88e1d815
Commit
88e1d815
authored
Aug 09, 2023
by
anxiaohe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘盈入库修改
parent
bccdbe91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
profitWarehousingDetail.jsp
...s/warehouse/profitwarehousing/profitWarehousingDetail.jsp
+6
-4
No files found.
src/main/webapp/webpage/modules/warehouse/profitwarehousing/profitWarehousingDetail.jsp
View file @
88e1d815
...
...
@@ -26,7 +26,7 @@
item.shelvesNames = item.shelvesList.map(function (e) { return e.name }).join(',') + ',';
item.warehouseNames = item.warehouseList.map(function (e) { return e.name }).join(',') + ',';
item.remarks = jp.escapeHtml(item.remarks);
item.readonly = item.qrCode && Number(item.qrCode.state) >
= 2
item.readonly = item.qrCode && Number(item.qrCode.state) >
0
return item;
})
}
...
...
@@ -163,7 +163,7 @@
field: '',
title: '操作',
formatter: function (value,row,index){
if (row.qrCode && Number(row.qrCode.state) >
= 2
) return '';
if (row.qrCode && Number(row.qrCode.state) >
0
) return '';
var text = row.delFlag == 1 ? '撤销删除' : '删除';
var result = ["<a href='javascript:void(0);' onclick=\"removeRow(" + index + ", '" + row.id + "', '" + row.delFlag + "')\">"+text+"</a>" ]
return result.join('');
...
...
@@ -210,7 +210,9 @@
function updateRow(index, row){
$(selector).bootstrapTable('updateRow', {
index: index,
row: row
row: Object.assign(row, {
updateFlag: 1
})
})
}
...
...
@@ -238,7 +240,6 @@
function onInputChange(rowIndex, elem , field){
var obj = {};
obj[field] = $(elem).val();
debugger
// 校验数量与单价
if(field === 'num' && obj[field]){
...
...
@@ -512,6 +513,7 @@
<input id="profitWarehousingInfoList{{idx}}_qrCodeId" name="profitWarehousingInfoList[{{idx}}].qrCode.id" type="hidden" value="{{row.qrCode.id}}" readonly class="form-control" />
{{/row.qrCode}}
<input id="profitWarehousingInfoList{{idx}}_warehouseId" name="profitWarehousingInfoList[{{idx}}].warehouse.id" type="hidden" value="{{row.warehouse.id}}" readonly class="form-control" />
<input id="profitWarehousingInfoList{{idx}}_updateFlag" name="profitWarehousingInfoList[{{idx}}].updateFlag" type="hidden" value="{{row.updateFlag}}" readonly class="form-control" />
</script>
<script id="nameTpl" type="text/html">
...
...
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