代码生成主子表序号调整

This commit is contained in:
RuoYi
2020-06-21 23:04:09 +08:00
parent 326fe6a63f
commit 3846329c82
5 changed files with 19 additions and 20 deletions

View File

@ -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>