You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
57 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0e15d468"],{"2aed":function(e,t,a){},"4f05":function(e,t,a){"use strict";a.d(t,"h",(function(){return r})),a.d(t,"a",(function(){return o})),a.d(t,"b",(function(){return c})),a.d(t,"d",(function(){return u})),a.d(t,"e",(function(){return p})),a.d(t,"c",(function(){return d})),a.d(t,"i",(function(){return m})),a.d(t,"g",(function(){return h})),a.d(t,"j",(function(){return f})),a.d(t,"f",(function(){return v}));var i=a("b775"),s=a("4328"),l=a.n(s);function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e){return Object(i["a"])({url:"/base/v1/basevehiclemodel/pagerList",data:e,method:"post",headers:{"Content-Type":"application/json"}})}function o(e){var t;return Object(i["a"])((t={url:"/base/v1/basevehiclemodel/save",data:e,method:"post"},n(t,"data",e),n(t,"headers",{"Content-Type":"application/json"}),t))}function c(e){return Object(i["a"])({url:"/base/v1/basevehiclemodel/update/".concat(e.sid),method:"post",data:e,headers:{"Content-Type":"application/json"}})}function u(e){return Object(i["a"])({url:"/base/v1/basevehiclemodel/deleteBySids?sids="+e,method:"DELETE",data:l.a.stringify(e)})}function p(e){return Object(i["a"])({url:"/base/v1/basevehiclemodel/details/"+e,method:"get",params:e})}function d(e){return Object(i["a"])({url:"/base/v1/basevehiclemodel/exportExcel"+e,method:"get",responseType:"blob",data:l.a.stringify(e)})}function m(e){return Object(i["a"])({url:"/base/v1/basemanufacturer/selectByOrgSid",method:"get",params:e})}function h(e){return Object(i["a"])({url:"/base/v1/basevehiclebrand/namesDownBySid",method:"get",data:l.a.stringify(e),params:e})}function f(e){return Object(i["a"])({url:"/base/v1/basevehiclemodel/selectDownPlus",method:"get",params:e})}function v(e){return Object(i["a"])({url:"/portal/v1/sysorganization/getListOrg",method:"get",params:e})}},"54e8":function(e,t,a){"use strict";a("62fc")},"62fc":function(e,t,a){},7042:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pagination-container e-pagination",class:{hidden:e.hidden}},[a("el-pagination",e._b({attrs:{background:e.background,"current-page":e.current,"page-size":e.Size,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.current=t},"update:current-page":function(t){e.current=t},"update:pageSize":function(t){e.Size=t},"update:page-size":function(t){e.Size=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},s=[],l={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[5,10,15,20,30,50]}},layout:{type:String,default:"sizes"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{current:{get:function(){return this.page},set:function(e){this.$emit("update:page",e)}},Size:{get:function(){return this.limit},set:function(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange:function(e){this.$emit("pagination",{pageNum:this.curren,pageSize:e})},handleCurrentChange:function(e){this.$emit("pagination",{pageNum:e,pageSize:this.Size})}}},n=l,r=(a("be5a"),a("2877")),o=Object(r["a"])(n,i,s,!1,null,null,null);t["a"]=o.exports},ab00:function(e,t,a){"use strict";a("2aed")},b290:function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return o}));var i=a("b775"),s=a("4328"),l=a.n(s);function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e){return Object(i["a"])({url:"/portal/v1/sysorganization/selectListOrg",method:"get",params:e,data:l.a.stringify(e)})}function o(e){return Object(i["a"])(n({url:"/base/v1/basemanufacturer/namesDown",data:e,method:"get",params:e},"data",l.a.stringify(e)))}},be5a:function(e,t,a){"use strict";a("f56b")},de52:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var i=a("b775");a("4328");function s(e){return Object(i["a"])({url:"/portal/v1/dictcommons/typeValues",method:"get",params:e})}},ed79:function(e,t,a){"use strict";a.r(t);var i,s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{directives:[{name:"show",rawName:"v-show",value:1===e.viewState,expression:"viewState === 1"}]},[a("div",{staticClass:"tab-header webtop"},[a("div",[e._v("车型管理")]),a("div",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleCreate()}}},[e._v("新增")]),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleUpdate()}}},[e._v("修改")]),a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(t){return e.handleDelete()}}},[e._v("删除")]),a("el-button",{attrs:{type:"success",size:"small"},on:{click:function(t){return e.handleDaoChu()}}},[e._v("导出")])],1)]),a("div",{staticClass:"searchcon"},[a("el-button",{staticClass:"searchbtn",attrs:{size:"small"},on:{click:e.clicksearchShow}},[e._v(e._s(e.searchxianshitit))]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isSearchShow,expression:"isSearchShow"}],staticClass:"search"},[a("el-form",{ref:"listQueryform",staticClass:"tab-header",attrs:{inline:!0,model:e.listQuery,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"车型名称"}},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:"请输入车型名称",clearable:""},model:{value:e.listQuery.modelName,callback:function(t){e.$set(e.listQuery,"modelName",t)},expression:"listQuery.modelName"}})],1),a("el-form-item",{attrs:{label:"车型型号"}},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:"请输入车型型号",clearable:""},model:{value:e.listQuery.carModel,callback:function(t){e.$set(e.listQuery,"carModel",t)},expression:"listQuery.carModel"}})],1),a("el-form-item",{attrs:{label:"品牌"}},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:"请输入品牌",clearable:""},model:{value:e.listQuery.brandName,callback:function(t){e.$set(e.listQuery,"brandName",t)},expression:"listQuery.brandName"}})],1),a("el-button",{attrs:{type:"primary"},on:{click:e.handleFilter}},[e._v("查询")])],1)],1)],1),a("div",{staticClass:"listtop"},[a("div",{staticClass:"tit"},[e._v("车型信息列表")]),a("pageye",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticClass:"pagination",attrs:{total:e.total,page:e.listQuery.current,limit:e.listQuery.size},on:{"update:page":function(t){return e.$set(e.listQuery,"current",t)},"update:limit":function(t){return e.$set(e.listQuery,"size",t)},pagination:e.getList}})],1),a("div",{},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:""},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{width:"50px",type:"selection",align:"center"}}),a("el-table-column",{attrs:{width:"80px",label:"序号",type:"index",index:e.indexMethod,align:"center"}}),a("el-table-column",{attrs:{label:"品牌",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.brandName))])]}}])}),a("el-table-column",{attrs:{label:"车辆类型",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.vehicleTypeValue))])]}}])}),a("el-table-column",{attrs:{label:"车型名称",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.modelName))])]}}])}),a("el-table-column",{attrs:{label:"车型型号",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.carModel))])]}}])}),a("el-table-column",{attrs:{label:"操作",align:"center",width:"280px","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.handleCheck(i)}}},[e._v("查看")]),a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.cheLiangXiangXiPeiZhi(i)}}},[e._v("简述配置管理")])]}}])})],1)],1),a("div",{staticClass:"pages"},[a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticClass:"pagination",attrs:{total:e.total,page:e.listQuery.current,limit:e.listQuery.size},on:{"update:page":function(t){return e.$set(e.listQuery,"current",t)},"update:limit":function(t){return e.$set(e.listQuery,"size",t)},pagination:e.getList}})],1)]),a("chexingpeizhi",{directives:[{name:"show",rawName:"v-show",value:0==e.viewState,expression:"viewState == 0"}],ref:"divpeizhi",on:{doback:e.resetState}}),a("chexing-add",{directives:[{name:"show",rawName:"v-show",value:2==e.viewState||3==e.viewState,expression:"viewState == 2 || viewState == 3"}],ref:"divadd",on:{doback:e.resetState,reloadlist:e.getList}}),a("chexinglook",{directives:[{name:"show",rawName:"v-show",value:4==e.viewState,expression:"viewState == 4"}],ref:"divinfo",on:{doback:e.resetState}})],1)},l=[],n=a("2f62"),r=a("4f05"),o=(a("f07c"),a("4d86")),c=a("7042"),u=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"tab-header webtop"},[a("div",[e._v(e._s(e.viewTitle))]),a("div",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleCreate()}}},[e._v("保存")]),a("el-button",{attrs:{type:"primary",size:"small"}},[e._v("下载")]),a("el-button",{attrs:{type:"info",size:"small"},on:{click:function(t){return e.handleReturn()}}},[e._v("返回")])],1)]),a("div",{staticClass:"listconadd"},[a("el-form",{ref:"dataForm",staticClass:"formadd",attrs:{model:e.temp,"label-position":"right","label-width":"190px",rules:e.rules}},[a("div",{staticClass:"title"},[e._v("车型详细信息")]),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"manufacturer"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("厂商:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:""},on:{change:function(t){return e.getPinPAi(e.temp.manufacturer)}},model:{value:e.temp.manufacturer,callback:function(t){e.$set(e.temp,"manufacturer",t)},expression:"temp.manufacturer"}},e._l(e.facturer,(function(e){return a("el-option",{key:e.sid,attrs:{label:e.manufacturerName,value:e.sid}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"brandName"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("品牌:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:""},model:{value:e.temp.carBrand,callback:function(t){e.$set(e.temp,"carBrand",t)},expression:"temp.carBrand"}},e._l(e.Brand,(function(e){return a("el-option",{key:e.sid,attrs:{label:e.brandName,value:e.sid}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("车辆类型:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择车辆类型"},on:{change:function(t){return e.getCheliang()}},model:{value:e.temp.vehicleType,callback:function(t){e.$set(e.temp,"vehicleType",t)},expression:"temp.vehicleType"}},e._l(e.cleType,(function(e,t){return a("el-option",{key:t,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"carModel"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("车型型号:")]),a("el-input",{staticClass:"addinputw",attrs:{maxlength:"125",placeholder:"",clearable:""},model:{value:e.temp.carModel,callback:function(t){e.$set(e.temp,"carModel",t)},expression:"temp.carModel"}})],1)],1),a("el-col",{directives:[{name:"show",rawName:"v-show",value:1===e.fieldShow,expression:"fieldShow === 1"}],attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("内部编码:")]),e._v(" "),a("el-input",{staticClass:"addinputw",attrs:{maxlength:"125",placeholder:"",clearable:""},model:{value:e.temp.insideCode,callback:function(t){e.$set(e.temp,"insideCode",t)},expression:"temp.insideCode"}})],1)],1),a("el-col",{directives:[{name:"show",rawName:"v-show",value:1==e.fieldShow||2==e.fieldShow,expression:"fieldShow == 1 || fieldShow == 2"}],attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("细分市场:")]),e._v(" "),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择车辆类型"},on:{change:function(t){return e.getCheliang()}},model:{value:e.temp.marketSegments,callback:function(t){e.$set(e.temp,"marketSegments",t)},expression:"temp.marketSegments"}},e._l(e.segments,(function(e,t){return a("el-option",{key:t,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{directives:[{name:"show",rawName:"v-show",value:1===e.fieldShow,expression:"fieldShow === 1"}],attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("系别:")]),e._v(" "),a("el-input",{staticClass:"addinputw",attrs:{maxlength:"125",placeholder:"",clearable:""},model:{value:e.temp.department,callback:function(t){e.$set(e.temp,"department",t)},expression:"temp.department"}})],1)],1),a("el-col",{directives:[{name:"show",rawName:"v-show",value:2===e.fieldShow,expression:"fieldShow === 2 "}],attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("规格型号:")]),e._v(" "),a("el-input",{staticClass:"addinputw",attrs:{maxlength:"125",placeholder:"",clearable:""},model:{value:e.temp.specifications,callback:function(t){e.$set(e.temp,"specifications",t)},expression:"temp.specifications"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("排放标准:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择排放标准"},on:{change:function(t){return e.getPaiFang()}},model:{value:e.temp.emissionStandard,callback:function(t){e.$set(e.temp,"emissionStandard",t)},expression:"temp.emissionStandard"}},e._l(e.Standard,(function(e){return a("el-option",{key:e.dictKey,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"productLine"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("产品线:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择产品线"},on:{change:function(t){return e.getChangpin()}},model:{value:e.temp.productLine,callback:function(t){e.$set(e.temp,"productLine",t)},expression:"temp.productLine"}},e._l(e.ctLine,(function(e,t){return a("el-option",{key:t,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("驱动:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择驱动"},on:{change:function(t){return e.getQudong()}},model:{value:e.temp.driveForm,callback:function(t){e.$set(e.temp,"driveForm",t)},expression:"temp.driveForm"}},e._l(e.eForm,(function(e,t){return a("el-option",{key:t,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("马力:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择马力"},on:{change:function(t){return e.getMaLi()}},model:{value:e.temp.power,callback:function(t){e.$set(e.temp,"power",t)},expression:"temp.power"}},e._l(e.epower,(function(e,t){return a("el-option",{key:t,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("变速箱:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择变速箱"},on:{change:function(t){return e.getBiansu()}},model:{value:e.temp.gearboxType,callback:function(t){e.$set(e.temp,"gearboxType",t)},expression:"temp.gearboxType"}},e._l(e.arbox,(function(e,t){return a("el-option",{key:t,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("燃料:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择燃料"},on:{change:function(t){return e.getRanliao()}},model:{value:e.temp.fuelType,callback:function(t){e.$set(e.temp,"fuelType",t)},expression:"temp.fuelType"}},e._l(e.lType,(function(e,t){return a("el-option",{key:t,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("版本:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择版本"},on:{change:function(t){return e.getBanBen()}},model:{value:e.temp.vehicleVersion,callback:function(t){e.$set(e.temp,"vehicleVersion",t)},expression:"temp.vehicleVersion"}},e._l(e.Version,(function(e,t){return a("el-option",{key:t,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"modelName"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("车型名称:")]),a("el-input",{staticClass:"addinputw",attrs:{maxlength:"125",placeholder:"",clearable:""},model:{value:e.temp.modelName,callback:function(t){e.$set(e.temp,"modelName",t)},expression:"temp.modelName"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("发动机型号:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"发动机型号"},on:{change:function(t){return e.getFaDongJi()}},model:{value:e.temp.engineType,callback:function(t){e.$set(e.temp,"engineType",t)},expression:"temp.engineType"}},e._l(e.neType,(function(e,t){return a("el-option",{key:t,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"series"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("系列:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择系列"},on:{change:function(t){return e.getXiBie()}},model:{value:e.temp.series,callback:function(t){e.$set(e.temp,"series",t)},expression:"temp.series"}},e._l(e.opseries,(function(e){return a("el-option",{key:e.dictKey,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("悬架:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择悬架"},on:{change:function(t){return e.getXuanJia()}},model:{value:e.temp.suspension,callback:function(t){e.$set(e.temp,"suspension",t)},expression:"temp.suspension"}},e._l(e.pension,(function(e){return a("el-option",{key:e.dictKey,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("后桥:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择后桥"},on:{change:function(t){return e.getHouQIao()}},model:{value:e.temp.rearAxle,callback:function(t){e.$set(e.temp,"rearAxle",t)},expression:"temp.rearAxle"}},e._l(e.Axle,(function(e){return a("el-option",{key:e.dictKey,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("速比:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择速比"},on:{change:function(t){return e.getSuBi()}},model:{value:e.temp.speedRatio,callback:function(t){e.$set(e.temp,"speedRatio",t)},expression:"temp.speedRatio"}},e._l(e.Ratio,(function(e){return a("el-option",{key:e.dictKey,attrs:{label:e.dictValue,value:e.dictKey}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("轴距:")]),a("el-input",{staticClass:"addinputw",attrs:{maxlength:"125",placeholder:"",clearable:""},model:{value:e.temp.wheelbase,callback:function(t){e.$set(e.temp,"wheelbase",t)},expression:"temp.wheelbase"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("轮胎规格:")]),a("el-input",{staticClass:"addinputw",attrs:{maxlength:"125",placeholder:"",clearable:""},model:{value:e.temp.tyreSpecification,callback:function(t){e.$set(e.temp,"tyreSpecification",t)},expression:"temp.tyreSpecification"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"isValidity"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("是否有效:")]),a("el-select",{staticClass:"addinputw",attrs:{placeholder:"请选择是否有效"},model:{value:e.temp.isValidity,callback:function(t){e.$set(e.temp,"isValidity",t)},expression:"temp.isValidity"}},e._l(e.isValiditys,(function(e){return a("el-option",{key:e.sid,attrs:{label:e.dictValue,value:e.sid}})})),1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"useOrgArry"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("使用组织:")]),a("el-cascader",{staticClass:"addinputw",attrs:{options:e.options,props:e.props},on:{change:e.usrOrgArryChange},model:{value:e.useOrgArry,callback:function(t){e.useOrgArry=t},expression:"useOrgArry"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"createOrgArry"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("创建组织:")]),a("el-cascader",{staticClass:"addinputw",attrs:{options:e.options,props:e.props},on:{change:e.createOrgChange},model:{value:e.createOrgArry,callback:function(t){e.createOrgArry=t},expression:"createOrgArry"}})],1)],1),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{prop:"isDel"}},[a("span",{attrs:{slot:"label"},slot:"label"},[e._v("是否可以删除:")]),a("el-radio-group",{model:{value:e.temp.isDel,callback:function(t){e.$set(e.temp,"isDel",t)},expression:"temp.isDel"}},[a("el-radio",{attrs:{label:1}},[e._v("是")]),a("el-radio",{attrs:{label:2}},[e._v("否")])],1)],1)],1)],1)],1)],1)])},p=[],d=(a("b290"),a("de52"));function m(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?m(Object(a),!0).forEach((function(t){f(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):m(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function f(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var v={name:"PinpaiAdd",data:function(){var e=this,t=function(t,a,i){0==e.useOrgArry.length?i(new Error("请填写使用组织")):i()};return{viewTitle:"",fieldShow:0,menuState:{add:!1,edit:!1,delete:!1,view:!1,audit:!1,input:!1,output:!1,upload:!1,release:!1},FormLoading:!1,listLoading:!1,useOrgArry:[],createOrgArry:[],temp:{sid:"",modelName:"",carBrand:"",carModel:"",department:"",insideCode:"",marketSegments:"",marketSegmentsValue:"",specifications:"",isCommonModel:"",modelValue:[],vehicleType:"",vehicleTypeValue:"",productLine:"",productLineValue:"",emissionStandard:"",emissionStandardValue:"",driveForm:"",driveFormValue:"",engineType:"",engineTypeValue:"",fuelType:"",fuelTypeValue:"",gearboxType:"",gearboxTypeValue:"",power:"",powerValue:"",rearAxle:"",rearAxleValue:"",series:"",seriesValue:"",speedRatio:"",speedRatioValue:"",wheelbase:"",tyreSpecification:"",useOrgName:"",createOrg:"",manufacturer:"",suspension:"",suspensionValue:"",vehicleVersion:"",vehicleVersionValue:"",isDel:""},modelValue2:[],modelValue3:[],modelValue4:[],modelValue5:[],modelValue6:[],modelValue7:[],modelValue8:[],templook:{},textMap:{update:"修改",create:"创建"},stateId:0,facturer:[],Brand:[],marketSegments:"marketSegments",segments:[],vehicleType:"vehicleType",cleType:[],emissionStandard:"emissionStandard",Standard:[],productLine:"productLine",ctLine:[],suspension:"suspension",pension:[],rearAxle:"rearAxle",Axle:[],speedRatio:"speedRatio",Ratio:[],series:"series",opseries:[],driver:"driver",eForm:[],horsepower:"horsepower",epower:[],gearbox:"gearbox",arbox:[],fuelType:"fuelType",lType:[],vehicleVersion:"vehicleVersion",Version:[],engineType:"engineType",neType:[],isValiditys:[{dictValue:"是",sid:"1"},{dictValue:"否",sid:"2"}],dataArr:[],pdateChe:null,pdateChang:null,side:[],options:[],useOrg:[],props:{value:"sid",label:"name",children:"children",checkStrictly:!0},dialogFormVisible:!1,dialogFormShowVisible:!1,dialogStatus:"",fenzuOptions:[],rules:{carBrand:[{required:!0,message:"请选择品牌",trigger:"blur"}],carModel:[{required:!0,message:"请填写车型型号",trigger:"blur"}],isValidity:[{required:!0,message:"请选择是否有效",trigger:"blur"}],manufacturer:[{required:!0,message:"请选择厂商",trigger:"blur"}],modelName:[{required:!0,message:"请填写车型名称",trigger:"blur"}],productLine:[{required:!0,message:"请选择产品线",trigger:"blur"}],series:[{required:!0,message:"请选择系列",trigger:"blur"}],department:[{required:!0,message:"请选择系别",trigger:"blur"}],vehicleType:[{required:!0,message:"请选择车辆类型",trigger:"blur"}],useOrgArry:[{required:!0,validator:t,trigger:"change"}]}}},computed:h({},Object(n["b"])(["id","roles","rolesIds","departmentId","departmentCode"])),created:function(){this.setDetaList(),this.getChang(),this.getZuZhi()},methods:(i={showAdd:function(){var e=this;this.$nextTick((function(){e.$refs["dataForm"].clearValidate()})),this.dialogStatus="add",this.viewTitle="新增车型详细信息"},showEdit:function(e,t){var a=this;console.log(e),this.$nextTick((function(){a.$refs["dataForm"].clearValidate()})),this.viewTitle="修改车型详细信息",this.dialogStatus="update",this.temp.sid=e,console.log("编辑回显",e),Object(r["e"])(e).then((function(e){var t=e.data;a.temp=t,a.useOrgArry=t.useOrg}))},usrOrgArryChange:function(e){var t=this;console.log("选中结果:"+JSON.stringify(e));var a="",i="";e.length>0&&e.forEach((function(e){var s=e[e.length-1];t.select_temp="",t.select_temp_Sid="",t.findOrgId(s,t.options),a=a+t.select_temp+",",i=i+t.select_temp_Sid+","})),""!==a&&(a=a.substring(0,a.length-1)),""!==i&&(i=i.substring(0,i.length-1)),this.temp.useOrgName=a,console.log("选中名称:"+this.temp.useOrgName)},createOrgChange:function(e){var t=this;console.log("选中结果:"+JSON.stringify(e));var a="",i="";e.length>0&&e.forEach((function(e){var s=e[e.length-1];t.select_temp="",t.select_temp_Sid="",t.findOrgId(s,t.options),a=a+t.select_temp+",",i=i+t.select_temp_Sid+","})),""!==a&&(a=a.substring(0,a.length-1)),""!==i&&(i=i.substring(0,i.length-1)),this.temp.useOrgName=a,console.log("选中名称:"+this.temp.useOrgName)},findOrgId:function(e,t){for(var a=0;a<t.length;a++){if(e==t[a].sid)return this.select_temp=t[a].name,!0;if(void 0!==t[a].children&&this.findOrgId(e,t[a].children))return!0}},getZuZhi:function(){var e=this;Object(r["f"])().then((function(t){"200"===t.code&&(e.options=t.data,e.zuzhi0(e.options))}))},zuzhi0:function(e){var t=this;e.forEach((function(e){if(0==e.children.length)return delete e.children,void t.dataArr.push(e);t.zuzhi0(e.children)}))},handleReturn:function(e){"true"===e&&this.$emit("reloadlist"),this.temp={},this.$emit("doback")},setDetaList:function(){var e=this;Object(d["a"])({type:this.marketSegments}).then((function(t){"200"===t.code&&(e.cleType=t.data)})),Object(d["a"])({type:this.vehicleType}).then((function(t){"200"===t.code&&(e.cleType=t.data)})),Object(d["a"])({type:this.emissionStandard}).then((function(t){"200"===t.code&&(e.Standard=t.data)})),Object(d["a"])({type:this.productLine}).then((function(t){"200"===t.code&&(e.ctLine=t.data)})),Object(d["a"])({type:this.suspension}).then((function(t){"200"===t.code&&(e.pension=t.data)})),Object(d["a"])({type:this.series}).then((function(t){"200"===t.code&&(e.opseries=t.data)})),Object(d["a"])({type:this.driver}).then((function(t){"200"===t.code&&(e.eForm=t.data)})),Object(d["a"])({type:this.horsepower}).then((function(t){"200"===t.code&&(e.epower=t.data)})),Object(d["a"])({type:this.gearbox}).then((function(t){"200"===t.code&&(e.arbox=t.data)})),Object(d["a"])({type:this.fuelType}).then((function(t){"200"===t.code&&(e.lType=t.data)})),Object(d["a"])({type:this.vehicleVersion}).then((function(t){"200"===t.code&&(e.Version=t.data)})),Object(d["a"])({type:this.engineType}).then((function(t){"200"===t.code&&(e.neType=t.data)}))},getChang:function(){var e=this;Object(r["i"])().then((function(t){"200"===t.code&&(e.facturer=t.data)}))},getPinPAi:function(e){var t=this,a={};this.facturer.forEach((function(t){t.sid==e&&(a={name:t.manufacturerName,sid:t.sid})}));var i=a.name;switch(i){case"欧曼":this.fieldShow=1;break;case"陕西重汽":this.fieldShow=2;break;default:this.fieldShow=0}Object(r["g"])({manufacturerSid:e}).then((function(e){"200"===e.code&&(t.Brand=e.data)}))},resetTemp:function(){this.temp={jc:"",organizationId:"",qc:"",remark:"",string:"",state:""}},handleCreate:function(){var e=this;this.$refs["dataForm"].validate((function(t){if(t)if(e.FormLoading=!0,"add"===e.dialogStatus){if(e.useOrgArry){var a=[];e.useOrgArry.forEach((function(e){a.push(e[e.length-1])})),e.temp.useOrg=a.toString()}Object(r["a"])(e.temp).then((function(t){e.FormLoading=!1,"200"===t.code?(e.dialogFormVisible=!1,e.$notify({title:"提示",message:"添加成功",type:"success",duration:2e3}),e.handleReturn("true")):e.$notify({title:"提示",message:"添加失败",type:"error",duration:2e3})}))}else{if(e.useOrgArry){a=[];e.useOrgArry.forEach((function(e){a.push(e[e.length-1])})),e.temp.useOrg=a.toString()}Object(r["b"])(e.temp).then((function(t){e.FormLoading=!1,"200"===t.code?(e.dialogFormVisible=!1,e.$notify({title:"提示",message:"修改成功",type:"success",duration:2e3}),e.handleReturn("true")):e.$notify({title:"失败",message:"修改失败",type:"error"})}))}}))},getCheliang:function(){var e=this,t=null;this.cleType.forEach((function(a){a.dictKey==e.temp.marketSegments&&(t={type:"marketSegments",name:a.dictValue,vaule:a.dictKey})})),this.temp.marketSegmentsValue=t.name}},f(i,"getCheliang",(function(){var e=this,t=null;this.cleType.forEach((function(a){a.dictKey==e.temp.vehicleType&&(t={type:"vehicleType",name:a.dictValue,vaule:a.dictKey})})),this.temp.vehicleTypeValue=t.name,void 0!=this.temp.modelValue?this.temp.modelValue.forEach((function(a,i){a.type==t.type&&e.temp.modelValue.splice(i,1)})):this.temp.modelValue=[],this.temp.modelValue.push(t);var a="";this.temp.modelValue.forEach((function(e,t){a+=e.name})),this.temp.modelName=a})),f(i,"getChangpin",(function(){var e=this,t=null;this.ctLine.forEach((function(a){a.dictKey==e.temp.productLine&&(t={type:"productLine",name:a.dictValue,vaule:a.dictKey})})),this.temp.productLineValue=t.name,this.temp.modelValue.forEach((function(a,i){a.type==t.type&&e.temp.modelValue.splice(i,1)})),this.temp.modelValue.push(t);var a="";this.temp.modelValue.forEach((function(e,t){a+=e.name})),this.temp.modelName=a})),f(i,"getQudong",(function(){var e=this,t=null;this.eForm.forEach((function(a){a.dictKey==e.temp.driveForm&&(t={type:"driveForm",name:a.dictValue,vaule:a.dictKey})})),this.temp.modelValue.forEach((function(a,i){a.type==t.type&&e.temp.modelValue.splice(i,1)})),this.temp.modelValue.push(t);var a="";this.temp.modelValue.forEach((function(e,t){a+=e.name})),this.temp.modelName=a,this.temp.driveFormValue=t.name,this.temp.driveForm=t.vaule})),f(i,"getMaLi",(function(){var e=this,t=null;this.epower.forEach((function(a){a.dictKey==e.temp.power&&(t={type:"power",name:a.dictValue,vaule:a.dictKey})})),this.temp.modelValue.forEach((function(a,i){a.type==t.type&&e.temp.modelValue.splice(i,1)})),this.temp.modelValue.push(t);var a="";this.temp.modelValue.forEach((function(e,t){a+=e.name})),this.temp.modelName=a,this.temp.powerValue=t.name,this.temp.power=t.vaule})),f(i,"getBiansu",(function(){var e=this,t=null;this.arbox.forEach((function(a){a.dictKey==e.temp.gearboxType&&(t={type:"gearboxType",name:a.dictValue,vaule:a.dictKey})})),this.temp.modelValue.forEach((function(a,i){a.type==t.type&&e.temp.modelValue.splice(i,1)})),this.temp.modelValue.push(t);var a="";this.temp.modelValue.forEach((function(e,t){a+=e.name})),this.temp.modelName=a,this.temp.gearboxTypeValue=t.name,this.temp.gearboxType=t.vaule})),f(i,"getRanliao",(function(){var e=this,t=null;this.lType.forEach((function(a){a.dictKey==e.temp.fuelType&&(t={type:"fuelType",name:a.dictValue,vaule:a.dictKey})})),this.temp.modelValue.forEach((function(a,i){a.type==t.type&&e.temp.modelValue.splice(i,1)})),this.temp.modelValue.push(t);var a="";this.temp.modelValue.forEach((function(e,t){a+=e.name})),this.temp.modelName=a,this.temp.fuelTypeValue=t.name,this.temp.fuelType=t.vaule})),f(i,"getBanBen",(function(){var e=this,t=null;this.Version.forEach((function(a){a.dictKey==e.temp.vehicleVersion&&(t={type:"vehicleVersion",name:a.dictValue,vaule:a.dictKey})})),this.temp.modelValue.forEach((function(a,i){a.type==t.type&&e.temp.modelValue.splice(i,1)})),this.temp.modelValue.push(t);var a="";this.temp.modelValue.forEach((function(e,t){a+=e.name})),this.temp.modelName=a,this.temp.vehicleVersionValue=t.name,this.temp.vehicleVersion=t.vaule})),f(i,"getFaDongJi",(function(){var e=this,t=null;this.neType.forEach((function(a){a.dictKey==e.temp.engineType&&(t={type:"engineType",name:a.dictValue,vaule:a.dictKey})})),this.modelValue3.forEach((function(a,i){a.type==t.type&&e.modelValue2.splice(i,1)})),this.modelValue3.push(t);var a="";this.modelValue3.forEach((function(e,t){a+=e.name})),this.temp.engineTypeValue=a;var i="";this.modelValue3.forEach((function(e,t){i+=e.vaule})),this.temp.engineType=i})),f(i,"getPaiFang",(function(){var e=this,t=null;this.Standard.forEach((function(a){a.dictKey==e.temp.emissionStandard&&(t={type:"emissionStandard",name:a.dictValue,vaule:a.dictKey})})),this.modelValue2.forEach((function(a,i){a.type==t.type&&e.modelValue2.splice(i,1)})),this.modelValue2.push(t);var a="";this.modelValue2.forEach((function(e,t){a+=e.name})),this.temp.emissionStandardValue=a;var i="";this.modelValue2.forEach((function(e,t){i+=e.vaule})),this.temp.emissionStandard=i})),f(i,"getXiBie",(function(){var e=this,t=null;this.opseries.forEach((function(a){a.dictKey==e.temp.series&&(t={type:"series",name:a.dictValue,vaule:a.dictKey})})),this.modelValue4.forEach((function(a,i){a.type==t.type&&e.modelValue4.splice(i,1)})),this.modelValue4.push(t);var a="";this.modelValue4.forEach((function(e,t){a+=e.name})),this.temp.seriesValue=a;var i="";this.modelValue4.forEach((function(e,t){i+=e.vaule})),this.temp.series=i})),f(i,"getXuanJia",(function(){var e=this,t=null;this.pension.forEach((function(a){a.dictKey==e.temp.suspension&&(t={type:"suspension",name:a.dictValue,vaule:a.dictKey})})),this.modelValue5.forEach((function(a,i){a.type==t.type&&e.modelValue5.splice(i,1)})),this.modelValue5.push(t);var a="";this.modelValue5.forEach((function(e,t){a+=e.name})),this.temp.suspensionValue=a;var i="";this.modelValue5.forEach((function(e,t){i+=e.vaule})),this.temp.suspension=i})),f(i,"getHouQIao",(function(){var e=this,t=null;this.Axle.forEach((function(a){a.dictKey==e.temp.rearAxle&&(t={type:"rearAxle",name:a.dictValue,vaule:a.dictKey})})),this.modelValue6.forEach((function(a,i){a.type==t.type&&e.modelValue6.splice(i,1)})),this.modelValue6.push(t);var a="";this.modelValue6.forEach((function(e,t){a+=e.name})),this.temp.rearAxleValue=a;var i="";this.modelValue6.forEach((function(e,t){i+=e.vaule})),this.temp.rearAxle=i})),f(i,"getSuBi",(function(){var e=this,t=null;this.Ratio.forEach((function(a){a.dictKey==e.temp.speedRatio&&(t={type:"speedRatio",name:a.dictValue,vaule:a.dictKey})})),this.modelValue7.forEach((function(a,i){a.type==t.type&&e.modelValue7.splice(i,1)})),this.modelValue7.push(t);var a="";this.modelValue7.forEach((function(e,t){a+=e.name})),this.temp.speedRatioValue=a;var i="";this.modelValue7.forEach((function(e,t){i+=e.vaule})),this.temp.speedRatio=i})),i)},g=v,b=a("2877"),y=Object(b["a"])(g,u,p,!1,null,"dd9dc3fc",null),w=y.exports,_=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"tab-header webtop"},[a("div",[e._v("车型详细信息")]),a("div",[a("el-button",{attrs:{type:"info",size:"small"},on:{click:function(t){return e.handleReturn()}}},[e._v("返回")])],1)]),a("div",{staticClass:"listconadd"},[a("el-form",{ref:"dataForm",staticClass:"forminfo",attrs:{model:e.temp,"label-position":"right","label-width":"190px",rules:e.rules}},[a("div",{staticClass:"title"},[e._v("车型详细信息")]),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("厂商:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.manufacturerName))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("品牌:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.brandName))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("车辆类型:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.vehicleTypeValue))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("车型型号:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.carModel))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("内部编码:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.insideCode))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("细分市场:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.marketSegments))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("系列:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.department))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("规格型号:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.specifications))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("排放标准:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.emissionStandardValue))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("产品线:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.productLineValue))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("驱动:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.driveFormValue))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("马力:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.powerValue))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("变速箱:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.gearboxTypeValue))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("燃料:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.fuelTypeValue))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("版本:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.vehicleVersionValue))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("车型名称:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.modelName))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("发动机型号:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.engineTypeValue))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("系别:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.seriesValue))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("悬架:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.suspensionValue))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("后桥:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.rearAxleValue))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("速比:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.speedRatioValue))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("轴距:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s(e.temp.wheelbase))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("轮胎规格:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.tyreSpecification))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("是否有效:")]),a("el-col",{staticClass:"tleft",attrs:{span:8}},[e._v(" "+e._s("1"===e.temp.isValidity?"是":"否"))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("使用组织:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.useOrgName))]),a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("创建组织:")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(e.temp.createOrg))])],1),a("el-row",[a("el-col",{staticClass:"trightb",attrs:{span:4}},[e._v("是否可以删除")]),a("el-col",{attrs:{span:8}},[e._v(" "+e._s(1==e.templook.isDel?"是":"否"))])],1)],1)],1)])},S=[];function V(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?V(Object(a),!0).forEach((function(t){O(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):V(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function O(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var x={name:"PinpaiAdd",data:function(){return{menuState:{add:!1,edit:!1,delete:!1,view:!1,audit:!1,input:!1,output:!1,upload:!1,release:!1},FormLoading:!1,listLoading:!1,temp:{},templook:{},textMap:{update:"修改",create:"创建"},facturer:[],Brand:[],vehicleType:"vehicleType",cleType:[],emissionStandard:"emissionStandard",Standard:[],productLine:"productLine",ctLine:[],suspension:"suspension",pension:[],rearAxle:"rearAxle",Axle:[],speedRatio:"speedRatio",Ratio:[],series:"series",opseries:[],tempDate:{},dialogFormVisible:!1,dialogFormShowVisible:!1,dialogStatus:"",fenzuOptions:[],rules:{title:[{required:!0,message:"请填写",trigger:"blur"}],qc:[{required:!0,message:"请填写",trigger:"blur"}]}}},computed:C({},Object(n["b"])(["id","roles","rolesIds","departmentId","departmentCode"])),created:function(){},methods:{showInfo:function(e,t){var a=this;console.log("详情页面",e,t),Object(r["e"])(e).then((function(e){var t=e.data;a.temp=t})).catch((function(e){a.temp=t}))},formatstate:function(e,t,a,i){var s="";switch(e.state){case 1:s="是";break;case 2:s="否";break}return s},handleReturn:function(){this.temp={},this.$emit("doback")},resetTemp:function(){this.temp={jc:"",organizationId:"",qc:"",remark:"",string:"",state:""}}}},k=x,j=Object(b["a"])(k,_,S,!1,null,"5db0619d",null),T=j.exports,$=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"tab-header webtop"},[a("div",[e._v("车型简述配置")]),a("div",[a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:function(t){return e.handleChange()}}},[e._v("选择简述配置")]),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.handleUpdate()}}},[e._v("修改")]),a("el-button",{attrs:{type:"danger",size:"small"},on:{click:function(t){return e.handleDelete()}}},[e._v("删除")]),a("el-button",{attrs:{type:"info",size:"small"},on:{click:function(t){return e.handleReturn()}}},[e._v("返回")])],1),a("el-dialog",{attrs:{title:e.dialogTitle,visible:e.dialogFormVisible},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("div",{staticClass:"poptitle"},[a("div",{staticClass:"conter_title"},[e._v("车型简述配置:")]),a("div",{staticClass:"conter_content",staticStyle:{flex:"7"}},[a("el-select",{attrs:{multiple:"",placeholder:"请选择",clearable:""},model:{value:e.vehicleLst.vehicleCode,callback:function(t){e.$set(e.vehicleLst,"vehicleCode",t)},expression:"vehicleLst.vehicleCode"}},e._l(e.vehicle_list,(function(e){return a("el-option",{key:e.sid,attrs:{label:e.vehicleCode,value:e.sid}})})),1)],1)]),a("div",{staticClass:"poptitle"},[a("div",{staticClass:"conter_title"},[e._v("厂家结算价:")]),a("div",{staticClass:"conter_content",staticStyle:{flex:"7"}},[a("el-input",{staticClass:"addinputw",attrs:{maxlength:"11",placeholder:"",clearable:""},model:{value:e.list.manufactorSettlementPrice,callback:function(t){e.$set(e.list,"manufactorSettlementPrice",t)},expression:"list.manufactorSettlementPrice"}})],1)]),a("div",{staticClass:"poptitle"},[a("div",{staticClass:"conter_title"},[e._v("销售参考价:")]),a("div",{staticClass:"conter_content",staticStyle:{flex:"7"}},[a("el-input",{staticClass:"addinputw",attrs:{maxlength:"11",placeholder:"",clearable:""},model:{value:e.list.salesReferencePrice,callback:function(t){e.$set(e.list,"salesReferencePrice",t)},expression:"list.salesReferencePrice"}})],1)]),a("div",{staticClass:"poptitle"},[a("div",{staticClass:"conter_title"},[e._v("价格有效期:")]),a("div",{staticClass:"conter_content",staticStyle:{flex:"7"}},[a("el-input",{staticClass:"addinputw",attrs:{maxlength:"11",placeholder:"",clearable:""},model:{value:e.list.priceValidity,callback:function(t){e.$set(e.list,"priceValidity",t)},expression:"list.priceValidity"}})],1)]),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.dialogFormVisible=!1}}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.dialogFormVisible=!1}}},[e._v("确 定")])],1)])],1),a("div",{staticClass:"searchcon"},[a("el-button",{staticClass:"searchbtn",attrs:{size:"small"},on:{click:e.clicksearchShow}},[e._v(e._s(e.searchxianshitit))]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isSearchShow,expression:"isSearchShow"}],staticClass:"search"},[a("el-form",{ref:"listQueryform",staticClass:"tab-header",attrs:{inline:!0,model:e.listQuery,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"整车编码"}},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:"请输入整车编码",clearable:""},model:{value:e.listQuery.params.vehicleCode,callback:function(t){e.$set(e.listQuery.params,"vehicleCode",t)},expression:"listQuery.params.vehicleCode"}})],1),a("el-form-item",{attrs:{label:"驾驶室"}},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:"请输入驾驶室",clearable:""},model:{value:e.listQuery.params.specification,callback:function(t){e.$set(e.listQuery.params,"specification",t)},expression:"listQuery.params.specification"}})],1),a("el-form-item",{attrs:{label:"鞍座"}},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:"请输入鞍座",clearable:""},model:{value:e.listQuery.params.saddle,callback:function(t){e.$set(e.listQuery.params,"saddle",t)},expression:"listQuery.params.saddle"}})],1),a("el-button",{attrs:{type:"primary"},on:{click:e.handleFilter}},[e._v("查询")])],1)],1)],1),a("div",{staticClass:"listtop"},[a("div",{staticClass:"tit"},[e._v("车型信息列表")]),a("pageye",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticClass:"pagination",attrs:{total:e.total,page:e.listQuery.current,limit:e.listQuery.size},on:{"update:page":function(t){return e.$set(e.listQuery,"current",t)},"update:limit":function(t){return e.$set(e.listQuery,"size",t)},pagination:e.getList}})],1),a("div",{},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:""},on:{"selection-change":e.handleSelectionChange}},[a("el-table-column",{attrs:{width:"50px",type:"selection",align:"center"}}),a("el-table-column",{attrs:{width:"80px",label:"序号",type:"index",index:e.indexMethod,align:"center"}}),a("el-table-column",{attrs:{label:"整车编码",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.vehicleCode))])]}}])}),a("el-table-column",{attrs:{label:"油箱/气罐",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.fuelTank))])]}}])}),a("el-table-column",{attrs:{label:"车身颜色",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.carColor))])]}}])}),a("el-table-column",{attrs:{label:"驾驶室",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.specification))])]}}])}),a("el-table-column",{attrs:{label:"导流罩",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.baffleModel))])]}}])}),a("el-table-column",{attrs:{label:"独立热源",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.independentSources))])]}}])}),a("el-table-column",{attrs:{label:"护轮罩",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.tireCover))])]}}])}),a("el-table-column",{attrs:{label:"鞍座",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.saddle))])]}}])}),a("el-table-column",{attrs:{label:"空调",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.airConditioner))])]}}])}),a("el-table-column",{attrs:{label:"备注",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.otherConfig))])]}}])}),a("el-table-column",{attrs:{label:"其他配置",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.otherConfig))])]}}])}),a("el-table-column",{attrs:{label:"操作",align:"center",width:"80px","class-name":"small-padding fixed-width"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.row;return[a("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(t){return e.handleCheck(i)}}},[e._v("查看")])]}}])})],1)],1),a("div",{staticClass:"pages"},[a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticClass:"pagination",attrs:{total:e.total,page:e.listQuery.current,limit:e.listQuery.size},on:{"update:page":function(t){return e.$set(e.listQuery,"current",t)},"update:limit":function(t){return e.$set(e.listQuery,"size",t)},pagination:e.getList}})],1)])},E=[],L=a("b775");a("4328");function N(e){return Object(L["a"])({url:"/base/v1/basemodelconfig/getList",method:"post",data:e})}function z(e){return Object(L["a"])({url:"/base/basevehmodelconfig/listPage",method:"post",data:e,headers:{"Content-Type":"application/json"}})}function P(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function Q(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?P(Object(a),!0).forEach((function(t){K(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):P(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function K(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var F={name:"chexingpeizhi",components:{Pagination:o["a"],pageye:c["a"]},data:function(){return{viewState:1,isSearchShow:!1,dialogFormVisible:!1,dialogTitle:"",searchxianshitit:"显示查询条件",tableKey:0,vehicle_list:[],list:[],vehicleLst:[],namesArr:"",vehicleSid:"",total:1,FormLoading:!1,listLoading:!1,listQuery:{params:{modelSid:"",vehicleCode:"",specification:"",saddle:"",vehicleSid:""},current:1,size:20},selectDate:void 0,temp:{},templook:{},textMap:{update:"编辑",create:"创建"},sids:[],names:"",chesid:"",dialogFormShowVisible:!1,dialogStatus:"",typeOptions:[]}},computed:Q({},Object(n["b"])(["id","roles","rolesIds","departmentId","departmentCode"])),created:function(){this.getList(),this.getCheXing()},methods:{clicksearchShow:function(){this.isSearchShow=!this.isSearchShow,this.isSearchShow?this.searchxianshitit="隐藏查询条件":this.searchxianshitit="显示查询条件"},showPei:function(e){this.listQuery.params.modelSid=e,console.log("这里是获取到的车型sid",e)},getCheXing:function(){var e=this;N({}).then((function(t){"200"===t.code&&(e.vehicle_list=t.data)}))},indexMethod:function(e){var t=(this.listQuery.current-1)*this.listQuery.size,a=e+1+t;return a},handleSelectionChange:function(e){var t=[];e.forEach((function(e){t.push(e.sid)})),this.sids=t},handleReturn:function(){this.$emit("doback")},resetTemp:function(){this.temp={}},getList:function(){var e=this;this.listLoading=!0,z(this.listQuery).then((function(t){e.listLoading=!1,console.log("列表查询",t)}))},handleFilter:function(){this.listQuery.current=1,this.getList()},handleChange:function(){this.dialogFormVisible=!0,this.dialogTitle="选择车型简述配置"},handleUpdate:function(){if(1===this.sids.length)this.dialogFormVisible=!0,this.dialogTitle="修改车型简述配置";else{if(!(this.sids.length>1))return void this.$notify({title:"提示",message:"没有选择车型配置!!",type:"error",duration:2e3});this.$notify({title:"提示",message:"不能选中多个车型配置修改!!",type:"info",duration:2e3})}},handleCheck:function(e){console.log("111",e),this.viewState=4;var t=e.sid;this.$refs["divinfo"].showInfo(t,e)},handleDelete:function(){this.sids.length>0||this.$notify({title:"提示",message:"没有选择车型配置!!",type:"error",duration:2e3})},handleDaoChu:function(){this.$confirm("确定要导出数据, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"})}}},A=F,D=(a("ab00"),Object(b["a"])(A,$,E,!1,null,"3dbcfea2",null)),R=D.exports;function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function M(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach((function(t){I(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function I(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var q={name:"Pinpaiguanli",components:{Pagination:o["a"],pageye:c["a"],chexingAdd:w,chexinglook:T,chexingpeizhi:R},data:function(){return{isSearchShow:!1,viewState:1,searchxianshitit:"显示查询条件",menuState:{add:!1,edit:!1,delete:!1,view:!1,audit:!1,input:!1,output:!1,upload:!1,release:!1},tableKey:0,list:[],total:1,FormLoading:!1,listLoading:!1,listQuery:{params:{modelName:"",carModel:"",brandName:""},current:1,size:20},selectDate:void 0,temp:{},templook:{},textMap:{update:"编辑",create:"创建"},sids:[],dialogFormVisible:!1,dialogFormShowVisible:!1,dialogStatus:"",typeOptions:[],tureArrys:[{value:1,label:"是"},{value:0,label:"否"}],rules:{}}},computed:M({},Object(n["b"])(["id","roles","rolesIds","departmentId","departmentCode"])),created:function(){this.init(),this.getList()},methods:{clicksearchShow:function(){this.isSearchShow=!this.isSearchShow,this.isSearchShow?this.searchxianshitit="隐藏查询条件":this.searchxianshitit="显示查询条件"},init:function(){},indexMethod:function(e){var t=(this.listQuery.current-1)*this.listQuery.size,a=e+1+t;return a},resetState:function(){this.viewState=1},getList:function(){var e=this;this.listLoading=!0,Object(r["h"])({current:this.listQuery.current,size:this.listQuery.size,params:{modelName:this.listQuery.modelName,carModel:this.listQuery.carModel,brandName:this.listQuery.brandName}}).then((function(t){console.log("列表查询结果:",t),e.listLoading=!1,"200"===t.code&&t.data&&t.data.total>0?(e.list=t.data.records,e.total=t.data.total):(e.list=[],e.total=0)}))},handleFilter:function(){this.listQuery.current=1,this.getList()},resetTemp:function(){this.temp={}},handleSelectionChange:function(e){var t=[];e.forEach((function(e){t.push(e.sid)})),this.sids=t},handleCreate:function(){this.viewState=2,this.$refs["divadd"].showAdd()},cheLiangXiangXiPeiZhi:function(e){this.viewState=0;var t=e.sid;this.$refs["divpeizhi"].showPei(t)},handleUpdate:function(){if(1===this.sids.length){this.viewState=3;var e=this.sids[0],t=this.row;this.$refs["divadd"].showEdit(e,t)}else{if(!(this.sids.length>1))return void this.$notify({title:"提示",message:"没有选择车型!!",type:"error",duration:2e3});this.$notify({title:"提示",message:"不能选中多个车型修改!!",type:"info",duration:2e3})}},handleCheck:function(e){this.viewState=4;var t=e.sid;this.$refs["divinfo"].showInfo(t,e)},handleDelete:function(){var e=this;this.sids.length>0?Object(r["d"])(this.sids).then((function(t){"200"===t.code?(e.$notify({title:"提示",message:"删除成功",type:"success",duration:2e3}),e.getList()):e.$notify({title:"失败",message:t.msg,type:"error"})})):this.$notify({title:"提示",message:"没有选择车型!!",type:"error",duration:2e3})},handleDaoChu:function(){var e=this;Object(r["c"])(this.sids).then((function(t){var a=new Blob([t],{type:"application/vnd.ms-excel"}),i=URL.createObjectURL(a);window.location.href=i,e.$notify({title:"提示",message:"导出成功",type:"success",duration:2e3})}))}}},J=q,X=(a("54e8"),Object(b["a"])(J,s,l,!1,null,"6bb7dc1e",null));t["default"]=X.exports},f07c:function(e,t,a){"use strict";a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return l})),a.d(t,"b",(function(){return n}));var i="wj_user";function s(e){return localStorage.setItem(i,JSON.stringify(e))}function l(){return JSON.parse(localStorage.getItem(i))}function n(e){return localStorage.setItem(i,JSON.stringify(e))}},f56b:function(e,t,a){}}]);