Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
58ff7e55
Commit
58ff7e55
authored
Oct 12, 2017
by
季圣华
Browse files
修改商品信息的显示样式[主线]
parent
ee6887ac
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/webapp/pages/materials/material.jsp
View file @
58ff7e55
...
@@ -59,12 +59,14 @@
...
@@ -59,12 +59,14 @@
<table
id=
"tableData"
style=
"top:300px;border-bottom-color:#FFFFFF"
></table>
<table
id=
"tableData"
style=
"top:300px;border-bottom-color:#FFFFFF"
></table>
</div>
</div>
<div
id=
"materialDlg"
class=
"easyui-dialog"
style=
"width:8
8
0px;padding:10px 20px"
<div
id=
"materialDlg"
class=
"easyui-dialog"
style=
"width:8
60px;height:40
0px;padding:10px 20px"
closed=
"true"
buttons=
"#dlg-buttons"
modal=
"true"
collapsible=
"false"
closable=
"true"
>
closed=
"true"
buttons=
"#dlg-buttons"
modal=
"true"
collapsible=
"false"
closable=
"true"
>
<form
id=
"materialFM"
method=
"post"
novalidate
>
<form
id=
"materialFM"
method=
"post"
novalidate
>
<table
height=
"360px"
>
<div
id=
"tt"
class=
"easyui-tabs"
style=
"width:800px;height:300px;"
>
<div
title=
"基本信息"
style=
"padding:20px;"
>
<table>
<tr>
<tr>
<td
style=
"width:
8
0px; height:30px;"
>
品名
</td>
<td
style=
"width:
6
0px; height:30px;"
>
品名
</td>
<td
style=
"padding:5px;width:180px;"
>
<td
style=
"padding:5px;width:180px;"
>
<input
name=
"Name"
id=
"Name"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 180px;height: 20px"
/>
<input
name=
"Name"
id=
"Name"
class=
"easyui-validatebox"
data-options=
"required:true,validType:'length[2,30]'"
style=
"width: 180px;height: 20px"
/>
</td>
</td>
...
@@ -86,14 +88,16 @@
...
@@ -86,14 +88,16 @@
<td></td>
<td></td>
</tr>
</tr>
<tr>
<tr>
<td
style=
"height:30px;"
>
颜色
</td>
<td
style=
"height:30px;"
>
备注
</td>
<td
style=
"padding:5px"
>
<td
style=
"padding:5px"
colspan=
"3"
>
<input
name=
"Color"
id=
"Color"
class=
"easyui-validatebox"
data-options=
"validType:'length[1,30]'
"
style=
"width:
180
px;height:
2
0px
"
/
>
<textarea
name=
"Remark"
id=
"Remark"
rows=
"2"
cols=
"2"
placeholder=
"暂无备注信息
"
style=
"width:
468
px;
height:
4
0px
;"
></textarea
>
</td>
</td>
<td>
规格
</td>
<td
style=
"padding:5px"
><input
name=
"Standard"
id=
"Standard"
class=
"easyui-validatebox"
data-options=
"validType:'length[1,30]'"
style=
"width: 180px;height: 20px"
/></td>
<td></td>
<td></td>
</tr>
</tr>
</table>
</div>
<div
title=
"价格信息"
style=
"padding:20px;"
>
<table>
<tr>
<tr>
<td
style=
"height:30px;"
>
安全存量
</td>
<td
style=
"height:30px;"
>
安全存量
</td>
<td
style=
"padding:5px"
>
<td
style=
"padding:5px"
>
...
@@ -163,12 +167,25 @@
...
@@ -163,12 +167,25 @@
<td
style=
"padding:5px"
><input
name=
"PresetPriceTwo"
id=
"PresetPriceTwo"
class=
"easyui-validatebox"
data-options=
"validType:'length[1,30]'"
style=
"width: 180px;height: 20px"
/></td>
<td
style=
"padding:5px"
><input
name=
"PresetPriceTwo"
id=
"PresetPriceTwo"
class=
"easyui-validatebox"
data-options=
"validType:'length[1,30]'"
style=
"width: 180px;height: 20px"
/></td>
<td></td>
<td></td>
</tr>
</tr>
</table>
</div>
<div
title=
"扩展信息"
style=
"padding:20px;"
>
<table>
<tr>
<tr>
<td
style=
"height:30px;"
>
备注
</td>
<td
style=
"width:60px; height:30px;"
>
颜色
</td>
<td
style=
"padding:5px"
colspan=
"3"
><input
name=
"Remark"
id=
"Remark"
style=
"width: 468px;height: 20px"
/></td>
<td
style=
"padding:5px"
>
<td></td>
<input
name=
"Color"
id=
"Color"
class=
"easyui-validatebox"
data-options=
"validType:'length[1,30]'"
style=
"width: 250px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
规格
</td>
<td
style=
"padding:5px"
>
<input
name=
"Standard"
id=
"Standard"
class=
"easyui-validatebox"
data-options=
"validType:'length[1,30]'"
style=
"width: 250px;height: 20px"
/>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
<input
type=
"hidden"
name=
"clientIp"
id=
"clientIp"
value=
"
<%=
clientIp
%>
"
/>
<input
type=
"hidden"
name=
"clientIp"
id=
"clientIp"
value=
"
<%=
clientIp
%>
"
/>
</form>
</form>
</div>
</div>
...
@@ -899,6 +916,8 @@
...
@@ -899,6 +916,8 @@
$
(
"
.price-list
"
).
hide
();
$
(
"
.price-list
"
).
hide
();
$
(
"
.price-one
"
).
show
();
$
(
"
.price-one
"
).
show
();
$
(
"
.price-two
"
).
show
();
$
(
"
.price-two
"
).
show
();
//选中基本资料tab
$
(
"
#materialFM #tt .tabs li
"
).
first
().
click
();
oldName
=
""
;
oldName
=
""
;
oldModel
=
""
;
oldModel
=
""
;
oldColor
=
""
;
oldColor
=
""
;
...
@@ -1199,6 +1218,8 @@
...
@@ -1199,6 +1218,8 @@
materialID
=
materialInfo
[
0
];
materialID
=
materialInfo
[
0
];
//焦点在名称输入框==定焦在输入文字后面
//焦点在名称输入框==定焦在输入文字后面
$
(
"
#Name
"
).
val
(
""
).
focus
().
val
(
materialInfo
[
1
]);
$
(
"
#Name
"
).
val
(
""
).
focus
().
val
(
materialInfo
[
1
]);
//选中基本资料tab
$
(
"
#materialFM #tt .tabs li
"
).
first
().
click
();
url
=
'
<%=
path
%>
/material/update.action?materialID=
'
+
materialInfo
[
0
];
url
=
'
<%=
path
%>
/material/update.action?materialID=
'
+
materialInfo
[
0
];
}
}
...
...
Write
Preview
Supports
Markdown
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