$ (' #formTable '). DataGrid ({
URL: '/ezsh/orderad/gtorderdetaisllist?porderid=${porderid}&pgoodsid=${pgoodsid} ',
columns:[[
{field: ' Orderdetailsid ', title: ' Order Detail ID ', width:100,align: ' Center '},
{field: ' Porderid ', title: ' Order base ID ', Width:100,align: ' Center '},
{field: ' Pgoodsid ', title: ' Product ID ', width:100,align: ' Center '},
{field: ' Goodsname ', title: ' Product Name ', width:100,align: ' Center '},
{field: ' Buyamount ', title: ' Purchase Quantity ', Width:100,align: ' Center '},
{field: ' Price ', title: ' Monovalent ', width:100,align: ' Center '},
{field: ' Refundcontent ', title: ' Return content ', Width:100,align: ' Center '},
{field: ' Refundmoney ', title: ' Refund Amount ', Width:100,align: ' Center '},
{field: ' Aftersalestatus ', title: ' Trading Status ', Width:100,align: ' Center ',
Formatter:function (Value,row,index) {
if (value = =-1) {
Return "Merchant rejects the return request";
} else if (value = = 1) {
Return "The application returns, waits for the merchant to handle";
}else if (value = = 2) {
Return "Merchant accepts return request";
}else if (value ==3) {
Return "successful return";
}
}},
{field: ' Appraisestatus ', title: ' Evaluation ', Width:100,align: ' Center '},
{field: ' Refundimgs; ', Hidden: ' True ', title: ' Return image ', width:100,align: ' Center '},
/* {field: ' Sectionnamesvalues ', Hidden: ' True ', Title: ' Property key-value pairs ', width:100,align: ' Center '},
*//* {field: ' Synthesizestatus ', title: ', Width:100,align: ' Center '},
{field: ' Goodsorder ', title: ', Width:100,align: ' Center '},
{field: ' Goods ', title: ', Width:100,align: ' Center '},
{field: ' Goodslist ', title: ', Width:100,align: ' Center '}, */
]],
View:detailview,fitcolumns:true,
Detailformatter:function (RowIndex, RowData) {
Return ' <table><tr> ' +
' <td rowspan=2 style= "border:0" ></td> ' +
' <td style= ' border:0 ' > ' +
' </td> ' +
' </tr></table> ';
}
});
{field: ' Refundmoney; ', title: ' Return Amount ', Width:100,align: ' Center '},
Because of the extra and ";", which leads to misalignment
At first I thought it was because of the reason for this BigDecimal data type
I've been looking for Baidu and Bing.
Finally, change this.
{field: ' Refundmoney ', title: ' Refund Amount ', Width:100,align: ' Center '},
It's OK.
The variable name inside the front end is more than one ";" There will be so many differences