|
@@ -472,7 +472,7 @@ class UnitPriceModel extends BaseModel {
|
|
|
insertData.push(tmp);
|
|
insertData.push(tmp);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- let uResult = insertData.length > 0 ? this.add(insertData) : true;
|
|
|
|
|
|
|
+ let uResult = insertData.length > 0 ? await this.add(insertData) : true;
|
|
|
let mixRatioModel = new MixRatioModel();
|
|
let mixRatioModel = new MixRatioModel();
|
|
|
let mResult = await mixRatioModel.copyNotExist(currentUnitPriceId, changeUnitPriceId,gljMap);//复制组成物
|
|
let mResult = await mixRatioModel.copyNotExist(currentUnitPriceId, changeUnitPriceId,gljMap);//复制组成物
|
|
|
let cResult = await this.copyMaterialNotExist(currentUnitPriceId, changeUnitPriceId,gljMap);
|
|
let cResult = await this.copyMaterialNotExist(currentUnitPriceId, changeUnitPriceId,gljMap);
|