feature_0521
liuyang 5 years ago
parent 301c445f16
commit 84187d86dc

@ -29,10 +29,16 @@ export default {
instanceId: 0, instanceId: 0,
columns: [ columns: [
{ {
type: "index",
width: 80, width: 80,
align: "center", align: "center",
title: "序号", title: "序号",
render (h, params) {
let num = parseInt(params.index) + 1;
if (_this.pageSize > 1) {
num += (_this.pageNum - 1) * _this.pageSize;
}
return h("span", num);
}
}, },
{ {
title: "所属零售公司", title: "所属零售公司",

Loading…
Cancel
Save