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
a79bdb41
Commit
a79bdb41
authored
Aug 03, 2023
by
anxiaohe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
713298ff
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
106 additions
and
33 deletions
+106
-33
jeeplus.js
src/main/webapp/static/common/js/jeeplus.js
+8
-0
goodsDetail.jsp
...in/webapp/webpage/modules/warehouse/goods/goodsDetail.jsp
+1
-0
goodsForm.jsp
...main/webapp/webpage/modules/warehouse/goods/goodsForm.jsp
+4
-0
materialLossDetail.jsp
...age/modules/warehouse/materialloss/materialLossDetail.jsp
+30
-8
materialLossForm.jsp
...bpage/modules/warehouse/materialloss/materialLossForm.jsp
+5
-3
materialLossList.js
...ebpage/modules/warehouse/materialloss/materialLossList.js
+4
-2
materialRequisitionDetail.jsp
...rehouse/materialrequisition/materialRequisitionDetail.jsp
+7
-1
materialRequisitionForm.jsp
...warehouse/materialrequisition/materialRequisitionForm.jsp
+4
-2
outboundDetail.jsp
...app/webpage/modules/warehouse/outbound/outboundDetail.jsp
+1
-0
outboundForm.jsp
...ebapp/webpage/modules/warehouse/outbound/outboundForm.jsp
+4
-2
profitWarehousingDetail.jsp
...s/warehouse/profitwarehousing/profitWarehousingDetail.jsp
+1
-1
profitWarehousingForm.jsp
...les/warehouse/profitwarehousing/profitWarehousingForm.jsp
+5
-3
qrCodeForm.jsp
...in/webapp/webpage/modules/warehouse/qrcode/qrCodeForm.jsp
+8
-2
shelvesForm.jsp
.../webapp/webpage/modules/warehouse/shelves/shelvesForm.jsp
+7
-2
storageDetail.jsp
...ebapp/webpage/modules/warehouse/storage/storageDetail.jsp
+1
-0
storageForm.jsp
.../webapp/webpage/modules/warehouse/storage/storageForm.jsp
+4
-2
warehouseForm.jsp
...app/webpage/modules/warehouse/warehouse/warehouseForm.jsp
+4
-3
wzcodeForm.jsp
...in/webapp/webpage/modules/warehouse/wzcode/wzcodeForm.jsp
+8
-2
No files found.
src/main/webapp/static/common/js/jeeplus.js
View file @
a79bdb41
...
@@ -751,6 +751,14 @@ function delRow(obj, prefix){
...
@@ -751,6 +751,14 @@ function delRow(obj, prefix){
getFrameWindow
:
function
(
URL
)
{
getFrameWindow
:
function
(
URL
)
{
return
this
.
getFrame
(
URL
)[
0
].
contentWindow
return
this
.
getFrame
(
URL
)[
0
].
contentWindow
},
},
escapeHtml
:
function
(
s
)
{
s
=
s
?
s
.
toString
()
:
''
;
return
s
.
replace
(
/&/g
,
'&'
)
.
replace
(
/</g
,
'<'
)
.
replace
(
/>/g
,
'>'
)
.
replace
(
/"/g
,
'"'
)
.
replace
(
/'/g
,
"'"
);
}
}
}
...
...
src/main/webapp/webpage/modules/warehouse/goods/goodsDetail.jsp
View file @
a79bdb41
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
if(data.length){
if(data.length){
data = data.map(function(item){
data = data.map(function(item){
item.delFlag = 0;
item.delFlag = 0;
item.remarks = jp.escapeHtml(item.remarks);
return item;
return item;
})
})
}
}
...
...
src/main/webapp/webpage/modules/warehouse/goods/goodsForm.jsp
View file @
a79bdb41
...
@@ -93,6 +93,10 @@
...
@@ -93,6 +93,10 @@
$
(
'#time'
).
datetimepicker
({
$
(
'#time'
).
datetimepicker
({
format
:
"YYYY-MM-DD HH:mm:ss"
format
:
"YYYY-MM-DD HH:mm:ss"
});
});
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
});
});
function
save
()
{
function
save
()
{
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
...
...
src/main/webapp/webpage/modules/warehouse/materialloss/materialLossDetail.jsp
View file @
a79bdb41
...
@@ -19,10 +19,12 @@
...
@@ -19,10 +19,12 @@
function initTable() {
function initTable() {
var data = ${fns:toJson(materialLoss.materialLossInfoList)};
var data = ${fns:toJson(materialLoss.materialLossInfoList)};
console.log(data)
if(data.length){
if(data.length){
data = data.map(function(item){
data = data.map(function(item){
item.delFlag = 0;
item.delFlag = 0;
item.ledgerInfo.shelvesNames = item.ledgerInfo.shelvesList.map(function (e) { return e.name }).join(',') + ',';
item.ledgerInfo.warehouseNames = item.ledgerInfo.warehouseList.map(function (e) { return e.name }).join(',') + ',';
item.remarks = jp.escapeHtml(item.remarks);
return item;
return item;
})
})
}
}
...
@@ -115,7 +117,17 @@
...
@@ -115,7 +117,17 @@
}
}
},
},
{
{
field: 'ledgerInfo.shelves.name',
field: 'ledgerInfo.warehouseNames',
title: '仓库',
formatter: function (value, row, index) {
return Mustache.render($("#ledgerInfoWarehouseTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g, ""), {
row: row,
idx: index
})
}
},
{
field: 'ledgerInfo.shelvesNames',
title: '货架',
title: '货架',
formatter: function (value, row, index) {
formatter: function (value, row, index) {
return Mustache.render($("#ledgerInfoShelvesTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g, ""), {
return Mustache.render($("#ledgerInfoShelvesTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g, ""), {
...
@@ -160,8 +172,8 @@
...
@@ -160,8 +172,8 @@
title: '选择物资台账明细',
title: '选择物资台账明细',
isMultiSelect: true,
isMultiSelect: true,
url: "${ctx}/warehouse/ledger/ledger/findByQrOrCode",
url: "${ctx}/warehouse/ledger/ledger/findByQrOrCode",
fieldLabels: "物资编码|
物资名称|品名代码|型号|批次号|单价
",
fieldLabels: "物资编码|
品名|品名代码|型号|批次号|单价|数量|单位
",
fieldKeys: "code|
name|type.name|model|batchNum|amoun
t",
fieldKeys: "code|
type.name|type.code|model|batchNum|amount|num|type.uni
t",
searchLabels: "物资编码",
searchLabels: "物资编码",
searchKeys: "code",
searchKeys: "code",
}, function (items) {
}, function (items) {
...
@@ -186,10 +198,12 @@
...
@@ -186,10 +198,12 @@
id: '',
id: '',
delFlag: 0,
delFlag: 0,
remarks: '',
remarks: '',
ledgerInfo: item
ledgerInfo: Object.assign({}, item, {
'shelvesNames': item.shelvesList.map(function (e) { return e.name }).join(',') + ',',
'warehouseNames': item.warehouseList.map(function (e) { return e.name }).join(',') + ',',
})
}
}
})
})
console.log(data)
$(selector).bootstrapTable('append', data)
$(selector).bootstrapTable('append', data)
}
}
})
})
...
@@ -278,11 +292,19 @@
...
@@ -278,11 +292,19 @@
name="materialLossInfoList[{{idx}}].ledgerInfo.amount" type="text" readonly class="form-control"
name="materialLossInfoList[{{idx}}].ledgerInfo.amount" type="text" readonly class="form-control"
value="{{row.ledgerInfo.amount}}"/>
value="{{row.ledgerInfo.amount}}"/>
</script>
</script>
<script id="ledgerInfoWarehouseTpl" type="text/html">
<input id="materialLossInfoList{{idx}}_ledgerInfoWarehouse"
name="materialLossInfoList[{{idx}}].ledgerInfo.warehouseNames" type="text" readonly class="form-control"
value="{{row.ledgerInfo.warehouseNames}}"/>
<input type="hidden" name="materialLossInfoList[{{idx}}].ledgerInfo.warehouseIds" value="{{row.ledgerInfo.warehouseIds}}">
</script>
<script id="ledgerInfoShelvesTpl" type="text/html">
<script id="ledgerInfoShelvesTpl" type="text/html">
<input id="materialLossInfoList{{idx}}_ledgerInfoShelves"
<input id="materialLossInfoList{{idx}}_ledgerInfoShelves"
name="materialLossInfoList[{{idx}}].ledgerInfo.shelves.name" type="text" readonly class="form-control"
name="materialLossInfoList[{{idx}}].ledgerInfo.shelvesNames" type="text" readonly class="form-control"
value="{{row.ledgerInfo.shelves.name}}"/>
value="{{row.ledgerInfo.shelvesNames}}"/>
<input type="hidden" name="materialLossInfoList[{{idx}}].ledgerInfo.shelvesIds" value="{{row.ledgerInfo.shelvesIds}}">
</script>
</script>
<%----%>
<script id="ledgerInfoBatchNumTpl" type="text/html">
<script id="ledgerInfoBatchNumTpl" type="text/html">
<input id="materialLossInfoList{{idx}}_ledgerInfoBatchNum"
<input id="materialLossInfoList{{idx}}_ledgerInfoBatchNum"
name="materialLossInfoList[{{idx}}].ledgerInfo.batchNum" type="text" readonly class="form-control"
name="materialLossInfoList[{{idx}}].ledgerInfo.batchNum" type="text" readonly class="form-control"
...
...
src/main/webapp/webpage/modules/warehouse/materialloss/materialLossForm.jsp
View file @
a79bdb41
...
@@ -68,13 +68,16 @@
...
@@ -68,13 +68,16 @@
$
(
'#time'
).
datetimepicker
({
$
(
'#time'
).
datetimepicker
({
format
:
"YYYY-MM-DD HH:mm:ss"
format
:
"YYYY-MM-DD HH:mm:ss"
});
});
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
});
});
function
save
()
{
function
save
()
{
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
if
(
!
isValidate
){
if
(
!
isValidate
){
return
false
;
return
false
;
}
else
{
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
var
hasDetails
=
getTableData
().
filter
(
function
(
e
)
{
return
e
.
delFlag
!=
1
}).
length
==
0
;
if
(
hasDetails
){
if
(
hasDetails
){
jp
.
warning
(
'请填写明细!'
);
jp
.
warning
(
'请填写明细!'
);
return
;
return
;
...
@@ -96,4 +99,4 @@
...
@@ -96,4 +99,4 @@
}
}
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/webapp/webpage/modules/warehouse/materialloss/materialLossList.js
View file @
a79bdb41
...
@@ -273,6 +273,8 @@ $(document).ready(function() {
...
@@ -273,6 +273,8 @@ $(document).ready(function() {
}
}
function
addRow
(
list
,
idx
,
tpl
,
row
){
function
addRow
(
list
,
idx
,
tpl
,
row
){
row
.
ledgerInfo
.
shelvesNames
=
row
.
ledgerInfo
.
shelvesList
.
map
(
function
(
e
)
{
return
e
.
name
}).
join
(
','
)
+
','
;
row
.
ledgerInfo
.
warehouseNames
=
row
.
ledgerInfo
.
warehouseList
.
map
(
function
(
e
)
{
return
e
.
name
}).
join
(
','
)
+
','
;
$
(
list
).
append
(
Mustache
.
render
(
tpl
,
{
$
(
list
).
append
(
Mustache
.
render
(
tpl
,
{
idx
:
idx
,
delBtn
:
true
,
row
:
row
idx
:
idx
,
delBtn
:
true
,
row
:
row
}));
}));
...
@@ -333,10 +335,10 @@ $(document).ready(function() {
...
@@ -333,10 +335,10 @@ $(document).ready(function() {
{{
row
.
ledgerInfo
.
batchNum
}}
{{
row
.
ledgerInfo
.
batchNum
}}
<
/td
>
<
/td
>
<
td
>
<
td
>
{{
row
.
ledgerInfo
.
shelves
.
name
}}
{{
row
.
ledgerInfo
.
shelves
Names
}}
<
/td
>
<
/td
>
<
td
>
<
td
>
{{
row
.
ledgerInfo
.
shelves
.
warehouse
.
name
}}
{{
row
.
ledgerInfo
.
warehouseNames
}}
<
/td
>
<
/td
>
<
td
>
<
td
>
{{
row
.
remarks
}}
{{
row
.
remarks
}}
...
...
src/main/webapp/webpage/modules/warehouse/materialrequisition/materialRequisitionDetail.jsp
View file @
a79bdb41
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
if(data.length){
if(data.length){
data = data.map(function(item){
data = data.map(function(item){
item.delFlag = 0;
item.delFlag = 0;
item.remarks = jp.escapeHtml(item.remarks);
item.infoSum = new Big(item.ledgerInfo.num).times(item.ledgerInfo.amount).toNumber();
item.infoSum = new Big(item.ledgerInfo.num).times(item.ledgerInfo.amount).toNumber();
return item;
return item;
})
})
...
@@ -428,6 +429,7 @@
...
@@ -428,6 +429,7 @@
btn: ['确定', '关闭'],
btn: ['确定', '关闭'],
success: function () {
success: function () {
// $("#scanResult").focus();
// $("#scanResult").focus();
debugger
scanStart();
scanStart();
renderScanTable();
renderScanTable();
},
},
...
@@ -443,10 +445,14 @@
...
@@ -443,10 +445,14 @@
jp.alert('选择的数据必须填写选择数量');
jp.alert('选择的数据必须填写选择数量');
return false;
return false;
}
}
scanStop();
selectDetailHandle($(selector), selectTableData);
selectDetailHandle($(selector), selectTableData);
layer.close(index);
layer.close(index);
},
},
cancel () {
btn2: function () {
scanStop();
},
cancel: function () {
scanStop();
scanStop();
}
}
})
})
...
...
src/main/webapp/webpage/modules/warehouse/materialrequisition/materialRequisitionForm.jsp
View file @
a79bdb41
...
@@ -112,7 +112,9 @@
...
@@ -112,7 +112,9 @@
$
(
"#inputForm"
).
find
(
"button:submit"
).
button
(
"reset"
);
$
(
"#inputForm"
).
find
(
"button:submit"
).
button
(
"reset"
);
}
}
});
});
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
$
(
'#time'
).
datetimepicker
({
$
(
'#time'
).
datetimepicker
({
format
:
"YYYY-MM-DD HH:mm:ss"
format
:
"YYYY-MM-DD HH:mm:ss"
});
});
...
@@ -123,7 +125,7 @@
...
@@ -123,7 +125,7 @@
if
(
!
isValidate
){
if
(
!
isValidate
){
return
false
;
return
false
;
}
else
{
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
var
hasDetails
=
getTableData
().
filter
(
function
(
e
)
{
return
e
.
delFlag
!=
1
}).
length
==
0
;
if
(
hasDetails
){
if
(
hasDetails
){
jp
.
warning
(
'请填写领用物资!'
);
jp
.
warning
(
'请填写领用物资!'
);
return
;
return
;
...
...
src/main/webapp/webpage/modules/warehouse/outbound/outboundDetail.jsp
View file @
a79bdb41
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
if(data.length){
if(data.length){
data = data.map(function(item){
data = data.map(function(item){
item.delFlag = 0;
item.delFlag = 0;
item.remarks = jp.escapeHtml(item.remarks);
return item;
return item;
})
})
}
}
...
...
src/main/webapp/webpage/modules/warehouse/outbound/outboundForm.jsp
View file @
a79bdb41
...
@@ -76,6 +76,9 @@
...
@@ -76,6 +76,9 @@
$
(
'#outboundTime'
).
datetimepicker
({
$
(
'#outboundTime'
).
datetimepicker
({
format
:
"YYYY-MM-DD HH:mm:ss"
format
:
"YYYY-MM-DD HH:mm:ss"
});
});
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
});
});
function
save
()
{
function
save
()
{
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
...
@@ -112,4 +115,4 @@
...
@@ -112,4 +115,4 @@
}
}
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/webapp/webpage/modules/warehouse/profitwarehousing/profitWarehousingDetail.jsp
View file @
a79bdb41
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
function initTable(){
function initTable(){
var data = ${fns:toJson(profitWarehousing.profitWarehousingInfoList)};
var data = ${fns:toJson(profitWarehousing.profitWarehousingInfoList)};
if(data.length){
if(data.length){
debugger
data = data.map(function(item){
data = data.map(function(item){
item.delFlag = 0;
item.delFlag = 0;
item.remarks = jp.escapeHtml(item.remarks);
item.readonly = item.qrCode && item.qrCode.state === '2'
item.readonly = item.qrCode && item.qrCode.state === '2'
return item;
return item;
})
})
...
...
src/main/webapp/webpage/modules/warehouse/profitwarehousing/profitWarehousingForm.jsp
View file @
a79bdb41
...
@@ -79,13 +79,16 @@
...
@@ -79,13 +79,16 @@
$
(
'#time'
).
datetimepicker
({
$
(
'#time'
).
datetimepicker
({
format
:
"YYYY-MM-DD HH:mm:ss"
format
:
"YYYY-MM-DD HH:mm:ss"
});
});
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
});
});
function
save
()
{
function
save
()
{
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
if
(
!
isValidate
){
if
(
!
isValidate
){
return
false
;
return
false
;
}
else
{
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
var
hasDetails
=
getTableData
().
filter
(
function
(
e
)
{
return
e
.
delFlag
!=
1
}).
length
==
0
;
if
(
hasDetails
){
if
(
hasDetails
){
jp
.
warning
(
'请填写明细!'
);
jp
.
warning
(
'请填写明细!'
);
return
;
return
;
...
@@ -107,4 +110,4 @@
...
@@ -107,4 +110,4 @@
}
}
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/webapp/webpage/modules/warehouse/qrcode/qrCodeForm.jsp
View file @
a79bdb41
...
@@ -73,5 +73,12 @@
...
@@ -73,5 +73,12 @@
</div>
</div>
</div>
</div>
</div>
</div>
<script>
$
(
document
).
ready
(
function
()
{
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
})
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/webapp/webpage/modules/warehouse/shelves/shelvesForm.jsp
View file @
a79bdb41
...
@@ -46,6 +46,12 @@
...
@@ -46,6 +46,12 @@
</div>
</div>
</div>
</div>
<script>
<script>
$
(
document
).
ready
(
function
()
{
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
})
function
save
()
{
function
save
()
{
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
var
isValidate
=
jp
.
validateForm
(
'#inputForm'
);
//校验表单
if
(
!
isValidate
){
if
(
!
isValidate
){
...
@@ -68,4 +74,4 @@
...
@@ -68,4 +74,4 @@
}
}
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/webapp/webpage/modules/warehouse/storage/storageDetail.jsp
View file @
a79bdb41
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
if(data.length){
if(data.length){
data = data.map(function(item){
data = data.map(function(item){
item.delFlag = 0;
item.delFlag = 0;
item.remarks = jp.escapeHtml(item.remarks);
item.readonly = item.qrCode && item.qrCode.state === '2';
item.readonly = item.qrCode && item.qrCode.state === '2';
item.infoSum = new Big(item.num).times(item.amount).toNumber();
item.infoSum = new Big(item.num).times(item.amount).toNumber();
item.shelvesNames = item.shelvesList.map(function (e) {
item.shelvesNames = item.shelvesList.map(function (e) {
...
...
src/main/webapp/webpage/modules/warehouse/storage/storageForm.jsp
View file @
a79bdb41
...
@@ -129,7 +129,9 @@
...
@@ -129,7 +129,9 @@
$
(
"#inputForm"
).
find
(
"button:submit"
).
button
(
"reset"
);
$
(
"#inputForm"
).
find
(
"button:submit"
).
button
(
"reset"
);
}
}
});
});
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
$
(
'#time'
).
datetimepicker
({
$
(
'#time'
).
datetimepicker
({
format
:
"YYYY-MM-DD HH:mm:ss"
format
:
"YYYY-MM-DD HH:mm:ss"
});
});
...
@@ -140,7 +142,7 @@
...
@@ -140,7 +142,7 @@
if
(
!
isValidate
){
if
(
!
isValidate
){
return
false
;
return
false
;
}
else
{
}
else
{
var
hasDetails
=
getTableData
().
length
==
0
;
var
hasDetails
=
getTableData
().
filter
(
function
(
e
)
{
return
e
.
delFlag
!=
1
}).
length
==
0
;
if
(
hasDetails
){
if
(
hasDetails
){
jp
.
warning
(
'请填写明细!'
);
jp
.
warning
(
'请填写明细!'
);
return
;
return
;
...
...
src/main/webapp/webpage/modules/warehouse/warehouse/warehouseForm.jsp
View file @
a79bdb41
...
@@ -51,7 +51,9 @@
...
@@ -51,7 +51,9 @@
$
(
"#inputForm"
).
find
(
"button:submit"
).
button
(
"reset"
);
$
(
"#inputForm"
).
find
(
"button:submit"
).
button
(
"reset"
);
}
}
});
});
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
$
(
'#time'
).
datetimepicker
({
$
(
'#time'
).
datetimepicker
({
format
:
"YYYY-MM-DD HH:mm:ss"
format
:
"YYYY-MM-DD HH:mm:ss"
});
});
...
@@ -78,4 +80,4 @@
...
@@ -78,4 +80,4 @@
}
}
</script>
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
src/main/webapp/webpage/modules/warehouse/wzcode/wzcodeForm.jsp
View file @
a79bdb41
...
@@ -67,5 +67,12 @@
...
@@ -67,5 +67,12 @@
</div>
</div>
</div>
</div>
</div>
</div>
<script>
$
(
document
).
ready
(
function
()
{
if
(
"${mode}"
!==
'add'
)
{
$
(
"#remarks"
).
val
(
jp
.
escapeHtml
(
$
(
"#remarks"
).
val
()));
}
})
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
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