|
@@ -390,14 +390,14 @@ module.exports = app => {
|
|
|
label: cell.Label,
|
|
|
index: i,
|
|
|
};
|
|
|
- const thisControl = paymentConst.rpt_control[cell.control] ? cell.control : 'content';
|
|
|
- const oneShowContent = ctx.helper._.find(content, { control: thisControl });
|
|
|
+ const thisBandName = paymentConst.rpt_band_name[cell.BandName] ? cell.BandName : 'content';
|
|
|
+ const oneShowContent = ctx.helper._.find(content, { BandName: thisBandName });
|
|
|
if (oneShowContent) {
|
|
|
oneShowContent.items.push(push_item);
|
|
|
} else {
|
|
|
content.push({
|
|
|
- control: thisControl,
|
|
|
- title: paymentConst.rpt_control[thisControl],
|
|
|
+ BandName: thisBandName,
|
|
|
+ title: paymentConst.rpt_band_name[thisBandName],
|
|
|
items: [push_item],
|
|
|
});
|
|
|
}
|