|  | @@ -511,7 +511,7 @@ var quantity_detail = {
 | 
	
		
			
				|  |  |          quantity_detail.prototype.autoTransformQuantity = function(value,node){//根据单位转换定额工程量
 | 
	
		
			
				|  |  |              let data = node.data;
 | 
	
		
			
				|  |  |              let option = optionsOprObj.getOption(optionsOprObj.optionsTypes.GENERALOPTS,'rationQuanACToRationUnit');
 | 
	
		
			
				|  |  | -            if(option==true&&node.sourceType === project.Ration.getSourceType()&&data.unit) {//还需加入判读是否转换
 | 
	
		
			
				|  |  | +            if(node.data.quantityEXP=='GCLMXHJ'||(option==true&&node.sourceType === project.Ration.getSourceType()&&data.unit)) {//还需加入判读是否转换,如果是来自工程量明细的话,默认都进行转换
 | 
	
		
			
				|  |  |                  let times = parseInt(data.unit);
 | 
	
		
			
				|  |  |                  if (isNaN(times)) {
 | 
	
		
			
				|  |  |                      times = 1
 | 
	
	
		
			
				|  | @@ -531,7 +531,7 @@ var quantity_detail = {
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              return value
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  | -        quantity_detail.prototype.editMainTreeNodeQuantity=function (value,node,fieldName) {
 | 
	
		
			
				|  |  | +        quantity_detail.prototype.editMainTreeNodeQuantity=function (value,node,fieldName,editingText) {
 | 
	
		
			
				|  |  |              var me = this;
 | 
	
		
			
				|  |  |              if(isNaN(value)){
 | 
	
		
			
				|  |  |                  alert("当前输入的数据类型不正确,请重新输入。");
 | 
	
	
		
			
				|  | @@ -543,9 +543,9 @@ var quantity_detail = {
 | 
	
		
			
				|  |  |                          node.data.isFromDetail=0;
 | 
	
		
			
				|  |  |                          project.quantity_detail.cleanQuantityDetail(node,true);
 | 
	
		
			
				|  |  |                          if(node.sourceType === project.Bills.getSourceType()){
 | 
	
		
			
				|  |  | -                            me.updateBillQuantity(value,node);
 | 
	
		
			
				|  |  | +                            me.updateBillQuantity(value,node,null,editingText);
 | 
	
		
			
				|  |  |                          }else {
 | 
	
		
			
				|  |  | -                            me.updateRationQuantity(value,node);
 | 
	
		
			
				|  |  | +                            me.updateRationQuantity(value,node,null,editingText);
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                      }else {
 | 
	
		
			
				|  |  |                          projectObj.mainController.refreshTreeNode([node]);
 | 
	
	
		
			
				|  | @@ -553,8 +553,8 @@ var quantity_detail = {
 | 
	
		
			
				|  |  |                  },100);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  | -        quantity_detail.prototype.updateBillQuantity=function (value,node,quantityEXP) {
 | 
	
		
			
				|  |  | -            node.data.quantityEXP = quantityEXP?quantityEXP:value;
 | 
	
		
			
				|  |  | +        quantity_detail.prototype.updateBillQuantity=function (value,node,quantityEXP,editingText) {
 | 
	
		
			
				|  |  | +            node.data.quantityEXP = quantityEXP?quantityEXP:editingText;
 | 
	
		
			
				|  |  |              value = scMathUtil.roundForObj(value,getDecimal("quantity",node));
 | 
	
		
			
				|  |  |              node.data.quantity = value+"";
 | 
	
		
			
				|  |  |              console.log(value);
 | 
	
	
		
			
				|  | @@ -596,8 +596,8 @@ var quantity_detail = {
 | 
	
		
			
				|  |  |                  projectObj.mainController.refreshTreeNode(gljNodes);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          };
 | 
	
		
			
				|  |  | -        quantity_detail.prototype.updateRationQuantity=function(value,node,quantityEXP){
 | 
	
		
			
				|  |  | -            node.data.quantityEXP = quantityEXP?quantityEXP:value;
 | 
	
		
			
				|  |  | +        quantity_detail.prototype.updateRationQuantity=function(value,node,quantityEXP,editingText){
 | 
	
		
			
				|  |  | +            node.data.quantityEXP = quantityEXP?quantityEXP:editingText;
 | 
	
		
			
				|  |  |              value = scMathUtil.roundForObj(value,getDecimal("ration.quantity"));
 | 
	
		
			
				|  |  |              if(node.parent.data.quantity&&node.parent.data.quantity!=0&&node.parent.data.quantity!=""){
 | 
	
		
			
				|  |  |                  var billQuantity = scMathUtil.roundForObj(node.parent.data.quantity,getDecimal("quantity",node.parent));
 |