问题描述
我正在研究一个asp.net MVC项目,
用户可以向包含产品的项目页面添加不同的模板,并将显示在产品表的项目页面上,我需要检查它们是否具有相同的产品,并合并相同的产品行。
$.ajax(
{
type: "POST",url: "url/"+project.Id,success: function (data) {
var template = data.result;
_template = template;
$("#TaskTable tbody tr ").each(function (index) {
debugger;
if (index !== 0) {
$row = $(this);
var id = $row.find("td:first").text();
});
$("#ProductTable tbody").append(template.productLineItems);
$('tbody tr').each(function () {
$(this).find("input[name$='SortOrder']").val($(this).index());
//do the saving here
});
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)