请教一个自定义jquery函数的用法
这是函数是从csdn上下的,不过没有用法!
/**
* Function applyTableSum
*
* 函数功能: 为表格添加合计行,本函数依赖于jquery
*
* @param {}
* table : The table which append the sum row to 需要添加合计行的表格对象
* @param {}
* colArr : The col index Arry which shuld sum 需要合计的列序号数组,从0开始
* @param {}
* capIndex : caption index defalt is 0 合计标题放置的列,默认是0。即第一列
* @param {}
* emptyText : The text not sumed col default is '-' 未合计行的文本
*/
function applyTableSum(table, colArr, capIndex, emptyText) {
//alert(table.children("tr").text);
var me = this;
var _capIndex = capIndex || 0;
var _emptyText = emptyText || "-";
var _SD = "$", _hasD = new Array();
var _SY = "¥", _hasY = new Array();
var _comma = ",", _hasComma = new Array();
if (table != null && table != undefined && colArr != null) {
var lastTr, sumHtml;
var iColData=0, strData;
var trs = table.children("tbody").first().children("tr");
var trLen = trs.length;
var lastTr = trs.last();
var tds, tdLen, tr, td;
var i, j, k;
sumHtml = "<tr class='td_row'>";
var sumCols = new Array(trLen);
// 遍历所有行
for (i = 0; i < trLen; i++) {
tr = trs.get(i);
tr = JQ(tr);
tds = tr.children("td");
if (tds == null || tds == undefined) {
continue;
}
tdLen = tds.length;
for (j = 0, k = 0; j < tdLen; j++) {
td = tds.get(j);
td = JQ(td);
// 如果是要统计的列
if (colArr[k] == j) {
strData = td.text();
if(strData==null||strData==undefined||strData=="")
{
strData="0";
}
// console.log("strData="+strData);
while (strData.indexOf(_SD) != -1) {
strData = strData.replace(_SD, "");
_hasD[j] = true;
}
while (strData.indexOf(_SY) != -1) {
strData = strData.replace(_SY, "");
_hasY[j] = true;
}
while (strData.indexOf(_comma) != -1) {
strData = strData.replace(_comma, "");
_hasComma[j] = true;
}
try {
iColData = parseFloat(strData);
if (sumCols[j] == null || sumCols[j] == undefined) {
sumCols[j] = 0;
}
sumCols[j] = parseFloat(sumCols[j])+iColData;
} catch (e) {
console.log(e.message);
}
k++;
}
}
}// end for
// build sum td
var m = 0;
for (m = 0, k = 0; m < tdLen; m++) {
if (m == _capIndex) {
sumHtml += "<td>合计</td>";
} else if (colArr[k] == m) {
if (sumCols[m] != null && sumCols[m] != undefined) {
var iSum = sumCols[m];
if (_hasD[m] == true || _hasY[m] == true
|| _hasComma[m] == true) {
iSum = iSum.toFixed(2);
}
var str = sumCols[m] + "";
if (_hasComma.length >= m && _hasComma[m] == true) {
str = Convert(iSum);
}
if (_hasD.length >= m && _hasD[m] == true) {
str = _SD + str;
} else if (_hasY.length >= m && _hasY[m] == true) {
str = _SY + str;
}
sumHtml += "<td>" + str + "</td>";
} else {
sumHtml += "<td>" + _emptyText + "</td>";
}
k++;
} else {
sumHtml += "<td>" + _emptyText + "</td>";
}
}
sumHtml += "</tr>";
lastTr.after(sumHtml);
}
};
function Convert(money) {
// console.log("money="+money);
var s = money; // 获取小数型数据
s += "";
if (s.indexOf(".") == -1)
s += ".0"; // 如果没有小数点,在后面补个小数点和0
if (/\.\d$/.test(s))
s += "0"; // 正则判断
while (/\d{4}(\.|,)/.test(s))
// 符合条件则进行替换
s = s.replace(/(\d)(\d{3}(\.|,))/, "$1,$2"); // 每隔3位添加一个
// console.log("converted="+s);
return s;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<fieldset style="width:auto;"><legend>商品库存查询</legend>
<script>var currentActiveRow;function change(el){var x = el.rowIndex;if(currentActiveRow)currentActiveRow.style.backgroundColor='';currentActiveRow=el;el.style.backgroundColor = ++d[x]%2 ? '#D5D5D5' : '#D5D5D5';}</script><div id=hpprint><table id=table1><tr><th colspan=8 rowspan=2>商品尺码横排信息</th><th width=40><b>S</th><th width=40><b>M</th><th width=40><b>L</th><th width=40><b>XL</th><th width=40><b>XXL</th><th></th></tr><tr><th width=40><b>90</th><th width=40><b>100</th><th width=40><b>110</th><th width=40><b>120</th><th width=40><b>130</th><th width=40><b>140</th></tr><tr><th width=30>序号</th><th width=80>商品款号</th><th width=100>商品名称</th><th width=30>单位</th><th width=40>颜色</th><th width=50>合计</th><th width=70>单价</th><th width=70>金额</th><th>数量</th><th>数量</th><th>数量</th><th>数量</th><th>数量</th><th>数量</th></tr><tr onClick="change(this)"><th align=center><b>1</b></th><td>EW3434333</td><td>女V领长袖运动款</td><td>件</td><td>黑色</td><td align=center>250</td><td align=center>30.00</td><td align=center>7500.00</td><td style=text-align:center;>50</td><td style=text-align:center;>50</td><td style=text-align:center;>50</td><td style=text-align:center;>50</td><td style=text-align:center;>50</td><td></td></tr><tr onClick="change(this)"><th align=center><b>2</b></th><td>EW3434333</td><td>女V领长袖运动款</td><td>件</td><td>黑色</td><td align=center>60</td><td align=center>40.00</td><td align=center>2400.00</td><td style=text-align:center;>30</td><td></td><td style=text-align:center;>30</td><td></td><td></td><td></td></tr><tr onClick="change(this)"><th align=center><b>3</b></th><td>EW3434333</td><td>女V领长袖运动款</td><td>件</td><td>紫色</td><td align=center>499</td><td align=center>30.00</td><td align=center>14970.00</td><td style=text-align:center;>100</td><td style=text-align:center;>100</td><td style=text-align:center;>99</td><td style=text-align:center;>100</td><td style=text-align:center;>100</td><td></td></tr><tr onClick="change(this)"><th align=center><b>4</b></th><td>EW3434333</td><td>女V领长袖运动款</td><td>件</td><td>紫色</td><td align=center>30</td><td align=center>40.00</td><td align=center>1200.00</td><td></td><td style=text-align:center;>30</td><td></td><td></td><td></td><td></td></tr><tr onClick="change(this)"><th align=center><b>5</b></th><td>EW3434333</td><td>女V领长袖运动款</td><td>件</td><td>棕灰</td><td align=center>248</td><td align=center>45.00</td><td align=center>11160.00</td><td style=text-align:center;>50</td><td style=text-align:center;>50</td><td style=text-align:center;>50</td><td style=text-align:center;>50</td><td style=text-align:center;>48</td><td></td></tr><tr onClick="change(this)"><th align=center><b>6</b></th><td>OU98876-98</td><td>男夏装短袖普通款B型</td><td>件</td><td>花咖</td><td align=center>159</td><td align=center>20.00</td><td align=center>3180.00</td><td style=text-align:center;>39</td><td style=text-align:center;>40</td><td style=text-align:center;>40</td><td style=text-align:center;>40</td><td></td><td></td></tr><tr onClick="change(this)"><th align=center><b>7</b></th><td>OU98876-98</td><td>男夏装短袖普通款B型</td><td>件</td><td>花咖</td><td align=center>50</td><td align=center>60.00</td><td align=center>3000.00</td><td></td><td></td><td style=text-align:center;>50</td><td></td><td></td><td></td></tr><tr onClick="change(this)"><th align=center><b>8</b></th><td>OU98876-98</td><td>男夏装短袖普通款B型</td><td>件</td><td>墨绿</td><td align=center>150</td><td align=center>20.00</td><td align=center>3000.00</td><td style=text-align:center;>50</td><td style=text-align:center;>50</td><td></td><td style=text-align:center;>50</td><td></td><td></td></tr><tr onClick="change(this)"><th align=center><b>9</b></th><td>UUT777777</td><td>羊毛男T恤反领J系列</td><td>件</td><td>红色</td><td align=center>100</td><td align=center>24.56</td><td align=center>2456.00</td><td style=text-align:center;>20</td><td style=text-align:center;>20</td><td style=text-align:center;>20</td><td style=text-align:center;>20</td><td style=text-align:center;>20</td><td></td></tr><tr><th style=text-align:left; colspan=14><form name=fpage action=stock_find_hp.asp?page= method=post> 首页 上一页 <input style=height:18px type=text name=page size=2 value=1>/1 下一页 尾页 共<font color=red>9</font>条记录 </form>执行时间:0.0938(秒)
</th></tr></table></div></fieldset>
</body>
</html>
$(function(){
/*
$('#table1')::table对象
[5,6,7,8,9,10,11,12,13]::需要统计的列。将每行的所有列看做一个数组,这里面的各项值就是对应的列在数组中的索引值,例如:5就表示第6列需要统计
4::将"合计"显示在第5列
' '::不需要统计的列输出空字符串
*/
applyTableSum($('#table1'),[5,6,7,8,9,10,11,12,13],4,' ');
})
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
*{margin:0;padding:0;}
body{text-align:center;}
table{margin:0 auto;border-collapse:collapse;border-spacing:0;}
table td,table th{text-align:left;padding:7px;border-left:1px #ccc solid;border-bottom:1px #ccc solid;text-align:center;font-weight:normal;color:#555;}
table td{color:#111;}
table tr td:first-child{border-left:none;}
table tr:nth-child(1) th:first-child{border-left:none;}
table tr:last-child td{border-bottom:none;}
table thead tr:last-child :nth-child(2),table thead tr:last-child :nth-child(3){text-align:left;}
table thead tr:last-child :nth-child(n+6){text-align:right;}
table thead tr:last-child :nth-child(n+9){text-align:center;}
table tbody tr :nth-child(2),table tbody tr :nth-child(3){text-align:left;}
table tbody tr :nth-child(n+6){text-align:right;}
table tbody tr :nth-child(n+9){text-align:center;}
table tbody tr:nth-child(2n) td{background:#fffeef;}
fieldset{border:1px #ccc solid;margin:50px 100px 0;}
fieldset legend{padding:0 5px;margin-left:10px;}
fieldset table{margin-top:-9px;width:100%;}
</style>
<script type="text/javascript" src="jquery.js"></script>
<script language="javascript" type="text/javascript">
function applyTableSum(table, colArr, capIndex, emptyText) {
var me = this;
var _capIndex = capIndex
[解决办法]
0;
var _emptyText = emptyText
[解决办法]
"-";
var _SD = "$", _hasD = new Array();
var _SY = "¥", _hasY = new Array();
var _comma = ",", _hasComma = new Array();
if (table != null && table != undefined && colArr != null) {
var lastTr, sumHtml;
var iColData=0, strData;
var trs = table.children("tbody").first().children("tr");
var trLen = trs.length;
var lastTr = trs.last();
var tds, tdLen, tr, td;
var i, j, k;
sumHtml = "<tr class='td_row'>";
var sumCols = new Array(trLen);
// 遍历所有行
for (i = 0; i < trLen; i++) {
tr = trs.get(i);
tr = $(tr);
tds = tr.children("td");
if (tds == null
[解决办法]
tds == undefined) {
continue;
}
tdLen = tds.length;
for (j = 0, k = 0; j < tdLen; j++) {
td = tds.get(j);
td = $(td);
// 如果是要统计的列
if (colArr[k] == j) {
strData = td.text();
if(strData==null
[解决办法]
strData==undefined
[解决办法]
strData=="")
{
strData="0";
}
while (strData.indexOf(_SD) != -1) {
strData = strData.replace(_SD, "");
_hasD[j] = true;
}
while (strData.indexOf(_SY) != -1) {
strData = strData.replace(_SY, "");
_hasY[j] = true;
}
while (strData.indexOf(_comma) != -1) {
strData = strData.replace(_comma, "");
_hasComma[j] = true;
}
try {
iColData = parseFloat(strData);
if (sumCols[j] == null
[解决办法]
sumCols[j] == undefined) {
sumCols[j] = 0;
}
sumCols[j] = parseFloat(sumCols[j])+iColData;
} catch (e) {
console.log(e.message);
}
k++;
}
}
}// end for
// build sum td
var m = 0;
for (m = 0, k = 0; m < tdLen; m++) {
if (m == _capIndex) {
sumHtml += "<td>合计</td>";
} else if (colArr[k] == m) {
if (sumCols[m] != null && sumCols[m] != undefined) {
var iSum = sumCols[m];
if (_hasD[m] == true
[解决办法]
_hasY[m] == true
[解决办法]
_hasComma[m] == true) {
iSum = iSum.toFixed(2);
}
var str = sumCols[m] + "";
if (_hasComma.length >= m && _hasComma[m] == true) {
str = Convert(iSum);
}
if (_hasD.length >= m && _hasD[m] == true) {
str = _SD + str;
} else if (_hasY.length >= m && _hasY[m] == true) {
str = _SY + str;
}
sumHtml += "<td>" + str + "</td>";
} else {
sumHtml += "<td>" + _emptyText + "</td>";
}
k++;
} else {
sumHtml += "<td>" + _emptyText + "</td>";
}
}
sumHtml += "</tr>";
lastTr.after(sumHtml);
}
};
function Convert(money) {
// console.log("money="+money);
var s = money; // 获取小数型数据
s += "";
if (s.indexOf(".") == -1)
s += ".0"; // 如果没有小数点,在后面补个小数点和0
if (/\.\d$/.test(s))
s += "0"; // 正则判断
while (/\d{4}(\.
[解决办法]
,)/.test(s))
// 符合条件则进行替换
s = s.replace(/(\d)(\d{3}(\.
[解决办法]
,))/, "$1,$2"); // 每隔3位添加一个
// console.log("converted="+s);
return s;
}
$(function(){
/*
$('#table1')::table对象
[5,6,7,8,9,10,11,12,13]::需要统计的列。将每行的所有列看做一个数组,这里面的各项值就是对应的列在数组中的索引值,例如:5就表示第6列需要统计
4::将"合计"显示在第5列
' '::不需要统计的列输出空字符串
*/
applyTableSum($('#table1'), [5,6,7,8,9,10,11,12,13], 4, ' ');
})
</script>
</head>
<body>
<fieldset>
<legend>商品库存查询</legend>
<div id=hpprint>
<table id="table1" cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th colspan=8 rowspan="2">商品尺码横排信息</th>
<th width=40>S</th>
<th width=40>M</th>
<th width=40>L</th>
<th width=40>XL</th>
<th width=40>XXL</th>
<th></th>
</tr>
<tr>
<th width=40>90</th>
<th width=40>100</th>
<th width=40>110</th>
<th width=40>120</th>
<th width=40>130</th>
<th width=40>140</th>
</tr>
<tr>
<th width=40>序号</th>
<th width=80>商品款号</th>
<th width=200>商品名称</th>
<th width=40>单位</th>
<th width=40>颜色</th>
<th width=50>合计</th>
<th width=70>单价</th>
<th width=70>金额</th>
<th>数量</th>
<th>数量</th>
<th>数量</th>
<th>数量</th>
<th>数量</th>
<th>数量</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>黑色</td>
<td>250</td>
<td>30.00</td>
<td>7500.00</td>
<td>50</td>
<td>50</td>
<td>50</td>
<td>50</td>
<td>50</td>
<td></td>
</tr>
<tr>
<td>2</td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>黑色</td>
<td>60</td>
<td>40.00</td>
<td>2400.00</td>
<td>30</td>
<td></td>
<td>30</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>3</td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>紫色</td>
<td>499</td>
<td>30.00</td>
<td>14970.00</td>
<td>100</td>
<td>100</td>
<td>99</td>
<td>100</td>
<td>100</td>
<td></td>
</tr>
<tr>
<td>4</td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>紫色</td>
<td>30</td>
<td>40.00</td>
<td>1200.00</td>
<td></td>
<td>30</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>5</td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>棕灰</td>
<td>248</td>
<td>45.00</td>
<td>11160.00</td>
<td>50</td>
<td>50</td>
<td>50</td>
<td>50</td>
<td>48</td>
<td></td>
</tr>
<tr>
<td>6</td>
<td>OU98876-98</td>
<td>男夏装短袖普通款B型</td>
<td>件</td>
<td>花咖</td>
<td>159</td>
<td>20.00</td>
<td>3180.00</td>
<td>39</td>
<td>40</td>
<td>40</td>
<td>40</td>
<td></td>
<td></td>
</tr>
<tr>
<td>7</td>
<td>OU98876-98</td>
<td>男夏装短袖普通款B型</td>
<td>件</td>
<td>花咖</td>
<td>50</td>
<td>60.00</td>
<td>3000.00</td>
<td></td>
<td></td>
<td>50</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>8</td>
<td>OU98876-98</td>
<td>男夏装短袖普通款B型</td>
<td>件</td>
<td>墨绿</td>
<td>150</td>
<td>20.00</td>
<td>3000.00</td>
<td>50</td>
<td>50</td>
<td></td>
<td>50</td>
<td></td>
<td></td>
</tr>
<tr>
<td>9</td>
<td>UUT777777</td>
<td>羊毛男T恤反领J系列</td>
<td>件</td>
<td>红色</td>
<td>100</td>
<td>24.56</td>
<td>2456.00</td>
<td>20</td>
<td>20</td>
<td>20</td>
<td>20</td>
<td>20</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</fieldset>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="js/tableUtil.js"></script>
<script language="javascript" type="text/javascript">
var JQ = $;
$(function(){
/*
$('#table1')::table对象
[5,6,7,8,9,10,11,12,13]::需要统计的列。将每行的所有列看做一个数组,这里面的各项值就是对应的列在数组中的索引值,例如:5就表示第6列需要统计
4::将"合计"显示在第5列
' '::不需要统计的列输出空字符串
*/
applyTableSum($('#table1'),[5,6,7],4,'');
})
</script>
</head>
<body>
<fieldset style="width:auto;">
<legend>商品库存查询</legend>
<script>var currentActiveRow;function change(el){var x = el.rowIndex;if(currentActiveRow)currentActiveRow.style.backgroundColor='';currentActiveRow=el;el.style.backgroundColor = ++d[x]%2 ? '#D5D5D5' : '#D5D5D5';}</script>
<div id=hpprint>
<table id="table1">
<thead>
<tr>
<th colspan=8 rowspan=2>商品尺码横排信息</th>
<th width=40><b>S</th>
<th width=40><b>M</th>
<th width=40><b>L</th>
<th width=40><b>XL</th>
<th width=40><b>XXL</th>
<th></th>
</tr>
<tr>
<th width=40><b>90</th>
<th width=40><b>100</th>
<th width=40><b>110</th>
<th width=40><b>120</th>
<th width=40><b>130</th>
<th width=40><b>140</th>
</tr>
<tr>
<th width=30>序号</th>
<th width=80>商品款号</th>
<th width=100>商品名称</th>
<th width=30>单位</th>
<th width=40>颜色</th>
<th width=50>合计</th>
<th width=70>单价</th>
<th width=70>金额</th>
<th>数量</th>
<th>数量</th>
<th>数量</th>
<th>数量</th>
<th>数量</th>
<th>数量</th>
</tr>
</thead>
<tbody>
<tr onClick="change(this)">
<td align=center><b>1</b></td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>黑色</td>
<td align=center>250</td>
<td align=center>30.00</td>
<td align=center>7500.00</td>
<td style=text-align:center;>50</td>
<td style=text-align:center;>50</td>
<td style=text-align:center;>50</td>
<td style=text-align:center;>50</td>
<td style=text-align:center;>50</td>
<td></td>
</tr>
<tr onClick="change(this)">
<td align=center><b>2</b></td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>黑色</td>
<td align=center>60</td>
<td align=center>40.00</td>
<td align=center>2400.00</td>
<td style=text-align:center;>30</td>
<td></td>
<td style=text-align:center;>30</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr onClick="change(this)">
<td align=center><b>3</b></td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>紫色</td>
<td align=center>499</td>
<td align=center>30.00</td>
<td align=center>14970.00</td>
<td style=text-align:center;>100</td>
<td style=text-align:center;>100</td>
<td style=text-align:center;>99</td>
<td style=text-align:center;>100</td>
<td style=text-align:center;>100</td>
<td></td>
</tr>
<tr onClick="change(this)">
<td align=center><b>4</b></td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>紫色</td>
<td align=center>30</td>
<td align=center>40.00</td>
<td align=center>1200.00</td>
<td></td>
<td style=text-align:center;>30</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr onClick="change(this)">
<td align=center><b>5</b></td>
<td>EW3434333</td>
<td>女V领长袖运动款</td>
<td>件</td>
<td>棕灰</td>
<td align=center>248</td>
<td align=center>45.00</td>
<td align=center>11160.00</td>
<td style=text-align:center;>50</td>
<td style=text-align:center;>50</td>
<td style=text-align:center;>50</td>
<td style=text-align:center;>50</td>
<td style=text-align:center;>48</td>
<td></td>
</tr>
<tr onClick="change(this)">
<td align=center><b>6</b></td>
<td>OU98876-98</td>
<td>男夏装短袖普通款B型</td>
<td>件</td>
<td>花咖</td>
<td align=center>159</td>
<td align=center>20.00</td>
<td align=center>3180.00</td>
<td style=text-align:center;>39</td>
<td style=text-align:center;>40</td>
<td style=text-align:center;>40</td>
<td style=text-align:center;>40</td>
<td></td>
<td></td>
</tr>
<tr onClick="change(this)">
<td align=center><b>7</b></td>
<td>OU98876-98</td>
<td>男夏装短袖普通款B型</td>
<td>件</td>
<td>花咖</td>
<td align=center>50</td>
<td align=center>60.00</td>
<td align=center>3000.00</td>
<td></td>
<td></td>
<td style=text-align:center;>50</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr onClick="change(this)">
<td align=center><b>8</b></td>
<td>OU98876-98</td>
<td>男夏装短袖普通款B型</td>
<td>件</td>
<td>墨绿</td>
<td align=center>150</td>
<td align=center>20.00</td>
<td align=center>3000.00</td>
<td style=text-align:center;>50</td>
<td style=text-align:center;>50</td>
<td></td>
<td style=text-align:center;>50</td>
<td></td>
<td></td>
</tr>
<tr onClick="change(this)">
<td align=center><b>9</b></td>
<td>UUT777777</td>
<td>羊毛男T恤反领J系列</td>
<td>件</td>
<td>红色</td>
<td align=center>100</td>
<td align=center>24.56</td>
<td align=center>2456.00</td>
<td style=text-align:center;>20</td>
<td style=text-align:center;>20</td>
<td style=text-align:center;>20</td>
<td style=text-align:center;>20</td>
<td style=text-align:center;>20</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</fieldset>
</body>
</html>