|
@@ -540,9 +540,10 @@ var Ration = {
|
|
|
}
|
|
|
};
|
|
|
ration.prototype.insertVolumePrice = function(type,ext){
|
|
|
+ let isEmpty = ext?false:true;
|
|
|
this.addNewRation(null,rationType.volumePrice,function (newNode) {//插入人工不需要自动定位到编号列
|
|
|
projectObj.selectColAndFocus(newNode,null);
|
|
|
- },true,type,true,ext);
|
|
|
+ },isEmpty,type,true,ext);
|
|
|
};
|
|
|
// 已经有数据,更新前端缓存及节点,不进行通信
|
|
|
ration.prototype.addNewDataSimply = function (newData) {
|