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
e5262b09
Commit
e5262b09
authored
Jan 23, 2019
by
cjl
Browse files
修改商品信息页面,序列号字段的样式问题
parent
53bc0505
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/materials/material.html
View file @
e5262b09
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
<tr>
<tr>
<td
style=
"width:80px;"
>
序列号
</td>
<td
style=
"width:80px;"
>
序列号
</td>
<td
style=
"padding:5px;width:180px;"
>
<td
style=
"padding:5px;width:180px;"
>
<select
name=
"enableSerialNumber"
id=
"enableSerialNumber"
class=
"easyui-combobox"
style=
"width:152px;height: 20px"
>
<select
name=
"enableSerialNumber"
id=
"enableSerialNumber"
style=
"width:152px;height: 20px"
>
<option
value=
"1"
>
启用
</option>
<option
value=
"1"
>
启用
</option>
<option
value=
"0"
>
禁用
</option>
<option
value=
"0"
>
禁用
</option>
</select>
</select>
...
@@ -1160,7 +1160,9 @@
...
@@ -1160,7 +1160,9 @@
$
(
'
#materialFM input
'
).
val
(
""
);
//将输入框全部清空
$
(
'
#materialFM input
'
).
val
(
""
);
//将输入框全部清空
bindMProperty
();
//根据商品属性绑定
bindMProperty
();
//根据商品属性绑定
$
(
"
#enableSerialNumber
"
).
combobox
(
'
setValue
'
,
'
0
'
);
// $("#enableSerialNumber").combobox('setValue','0');
$
(
"
#enableSerialNumber
"
).
val
(
'
0
'
);
$
(
'
#materialDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加商品信息
'
);
$
(
'
#materialDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加商品信息
'
);
$
(
"
.window-mask
"
).
css
({
width
:
webW
,
height
:
webH
});
$
(
"
.window-mask
"
).
css
({
width
:
webW
,
height
:
webH
});
$
(
"
#Name
"
).
val
(
""
).
focus
();
$
(
"
#Name
"
).
val
(
""
).
focus
();
...
@@ -1286,7 +1288,7 @@
...
@@ -1286,7 +1288,7 @@
basicList
.
LowPrice
=
$
(
"
#basicLowPrice
"
).
val
();
basicList
.
LowPrice
=
$
(
"
#basicLowPrice
"
).
val
();
basicList
.
PresetPriceOne
=
$
(
"
#basicPresetPriceOne
"
).
val
();
basicList
.
PresetPriceOne
=
$
(
"
#basicPresetPriceOne
"
).
val
();
basicList
.
PresetPriceTwo
=
$
(
"
#basicPresetPriceTwo
"
).
val
();
basicList
.
PresetPriceTwo
=
$
(
"
#basicPresetPriceTwo
"
).
val
();
basicList
.
enableSerialNumber
=
$
(
"
#enableSerialNumber
"
).
combobox
(
'
getValue
'
);
basicList
.
enableSerialNumber
=
$
(
"
#enableSerialNumber
"
).
val
(
);
otherList
.
Unit
=
$
(
"
#otherUnit
"
).
text
();
otherList
.
Unit
=
$
(
"
#otherUnit
"
).
text
();
otherList
.
RetailPrice
=
$
(
"
#otherRetailPrice
"
).
val
();
otherList
.
RetailPrice
=
$
(
"
#otherRetailPrice
"
).
val
();
otherList
.
LowPrice
=
$
(
"
#otherLowPrice
"
).
val
();
otherList
.
LowPrice
=
$
(
"
#otherLowPrice
"
).
val
();
...
@@ -1360,7 +1362,8 @@
...
@@ -1360,7 +1362,8 @@
$
(
"
#Color
"
).
focus
().
val
(
materialInfo
[
11
]);
$
(
"
#Color
"
).
focus
().
val
(
materialInfo
[
11
]);
// console.log("enableSerialNumber:"+(materialInfo[24]=='true'?'1':'0'));
// console.log("enableSerialNumber:"+(materialInfo[24]=='true'?'1':'0'));
// console.log("enableSerialNumber:"+materialInfo[24]);
// console.log("enableSerialNumber:"+materialInfo[24]);
$
(
"
#enableSerialNumber
"
).
combobox
(
'
setValue
'
,
materialInfo
[
24
]
==
'
true
'
?
'
1
'
:
'
0
'
);
// $("#enableSerialNumber").combobox('setValue',materialInfo[24]=='true'?'1':'0');
$
(
"
#enableSerialNumber
"
).
val
(
materialInfo
[
24
]
==
'
true
'
?
'
1
'
:
'
0
'
);
// console.log($("#enableSerialNumber").val());
// console.log($("#enableSerialNumber").val());
var
categoryName
=
""
;
//类型名称
var
categoryName
=
""
;
//类型名称
...
...
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