|  | @@ -684,6 +684,7 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |                          const index = findSelfLeafXmj(select, 'index');
 | 
	
		
			
				|  |  |                          selfList.splice(index, 1);
 | 
	
		
			
				|  |  |                          materialListData = result;
 | 
	
		
			
				|  |  | +                        $('#cancel-self').modal('hide');
 | 
	
		
			
				|  |  |                      } else {
 | 
	
		
			
				|  |  |                          selfList.push(result);
 | 
	
		
			
				|  |  |                      }
 | 
	
	
		
			
				|  | @@ -771,7 +772,8 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |                      name: '取消单独添加工料',
 | 
	
		
			
				|  |  |                      icon: 'fa-remove',
 | 
	
		
			
				|  |  |                      callback: function (key, opt) {
 | 
	
		
			
				|  |  | -                        leafXmjSpreadObj.checkSelfMaterial('noself');
 | 
	
		
			
				|  |  | +                        $('#cancel-self').modal('show');
 | 
	
		
			
				|  |  | +                        // leafXmjSpreadObj.checkSelfMaterial('noself');
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                      visible: function (key, opt) {
 | 
	
		
			
				|  |  |                          const sheet = leafXmjSpread.getActiveSheet();
 | 
	
	
		
			
				|  | @@ -790,6 +792,9 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |                  },
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  | +        $('#cancelSelfBtn').click(function () {
 | 
	
		
			
				|  |  | +            leafXmjSpreadObj.checkSelfMaterial('noself');
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  |          // material-spread右键功能
 | 
	
		
			
				|  |  |          const materialSpreadObj = {
 | 
	
		
			
				|  |  |              del: function () {
 |