1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-caragent-editcar"],{1862:function(e,t,l){"use strict";var o=l("5408"),a=l.n(o);a.a},"3ff6":function(e,t,l){"use strict";l.d(t,"b",(function(){return a})),l.d(t,"c",(function(){return n})),l.d(t,"a",(function(){return o}));var o={uForm:l("c449").default,uFormItem:l("3579").default,uInput:l("03ae").default,uSelect:l("82bc").default,uSwitch:l("d94a").default,uPicker:l("0766").default,uButton:l("34dd").default,uPopup:l("8b08").default},a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("v-uni-view",{},[l("u-form",{ref:"uForm",attrs:{model:e.form,"label-width":"230"}},[l("u-form-item",{attrs:{label:"车牌号码"}},[l("u-input",{attrs:{placeholder:"车牌号码",type:"text"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),l("u-form-item",{attrs:{label:"车辆类型"}},[l("u-input",{attrs:{type:"select","select-open":e.selectShow,placeholder:"请选择商品类型"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.selectShow=!0}},model:{value:e.form.goodsType,callback:function(t){e.$set(e.form,"goodsType",t)},expression:"form.goodsType"}}),l("u-select",{attrs:{mode:"single-column",list:e.selectList},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.selectConfirm.apply(void 0,arguments)}},model:{value:e.selectShow,callback:function(t){e.selectShow=t},expression:"selectShow"}})],1),l("u-form-item",{attrs:{label:"车辆注册日期"}},[l("u-input",{attrs:{type:"select",placeholder:"车辆注册日期"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.show=!0}},model:{value:e.form.time,callback:function(t){e.$set(e.form,"time",t)},expression:"form.time"}})],1),l("u-form-item",{attrs:{label:"检验有效期至"}},[l("u-input",{attrs:{type:"select",placeholder:"检验有效期至"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.show1=!0}},model:{value:e.form.sex,callback:function(t){e.$set(e.form,"sex",t)},expression:"form.sex"}})],1),l("u-form-item",{attrs:{label:"座位数"}},[l("u-input",{attrs:{type:"select","select-open":e.selectShow1,placeholder:"座位数"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.selectShow1=!0}},model:{value:e.form.goodsType,callback:function(t){e.$set(e.form,"goodsType",t)},expression:"form.goodsType"}}),l("u-select",{attrs:{mode:"single-column",list:e.selectList1},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.selectConfirm1.apply(void 0,arguments)}},model:{value:e.selectShow1,callback:function(t){e.selectShow1=t},expression:"selectShow1"}})],1),l("u-form-item",{attrs:{label:"车辆使用性质"}},[l("u-input",{attrs:{type:"select","select-open":e.selectShow2,placeholder:"车辆使用性质"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.selectShow2=!0}},model:{value:e.form.goodsType,callback:function(t){e.$set(e.form,"goodsType",t)},expression:"form.goodsType"}}),l("u-select",{attrs:{mode:"single-column",list:e.selectList2},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.selectConfirm2.apply(void 0,arguments)}},model:{value:e.selectShow2,callback:function(t){e.selectShow2=t},expression:"selectShow2"}})],1),l("u-form-item",{attrs:{label:"车辆所有"}},[l("u-input",{attrs:{type:"select","select-open":e.selectShow3,placeholder:"车辆所有"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.selectShow3=!0}},model:{value:e.form.goodsType,callback:function(t){e.$set(e.form,"goodsType",t)},expression:"form.goodsType"}}),l("u-select",{attrs:{mode:"single-column",list:e.selectList3},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.selectConfirm1.apply(void 0,arguments)}},model:{value:e.selectShow3,callback:function(t){e.selectShow3=t},expression:"selectShow3"}})],1),l("u-form-item",{attrs:{label:"未造成伤亡事故"}},[l("u-switch",{attrs:{slot:"right"},slot:"right",model:{value:e.switchVal,callback:function(t){e.switchVal=t},expression:"switchVal"}})],1)],1),l("u-picker",{attrs:{mode:"time"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.confirm.apply(void 0,arguments)}},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}}),l("u-picker",{attrs:{mode:"time"},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.confirm1.apply(void 0,arguments)}},model:{value:e.show1,callback:function(t){e.show1=t},expression:"show1"}}),l("u-button",{staticStyle:{"border-radius":"50px","font-weight":"bold","margin-top":"40rpx"},attrs:{type:"primary"}},[e._v("确认")]),l("v-uni-view",{staticClass:"shanchu",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.editshow=!0}}},[l("v-uni-text",[e._v("删除")])],1),l("u-popup",{attrs:{mode:"center","border-radius":"14"},model:{value:e.editshow,callback:function(t){e.editshow=t},expression:"editshow"}},[l("v-uni-view",{staticClass:"shu",staticStyle:{padding:"40rpx","box-sizing":"border-box"}},[l("v-uni-text",{staticStyle:{"font-weight":"bold"}},[e._v("你确定要删除此车辆吗?")]),l("v-uni-view",{staticClass:"heng"},[l("v-uni-view")],1)],1)],1)],1)},n=[]},"4bea":function(e,t,l){var o=l("24fb");t=o(!1),t.push([e.i,".headers[data-v-30dfbddf]{width:100%;height:auto;text-align:right}uni-page-body[data-v-30dfbddf]{padding:%?36?%;box-sizing:border-box}.shanchu[data-v-30dfbddf]{width:100%;text-align:center;color:#999;cursor:pointer}",""]),e.exports=t},5408:function(e,t,l){var o=l("4bea");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var a=l("4f06").default;a("c8b1ed6a",o,!0,{sourceMap:!1,shadowMode:!1})},"60b8":function(e,t,l){"use strict";l.r(t);var o=l("cc15"),a=l.n(o);for(var n in o)["default"].indexOf(n)<0&&function(e){l.d(t,e,(function(){return o[e]}))}(n);t["default"]=a.a},"76c5":function(e,t,l){"use strict";l.r(t);var o=l("3ff6"),a=l("60b8");for(var n in a)["default"].indexOf(n)<0&&function(e){l.d(t,e,(function(){return a[e]}))}(n);l("1862");var s=l("f0c5"),c=Object(s["a"])(a["default"],o["b"],o["c"],!1,null,"30dfbddf",null,!1,o["a"],void 0);t["default"]=c.exports},cc15:function(e,t,l){"use strict";(function(e){l("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={data:function(){return{form:{name:"",intro:"",sex:"",goodsType:"",time:""},show:!1,show1:!1,switchVal:!1,selectShow:!1,selectShow1:!1,selectShow2:!1,selectShow3:!1,editshow:!1,selectList:[{value:"小型轿车",label:"小型轿车"},{value:"小型普通客车",label:"小型普通客车"},{value:"小型越野客车",label:"小型越野客车"},{value:"小型专用客车",label:"小型专用客车"},{value:"微型轿车",label:"微型轿车"},{value:"微型普通客车",label:"微型普通客车"},{value:"微型越野客车",label:"微型越野客车"},{value:"中型轿车",label:"中型轿车"},{value:"大型轿车",label:"大型轿车"},{value:"中型普通客车",label:"中型普通客车"},{value:"中型越野客车",label:"中型越野客车"},{value:"中型专用客车",label:"中型专用客车"},{value:"乘用车及客车",label:"乘用车及客车"},{value:"其他",label:"其他"}],selectList1:[{value:"4座",label:"4座"},{value:"5座",label:"5座"},{value:"6座",label:"6座"},{value:"7座",label:"7座"},{value:"8座",label:"8座"},{value:"9座",label:"9座"},{value:"9座以上",label:"9座以上"}],selectList2:[{value:"非营运车",label:"非营运车"},{value:"营运车",label:"营运车"}],selectList3:[{value:"公司车",label:"公司车"},{value:"私家车",label:"私家车"}]}},onLoad:function(){},methods:{selectConfirm:function(t){e.log(t),this.form.goodsType=t[0].value},selectConfirm1:function(t){e.log(t),this.form.goodsType=t[0].value},confirm:function(t){e.log(t),this.form.time=t.year+"-"+t.month+"-"+t.day},confirm1:function(t){e.log(t),this.form.time=t.year+"-"+t.month+"-"+t.day},upload:function(){uni.chooseImage({count:1,sizeType:"compressed",success:function(e){}})}}};t.default=o}).call(this,l("5a52")["default"])}}]);
|