|  | @@ -136,7 +136,7 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |          {title: '工料分类', colSpan: '1', rowSpan: '2', field: 'm_type', hAlign: 1, width: 60, readOnly: 'readOnly.isEdit', cellType: 'customizeCombo', comboItems: materialType.m_type, cellTypeKey: 2},
 | 
	
		
			
				|  |  |      ];
 | 
	
		
			
				|  |  |      if (materialTax) {
 | 
	
		
			
				|  |  | -        materialSpreadSettingCols.push({title: '税率(%)', colSpan: '1', rowSpan: '2', field: 'm_tax', hAlign: 2, width: 50, type: 'Number', readOnly: editTaxPermission ? 'readOnly.isEdit' : 'readOnly.remark'});
 | 
	
		
			
				|  |  | +        materialSpreadSettingCols.push({title: '税率(%)', colSpan: '1', rowSpan: '2', field: 'm_tax', hAlign: 2, width: 50, type: 'Number', readOnly: editTaxPermission ? 'readOnly.remark' : 'readOnly.isEdit'});
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      materialSpreadSettingCols = _.concat(materialSpreadSettingCols, [
 | 
	
		
			
				|  |  |          {title: '上涨 幅度(%)', colSpan: '1', rowSpan: '2', field: 'm_up_risk', hAlign: 2, width: 50, type: 'Number', readOnly: 'readOnly.isEdit'},
 | 
	
	
		
			
				|  | @@ -175,6 +175,7 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |      spCol.normalImg = '#ellipsis-icon';
 | 
	
		
			
				|  |  |      spCol.indent = 5;
 | 
	
		
			
				|  |  |      spCol.showImage = function (data) {
 | 
	
		
			
				|  |  | +        // console.log(data, data.t_type);
 | 
	
		
			
				|  |  |          // return !readOnly && data.t_type === 2 && data.mid === materialID;
 | 
	
		
			
				|  |  |          return data.t_type === 2;
 | 
	
		
			
				|  |  |      };
 | 
	
	
		
			
				|  | @@ -321,6 +322,7 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |                      return item.quantity !== null && item.quantity !== 0;
 | 
	
		
			
				|  |  |                  });
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | +            console.log(newMaterialBillsData);
 | 
	
		
			
				|  |  |              SpreadJsObj.loadSheetData(materialSpread.getActiveSheet(), SpreadJsObj.DataType.Data, newMaterialBillsData);
 | 
	
		
			
				|  |  |              materialSpreadObj.refreshActn();
 | 
	
		
			
				|  |  |          },
 | 
	
	
		
			
				|  | @@ -1162,7 +1164,8 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |          showWaitingView();
 | 
	
		
			
				|  |  |          setTimeout(function () {
 | 
	
		
			
				|  |  |              materialSpreadObj.getMaterialBillsData();
 | 
	
		
			
				|  |  | -            SpreadJsObj.reLoadSheetData(materialSpread.getActiveSheet());
 | 
	
		
			
				|  |  | +            materialSpreadObj.materialSheetReset();
 | 
	
		
			
				|  |  | +            // SpreadJsObj.reLoadSheetData(materialSpread.getActiveSheet());
 | 
	
		
			
				|  |  |              // 消耗量表格更新
 | 
	
		
			
				|  |  |              let html = '';
 | 
	
		
			
				|  |  |              calcBase = _.find(calcBaseList, { ms_id: $('#myTab').find('.active').data('msid') }).calcBase;
 |