1 line
17 KiB
JavaScript
1 line
17 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-70414a8d"],{"02e1":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{margin:"20px"}},[a("div",{staticStyle:{"background-color":"#02BCFF","font-size":"1.5em",color:"white",padding:"5px 20px",margin:"20px"},attrs:{slot:"title"},slot:"title"},[t._v(t._s(t._f("i18nFilter")(t.isdetail?"btn.detail":t.listQuery.equipmentId?"btn.edit":"btn.add")))]),t._v(" "),a("div",{staticStyle:{margin:"0 15px"}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.rules,size:"medium","label-width":"220px"}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.equipment.EquipmentName"),prop:"name"}},[a("el-input",{style:{width:"100%"},attrs:{autofocus:"",disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.equipment.EquipmentName")]),clearable:""},model:{value:t.dataForm.name,callback:function(e){t.$set(t.dataForm,"name",e)},expression:"dataForm.name"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.equipment.EquipmentCode"),prop:"code"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.equipment.EquipmentCode")]),clearable:""},model:{value:t.dataForm.code,callback:function(e){t.$set(t.dataForm,"code",e)},expression:"dataForm.code"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.EnglishName"),prop:"enName"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.EnglishName")]),clearable:""},model:{value:t.dataForm.enName,callback:function(e){t.$set(t.dataForm,"enName",e)},expression:"dataForm.enName"}})],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Abbreviation"),prop:"abbr"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Abbreviation")]),clearable:""},model:{value:t.dataForm.abbr,callback:function(e){t.$set(t.dataForm,"abbr",e)},expression:"dataForm.abbr"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.equipment.EquipmentType"),prop:"equipmentType"}},[a("el-select",{attrs:{placeholder:this.$t("module.basicData.cache.logisticsEquipment"),default:""},model:{value:t.dataForm.equipmentType,callback:function(e){t.$set(t.dataForm,"equipmentType",e)},expression:"dataForm.equipmentType"}},t._l(t.options,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.enterTime"),prop:"enterTime"}},[a("el-date-picker",{style:{width:"100%"},attrs:{disabled:t.isdetail,format:"yyyy-MM-dd","value-format":"yyyy-MM-ddT00:00:00",placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.enterTime")]),clearable:""},model:{value:t.dataForm.enterTime,callback:function(e){t.$set(t.dataForm,"enterTime",e)},expression:"dataForm.enterTime"}})],1)],1)],1),t._v(" "),a("el-row"),t._v(" "),a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Manufacturer"),prop:"manufacturer"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Manufacturer")]),clearable:""},model:{value:t.dataForm.manufacturer,callback:function(e){t.$set(t.dataForm,"manufacturer",e)},expression:"dataForm.manufacturer"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:t.$t("module.basicData.visual.Remarks"),prop:"remark"}},[a("el-input",{style:{width:"100%"},attrs:{disabled:t.isdetail,placeholder:t.$i18nForm(["placeholder.input",t.$t("module.basicData.visual.Remark
|