|  |  |  | @ -213,14 +213,19 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 	}, | 
			
		
	
		
			
				
					|  |  |  |  | 	methods: { | 
			
		
	
		
			
				
					|  |  |  |  | 		async getUserPower() { | 
			
		
	
		
			
				
					|  |  |  |  | 			debugger | 
			
		
	
		
			
				
					|  |  |  |  | 			if (this.dataInfoObj.FCanEdit != 2) { | 
			
		
	
		
			
				
					|  |  |  |  | 				this.userPower[0] = (await getBasicRoleList({ | 
			
		
	
		
			
				
					|  |  |  |  | 					FRoleType: 84, | 
			
		
	
		
			
				
					|  |  |  |  | 					FViewType: this.dataInfoObj.FViewType | 
			
		
	
		
			
				
					|  |  |  |  | 					FViewType: this.dataInfoObj.FViewType, | 
			
		
	
		
			
				
					|  |  |  |  | 					TeamId:this.dataInfoObj.FTeamID, | 
			
		
	
		
			
				
					|  |  |  |  | 					Type:0 | 
			
		
	
		
			
				
					|  |  |  |  | 				}) || []).map(it => parseInt(it.F2)) | 
			
		
	
		
			
				
					|  |  |  |  | 				this.userPower[1] = (await getBasicRoleList({ | 
			
		
	
		
			
				
					|  |  |  |  | 					FRoleType: 44, | 
			
		
	
		
			
				
					|  |  |  |  | 					FViewType: this.dataInfoObj.FViewType | 
			
		
	
		
			
				
					|  |  |  |  | 					FViewType: this.dataInfoObj.FViewType, | 
			
		
	
		
			
				
					|  |  |  |  | 					TeamId:this.dataInfoObj.FTeamID, | 
			
		
	
		
			
				
					|  |  |  |  | 					Type:0 | 
			
		
	
		
			
				
					|  |  |  |  | 				}) || []).map(it => parseInt(it.F2)) | 
			
		
	
		
			
				
					|  |  |  |  | 			} | 
			
		
	
		
			
				
					|  |  |  |  | 			this.initPage(layer.load(2)); | 
			
		
	
	
		
			
				
					|  |  |  | @ -479,14 +484,13 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  | 			this.dataList.forEach((row, index) => { | 
			
		
	
		
			
				
					|  |  |  |  | 				let cache = cacheDataList[index]; | 
			
		
	
		
			
				
					|  |  |  |  | 				let dataObj = {}; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 				if (!row["FTypeID1"] || !row["FTypeID2"]) { | 
			
		
	
		
			
				
					|  |  |  |  | 				debugger | 
			
		
	
		
			
				
					|  |  |  |  | 				if (row["FTypeID1"]==-1 || row["FTypeID2"]==-1||row["FTypeID1"]==''||row["FTypeID2"]=='') { | 
			
		
	
		
			
				
					|  |  |  |  | 					layer.msg("请先为所有物料选择分类", { icon : 2, time: 1000}); | 
			
		
	
		
			
				
					|  |  |  |  | 					layer.close(idx); | 
			
		
	
		
			
				
					|  |  |  |  | 					allTypeSelected = false | 
			
		
	
		
			
				
					|  |  |  |  | 					return | 
			
		
	
		
			
				
					|  |  |  |  | 					allTypeSelected = false; | 
			
		
	
		
			
				
					|  |  |  |  | 					return false; | 
			
		
	
		
			
				
					|  |  |  |  | 				} | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 				for (let col of this.editColumn) { | 
			
		
	
		
			
				
					|  |  |  |  | 					let valTemp = row[col.key]; | 
			
		
	
		
			
				
					|  |  |  |  | 					if (this.dataInfoObj.FViewType == 10) { | 
			
		
	
	
		
			
				
					|  |  |  | 
 |