代码生成主子表序号调整
This commit is contained in:
@ -96,7 +96,11 @@
|
||||
{
|
||||
field: 'index',
|
||||
align: 'center',
|
||||
title: "序号"
|
||||
title: "序号",
|
||||
formatter: function (value, row, index) {
|
||||
var columnIndex = $.common.sprintf("<input type='hidden' name='index' value='%s'>", $.table.serialNumber(index));
|
||||
return columnIndex + $.table.serialNumber(index);
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'name',
|
||||
@ -164,7 +168,6 @@
|
||||
type: "",
|
||||
}
|
||||
});
|
||||
sub.resetIndex();
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user