//input input Number
render: (h, { row, index }) => {
return h("InputNumber", {
props: {
value: this.tableData[index][str],
},
});
{
//select
return h(
"Select",
{
props: {
value: this.tableData[index][str],
transfer: true,//解决被隐藏的问题
},
style: {
width: "100px",
zIndex: "10000",
},
on: {
"on-change": (value) => {
this.tableData[index][str] = value;
},
},
},
this.tableData[index][ruleList].map(function (type) {
return h(
"Option",
{
props: {
value: type.fixationValue,
label: type.gradeName,
},
style: {
width: "100px",
zIndex: "10000",
},
}
);
})
);
{