text: webpackJsonp([11],{"3EFz":function(t,e,a){var n=a("nytD");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("42162863",n,!0)},Mcrw:function(t,e,a){(t.exports=a("FZ+f")(!1)).push([t.i,"\nbody{ background: #F5F6FA;\n}\n.createPost-container .createPost-main-container .postInfo-container-one{\n  \tbackground: #fff;\n}\n.el-col .el-col-one{\n  \tbackground: #fff;\n}\n.postInfo-container-one{\n  \tbackground: #fff;\n}\n.el-form-item__label{\n  \ttext-align: left;\n}\n.createPost-container-one .postInfo-container .el-form-item{\n  \tmargin-bottom: 0px;\n}\n",""])},htnJ:function(t,e,a){var n=a("Mcrw");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);a("rjj0")("8ae54b76",n,!0)},nytD:function(t,e,a){(t.exports=a("FZ+f")(!1)).push([t.i,'\n@charset "UTF-8";\n.title-prompt[data-v-88df8634] {\n  position: absolute;\n  right: 0px;\n  font-size: 12px;\n  top: 10px;\n  color: #ff4949;\n}\n.createPost-container[data-v-88df8634] {\n  position: relative;\n  /*来源信息公用样式*/\n  /*右侧部分的内容*/\n}\n.createPost-container .createPost-main-container[data-v-88df8634] {\n    padding: 20px 10px 20px 10px;\n}\n.createPost-container .createPost-main-container .postInfo-container[data-v-88df8634] {\n      position: relative;\n      margin-bottom: 10px;\n}\n.createPost-container .createPost-main-container .postInfo-container[data-v-88df8634]:after {\n        content: "";\n        display: table;\n        clear: both;\n}\n.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-88df8634] {\n        float: left;\n}\n.createPost-container .createPost-main-container .editor-container[data-v-88df8634] {\n      min-height: 500px;\n      margin: 0 0 30px;\n}\n.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-88df8634] {\n        text-align: right;\n        margin-right: 10px;\n}\n.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-88df8634] {\n          display: inline-block;\n}\n.createPost-container .word-counter[data-v-88df8634] {\n    width: 40px;\n    position: absolute;\n    right: -10px;\n    top: 0px;\n}\n.createPost-container .pl[data-v-88df8634] {\n    width: 100%;\n    padding-left: 10px;\n    padding-right: 10px;\n    font-size: 14px;\n    color: #4A4A4A;\n    margin-bottom: 22px;\n    position: relative;\n}\n.createPost-container .pl span[data-v-88df8634] {\n    display: inline-block;\n}\n.createPost-container .pl .title[data-v-88df8634] {\n    position: absolute;\n}\n.createPost-container .pl .text[data-v-88df8634] {\n    /*\tmargin-left: 95px;*/\n}\n.createPost-container .right-box[data-v-88df8634] {\n    padding-left: 50px;\n    position: relative;\n}\n.createPost-container .right-box p[data-v-88df8634] {\n    margin: 0;\n    padding: 0;\n    text-align: right;\n}\n.createPost-container .right-box .el-steps[data-v-88df8634] {\n    margin-left: 110px;\n}\n.createPost-container .right-box .el-times[data-v-88df8634] {\n    width: 100px;\n    position: absolute;\n    top: 0;\n    left: 0px;\n}\n.createPost-container .right-box .time[data-v-88df8634] {\n    height: 127px;\n}\n.createPost-container .right-box .time-year[data-v-88df8634] {\n    font-size: 18px;\n    color: #4A4A4A;\n}\n.createPost-container .right-box .time-hour[data-v-88df8634] {\n    margin-top: 10px;\n}\n.createPost-container .createPost-container .createPost-container-one[data-v-88df8634] {\n    padding-top: 10px;\n}\n',""])},q7kb:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("woOf"),r=a.n(n),i=a("5aCZ"),o=a("KQHe"),s=a("+mJe"),l=a("RUzx"),c=a.n(l),p=(a("tLvy"),a("vHhr")),d=a("E4LH"),u=a("viA7"),m=a("LkbC"),f=a("zmr2"),_=a("3qhk"),h=a("TIfe"),b=a("EAZf"),g=a.n(b),v=(a("7+uW"),{status:"draft",title:"",content:"",content_short:"",source_uri:"",image_uri:"",source_name:"",display_time:void 0,id:void 0,platforms:["a-platform"],comment_disabled:!1}),y={name:"articleDetail",components:{Tinymce:i.a,MDinput:s.a,Upload:o.a,Multiselect:c.a,Sticky:p.a,Viewer:g.a,BasicInfo:_.default},data:function(){var t=this,e=function(e,a,n){""===a?(t.$message({message:e.field+"为必传项",type:"error"}),n(null)):n()};return{customerData:{customer_name:"",car_type:"",product_class_number:"1",car_price:1e3,loan_prize:10000.25,loan_rate:12,loan_date:"12个月",loan_bank:"03",first_pay:"",first_pay_ratio:"",integration_principal:1e3,finance_driving:0,finance_apply_description:"备注",return_car_principal:0,bank_lending:"",return_car_rate:"",car_final_pay:"",remittance_total_money:"",gross_profit_rate:"",return_prize:"",return_time:"",return_description:"",return_card:"",credit_city:""},search_type:"1",labelwidth:"95px",space:"200px",images:[{src:"http://test-linrun.anjietest-feature.ifcar99.com/uploads/image/20171218/090f27f1048014138a65e18b9486a92f.JPG"},{src:"http://test-linrun.anjietest-feature.ifcar99.com/uploads/image/20171218/045b6526879073d440c470d1e78969fa.JPG"},{src:"http://test-linrun.anjietest-feature.ifcar99.com/uploads/image/20171218/043147fb1aa26f82167a73b535ea4686.JPG"}],divgutter:20,cartype:"1",imgs1:[],imgs2:[],postForm:r()({},v),fetchSuccess:!0,loading:!1,userLIstOptions:[],isEdit:!1,platformsOptions:[{key:"a-platform",name:"a-platform"},{key:"b-platform",name:"b-platform"},{key:"c-platform",name:"c-platform"}],rules:{image_uri:[{validator:e}],title:[{validator:e}],content:[{validator:e}],source_uri:[{validator:function(e,a,n){a?Object(d.a)(a)?n():(t.$message({message:"外链url填写不正确",type:"error"}),n(null)):n()},trigger:"blur"}],return_prize:[{validator:function(t,e,a){return e?/^(0|[1-9][0-9]*)(\.\d{1,2})?$/.test(e)?a():a(new Error("请填写正确的信息")):a(new Error("此项不能为空"))},trigger:"blur"}],return_time:[{type:"date",message:"请选择日期",trigger:"change"}],return_card:[{validator:function(t,e,a){return e?a():a(new Error("此项不能为空"))},trigger:"blur"}]}}},filters:{statusFilter:function(t){return{published:"success",draft:"info",deleted:"danger"}[t]},typeFilter:function(t){return calendarTypeKeyValue[t]},hasBondsman:function(t){return"1"==t?"有担保人":"无担保人"},maritalStatus:function(t){return"1"==t?"已婚":"2"==t?"未婚":"3"==t?"离婚":"4"==t?"丧偶":void 0},hasInsurance:function(t){return"1"==t?"有保险":"无保险"},carType:function(t){return"XC"==t?"新车":"二手车"},bankType:function(t){return"01"==t?"济南市中工行":"02"==t?"济南乐源支行":"临沂经开行"}},computed:{pagedata:function(){return{token:Object(h.a)(),work_id:this.$route.query.id,item_instance_id:this.$route.query.item_instance_id,return_prize:this.customerData.return_prize,return_time:Date.parse(this.customerData.return_time)/1e3,return_description:this.customerData.return_description,return_card:this.customerData.return_card}},contentShortLength:function(){return this.postForm.content_short.length}},created:function(){this.isEdit?this.fetchData():this.postForm=r()({},v),this.getDetailInfo()},methods:{getDetailInfo:function(){var t=this,e={data:this.pagedata,success:function(e){if(200==e.error_no){var a=["customer_name","car_type","car_price","loan_prize","loan_rate","first_pay","first_pay_ratio","credit_city","integration_principal","bank_lending","finance_driving","return_car_principal","gross_profit_rate","return_car_rate","car_final_pay","finance_account","finance_name","finance_deposit_bank","remittance_total_money","car_name","business_place","finance_apply_description"];for(var n in a)""==e.result[a[n]]||null==e.result[a[n]]?t.customerData[a[n]]="---":t.customerData[a[n]]=e.result[a[n]];""==e.result.product_class_number||null==e.result.product_class_number?t.customerData.product_class_number="XC":t.customerData.product_class_number=e.result.product_class_number,""==e.result.loan_bank||null==e.result.loan_bank?t.customerData.loan_bank="01":t.customerData.loan_bank=e.result.loan_bank,""==e.result.loan_date||null==e.result.loan_date?t.customerData.loan_date="12个月":t.customerData.loan_date=e.result.loan_date}else alert(e.error_msg)},error:function(){}};f.a.getArtificalOneDetail(e)},submitData:function(t){var e=this,a={data:this.pagedata,success:function(t){200==t.error_no?e.$alert(t.error_msg,"回款确认",{confirmButtonText:"确定",beforeClose:function(t,a,n){"confirm"==t?(n(),e.$router.push({path:"/work/returnmoney"})):"cancel"==t&&n()}}):e.$alert(t.error_msg,"回款确认",{confirmButtonText:"确定",beforeClose:function(t,e,a){a()}})},error:function(t){console.log(t)}};this.$confirm("是否确定提交","提示",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(function(){e.$refs.customerData.validate(function(t){t?f.a.returnMoney(a):e.$alert("信息不完整,请检查信息","回款确认",{confirmButtonText:"确定"})})}).catch(function(){})},resetForm:function(t){this.$refs[t].resetFields()},toPoint:function(t){return t/=100},show:function(){this.$el.querySelector(".images").$viewer.show()},fetchData:function(){var t=this;Object(u.a)().then(function(e){t.postForm=e.data}).catch(function(e){t.fetchSuccess=!1,console.log(e)})},submitForm:function(){var t=this;this.postForm.display_time=parseInt(this.display_time/1e3),this.$refs.postForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0,t.$notify({title:"成功",message:"发布文章成功",type:"success",duration:2e3}),t.postForm.status="published",t.loading=!1})},draftForm:function(){0!==this.postForm.content.length&&0!==this.postForm.title.length?(this.$message({message:"保存成功",type:"success",showClose:!0,duration:1e3}),this.postForm.status="draft"):this.$message({message:"请填写必要的标题和内容",type:"warning"})},getRemoteUserList:function(t){var e=this;Object(m.a)(t).then(function(t){t.data.items&&(console.log(t),e.userLIstOptions=t.data.items.map(function(t){return{key:t.name}}))})}}},w={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container createPost-container-one"},["1"==t.search_type?a("el-form",{ref:"customerData",staticClass:"form-container",attrs:{model:t.customerData,rules:t.rules}},[a("div",{staticClass:"createPost-main-container"},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{staticStyle:{background:"#fff",padding:"10px 30px"},attrs:{span:24}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%","margin-bottom":"0px"},attrs:{"label-width":t.labelwidth,label:"业务团队:"}},[a("span",{domProps:{textContent:t._s(t.customerData.credit_city)}})])],1)],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"10px"},attrs:{gutter:t.divgutter}},[a("div",{staticClass:"postInfo-container postInfo-container-one",staticStyle:{padding:"20px 40px 20px 270px","margin-bottom":"0px"}},[a("el-row",{attrs:{gutter:t.divgutter}},[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"90%"},attrs:{"label-width":t.labelwidth,label:"客户姓名"}},[a("span",{domProps:{textContent:t._s(t.customerData.customer_name)}})])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"首付比例"}},[a("span",[t._v("\n                  "+t._s(t.customerData.first_pay_ratio)+"%\n                  ")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车辆型号"}},[a("span",{domProps:{textContent:t._s(t.customerData.car_type)}})])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"融入本金"}},[a("span",[t._v("\n\t\t            \t\t"+t._s(t.customerData.integration_principal)+"元\n\t\t \t\t\t\t\t\t\t")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车辆类型"}},[a("span",[t._v("\n                  \t"+t._s(t._f("carType")(t.customerData.product_class_number))+"\n                  ")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"银行放款额"}},[a("span",[t._v(t._s(t.customerData.bank_lending)+"元")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车辆价格"}},[a("span",[t._v("\n                  \t"+t._s(t.customerData.car_price)+"元\n                  ")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"打给车行"}},[a("span",[t._v(t._s(t.customerData.finance_driving)+"元")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"贷款额"}},[a("span",[t._v("\n                  \t"+t._s(t.customerData.loan_prize)+"元\n                  ")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"返车行利率"}},[a("span",[t._v(t._s(t.customerData.return_car_rate)+"%")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"贷款银行"}},[a("span",[t._v("\n                  \t"+t._s(t._f("bankType")(t.customerData.loan_bank))+"\n                  ")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"返车行金额"}},[a("span",[t._v(t._s(t.customerData.return_car_principal)+"元")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"贷款期数"}},[a("span",{domProps:{textContent:t._s(t.customerData.loan_date)}})])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"车商尾款"}},[a("span",[t._v(t._s(t.customerData.car_final_pay)+"元")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"利率"}},[a("span",[t._v("\n                  \t"+t._s(t.customerData.loan_rate)+"%\n                  ")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"合计打款"}},[a("span",[t._v(t._s(t.customerData.remittance_total_money)+"元")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"首付款"}},[a("span",[t._v("\n                  \t"+t._s(t.customerData.first_pay)+"元\n \t\t\t\t\t\t\t\t\t")])])],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"毛利率"}},[a("span",[t._v(t._s(t.customerData.gross_profit_rate)+"%")])])],1),t._v(" "),a("el-col",{staticStyle:{"margin-top":"20px"},attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"回款金额",prop:"return_prize"}},[a("el-input",{attrs:{placeholder:"请输入回款金额(必填)"},model:{value:t.customerData.return_prize,callback:function(e){t.$set(t.customerData,"return_prize",e)},expression:"customerData.return_prize"}},[a("template",{slot:"append"},[t._v("元")])],2)],1)],1),t._v(" "),a("el-col",{staticStyle:{"margin-top":"20px"},attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"回款账户",prop:"return_card"}},[a("el-input",{attrs:{placeholder:"请输入回款账户(必填)"},model:{value:t.customerData.return_card,callback:function(e){t.$set(t.customerData,"return_card",e)},expression:"customerData.return_card"}})],1)],1),t._v(" "),a("el-col",{staticStyle:{"margin-top":"20px"},attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"回款日期",prop:"return_time"}},[a("el-col",{staticStyle:{"padding-left":"0px","padding-right":"0px"},attrs:{span:24}},[a("el-date-picker",{staticStyle:{width:"80%"},attrs:{type:"date",placeholder:"选择日期"},model:{value:t.customerData.return_time,callback:function(e){t.$set(t.customerData,"return_time",e)},expression:"customerData.return_time"}})],1)],1)],1),t._v(" "),a("el-col",{staticStyle:{"margin-top":"20px"},attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{width:"100%"},attrs:{"label-width":t.labelwidth,label:"备注"}},[a("el-input",{staticStyle:{width:"80%"},attrs:{type:"textarea",placeholder:"(选填)"},model:{value:t.customerData.return_description,callback:function(e){t.$set(t.customerData,"return_description",e)},expression:"customerData.return_description"}})],1)],1)],1)],1),t._v(" "),a("el-row",{staticStyle:{background:"#fff",padding:"20px 30px","padding-left":"365px"}},[a("el-button",{staticStyle:{width:"120px",height:"40px"},attrs:{type:"primary"},on:{click:function(e){t.submitData("customerData")}}},[t._v("确定")])],1)],1)],1)]):t._e()],1)},staticRenderFns:[]},x=a("VU/8")(y,w,!1,function(t){a("3EFz"),a("htnJ")},"data-v-88df8634",null);e.default=x.exports}});