|  | @@ -92,10 +92,13 @@ $(function () {
 | 
	
		
			
				|  |  |          let outDetlList = [];
 | 
	
		
			
				|  |  |          var data = $("#tb_table_detailed").jqGrid("getRowData");
 | 
	
		
			
				|  |  |          for (let i = 0; i < data.length; i++) {
 | 
	
		
			
				|  |  | -            if (parseFloat(data[i].outAmt === '' ? 0 : data[i].outAmt) > 0) {
 | 
	
		
			
				|  |  | +            if (parseFloat(data[i].outAmt === '' ? 0 : data[i].outAmt) != 0) {
 | 
	
		
			
				|  |  |                  outDetlList.push(data[i])
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        if(outDetlList.length === 0){
 | 
	
		
			
				|  |  | +            return errorMesageSimaple('没有需要保存的数据!');
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          request({
 | 
	
		
			
				|  |  |              url: '/saveYpOutDetlYfList',
 | 
	
		
			
				|  |  |              method: 'POST',
 | 
	
	
		
			
				|  | @@ -341,7 +344,7 @@ function initDetailed() {
 | 
	
		
			
				|  |  |              {name: 'stockAmount', index: 'stockAmount', align: 'center'},
 | 
	
		
			
				|  |  |              {
 | 
	
		
			
				|  |  |                  name: 'outAmt', index: 'outAmt', align: 'center', width: 100, editable: true, edittype: 'text'
 | 
	
		
			
				|  |  | -                , editrules: {edithidden: true, number: true, minValue: 0},
 | 
	
		
			
				|  |  | +                , editrules: {edithidden: true, number: true},
 | 
	
		
			
				|  |  |                  formatter: function (cellvalue, options, rowObject) {
 | 
	
		
			
				|  |  |                      return isEmpty(cellvalue) ? 0 : cellvalue;
 | 
	
		
			
				|  |  |                  }
 |