(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7c3b9dc0"],{"4a28":function(e,a,t){"use strict";t.r(a);var l=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"addVehicleDialog"},[t("el-dialog",{attrs:{center:"",width:"636px",title:"修改机车信息",visible:e.updateVehicleData.dialogVisible},on:{close:function(a){return e.cancel()},"update:visible":function(a){return e.$set(e.updateVehicleData,"dialogVisible",a)}}},[t("el-form",{ref:"ruleForm",attrs:{"label-width":"80px",rules:e.rules,model:e.updateVehicleData.data}},[t("el-form-item",{attrs:{label:"机车号",prop:"vehicleCode"}},[t("el-input",{attrs:{placeholder:"请输入机车号"},model:{value:e.updateVehicleData.data.vehicleCode,callback:function(a){e.$set(e.updateVehicleData.data,"vehicleCode",a)},expression:"updateVehicleData.data.vehicleCode"}})],1),t("el-form-item",{attrs:{label:"车型",prop:"vehicleType"}},[t("el-input",{attrs:{placeholder:"请输入车型"},model:{value:e.updateVehicleData.data.vehicleType,callback:function(a){e.$set(e.updateVehicleData.data,"vehicleType",a)},expression:"updateVehicleData.data.vehicleType"}})],1),t("el-form-item",{attrs:{label:"AB端",prop:"ends"}},[t("el-input",{attrs:{placeholder:"请输入AB端"},model:{value:e.updateVehicleData.data.ends,callback:function(a){e.$set(e.updateVehicleData.data,"ends",a)},expression:"updateVehicleData.data.ends"}})],1),t("el-form-item",{attrs:{label:"备注"}},[t("el-input",{attrs:{placeholder:"请输入备注"},model:{value:e.updateVehicleData.data.remark,callback:function(a){e.$set(e.updateVehicleData.data,"remark",a)},expression:"updateVehicleData.data.remark"}})],1)],1),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("div",{staticClass:"search",on:{click:function(a){return e.updateVehicle()}}},[e._v("保 存")]),t("div",{staticClass:"reset",on:{click:function(a){return e.cancel()}}},[e._v("取 消")])])],1)],1)},i=[],c={props:{updateVehicleData:{type:Object,default:{}}},data:function(){return{rules:{vehicleCode:[{required:!0,message:"请输入机车编码",trigger:"blur"}],vehicleName:[{required:!0,message:"请输入机车名称",trigger:"blur"}],vehicleType:[{required:!0,message:"请输入车型",trigger:"blur"}],ends:[{required:!0,message:"请输入AB端",trigger:"blur"}]}}},methods:{cancel:function(){this.updateVehicleData.dialogVisible=!1},updateVehicle:function(){var e=this;this.$refs.ruleForm.validate((function(a){a&&e.$emit("updateVehicleBtn",e.updateVehicleData)}))}}},r=c,d=(t("8058"),t("2877")),s=Object(d["a"])(r,l,i,!1,null,"671da036",null);a["default"]=s.exports},"7f0f6":function(e,a,t){},8058:function(e,a,t){"use strict";t("7f0f6")}}]);