zhuhao пре 3 година
родитељ
комит
b98487d783

+ 1 - 1
imcs-ui/src/views/zuihou/prepareProductMgr/technologyVersion/Index.vue

@@ -518,7 +518,7 @@ export default {
       this.queryParams.size = params.size ? params.size : this.queryParams.size
 			// 参数条件
 			this.queryParams.model.bomId = this.bomId
-			
+			console.log('this.queryParams==',this.queryParams)
 			// 测试数据,真实数据,请使用page
       technologyVersionApi.page(this.queryParams).then(response => {
       	const res = response.data

+ 3 - 3
imcs-ui/src/views/zuihou/prepareProductMgr/technologyVersion/components/TechnologyTable.vue

@@ -338,12 +338,12 @@
 	      
 				// 参数 bomVersionId  、bomId
 				// 获取Bom产品的id
-				this.queryParams.bomId = params.bomId
+				this.queryParams.bomId = params.bomId ? params.bomId :this.queryParams.bomId;
 				// 获取版本id
-				this.queryParams.bomVersionId = params.bomVersionId
+				this.queryParams.bomVersionId = params.bomVersionId ? params.bomVersionId : this.queryParams.bomVersionId
 				// bizType = 0 ;是工艺版本的列表; 如果是1 的话,则是正式工艺的列表
 				this.queryParams.bizType = "0"
-				
+				console.log("queryParams:", this.queryParams)
 	      technologyMgrApi.pageList(this.queryParams).then(response => {
 	      	const res = response.data
 	        console.log("列表的数据:", res)

+ 1 - 1
imcs-ui/src/views/zuihou/resourceProductMgr/equipmentProgramMgr/Index.vue

@@ -537,7 +537,7 @@
 		        	})
 	          	// 默认点击第一条数据
 	          	//this.$refs.table.setCurrentRow(this.tableData.data[0]);  // 单选
-	          	this.$refs.table.toggleRowSelection(this.tableData.data[0], true)  // 多选
+	          	//this.$refs.table.toggleRowSelection(this.tableData.data[0], true)  // 多选
 	          	// 加载【刀具列表】数据
 	          	this.fetch2()
 	          }

+ 6 - 3
imcs-ui/src/views/zuihou/statisticalAnalysis/resouceOee/Index.vue

@@ -55,7 +55,7 @@
   import productlineAvailabilityApi from "@/api/statisticalAnalysis/productlineAvailability"
   import BarChart from '@/components/Charts/BarChart'
   // 【产线管理】-API
-	import areaMgrApi from "@/api/resourceProductMgr/areaMgr"
+  import areaMgrApi from "@/api/resourceProductMgr/areaMgr"
 	export default {
 	  name: "oee",
     components: {BarChart },
@@ -91,8 +91,11 @@
           this.fetch()
       },
       reset() {
-          this.$refs.table.clearSort()
-          this.$refs.table.clearFilter()
+          this.productionLineId = '';
+          this.statisticalDate = '';
+          //this.queryParams = initQueryParams({})
+          //this.$refs.table.clearSort()
+          //this.$refs.clearFilter() 
           this.search()
       },
 	    fetch () {