|
|
@@ -378,7 +378,7 @@ let calcTools = {
|
|
|
for (let md of mds) {
|
|
|
if (md.type == detailType) {
|
|
|
let q = md["consumption"] ? md["consumption"] : 0;
|
|
|
- let p = md["marketPrice"] ? md["marketPrice"] : 0;
|
|
|
+ let p = isTender ? (md["tenderPrice"] ? md["tenderPrice"] : 0) : (md["marketPrice"] ? md["marketPrice"] : 0);
|
|
|
mdSum = mdSum + (q * p).toDecimal(decimalObj.glj.unitPriceHasMix);
|
|
|
mdSum = (mdSum).toDecimal(decimalObj.glj.unitPriceHasMix);
|
|
|
}
|