只需要把text改為以下內容即可
```
text: function(row){
return row.accomplishNum;
},
```
```
{
field: 'buttons',
width: "120px",
title: __('已完成'),
table: table,
events: Table.api.events.operate,
operate: false,
buttons: [{
name: 'accomplishNum',
text: function(row){
return row.accomplishNum;
},
title: __('已完成'),
classname: 'btn btn-xs btn-success btn-dialog',
url: 'sideline/details',
callback: function (data) {
Layer.alert("接收到回傳數據:" + JSON.stringify(data), { title: "回傳數據" });
},
visible: function (row) {
//返回true時按鈕顯示,返回false隱藏
return true;
}
},
],
formatter: Table.api.formatter.buttons
},
```