|
@@ -78,7 +78,10 @@ var ration_glj = {
|
|
|
}
|
|
|
for (let ration of rations) {
|
|
|
if (ration.type == rationType.volumePrice || ration.type == rationType.gljRation){
|
|
|
- result.push(ration);
|
|
|
+ let glj = JSON.parse(JSON.stringify(ration));
|
|
|
+ glj.type = glj.subType;
|
|
|
+ glj.totalQuantity = parseFloatPlus(ration.quantity);
|
|
|
+ result.push(glj);
|
|
|
}
|
|
|
else{
|
|
|
let rationGljs = this.getGljArrByRation(ration);
|