|
|
@@ -479,6 +479,12 @@ let ration_glj = {
|
|
|
let callback = function (data) {
|
|
|
if (updateField == 'customQuantity') {
|
|
|
me.refreshAfterQuantityUpdate(data, node);
|
|
|
+ me.refreshTreeNodeIfNeeded(recode);//刷新造价书上的树节点(如果需要)
|
|
|
+ me.reCalcWhenGLJChange(recode);//触发计算定额以及父节点
|
|
|
+ zmhs_obj.refreshStableDataIfNeeded();
|
|
|
+ gljOprObj.refreshView();
|
|
|
+ $.bootstrapLoading.end();
|
|
|
+ installationFeeObj.calcInstallationFee();
|
|
|
} else {
|
|
|
let doc = data.doc;
|
|
|
for (let key in doc) {
|
|
|
@@ -490,15 +496,15 @@ let ration_glj = {
|
|
|
projectObj.mainController.deleteNode(node, true);
|
|
|
}
|
|
|
}
|
|
|
+ projectObj.project.projectGLJ.loadData(function () {//等项目工料机加载完成后再给用户编辑
|
|
|
+ me.refreshTreeNodeIfNeeded(recode);//刷新造价书上的树节点(如果需要)
|
|
|
+ me.reCalcWhenGLJChange(recode);//触发计算定额以及父节点
|
|
|
+ zmhs_obj.refreshStableDataIfNeeded();
|
|
|
+ gljOprObj.refreshView();
|
|
|
+ $.bootstrapLoading.end();
|
|
|
+ installationFeeObj.calcInstallationFee();
|
|
|
+ });
|
|
|
}
|
|
|
- projectObj.project.projectGLJ.loadData(function () {//等项目工料机加载完成后再给用户编辑
|
|
|
- me.refreshTreeNodeIfNeeded(recode);//刷新造价书上的树节点(如果需要)
|
|
|
- me.reCalcWhenGLJChange(recode);//触发计算定额以及父节点
|
|
|
- zmhs_obj.refreshStableDataIfNeeded();
|
|
|
- gljOprObj.refreshView();
|
|
|
- $.bootstrapLoading.end();
|
|
|
- installationFeeObj.calcInstallationFee();
|
|
|
- });
|
|
|
};
|
|
|
$.bootstrapLoading.start();
|
|
|
CommonAjax.post("/rationGlj/updateRationGLJByEdit", {
|