| 
					
					
						
							
						
					
					
				 | 
				@ -87,7 +87,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				              <el-col :span="6"> | 
				 | 
				 | 
				              <el-col :span="6"> | 
			
		
		
	
		
			
				 | 
				 | 
				                <el-color-picker | 
				 | 
				 | 
				                <el-color-picker | 
			
		
		
	
		
			
				 | 
				 | 
				                  v-model="form.containerColor" | 
				 | 
				 | 
				                  v-model="form.containerColor" | 
			
		
		
	
		
			
				 | 
				 | 
				                  @change="colorchange" | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                   | 
			
		
		
	
		
			
				 | 
				 | 
				                ></el-color-picker> | 
				 | 
				 | 
				                ></el-color-picker> | 
			
		
		
	
		
			
				 | 
				 | 
				                <el-form-item | 
				 | 
				 | 
				                <el-form-item | 
			
		
		
	
		
			
				 | 
				 | 
				                  label="颜色" | 
				 | 
				 | 
				                  label="颜色" | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -98,7 +98,7 @@ | 
			
		
		
	
		
			
				 | 
				 | 
				                    v-model="form.containerColor" | 
				 | 
				 | 
				                    v-model="form.containerColor" | 
			
		
		
	
		
			
				 | 
				 | 
				                    maxlength="8" | 
				 | 
				 | 
				                    maxlength="8" | 
			
		
		
	
		
			
				 | 
				 | 
				                    minlength="6" | 
				 | 
				 | 
				                    minlength="6" | 
			
		
		
	
		
			
				 | 
				 | 
				                    @change="colorchange" | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				                | 
			
		
		
	
		
			
				 | 
				 | 
				                  ></el-input> | 
				 | 
				 | 
				                  ></el-input> | 
			
		
		
	
		
			
				 | 
				 | 
				                </el-form-item> | 
				 | 
				 | 
				                </el-form-item> | 
			
		
		
	
		
			
				 | 
				 | 
				              </el-col> | 
				 | 
				 | 
				              </el-col> | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -227,7 +227,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				        containerColorName: "", | 
				 | 
				 | 
				        containerColorName: "", | 
			
		
		
	
		
			
				 | 
				 | 
				        containerColor: "", | 
				 | 
				 | 
				        containerColor: "", | 
			
		
		
	
		
			
				 | 
				 | 
				      }, | 
				 | 
				 | 
				      }, | 
			
		
		
	
		
			
				 | 
				 | 
				      curRow:{}, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      curRow: {}, | 
			
		
		
	
		
			
				 | 
				 | 
				    }; | 
				 | 
				 | 
				    }; | 
			
		
		
	
		
			
				 | 
				 | 
				  }, | 
				 | 
				 | 
				  }, | 
			
		
		
	
		
			
				 | 
				 | 
				  created() { | 
				 | 
				 | 
				  created() { | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -302,7 +302,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    //置低 | 
				 | 
				 | 
				    //置低 | 
			
		
		
	
		
			
				 | 
				 | 
				    toppings() { | 
				 | 
				 | 
				    toppings() { | 
			
		
		
	
		
			
				 | 
				 | 
				      this.form={...this.curRow} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.form = { ...this.curRow }; | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.form.id == undefined) { | 
				 | 
				 | 
				      if (this.form.id == undefined) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.success("请点击选择操作的数据"); | 
				 | 
				 | 
				        this.$message.success("请点击选择操作的数据"); | 
			
		
		
	
		
			
				 | 
				 | 
				      } else { | 
				 | 
				 | 
				      } else { | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -314,7 +314,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    //置顶 | 
				 | 
				 | 
				    //置顶 | 
			
		
		
	
		
			
				 | 
				 | 
				    topping() { | 
				 | 
				 | 
				    topping() { | 
			
		
		
	
		
			
				 | 
				 | 
				       this.form={...this.curRow} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.form = { ...this.curRow }; | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.form.id == undefined) { | 
				 | 
				 | 
				      if (this.form.id == undefined) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.warning("请点击选择操作的数据"); | 
				 | 
				 | 
				        this.$message.warning("请点击选择操作的数据"); | 
			
		
		
	
		
			
				 | 
				 | 
				      } else { | 
				 | 
				 | 
				      } else { | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -326,7 +326,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    //删除 | 
				 | 
				 | 
				    //删除 | 
			
		
		
	
		
			
				 | 
				 | 
				    delsrts() { | 
				 | 
				 | 
				    delsrts() { | 
			
		
		
	
		
			
				 | 
				 | 
				       this.form={...this.curRow} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.form = { ...this.curRow }; | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.form.id == undefined) { | 
				 | 
				 | 
				      if (this.form.id == undefined) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.warning("请选择删除的数据"); | 
				 | 
				 | 
				        this.$message.warning("请选择删除的数据"); | 
			
		
		
	
		
			
				 | 
				 | 
				      } else { | 
				 | 
				 | 
				      } else { | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -352,14 +352,14 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    //编辑弹框 | 
				 | 
				 | 
				    //编辑弹框 | 
			
		
		
	
		
			
				 | 
				 | 
				    editpopup() { | 
				 | 
				 | 
				    editpopup() { | 
			
		
		
	
		
			
				 | 
				 | 
				      this.resetFields() | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				       this.form={...this.curRow} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.resetFields(); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.form = { ...this.curRow }; | 
			
		
		
	
		
			
				 | 
				 | 
				      if (this.form.id == undefined) { | 
				 | 
				 | 
				      if (this.form.id == undefined) { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$message.warning("请点击选择操作的数据"); | 
				 | 
				 | 
				        this.$message.warning("请点击选择操作的数据"); | 
			
		
		
	
		
			
				 | 
				 | 
				      } else { | 
				 | 
				 | 
				      } else { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.dialogVisible = true; | 
				 | 
				 | 
				        this.dialogVisible = true; | 
			
		
		
	
		
			
				 | 
				 | 
				        this.title = 2; | 
				 | 
				 | 
				        this.title = 2; | 
			
		
		
	
		
			
				 | 
				 | 
				        this.getFocus() | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.getFocus(); | 
			
		
		
	
		
			
				 | 
				 | 
				        Containerid(this.form.id).then((res) => { | 
				 | 
				 | 
				        Containerid(this.form.id).then((res) => { | 
			
		
		
	
		
			
				 | 
				 | 
				          console.log(res); | 
				 | 
				 | 
				          console.log(res); | 
			
		
		
	
		
			
				 | 
				 | 
				          this.form = res.data; | 
				 | 
				 | 
				          this.form = res.data; | 
			
		
		
	
	
		
			
				| 
					
					
					
						
							
						
					
				 | 
				@ -369,11 +369,10 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				    //点击列表通过id查询 | 
				 | 
				 | 
				    //点击列表通过id查询 | 
			
		
		
	
		
			
				 | 
				 | 
				    rowick(row) { | 
				 | 
				 | 
				    rowick(row) { | 
			
		
		
	
		
			
				 | 
				 | 
				      Containerid(row.id).then((res) => { | 
				 | 
				 | 
				      Containerid(row.id).then((res) => { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.curRow={...res.data} | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				        this.curRow = { ...res.data }; | 
			
		
		
	
		
			
				 | 
				 | 
				        // console.log(res); | 
				 | 
				 | 
				        // console.log(res); | 
			
		
		
	
		
			
				 | 
				 | 
				        // this.form = res.data; | 
				 | 
				 | 
				        // this.form = res.data; | 
			
		
		
	
		
			
				 | 
				 | 
				      }); | 
				 | 
				 | 
				      }); | 
			
		
		
	
		
			
				 | 
				 | 
				      | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    //确定新增或者编辑 | 
				 | 
				 | 
				    //确定新增或者编辑 | 
			
		
		
	
		
			
				 | 
				 | 
				    addoredit() { | 
				 | 
				 | 
				    addoredit() { | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -408,16 +407,16 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				      this.title = 1; | 
				 | 
				 | 
				      this.title = 1; | 
			
		
		
	
		
			
				 | 
				 | 
				      this.dialogVisible = true; | 
				 | 
				 | 
				      this.dialogVisible = true; | 
			
		
		
	
		
			
				 | 
				 | 
				      this.form = {}; | 
				 | 
				 | 
				      this.form = {}; | 
			
		
		
	
		
			
				 | 
				 | 
				   this.getFocus() | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				   this.resetFields() | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.getFocus(); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      this.resetFields(); | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				    getFocus(){ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    getFocus() { | 
			
		
		
	
		
			
				 | 
				 | 
				      this.$nextTick(() => { | 
				 | 
				 | 
				      this.$nextTick(() => { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$refs.refinput.focus(); | 
				 | 
				 | 
				        this.$refs.refinput.focus(); | 
			
		
		
	
		
			
				 | 
				 | 
				      }); | 
				 | 
				 | 
				      }); | 
			
		
		
	
		
			
				 | 
				 | 
				    }, | 
				 | 
				 | 
				    }, | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    resetFields(){ | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    resetFields() { | 
			
		
		
	
		
			
				 | 
				 | 
				      this.$nextTick(() => { | 
				 | 
				 | 
				      this.$nextTick(() => { | 
			
		
		
	
		
			
				 | 
				 | 
				        this.$refs.form.resetFields(); | 
				 | 
				 | 
				        this.$refs.form.resetFields(); | 
			
		
		
	
		
			
				 | 
				 | 
				      }); | 
				 | 
				 | 
				      }); | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |