|
@@ -857,6 +857,13 @@ const gatherStagePay = {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ _completeStageSumInfo(d, source) {
|
|
|
+ for (const f in source) {
|
|
|
+ if (/^t_[0-9]*_order$/.test(f)) {
|
|
|
+ d[f] = source[f];
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
fun: function (ctx, data, fields, options) {
|
|
|
if (!options || !options.table || !options.custom) return;
|
|
|
|
|
@@ -877,6 +884,7 @@ const gatherStagePay = {
|
|
|
this._gatherFields(ctx, cData, gatherData, calcFields);
|
|
|
}
|
|
|
if (options.table.indexOf('mem_gather') >= 0) this._completeGatherInfo(cData, gatherData[0]);
|
|
|
+ if (options.table.indexOf('mem_stage_sum_') >= 0) this._completeStageSumInfo(cData, gatherData[0]);
|
|
|
result.push(cData);
|
|
|
}
|
|
|
}
|