oyq28 10 hónapja
szülő
commit
184be0d18f

+ 7 - 7
imcs-ui/src/views/zuihou/lineSideLibrary/lineSideMgr/Index.vue

@@ -45,7 +45,7 @@
 					      :value="item.id">
 					    </el-option>
 		      	</el-select>
-		    	</span> 
+		    	</span>
 				-->
 		      <span style="margin-left: 15px;">
 			      <el-button plain type="primary" icon="el-icon-search" size="medium" @click="search">
@@ -91,7 +91,7 @@
 		      <el-table-column prop="storgeTypeDesc" :label='$t("lineSide.table.side.storgeTypeDesc")' :show-overflow-tooltip="true"></el-table-column>
 		      <el-table-column prop="lockStatus" :label='$t("lineSide.table.side.lockStatus")' align="center" width="90px">
 		      	<template slot-scope="{ row }">
-		          <el-tag :type="row.lockStatus=='0' ? 'success' : 'danger'">
+		          <el-tag :type="row.lockStatus=='0' ? 'danger' : 'success'">
 		          	{{ row.lockStatus=='0' ? $t("common.yes") : $t("common.no") }}
 		          </el-tag>
 		        </template>
@@ -235,7 +235,7 @@
 	  	// 【库位类型】
 	  	this.getWareType()
 	  	// 加载【字典】
-	  	initDicts(['NATION'], this.dicts)	  	
+	  	initDicts(['NATION'], this.dicts)
 	  	// 加载Tree数据
 	  	this.getTreeData()
 		// 加载列表数据
@@ -324,7 +324,7 @@
      		// console.log("data == ", data)
      		// console.log("checkData == ", checkData)
      		// 当前选中的Node
-     		this.currNode = data			
+     		this.currNode = data
      		// 永远只选择一个CheckBox节点
 	  		this.$refs.tree.setCheckedKeys([data.id])
 	  		// 加载列表数据
@@ -454,7 +454,7 @@
 	      this.dialog.isVisible = true
 	    },
 	    // 【批量入库】
-	    editList(){		  
+	    editList(){
 		  this.parentNode = this.$refs.tree.getNode(this.currNode.parentId)
 		  let pNodeName = this.parentNode.data.name
 	      this.$refs.editList.type = "add"
@@ -500,8 +500,8 @@
 	    		if(res.isSuccess){
 	    			this.treeData = res.data
 					if(res.data.length > 0){
-                        let obj = res.data[0].children[0]											
-						this.treeCheck(obj, {})					
+                        let obj = res.data[0].children[0]
+						this.treeCheck(obj, {})
 					}
 	    		}
 	    	})