Commit 980525c0 by 王勇飞

build

parent f16276fa
h3[data-v-160c7e2d]{margin:10px .25em 2ex 1px}.cell-edit-color[data-v-160c7e2d]{color:#2db7f5;font-weight:700}#bottom[data-v-160c7e2d]{position:absolute;right:0;left:0;bottom:0;border-top:1px solid #e8e8e8;padding:14px 14px;color:#f0f8ff;background:#666;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}#turnright[data-v-160c7e2d]{margin-right:0}
\ No newline at end of file
h3[data-v-197e0440]{margin:10px .25em 2ex 1px}.cell-edit-color[data-v-197e0440]{color:#2db7f5;font-weight:700}#bottom[data-v-197e0440]{position:absolute;right:0;left:0;bottom:0;border-top:1px solid #e8e8e8;padding:14px 14px;color:#f0f8ff;background:#666;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}#turnright[data-v-197e0440]{margin-right:0}
\ No newline at end of file
h3[data-v-f55c29b2]{margin:10px .25em 2ex 1px}#bottom[data-v-f55c29b2]{position:absolute;right:0;left:0;bottom:0;border-top:1px solid #e8e8e8;padding:14px 14px;color:#f0f8ff;background:#666;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}#turnright[data-v-f55c29b2]{margin-right:0}
\ No newline at end of file
h3[data-v-89c9433c]{margin:10px .25em 2ex 1px}#bottom[data-v-89c9433c]{position:absolute;right:0;left:0;bottom:0;border-top:1px solid #e8e8e8;padding:14px 14px;color:#f0f8ff;background:#666;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}#turnright[data-v-89c9433c]{margin-right:0}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ccc.png><title></title><link href=/css/chunk-0ecc464f.e8a7e262.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-168103e5.3623703d.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-37580f15.35fbe31b.css rel=prefetch><link href=/css/chunk-4624aea2.7447f1f6.css rel=prefetch><link href=/css/chunk-53faa4ea.2f53530e.css rel=prefetch><link href=/css/chunk-599a3504.1e75f0e2.css rel=prefetch><link href=/css/chunk-69fcc7bb.03f445a2.css rel=prefetch><link href=/css/chunk-6c68c5af.873086a3.css rel=prefetch><link href=/css/chunk-6f711436.09462324.css rel=prefetch><link href=/css/chunk-dba5f5e4.c216ed15.css rel=prefetch><link href=/css/chunk-ffd5730c.070fbb0a.css rel=prefetch><link href=/js/chunk-0ecc464f.b56937b3.js rel=prefetch><link href=/js/chunk-14b9857b.1fd9d98f.js rel=prefetch><link href=/js/chunk-168103e5.95104d8c.js rel=prefetch><link href=/js/chunk-2c359864.9aa6a270.js rel=prefetch><link href=/js/chunk-2d0be336.b244bc58.js rel=prefetch><link href=/js/chunk-3385141a.3a737da7.js rel=prefetch><link href=/js/chunk-37580f15.fe2ddb46.js rel=prefetch><link href=/js/chunk-4624aea2.4474b084.js rel=prefetch><link href=/js/chunk-50ac3ef2.5025c18a.js rel=prefetch><link href=/js/chunk-53faa4ea.f089a9bb.js rel=prefetch><link href=/js/chunk-581ae672.c589178c.js rel=prefetch><link href=/js/chunk-599a3504.56c9798e.js rel=prefetch><link href=/js/chunk-69fcc7bb.066a799a.js rel=prefetch><link href=/js/chunk-6c68c5af.6dcfc8ab.js rel=prefetch><link href=/js/chunk-6f711436.8c977480.js rel=prefetch><link href=/js/chunk-9ebfd05c.1bc98f0e.js rel=prefetch><link href=/js/chunk-dba5f5e4.4c07577c.js rel=prefetch><link href=/js/chunk-f116a998.3387292c.js rel=prefetch><link href=/js/chunk-f285db4a.3c7478e5.js rel=prefetch><link href=/js/chunk-ffd5730c.d4335f4d.js rel=prefetch><link href=/css/app.04d31a64.css rel=preload as=style><link href=/css/chunk-vendors.1d90d08d.css rel=preload as=style><link href=/js/app.a356054b.js rel=preload as=script><link href=/js/chunk-vendors.42589dbc.js rel=preload as=script><link href=/css/chunk-vendors.1d90d08d.css rel=stylesheet><link href=/css/app.04d31a64.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.42589dbc.js></script><script src=/js/app.a356054b.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/ccc.png><title></title><link href=/css/chunk-0ecc464f.e8a7e262.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-168103e5.3623703d.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-37580f15.35fbe31b.css rel=prefetch><link href=/css/chunk-3bb01b7e.a1ef4ffa.css rel=prefetch><link href=/css/chunk-599a3504.1e75f0e2.css rel=prefetch><link href=/css/chunk-69fcc7bb.03f445a2.css rel=prefetch><link href=/css/chunk-6f711436.09462324.css rel=prefetch><link href=/css/chunk-7dc6d142.86cde795.css rel=prefetch><link href=/css/chunk-b07d3c52.5ca8040e.css rel=prefetch><link href=/css/chunk-c1a112d6.f7e9e5eb.css rel=prefetch><link href=/css/chunk-dba5f5e4.c216ed15.css rel=prefetch><link href=/js/chunk-0ecc464f.b56937b3.js rel=prefetch><link href=/js/chunk-14b9857b.1fd9d98f.js rel=prefetch><link href=/js/chunk-168103e5.95104d8c.js rel=prefetch><link href=/js/chunk-2c359864.9aa6a270.js rel=prefetch><link href=/js/chunk-2d0be336.b244bc58.js rel=prefetch><link href=/js/chunk-3385141a.3a737da7.js rel=prefetch><link href=/js/chunk-37580f15.fe2ddb46.js rel=prefetch><link href=/js/chunk-3bb01b7e.a3fbb056.js rel=prefetch><link href=/js/chunk-50ac3ef2.5025c18a.js rel=prefetch><link href=/js/chunk-581ae672.c589178c.js rel=prefetch><link href=/js/chunk-599a3504.56c9798e.js rel=prefetch><link href=/js/chunk-69fcc7bb.066a799a.js rel=prefetch><link href=/js/chunk-6f711436.8c977480.js rel=prefetch><link href=/js/chunk-7dc6d142.a9b7a558.js rel=prefetch><link href=/js/chunk-9ebfd05c.1bc98f0e.js rel=prefetch><link href=/js/chunk-b07d3c52.4f2b646b.js rel=prefetch><link href=/js/chunk-c1a112d6.a37d613b.js rel=prefetch><link href=/js/chunk-dba5f5e4.4c07577c.js rel=prefetch><link href=/js/chunk-f116a998.3387292c.js rel=prefetch><link href=/js/chunk-f285db4a.3c7478e5.js rel=prefetch><link href=/css/app.04d31a64.css rel=preload as=style><link href=/css/chunk-vendors.1d90d08d.css rel=preload as=style><link href=/js/app.d6acd514.js rel=preload as=script><link href=/js/chunk-vendors.42589dbc.js rel=preload as=script><link href=/css/chunk-vendors.1d90d08d.css rel=stylesheet><link href=/css/app.04d31a64.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.42589dbc.js></script><script src=/js/app.d6acd514.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3bb01b7e"],{1481:function(e,t,i){"use strict";i.r(t);var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticStyle:{"background-color":"white",padding:"10px 0.25em 2ex 1%"}},[e._m(0),i("div",[i("customSteps",{attrs:{datasouce:e.sourceData,indirector:e.sourceDataIndex}})],1),i("Divider"),i("div",[e._m(1),i("div",[i("Form",{ref:"cmpDeliverInfo",staticStyle:{width:"100%"},attrs:{model:e.cmpDeliverInfo,rules:e.cmpDeliverInfoRules,"label-position":"left","label-width":100}},[i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"公司名称 :",prop:"companyName"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入客户公司名称"},model:{value:e.cmpDeliverInfo.companyName,callback:function(t){e.$set(e.cmpDeliverInfo,"companyName",t)},expression:"cmpDeliverInfo.companyName"}})],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"备选名称 :",prop:"spareName1"}},[i("div",[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入公司备选名称"},model:{value:e.cmpDeliverInfo.spareName1,callback:function(t){e.$set(e.cmpDeliverInfo,"spareName1",t)},expression:"cmpDeliverInfo.spareName1"}}),i("Button",{on:{click:e.handleAdd}},[e._v("+")])],1),e._l(e.cmpDeliverInfo.spareNames,(function(t,r){return i("div",{key:r},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入公司备选名称",prop:"spareName"+r},model:{value:e.cmpDeliverInfo.spareNames[r].value,callback:function(t){e.$set(e.cmpDeliverInfo.spareNames[r],"value",t)},expression:"cmpDeliverInfo.spareNames[idx].value"}}),i("Button",{on:{click:function(t){return e.handleRemove(r)}}},[e._v("-")])],1)}))],2)],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"纳税人类型 :",prop:"taxpayerType"}},[i("Select",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择"},model:{value:e.cmpDeliverInfo.taxpayerType,callback:function(t){e.$set(e.cmpDeliverInfo,"taxpayerType",t)},expression:"cmpDeliverInfo.taxpayerType"}},e._l(e.taxpayerTypes,(function(t){return i("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1)],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"企业类型 :",prop:"companyProperties"}},[i("span",[e._v(e._s(e.cmpDeliverInfo.companyProperties))])])],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"注册园区 :",prop:"serviceArea"}},[i("span",[e._v(e._s(e.cmpDeliverInfo.serviceArea))])])],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"注册详细地址 :",prop:"fullAddress"}},[i("Input",{staticStyle:{width:"80%"},attrs:{placeholder:"请输入"},model:{value:e.cmpDeliverInfo.fullAddress,callback:function(t){e.$set(e.cmpDeliverInfo,"fullAddress",t)},expression:"cmpDeliverInfo.fullAddress"}})],1)],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"经营期限 :",prop:"operatingPeriod"}},[i("Input",{staticStyle:{width:"80%"},attrs:{placeholder:"请输入公司经营期限"},model:{value:e.cmpDeliverInfo.operatingPeriod,callback:function(t){e.$set(e.cmpDeliverInfo,"operatingPeriod",t)},expression:"cmpDeliverInfo.operatingPeriod"}})],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"注册资本 :",prop:"registeredCapital"}},[i("InputNumber",{attrs:{placeholder:"请输入公司注册资本"},model:{value:e.cmpDeliverInfo.registeredCapital,callback:function(t){e.$set(e.cmpDeliverInfo,"registeredCapital",t)},expression:"cmpDeliverInfo.registeredCapital"}}),i("span",[e._v("   万元")])],1)],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"注册资本实缴日期 :",prop:"registeredDate"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"date",placeholder:"年/月/日"},model:{value:e.cmpDeliverInfo.registeredDate,callback:function(t){e.$set(e.cmpDeliverInfo,"registeredDate",t)},expression:"cmpDeliverInfo.registeredDate"}})],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"公积金缴存比例(%):",prop:"reserveProportion"}},[i("InputNumber",{attrs:{placeholder:"请输入数字"},model:{value:e.cmpDeliverInfo.reserveProportion,callback:function(t){e.$set(e.cmpDeliverInfo,"reserveProportion",t)},expression:"cmpDeliverInfo.reserveProportion"}})],1)],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"所属行业 :",prop:"engagedIndustry"}},[i("Select",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择"},model:{value:e.cmpDeliverInfo.engagedIndustry,callback:function(t){e.$set(e.cmpDeliverInfo,"engagedIndustry",t)},expression:"cmpDeliverInfo.engagedIndustry"}},e._l(e.engagedIndustrys,(function(t){return i("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1)],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"经营范围:",prop:"businessScope"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"textarea",rows:6,placeholder:"请输入公司经营范围,以;隔开"},model:{value:e.cmpDeliverInfo.businessScope,callback:function(t){e.$set(e.cmpDeliverInfo,"businessScope",t)},expression:"cmpDeliverInfo.businessScope"}})],1)],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"刻章服务:",prop:"isWhether"}},[i("span",[e._v(e._s(e.cmpDeliverInfo.isWhether))])])],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"财税服务:",prop:"financial"}},[i("span",[e._v(e._s(e.cmpDeliverInfo.financial))])])],1)],1)],1)],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getCmpDeliverInfo}},[e._v("暂存")])],1)]),i("Divider"),i("div",[e._m(2),i("div",[i("VTable",{staticStyle:{width:"100%"},attrs:{"is-horizontal-resize":"",columns:e.contributionInfo,"table-data":e.contributionData,"row-hover-color":"#eee","row-click-color":"#edf7ff","cell-edit-done":e.contributionCallback}})],1),i("div",[i("Button",{staticStyle:{float:"left","margin-left":"50%","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.addContributionData}},[e._v("新增股东")])],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getContributionInfo}},[e._v("暂存")])],1)]),i("Divider"),i("div",[e._m(3),i("div",[i("VTable",{staticStyle:{width:"100%"},attrs:{"is-horizontal-resize":"",columns:e.positionInfo,"table-data":e.positionData,"row-hover-color":"#eee","row-click-color":"#edf7ff","cell-edit-done":e.positionCallback}})],1),i("div",[i("Button",{staticStyle:{float:"left","margin-left":"50%","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.addPositionData}},[e._v("新增任职信息")])],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getPositionInfo}},[e._v("暂存")])],1)]),i("Divider"),i("div",[i("div",{staticStyle:{display:"flex"}},[e._m(4),i("div",[i("Button",{staticStyle:{"margin-left":"20px","margin-top":"2px"},attrs:{size:"large",type:"primary"},on:{click:e.addShareholder}},[e._v("新增自然人股东信息")])],1)]),i("div",[i("Row",{staticStyle:{"margin-bottom":"20px"}},[i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"产权证",viewUrl:e.fileViewObj["产权证"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"法人股东证件",viewUrl:e.fileViewObj["法人股东证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"执行董事证件",viewUrl:e.fileViewObj["执行董事证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"经理证件",viewUrl:e.fileViewObj["经理证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"监事证件",viewUrl:e.fileViewObj["监事证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"购票人",viewUrl:e.fileViewObj["购票人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1)],1),i("Row",{staticStyle:{"margin-bottom":"20px"}},[i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"办税人",viewUrl:e.fileViewObj["办税人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"财务负责人",viewUrl:e.fileViewObj["财务负责人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"秘书联系人",viewUrl:e.fileViewObj["秘书联系人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"社保缴费经办人证件",viewUrl:e.fileViewObj["社保缴费经办人证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"公积金缴费经办人",viewUrl:e.fileViewObj["公积金缴费经办人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"自然人股东证件",viewUrl:e.fileViewObj["自然人股东证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1)],1),i("Row",e._l(e.shareholders,(function(t,r){return i("div",{key:t.title},[i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:t.title,viewUrl:t.viewUrl,showDelBtn:!0,idx:r},on:{onResUrl:e.onResUrl,onReupload:e.onReupload,delShareholder:e.delShareholder}})],1)],1)})),0)],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.fileUploadCache}},[e._v("暂存")])],1)]),i("Divider"),i("div",[e._m(5),i("div",[i("Form",{ref:"cmpContactInfo",staticStyle:{width:"100%"},attrs:{model:e.cmpContactInfo,rules:e.cmpContactInfoRules,"label-position":"left","label-width":100}},[i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"联系人姓名 :",prop:"contactsName"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text"},model:{value:e.cmpContactInfo.contactsName,callback:function(t){e.$set(e.cmpContactInfo,"contactsName",t)},expression:"cmpContactInfo.contactsName"}})],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"联系人电话 :",prop:"contactsPhone"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text"},model:{value:e.cmpContactInfo.contactsPhone,callback:function(t){e.$set(e.cmpContactInfo,"contactsPhone",t)},expression:"cmpContactInfo.contactsPhone"}})],1)],1)],1)],1)],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getCmpContactInfo}},[e._v("暂存")])],1)]),i("Divider")],1),i("div",{attrs:{id:"bottom"}},[i("div",[i("span",[e._v("业务顾问:")]),e._v("  \n "),i("span",[e._v(e._s(e.userName))]),e._v("  \n "),i("span",[e._v(e._s(e.userMobile))]),e._v("\n   \n "),i("Button",{attrs:{size:"large",type:"primary"},on:{click:function(t){e.showTipModal=!0}}},[e._v("提交交付信息")])],1)]),i("div",[i("Modal",{attrs:{title:"提交交付信息"},on:{"on-ok":e.getAllFormInfo},model:{value:e.showTipModal,callback:function(t){e.showTipModal=t},expression:"showTipModal"}},[i("p",[e._v("提交后将无法修改,请确认填写信息后提交,是否继续提交?")])])],1)])},a=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("交付流程")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("公司注册信息")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("出资比例")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("任职信息")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("注册文件")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("订单联系人信息")])])}],o=(i("9a33"),i("6d57"),i("e292")),n=i("9bef"),s=i("8ae1"),l=i("36fa"),c=i("db7f"),p=i("65f4"),u=i("7e1e"),d={name:"cmpbizdelivercase",data:function(){var e,t=function(e,t,i){""===t?i(new Error("联系人电话不能为空")):i()};return{bizType:"",bizCode:"",userName:"",userMobile:"",sourceData:[],sourceDataIndex:1,allInfo:{},showTipModal:!1,cmpDeliverInfo:(e={companyName:"",spareName:[],spareName1:"",spareNames:[],taxpayerType:"",companyProperties:""},Object(n["a"])(e,"companyProperties",""),Object(n["a"])(e,"serviceArea",""),Object(n["a"])(e,"fullAddress",""),Object(n["a"])(e,"engagedIndustry",""),Object(n["a"])(e,"operatingPeriod",""),Object(n["a"])(e,"registeredCapital",0),Object(n["a"])(e,"registeredDate",""),Object(n["a"])(e,"reserveProportion",0),Object(n["a"])(e,"businessScope",""),Object(n["a"])(e,"isWhether",""),Object(n["a"])(e,"financial",""),e),cmpDeliverInfoRules:{companyName:[{required:!0,message:"公司名称不能为空",trigger:"blur"}],spareName1:[{required:!0,message:"备选名称不能为空",trigger:"blur"}],taxpayerType:[{required:!0,message:"纳税人类型不能为空",trigger:"blur"}],companyProperties:[{required:!0,message:"企业类型不能为空",trigger:"blur"}],serviceArea:[{required:!0,message:"注册园区不能为空",trigger:"blur"}],fullAddress:[{required:!0,message:"注册详细地址不能为空",trigger:"blur"}],engagedIndustry:[{required:!0,message:"所属行业不能为空",trigger:"blur"}],operatingPeriod:[{required:!0,message:"经营期限不能为空",trigger:"blur"}],registeredCapital:[{required:!0,type:"number",min:1,message:"注册资本不能为空",trigger:"blur"}],registeredDate:[{required:!0,message:"注册资本实缴日期不能为空",trigger:"blur"}],reserveProportion:[{required:!0,type:"number",min:1,message:"公积金缴存比例不能为空",trigger:"blur"}],businessScope:[{required:!0,message:"经营范围不能为空",trigger:"blur"}],isWhether:[{required:!0,message:"刻章服务不能为空",trigger:"blur"}],financial:[{required:!0,message:"财税服务不能为空",trigger:"blur"}]},contributionData:[],contributionInfo:[{field:"hareholderName",title:"法人 / 自然人股东姓名",width:80,titleAlign:"center",columnAlign:"center",isEdit:!0,formatter:function(e,t,i,r){return"<span class='cell-edit-color'>".concat(e[r],"</span>")},isResize:!0},{field:"contributionAmount",title:"出资金额(万元)",width:40,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"contributionProportion",title:"出资比例(%)",width:40,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"IdentificationNumber",title:"证件号码",width:200,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"phoneNumber",title:"联系电话/手机",width:180,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"contactAddress",title:"身份证住址",width:200,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0}],positionData:[],positionInfo:[{field:"functionInfo",title:"职务信息",width:80,titleAlign:"center",columnAlign:"center",isEdit:!0,formatter:function(e,t,i,r){return"<span class='cell-edit-color'>".concat(e[r],"</span>")},isResize:!0},{field:"persionName",title:"姓名",width:40,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"mobilePhone",title:"手机",width:180,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"fixedPhone",title:"固话",width:180,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"houseAddress",title:"身份证住址",width:200,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"mailboxInfo",title:"邮箱",width:100,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0}],uploadList:[],fileViewObj:{"产权证":{viewUrl:""},"法人股东证件":{viewUrl:""},"自然人股东证件":{viewUrl:""},"执行董事证件":{viewUrl:""},"经理证件":{viewUrl:""},"监事证件":{viewUrl:""},"购票人":{viewUrl:""},"办税人":{viewUrl:""},"财务负责人":{viewUrl:""},"秘书联系人":{viewUrl:""},"社保缴费经办人证件":{viewUrl:""},"公积金缴费经办人":{viewUrl:""}},shareholders:[],cmpContactInfo:{contactsName:"",contactsPhone:""},cmpContactInfoRules:{contactsName:[{required:!0,message:"联系人姓名不能为空",trigger:"blur"}],contactsPhone:[{required:!0,validator:t,trigger:"blur"}]},cmpExpressInfo:{trackingNumber:"",logisticsCompany:"",addresseeName:"",addresseePhone:"",addresseeEmail:"",addresseeAddress:"",expressStatus:""}}},components:{customSteps:s["a"],VTable:p["VTable"],fileUpload:l["a"]},computed:{cmpInfo:function(){var e=this.bizType;return this.infos[e]},taxpayerTypes:function(){var e=c["a"].TaxpayerTypeDict,t=this.obj2arr(e);return t},companyProperties:function(){var e=c["a"].companyNatureDict,t=this.obj2arr(e);return t},addressTypes:function(){var e=c["a"].addressTypeDict,t=this.obj2arr(e);return t},serviceAreas:function(){var e=c["a"].registeredAreaDict,t=this.obj2arr(e);return t},engagedIndustrys:function(){var e=c["a"].engagedIndustryDict,t=this.obj2arr(e);return t},expressStatuss:function(){var e=c["a"].expressStatusDict,t=this.obj2arr(e);return t}},methods:{getSourceData:function(){var e=c["a"].diliverCaseSteps2;this.sourceData=e},obj2arr:function(e){var t=[];for(var i in e){var r={};r.value=i,r.label=e[i],t.push(r)}return t},handleAdd:function(){this.cmpDeliverInfo.spareNames.push({value:"",status:1})},handleRemove:function(e){this.cmpDeliverInfo.spareNames.splice(e,1)},getCmpDeliverInfo:function(){var e=JSON.parse(JSON.stringify(this.cmpDeliverInfo));e=this.dictValue2Key(e);var t=e.spareNames.map((function(e){if(e){var t=e.value;return t}}));e.spareName=[e.spareName1].concat(Object(o["a"])(t)),this.allInfo.cmpDeliverInfo=e,this.cacheData()},getContributionInfo:function(){var e=JSON.parse(JSON.stringify(this.contributionData)),t=e.filter((function(e){if("--"!==e.hareholderName&&""!==e.hareholderName)return e}));this.allInfo.contributionData=t,this.cacheData()},getPositionInfo:function(){var e=JSON.parse(JSON.stringify(this.positionData)),t=e.filter((function(e){if("--"!==e.functionInfo&&""!==e.functionInfo)return e}));this.allInfo.positionData=t,this.cacheData()},contributionCallback:function(e,t,i,r,a){this.contributionData[i][a]=e,console.log("表格发生了修改:",JSON.stringify(this.contributionData))},addContributionData:function(){this.contributionData.push({hareholderName:"--",contributionAmount:0,contributionProportion:0,IdentificationNumber:"--",phoneNumber:"--",contactAddress:"--"})},positionCallback:function(e,t,i,r,a){this.positionData[i][a]=e,console.log("表格发生了修改:",JSON.stringify(this.positionData))},addPositionData:function(){this.positionData.push({functionInfo:"--",persionName:"--",mobilePhone:"--",fixedPhone:"--",houseAddress:"--",mailboxInfo:"--"})},onResUrl:function(e){var t=this.uploadList;t.push(e)},onReupload:function(e){var t=this,i=[];this.uploadList.forEach((function(r){if(r.title==e.title)return t.fileViewObj[r.title]&&(t.fileViewObj[r.title].viewUrl=""),void t.shareholders.forEach((function(e){e.title==r.title&&(e.viewUrl="")}));i.push(r)})),this.uploadList=i},addShareholder:function(){var e=this.shareholders.length,t="自然人股东证件";if(0==e)t+=e+1;else{var i=this.shareholders[e-1].title,r=parseInt(i.split(/自然人股东证件/)[1]);t+=r+1}var a={title:t,viewUrl:""};this.shareholders.push(a)},delShareholder:function(e,t){this.shareholders.splice(e,1);var i=0;this.uploadList.forEach((function(e,r){e.title==t&&(i=r)})),this.uploadList.splice(i,1)},getViewUrl:function(){var e=this;this.uploadList.forEach((function(t){t.title in e.fileViewObj?e.fileViewObj[t.title]=t:e.shareholders.push(t)}))},fileUploadCache:function(){var e=JSON.parse(JSON.stringify(this.uploadList));this.allInfo.regInfo={uploadList:e},this.cacheData()},getCmpContactInfo:function(){var e=JSON.parse(JSON.stringify(this.cmpContactInfo));this.allInfo.cmpContactInfo=e,this.cacheData()},cacheData:function(){var e={};e.deliverNumber=this.bizCode,e.cacheInfo=this.allInfo,Object(u["b"])(e).then((function(e){console.log("cacheData result:",JSON.stringify(e))})).catch((function(e){console.log("cacheData result:",JSON.stringify(e))})),this.$Message.success("暂存成功!")},getCacheData:function(){var e=this,t={};t.deliverNumber=this.bizCode,Object(u["l"])(t).then((function(t){console.log("getCacheData result:",JSON.stringify(t));var i=t.data.data.statusInfo;if(i.createdTime){var r=JSON.stringify(e.sourceData);e.sourceData=JSON.parse(r),e.sourceData[0].content=i.createdTime}var a=t.data.data.cacheInfo;a&&(e.allInfo=JSON.parse(JSON.stringify(a)),a.cmpDeliverInfo&&(a.cmpDeliverInfo=e.dictKey2Value(a.cmpDeliverInfo),e.replaceCaseProp(e.cmpDeliverInfo,a.cmpDeliverInfo)),a.contributionData&&null!==a.contributionData[0]&&(e.contributionData=a.contributionData),a.positionData&&(e.positionData=a.positionData),a.regInfo&&(e.uploadList=a.regInfo.uploadList,e.getViewUrl()),a.cmpContactInfo&&(e.cmpContactInfo=a.cmpContactInfo))})).catch((function(e){console.log("getCacheData result:",JSON.stringify(e))}))},getAllFormInfo:function(){var e=this;this.$refs.cmpDeliverInfo.validate((function(t){if(t){var i=e.contributionInfoVerified();if(i){var r=e.positionInfoVerified();if(r){var a=e.fileViewObjVerified();a&&e.$refs.cmpContactInfo.validate((function(t){if(t){var i={};i.deliverNumber=e.bizCode;var r=JSON.parse(JSON.stringify(e.cmpDeliverInfo));r=e.dictValue2Key(r);var a=r.spareNames.map((function(e){if(e){var t=e.value;return t}}));r.spareName=[r.spareName1].concat(Object(o["a"])(a)),i.companyInfo=r,i.registeredInfo={registeredCapital:r.registeredCapital,registeredDate:r.registeredDate,reserveProportion:r.reserveProportion};var n=e.contributionData,s=n.filter((function(e){if("--"!==e.hareholderName)return e}));i.contributionInfo={contributionData:s};var l=e.positionData,c=l.filter((function(e){if("--"!==e.hareholderName)return e}));i.positionInfo={positionData:c},i.regInfo={uploadList:e.uploadList},i.contactsInfo=e.cmpContactInfo,e.allInfo={cmpDeliverInfo:r,contributionData:n,positionData:l,regInfo:{uploadList:e.uploadList},cmpContactInfo:e.cmpContactInfo},e.cacheData(),Object(u["s"])(i).then((function(e){console.log("submitAllDeliverInfo result:",JSON.stringify(e))})).catch((function(e){console.log("submitAllDeliverInfo result:",JSON.stringify(e))})),e.$Message.success("提交成功!3秒后跳转到服务单列表页"),setTimeout((function(){e.$router.push({name:"myDeliver"})}),3e3)}}))}}}}))},contributionInfoVerified:function(){for(var e=this.contributionData,t=/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/,i=0;i<e.length;i++){var r=e[i];if(""==r.hareholderName||"--"==r.hareholderName)return this.$Message.error("出资比例第"+(i+1)+"行,法人 / 自然人股东姓名不能为空"),!1;if(r.contributionAmount<=0)return this.$Message.error("出资比例第"+(i+1)+"行,出资金额不能为空"),!1;if(r.contributionProportion<=0)return this.$Message.error("出资比例第"+(i+1)+"行,出资比例不能为空"),!1;if(""==r.IdentificationNumber||"--"==r.IdentificationNumber)return this.$Message.error("出资比例第"+(i+1)+"行,证件号码不能为空"),!1;if(r.IdentificationNumber&&!t.test(r.IdentificationNumber))return this.$Message.error("出资比例第"+(i+1)+"行,证件号码格式错误"),!1;if(""==r.phoneNumber||"--"==r.phoneNumber)return this.$Message.error("出资比例第"+(i+1)+"行,联系电话/手机不能为空"),!1;if(""==r.contactAddress||"--"==r.contactAddress)return this.$Message.error("出资比例第"+(i+1)+"行,身份证住址不能为空"),!1}return!0},positionInfoVerified:function(){for(var e=this.positionData,t=/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/,i=0;i<e.length;i++){var r=e[i];if(""==r.functionInfo||"--"==r.functionInfo)return this.$Message.error("任职信息第"+(i+1)+"行,职务信息不能为空"),!1;if(""==r.persionName||"--"==r.persionName)return this.$Message.error("任职信息第"+(i+1)+"行,姓名不能为空"),!1;if(""==r.mobilePhone||"--"==r.mobilePhone)return this.$Message.error("任职信息第"+(i+1)+"行,手机号码不能为空"),!1;if(""==r.fixedPhone||"--"==r.fixedPhone)return this.$Message.error("任职信息第"+(i+1)+"行,固话不能为空"),!1;if(""==r.houseAddress||"--"==r.houseAddress)return this.$Message.error("任职信息第"+(i+1)+"行,身份证住址不能为空"),!1;if(""==r.mailboxInfo||"--"==r.mailboxInfo)return this.$Message.error("任职信息第"+(i+1)+"行,邮箱不能为空"),!1;if(r.mailboxInfo&&!t.test(r.mailboxInfo))return this.$Message.error("任职信息第"+(i+1)+"行,邮箱格式错误"),!1}return!0},fileViewObjVerified:function(){var e=this.uploadList,t=this.fileViewObj;for(var i in t){for(var r=!1,a=0;a<e.length;a++){var o=e[a];o.title==i&&(r=!0)}if(!r)return this.$Message.error("注册文件"+i+"不能为空"),!1}return!0},getUserInfo:function(){var e=this.$store.state.user.userobj;this.userName=e.userName,this.userMobile=e.userMobile},dictKey2Value:function(e){return e.serviceArea&&(e.serviceArea=c["a"].registeredParkDict[e.serviceArea]),e.companyProperties&&(e.companyProperties=c["a"].registeredTypeDict[e.companyProperties]),e.isWhether&&(e.isWhether=c["a"].SealSevCaseDict[e.isWhether]),e.financial&&(e.financial=c["a"].financialDict[e.financial]),e},dictValue2Key:function(e){if(e.serviceArea)for(var t in c["a"].registeredParkDict)c["a"].registeredParkDict[t]===e.serviceArea&&(e.serviceArea=t);if(e.companyProperties)for(var i in c["a"].registeredTypeDict)c["a"].registeredTypeDict[i]===e.companyProperties&&(e.companyProperties=i);if(e.isWhether)for(var r in c["a"].SealSevCaseDict)c["a"].SealSevCaseDict[r]===e.isWhether&&(e.isWhether=r);if(e.financial)for(var a in c["a"].financialDict)c["a"].financialDict[a]===e.financial&&(e.financial=a);return e},replaceCaseProp:function(e,t){for(var i in e)for(var r in t)r==i&&(e[i]=t[r])}},created:function(){this.bizType=this.$route.query.bizType,this.bizCode=this.$route.query.bizCode},mounted:function(){var e=this;this.getSourceData(),this.getUserInfo(),this.addContributionData(),this.addPositionData(),this.$nextTick((function(){e.getCacheData()}))},watch:{"cmpDeliverInfo.engagedIndustry":function(e,t){this.cmpDeliverInfo.businessScope=c["a"].businessScopeDict[e]}}},f=d,m=(i("989b"),i("9ca4")),v=Object(m["a"])(f,r,a,!1,null,"160c7e2d",null);t["default"]=v.exports},"989b":function(e,t,i){"use strict";var r=i("9d6d"),a=i.n(r);a.a},"9d6d":function(e,t,i){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7dc6d142"],{"93c6":function(e,t,i){"use strict";i.r(t);var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"deliverCase"},[i("div",{staticStyle:{"background-color":"white",padding:"10px 0.25em 2ex 1%"}},[e._m(0),i("div",[i("customSteps",{attrs:{datasouce:e.sourceData,indirector:e.sourceDataIndex}})],1),i("Divider"),i("div",[e._m(1),i("div",[i("Form",{ref:"cmpDeliverInfo",staticStyle:{width:"100%"},attrs:{model:e.cmpDeliverInfo,rules:e.cmpDeliverInfoRules,"label-position":"left","label-width":110}},[i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"公司名称 :",prop:"companyName"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入客户公司名称"},model:{value:e.cmpDeliverInfo.companyName,callback:function(t){e.$set(e.cmpDeliverInfo,"companyName",t)},expression:"cmpDeliverInfo.companyName"}})],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"备选名称 :",prop:"spareName1"}},[i("div",[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入公司备选名称"},model:{value:e.cmpDeliverInfo.spareName1,callback:function(t){e.$set(e.cmpDeliverInfo,"spareName1",t)},expression:"cmpDeliverInfo.spareName1"}}),i("Button",{on:{click:e.handleAdd}},[e._v("+")])],1),e._l(e.cmpDeliverInfo.spareNames,(function(t,r){return i("div",{key:r},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入公司备选名称",prop:"spareName"+r},model:{value:e.cmpDeliverInfo.spareNames[r].value,callback:function(t){e.$set(e.cmpDeliverInfo.spareNames[r],"value",t)},expression:"cmpDeliverInfo.spareNames[idx].value"}}),i("Button",{on:{click:function(t){return e.handleRemove(r)}}},[e._v("-")])],1)}))],2)],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"纳税人类型 :",prop:"taxpayerType"}},[i("span",[e._v(e._s(e.cmpDeliverInfo.taxpayerType))])])],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"公司性质 :",prop:"companyProperties"}},[i("span",[e._v(e._s(e.cmpDeliverInfo.companyProperties))])])],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"地址类型 :",prop:"addressType"}},[i("span",[e._v(e._s(e.cmpDeliverInfo.addressType))])])],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"注册地区 :",prop:"serviceArea"}},[i("span",[e._v(e._s(e.cmpDeliverInfo.serviceArea))])])],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"注册详细地址 :",prop:"fullAddress"}},[i("Input",{staticStyle:{width:"80%"},attrs:{placeholder:"请输入"},model:{value:e.cmpDeliverInfo.fullAddress,callback:function(t){e.$set(e.cmpDeliverInfo,"fullAddress",t)},expression:"cmpDeliverInfo.fullAddress"}})],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"经营期限 :",prop:"operatingPeriod"}},[i("Input",{staticStyle:{width:"80%"},attrs:{placeholder:"请输入公司经营期限"},model:{value:e.cmpDeliverInfo.operatingPeriod,callback:function(t){e.$set(e.cmpDeliverInfo,"operatingPeriod",t)},expression:"cmpDeliverInfo.operatingPeriod"}})],1)],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"注册资本 :",prop:"registeredCapital"}},[i("InputNumber",{attrs:{placeholder:"请输入公司注册资本"},model:{value:e.cmpDeliverInfo.registeredCapital,callback:function(t){e.$set(e.cmpDeliverInfo,"registeredCapital",t)},expression:"cmpDeliverInfo.registeredCapital"}}),i("span",[e._v("   万元")])],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"注册资本实缴日期 :",prop:"registeredDate"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"date",placeholder:"年/月/日"},model:{value:e.cmpDeliverInfo.registeredDate,callback:function(t){e.$set(e.cmpDeliverInfo,"registeredDate",t)},expression:"cmpDeliverInfo.registeredDate"}})],1)],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"公积金缴存比例(%):",prop:"reserveProportion"}},[i("InputNumber",{attrs:{placeholder:"请输入数字"},model:{value:e.cmpDeliverInfo.reserveProportion,callback:function(t){e.$set(e.cmpDeliverInfo,"reserveProportion",t)},expression:"cmpDeliverInfo.reserveProportion"}})],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"所属行业 :",prop:"engagedIndustry"}},[i("span",{staticStyle:{width:"80%"}},[e._v(e._s(e.cmpDeliverInfo.engagedIndustry))])])],1)],1),i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"经营范围:",prop:"businessScope"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"textarea",rows:6,placeholder:"请输入公司经营范围,以;隔开"},model:{value:e.cmpDeliverInfo.businessScope,callback:function(t){e.$set(e.cmpDeliverInfo,"businessScope",t)},expression:"cmpDeliverInfo.businessScope"}})],1)],1)],1)],1)],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getCmpDeliverInfo}},[e._v("暂存")])],1)]),i("Divider"),i("div",[e._m(2),i("div",[i("VTable",{staticStyle:{width:"100%"},attrs:{"is-horizontal-resize":"",columns:e.contributionInfo,"table-data":e.contributionData,"row-hover-color":"#eee","row-click-color":"#edf7ff","cell-edit-done":e.contributionCallback}})],1),i("div",[i("Button",{staticStyle:{float:"left","margin-left":"50%","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.addContributionData}},[e._v("新增股东")])],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getContributionInfo}},[e._v("暂存")])],1)]),i("Divider"),i("div",[e._m(3),i("div",[i("VTable",{staticStyle:{width:"100%"},attrs:{"is-horizontal-resize":"",columns:e.positionInfo,"table-data":e.positionData,"row-hover-color":"#eee","row-click-color":"#edf7ff","cell-edit-done":e.positionCallback}})],1),i("div",[i("Button",{staticStyle:{float:"left","margin-left":"50%","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.addPositionData}},[e._v("新增任职信息")])],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getPositionInfo}},[e._v("暂存")])],1)]),i("Divider"),i("div",[i("div",{staticStyle:{display:"flex"}},[e._m(4),i("div",[i("Button",{staticStyle:{"margin-left":"20px","margin-top":"2px"},attrs:{size:"large",type:"primary"},on:{click:e.addShareholder}},[e._v("新增自然人股东信息")])],1)]),i("div",[i("Row",[i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"产权证",viewUrl:e.fileViewObj["产权证"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"法人股东证件",viewUrl:e.fileViewObj["法人股东证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"执行董事证件",viewUrl:e.fileViewObj["执行董事证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"经理证件",viewUrl:e.fileViewObj["经理证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"监事证件",viewUrl:e.fileViewObj["监事证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"购票人",viewUrl:e.fileViewObj["购票人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1)],1),i("Row",[i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"办税人",viewUrl:e.fileViewObj["办税人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"财务负责人",viewUrl:e.fileViewObj["财务负责人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"秘书联系人",viewUrl:e.fileViewObj["秘书联系人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"社保缴费经办人证件",viewUrl:e.fileViewObj["社保缴费经办人证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"公积金缴费经办人",viewUrl:e.fileViewObj["公积金缴费经办人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:"自然人股东证件",viewUrl:e.fileViewObj["自然人股东证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1)],1),i("Row",e._l(e.shareholders,(function(t,r){return i("div",{key:t.title},[i("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[i("fileUpload",{attrs:{title:t.title,viewUrl:t.viewUrl,showDelBtn:!0,idx:r},on:{onResUrl:e.onResUrl,onReupload:e.onReupload,delShareholder:e.delShareholder}})],1)],1)})),0)],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.fileUploadCache}},[e._v("暂存")])],1)]),i("Divider"),i("div",[e._m(5),i("div",[i("Form",{ref:"cmpContactInfo",staticStyle:{width:"100%"},attrs:{model:e.cmpContactInfo,rules:e.cmpContactInfoRules,"label-position":"left","label-width":100}},[i("Row",[i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"联系人姓名 :",prop:"contactsName"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text"},model:{value:e.cmpContactInfo.contactsName,callback:function(t){e.$set(e.cmpContactInfo,"contactsName",t)},expression:"cmpContactInfo.contactsName"}})],1)],1),i("Col",{attrs:{span:"12"}},[i("FormItem",{attrs:{label:"联系人电话 :",prop:"contactsPhone"}},[i("Input",{staticStyle:{width:"80%"},attrs:{type:"text"},model:{value:e.cmpContactInfo.contactsPhone,callback:function(t){e.$set(e.cmpContactInfo,"contactsPhone",t)},expression:"cmpContactInfo.contactsPhone"}})],1)],1)],1)],1)],1),i("div",[i("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getCmpContactInfo}},[e._v("暂存")])],1)]),i("Divider")],1),i("div",{attrs:{id:"bottom"}},[i("div",[i("span",[e._v("业务顾问:")]),e._v("  \n "),i("span",[e._v(e._s(e.userName))]),e._v("  \n "),i("span",[e._v(e._s(e.userMobile))]),e._v("\n   \n "),i("Button",{attrs:{size:"large",type:"primary"},on:{click:function(t){e.showTipModal=!0}}},[e._v("提交交付信息")])],1)]),i("div",[i("Modal",{attrs:{title:"提交交付信息"},on:{"on-ok":e.getAllFormInfo},model:{value:e.showTipModal,callback:function(t){e.showTipModal=t},expression:"showTipModal"}},[i("p",[e._v("提交后将无法修改,请确认填写信息后提交,是否继续提交?")])])],1)])},a=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("交付流程")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("公司注册信息")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("出资比例")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("任职信息")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("注册文件")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h3",[e._v("订单联系人信息")])])}],o=(i("9a33"),i("6d57"),i("e292")),n=i("8ae1"),s=i("36fa"),l=i("db7f"),c=i("65f4"),p=i("7e1e"),d={name:"cmpbizdelivercase",data:function(){var e=function(e,t,i){""===t?i(new Error("联系人电话不能为空")):i()};return{bizType:"",bizCode:"",userName:"",userMobile:"",sourceData:[],sourceDataIndex:1,allInfo:{},showTipModal:!1,cmpDeliverInfo:{companyName:"",spareName:[],spareName1:"",spareNames:[],taxpayerType:"",companyProperties:"",addressType:"",serviceArea:"",fullAddress:"",engagedIndustry:"",operatingPeriod:"",registeredCapital:0,registeredDate:"",reserveProportion:0,businessScope:""},cmpDeliverInfoRules:{companyName:[{required:!0,message:"公司名称不能为空",trigger:"blur"}],spareName1:[{required:!0,message:"备选名称不能为空",trigger:"blur"}],taxpayerType:[{required:!0,message:"纳税人类型不能为空",trigger:"blur"}],companyProperties:[{required:!0,message:"公司性质不能为空",trigger:"blur"}],addressType:[{required:!0,message:"地址类型不能为空",trigger:"blur"}],serviceArea:[{required:!0,message:"注册地区不能为空",trigger:"blur"}],fullAddress:[{required:!0,message:"注册详细地址不能为空",trigger:"blur"}],engagedIndustry:[{required:!0,message:"所属行业不能为空",trigger:"blur"}],operatingPeriod:[{required:!0,message:"经营期限不能为空",trigger:"blur"}],registeredCapital:[{required:!0,type:"number",min:1,message:"注册资本不能为空",trigger:"blur"}],registeredDate:[{required:!0,message:"注册资本实缴日期不能为空",trigger:"blur"}],reserveProportion:[{required:!0,type:"number",min:1,message:"公积金缴存比例不能为空",trigger:"blur"}],businessScope:[{required:!0,message:"经营范围不能为空",trigger:"blur"}]},contributionData:[],contributionInfo:[{field:"hareholderName",title:"法人 / 自然人股东姓名",width:80,titleAlign:"center",columnAlign:"center",isEdit:!0,formatter:function(e,t,i,r){return"<span class='cell-edit-color'>".concat(e[r],"</span>")},isResize:!0},{field:"contributionAmount",title:"出资金额(万元)",width:40,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"contributionProportion",title:"出资比例(%)",width:40,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"IdentificationNumber",title:"证件号码",width:200,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"phoneNumber",title:"联系电话/手机",width:180,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"contactAddress",title:"身份证住址",width:200,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0}],positionData:[],positionInfo:[{field:"functionInfo",title:"职务信息",width:80,titleAlign:"center",columnAlign:"center",isEdit:!0,formatter:function(e,t,i,r){return"<span class='cell-edit-color'>".concat(e[r],"</span>")},isResize:!0},{field:"persionName",title:"姓名",width:40,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"mobilePhone",title:"手机",width:180,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"fixedPhone",title:"固话",width:180,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"houseAddress",title:"身份证住址",width:200,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"mailboxInfo",title:"邮箱",width:100,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0}],uploadList:[],fileViewObj:{"产权证":{viewUrl:""},"法人股东证件":{viewUrl:""},"自然人股东证件":{viewUrl:""},"执行董事证件":{viewUrl:""},"经理证件":{viewUrl:""},"监事证件":{viewUrl:""},"购票人":{viewUrl:""},"办税人":{viewUrl:""},"财务负责人":{viewUrl:""},"秘书联系人":{viewUrl:""},"社保缴费经办人证件":{viewUrl:""},"公积金缴费经办人":{viewUrl:""}},shareholders:[],cmpContactInfo:{contactsName:"",contactsPhone:""},cmpContactInfoRules:{contactsName:[{required:!0,message:"联系人姓名不能为空",trigger:"blur"}],contactsPhone:[{required:!0,validator:e,trigger:"blur"}]},cmpExpressInfo:{trackingNumber:"",logisticsCompany:"",addresseeName:"",addresseePhone:"",addresseeEmail:"",addresseeAddress:"",expressStatus:""}}},components:{customSteps:n["a"],VTable:c["VTable"],fileUpload:s["a"]},computed:{cmpInfo:function(){var e=this.bizType;return this.infos[e]},taxpayerTypes:function(){var e=l["a"].TaxpayerTypeDict,t=this.obj2arr(e);return t},companyProperties:function(){var e=l["a"].companyNatureDict,t=this.obj2arr(e);return t},addressTypes:function(){var e=l["a"].addressTypeDict,t=this.obj2arr(e);return t},serviceAreas:function(){var e=l["a"].registeredAreaDict,t=this.obj2arr(e);return t},engagedIndustrys:function(){var e=l["a"].engagedIndustryDict,t=this.obj2arr(e);return t},expressStatuss:function(){var e=l["a"].expressStatusDict,t=this.obj2arr(e);return t}},methods:{getSourceData:function(){var e=l["a"].diliverCaseSteps1;this.sourceData=e},obj2arr:function(e){var t=[];for(var i in e){var r={};r.value=i,r.label=e[i],t.push(r)}return t},handleAdd:function(){console.log(JSON.stringify(this.cmpDeliverInfo.spareNames)),this.cmpDeliverInfo.spareNames.push({value:"",status:1})},handleRemove:function(e){this.cmpDeliverInfo.spareNames.splice(e,1)},getCmpDeliverInfo:function(){var e=JSON.parse(JSON.stringify(this.cmpDeliverInfo));e=this.dictValue2Key(e);var t=e.spareNames.map((function(e){if(e){var t=e.value;return t}}));e.spareName=[e.spareName1].concat(Object(o["a"])(t)),this.allInfo.cmpDeliverInfo=e,this.cacheData()},getContributionInfo:function(){var e=JSON.parse(JSON.stringify(this.contributionData)),t=e.filter((function(e){if("--"!==e.hareholderName)return e}));this.allInfo.contributionData=t,this.cacheData()},getPositionInfo:function(){var e=JSON.parse(JSON.stringify(this.positionData)),t=e.filter((function(e){if("--"!==e.functionInfo)return e}));this.allInfo.positionData=t,this.cacheData()},contributionCallback:function(e,t,i,r,a){this.contributionData[i][a]=e,console.log("表格发生了修改:",JSON.stringify(this.contributionData))},addContributionData:function(){this.contributionData.push({hareholderName:"--",contributionAmount:0,contributionProportion:0,IdentificationNumber:"--",phoneNumber:"--",contactAddress:"--"})},positionCallback:function(e,t,i,r,a){this.positionData[i][a]=e,console.log("表格发生了修改:",JSON.stringify(this.positionData))},addPositionData:function(){this.positionData.push({functionInfo:"--",persionName:"--",mobilePhone:"--",fixedPhone:"--",houseAddress:"--",mailboxInfo:"--"})},onResUrl:function(e){var t=this.uploadList;t.push(e)},onReupload:function(e){var t=this,i=[];this.uploadList.forEach((function(r){if(r.title==e.title)return t.fileViewObj[r.title]&&(t.fileViewObj[r.title].viewUrl=""),void t.shareholders.forEach((function(e){e.title==r.title&&(e.viewUrl="")}));i.push(r)})),this.uploadList=i},addShareholder:function(){var e=this.shareholders.length,t="自然人股东证件";if(0==e)t+=e+1;else{var i=this.shareholders[e-1].title,r=parseInt(i.split(/自然人股东证件/)[1]);t+=r+1}var a={title:t,viewUrl:""};this.shareholders.push(a)},delShareholder:function(e,t){console.log("-0-1: ",JSON.stringify(this.shareholders)),this.shareholders.splice(e,1);var i=0;this.uploadList.forEach((function(e,r){e.title==t&&(i=r)})),this.uploadList.splice(i,1),console.log("-0-2: ",JSON.stringify(this.shareholders))},getViewUrl:function(){var e=this;this.uploadList.forEach((function(t){t.title in e.fileViewObj?e.fileViewObj[t.title]=t:e.shareholders.push(t)}))},fileUploadCache:function(){var e=JSON.parse(JSON.stringify(this.uploadList));this.allInfo.regInfo={uploadList:e},this.cacheData()},getCmpContactInfo:function(){var e=JSON.parse(JSON.stringify(this.cmpContactInfo));this.allInfo.cmpContactInfo=e,this.cacheData()},cacheData:function(){var e={};e.deliverNumber=this.bizCode,e.cacheInfo=this.allInfo,Object(p["b"])(e).then((function(e){console.log("cacheData result:",JSON.stringify(e))})).catch((function(e){console.log("cacheData result:",JSON.stringify(e))})),this.$Message.success("暂存成功!")},getCacheData:function(){var e=this,t={};t.deliverNumber=this.bizCode,Object(p["l"])(t).then((function(t){console.log("getCacheData result:",JSON.stringify(t));var i=t.data.data.statusInfo;if(i.createdTime){var r=JSON.stringify(e.sourceData);e.sourceData=JSON.parse(r),e.sourceData[0].content=i.createdTime}var a=t.data.data.cacheInfo;a&&(e.allInfo=JSON.parse(JSON.stringify(a)),a.cmpDeliverInfo&&(a.cmpDeliverInfo=e.dictKey2Value(a.cmpDeliverInfo),e.replaceCaseProp(e.cmpDeliverInfo,a.cmpDeliverInfo)),a.contributionData&&null!==a.contributionData[0]&&(e.contributionData=a.contributionData),a.positionData&&(e.positionData=a.positionData),a.regInfo&&(e.uploadList=a.regInfo.uploadList,e.getViewUrl()),a.cmpContactInfo&&(e.cmpContactInfo=a.cmpContactInfo))})).catch((function(e){console.log("getCacheData result:",JSON.stringify(e))}))},getAllFormInfo:function(){var e=this;this.$refs.cmpDeliverInfo.validate((function(t){if(t){var i=e.contributionInfoVerified();if(i){var r=e.positionInfoVerified();if(r){var a=e.fileViewObjVerified();a&&e.$refs.cmpContactInfo.validate((function(t){if(t){var i={};i.deliverNumber=e.bizCode;var r=JSON.parse(JSON.stringify(e.cmpDeliverInfo));r=e.dictValue2Key(r);var a=r.spareNames.map((function(e){if(e){var t=e.value;return t}}));r.spareName=[r.spareName1].concat(Object(o["a"])(a)),i.companyInfo=r,i.registeredInfo={registeredCapital:r.registeredCapital,registeredDate:r.registeredDate,reserveProportion:r.reserveProportion};var n=e.contributionData,s=n.filter((function(e){if("--"!==e.hareholderName)return e}));i.contributionInfo={contributionData:s};var l=e.positionData,c=l.filter((function(e){if("--"!==e.hareholderName)return e}));i.positionInfo={positionData:c},i.regInfo={uploadList:e.uploadList},i.contactsInfo=e.cmpContactInfo,e.allInfo={cmpDeliverInfo:r,contributionData:n,positionData:l,regInfo:{uploadList:e.uploadList},cmpContactInfo:e.cmpContactInfo},e.cacheData(),Object(p["s"])(i).then((function(e){console.log("submitAllDeliverInfo result:",JSON.stringify(e))})).catch((function(e){console.log("submitAllDeliverInfo result:",JSON.stringify(e))})),e.$Message.success("提交成功!3秒后跳转到服务单列表页"),setTimeout((function(){e.$router.push({name:"myDeliver"})}),3e3)}}))}}}}))},contributionInfoVerified:function(){for(var e=this.contributionData,t=/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/,i=0;i<e.length;i++){var r=e[i];if(""==r.hareholderName||"--"==r.hareholderName)return this.$Message.error("出资比例第"+(i+1)+"行,法人 / 自然人股东姓名不能为空"),!1;if(r.contributionAmount<=0)return this.$Message.error("出资比例第"+(i+1)+"行,出资金额不能为空"),!1;if(r.contributionProportion<=0)return this.$Message.error("出资比例第"+(i+1)+"行,出资比例不能为空"),!1;if(""==r.IdentificationNumber||"--"==r.IdentificationNumber)return this.$Message.error("出资比例第"+(i+1)+"行,证件号码不能为空"),!1;if(r.IdentificationNumber&&!t.test(r.IdentificationNumber))return this.$Message.error("出资比例第"+(i+1)+"行,证件号码格式错误"),!1;if(""==r.phoneNumber||"--"==r.phoneNumber)return this.$Message.error("出资比例第"+(i+1)+"行,联系电话/手机不能为空"),!1;if(""==r.contactAddress||"--"==r.contactAddress)return this.$Message.error("出资比例第"+(i+1)+"行,身份证住址不能为空"),!1}return!0},positionInfoVerified:function(){for(var e=this.positionData,t=/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/,i=0;i<e.length;i++){var r=e[i];if(""==r.functionInfo||"--"==r.functionInfo)return this.$Message.error("任职信息第"+(i+1)+"行,职务信息不能为空"),!1;if(""==r.persionName||"--"==r.persionName)return this.$Message.error("任职信息第"+(i+1)+"行,姓名不能为空"),!1;if(""==r.mobilePhone||"--"==r.mobilePhone)return this.$Message.error("任职信息第"+(i+1)+"行,手机号码不能为空"),!1;if(""==r.fixedPhone||"--"==r.fixedPhone)return this.$Message.error("任职信息第"+(i+1)+"行,固话不能为空"),!1;if(""==r.houseAddress||"--"==r.houseAddress)return this.$Message.error("任职信息第"+(i+1)+"行,身份证住址不能为空"),!1;if(""==r.mailboxInfo||"--"==r.mailboxInfo)return this.$Message.error("任职信息第"+(i+1)+"行,邮箱不能为空"),!1;if(r.mailboxInfo&&!t.test(r.mailboxInfo))return this.$Message.error("任职信息第"+(i+1)+"行,邮箱格式错误"),!1}return!0},fileViewObjVerified:function(){var e=this.uploadList,t=this.fileViewObj;for(var i in t){for(var r=!1,a=0;a<e.length;a++){var o=e[a];o.title==i&&(r=!0)}if(!r)return this.$Message.error("注册文件"+i+"不能为空"),!1}return!0},getUserInfo:function(){var e=this.$store.state.user.userobj;this.userName=e.userName,this.userMobile=e.userMobile},dictKey2Value:function(e){return e.taxpayerType&&(e.taxpayerType=l["a"].TaxpayerTypeDict[e.taxpayerType]),e.companyProperties&&(e.companyProperties=l["a"].companyNatureDict[e.companyProperties]),e.addressType&&(e.addressType=l["a"].addressTypeDict[e.addressType]),e.serviceArea&&(e.serviceArea=l["a"].registeredAreaDict[e.serviceArea]),e.engagedIndustry&&(e.engagedIndustry=l["a"].engagedIndustryDict[e.engagedIndustry]),e},dictValue2Key:function(e){if(e.taxpayerType)for(var t in l["a"].TaxpayerTypeDict)l["a"].TaxpayerTypeDict[t]===e.taxpayerType&&(e.taxpayerType=t);if(e.companyProperties)for(var i in l["a"].companyNatureDict)l["a"].companyNatureDict[i]===e.companyProperties&&(e.companyProperties=i);if(e.addressType)for(var r in l["a"].addressTypeDict)l["a"].addressTypeDict[r]===e.addressType&&(e.addressType=r);if(e.serviceArea)for(var a in l["a"].registeredAreaDict)l["a"].registeredAreaDict[a]===e.serviceArea&&(e.serviceArea=a);if(e.engagedIndustry)for(var o in l["a"].engagedIndustryDict)l["a"].engagedIndustryDict[o]===e.engagedIndustry&&(e.engagedIndustry=o);return e},replaceCaseProp:function(e,t){for(var i in e)for(var r in t)r==i&&(e[i]=t[r])}},created:function(){this.bizType=this.$route.query.bizType,this.bizCode=this.$route.query.bizCode},mounted:function(){var e=this;this.getSourceData(),this.getUserInfo(),this.addContributionData(),this.addPositionData(),this.$nextTick((function(){e.getCacheData()}))},watch:{}},u=d,f=(i("9fc3"),i("9ca4")),m=Object(f["a"])(u,r,a,!1,null,"197e0440",null);t["default"]=m.exports},"9fc3":function(e,t,i){"use strict";var r=i("d3b3"),a=i.n(r);a.a},d3b3:function(e,t,i){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b07d3c52"],{3561:function(e,t,r){"use strict";var a=r("b04a"),o=r.n(a);o.a},"83c8":function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticStyle:{"background-color":"white",padding:"10px 0.25em 2ex 1%"}},[e._m(0),r("div",[r("customSteps",{attrs:{datasouce:e.sourceData,indirector:e.sourceDataIndex}})],1),r("Divider"),r("div",[e._m(1),r("div",[r("Form",{ref:"psDeliverInfo",staticStyle:{width:"100%"},attrs:{model:e.psDeliverInfo,rules:e.psDeliverInfoRules,"label-position":"left","label-width":100}},[r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"个体商户名称 :",prop:"companyName"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入个体商户名称"},model:{value:e.psDeliverInfo.companyName,callback:function(t){e.$set(e.psDeliverInfo,"companyName",t)},expression:"psDeliverInfo.companyName"}})],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"备选名称 :",prop:"spareName1"}},[r("div",[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入个体商户备选名称"},model:{value:e.psDeliverInfo.spareName1,callback:function(t){e.$set(e.psDeliverInfo,"spareName1",t)},expression:"psDeliverInfo.spareName1"}}),r("Button",{on:{click:e.handleAdd}},[e._v("+")])],1),e._l(e.psDeliverInfo.spareNames,(function(t,a){return r("div",{key:a},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入个体商户备选名称",prop:"spareName"+a},model:{value:e.psDeliverInfo.spareNames[a].value,callback:function(t){e.$set(e.psDeliverInfo.spareNames[a],"value",t)},expression:"psDeliverInfo.spareNames[idx].value"}}),r("Button",{on:{click:function(t){return e.handleRemove(a)}}},[e._v("-")])],1)}))],2)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"企业类型 :",prop:"companyProperties"}},[r("span",[e._v(e._s(e.psDeliverInfo.companyProperties))])])],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"纳税人类型 :",prop:"taxpayerType"}},[r("Select",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择"},model:{value:e.psDeliverInfo.taxpayerType,callback:function(t){e.$set(e.psDeliverInfo,"taxpayerType",t)},expression:"psDeliverInfo.taxpayerType"}},e._l(e.taxpayerTypes,(function(t){return r("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1)],1)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"注册园区 :",prop:"serviceArea"}},[r("span",[e._v(e._s(e.psDeliverInfo.serviceArea))])])],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"注册资本 :",prop:"registeredCapital"}},[r("InputNumber",{attrs:{placeholder:"请输入公司注册资本"},model:{value:e.psDeliverInfo.registeredCapital,callback:function(t){e.$set(e.psDeliverInfo,"registeredCapital",t)},expression:"psDeliverInfo.registeredCapital"}}),r("span",[e._v("   万元")])],1)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"所属行业 :",prop:"engagedIndustry"}},[r("Select",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择"},model:{value:e.psDeliverInfo.engagedIndustry,callback:function(t){e.$set(e.psDeliverInfo,"engagedIndustry",t)},expression:"psDeliverInfo.engagedIndustry"}},e._l(e.engagedIndustrys,(function(t){return r("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1)],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"经营范围:",prop:"businessScope"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"textarea",rows:6,placeholder:"请输入公司经营范围,以;隔开"},model:{value:e.psDeliverInfo.businessScope,callback:function(t){e.$set(e.psDeliverInfo,"businessScope",t)},expression:"psDeliverInfo.businessScope"}})],1)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"刻章服务:",prop:"isWhether"}},[r("span",[e._v(e._s(e.psDeliverInfo.isWhether))])])],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"财税服务:",prop:"financial"}},[r("span",[e._v(e._s(e.psDeliverInfo.financial))])])],1)],1)],1)],1),r("div",[r("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getpsDeliverInfo}},[e._v("暂存")])],1)]),r("Divider"),r("div",[e._m(2),r("div",[r("Form",{ref:"operatorInfo",staticStyle:{width:"100%"},attrs:{model:e.operatorInfo,rules:e.operatorInfoRules,"label-position":"left","label-width":150}},[r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"经营者姓名 :",prop:"operatorName"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入经营者姓名"},model:{value:e.operatorInfo.operatorName,callback:function(t){e.$set(e.operatorInfo,"operatorName",t)},expression:"operatorInfo.operatorName"}})],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"经营者身份证号 :",prop:"IdentificationNumber"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入经营者身份证号"},model:{value:e.operatorInfo.IdentificationNumber,callback:function(t){e.$set(e.operatorInfo,"IdentificationNumber",t)},expression:"operatorInfo.IdentificationNumber"}})],1)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"经营者联系方式 :",prop:"phoneNumber"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入经营者联系方式"},model:{value:e.operatorInfo.phoneNumber,callback:function(t){e.$set(e.operatorInfo,"phoneNumber",t)},expression:"operatorInfo.phoneNumber"}})],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"经营者联系地址 :",prop:"contactAddress"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入经营者联系地址"},model:{value:e.operatorInfo.contactAddress,callback:function(t){e.$set(e.operatorInfo,"contactAddress",t)},expression:"operatorInfo.contactAddress"}})],1)],1)],1)],1)],1),r("div",[r("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getOperatorInfo}},[e._v("暂存")])],1)]),r("Divider"),r("div",[e._m(3),r("div",[r("Row",{staticStyle:{"margin-bottom":"20px"}},[r("Col",{attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"经营者身份证复印件",viewUrl:e.fileViewObj["经营者身份证复印件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1)],1)],1),r("div",[r("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.fileUploadCache}},[e._v("暂存")])],1)]),r("Divider"),r("div",[e._m(4),r("div",[r("Form",{ref:"cmpContactInfo",staticStyle:{width:"100%"},attrs:{model:e.cmpContactInfo,rules:e.cmpContactInfoRules,"label-position":"left","label-width":150}},[r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"联系人姓名 :",prop:"contactsName"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text"},model:{value:e.cmpContactInfo.contactsName,callback:function(t){e.$set(e.cmpContactInfo,"contactsName",t)},expression:"cmpContactInfo.contactsName"}})],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"联系人电话 :",prop:"contactsPhone"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text"},model:{value:e.cmpContactInfo.contactsPhone,callback:function(t){e.$set(e.cmpContactInfo,"contactsPhone",t)},expression:"cmpContactInfo.contactsPhone"}})],1)],1)],1)],1)],1),r("div",[r("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getCmpContactInfo}},[e._v("暂存")])],1)]),r("Divider")],1),r("div",{attrs:{id:"bottom"}},[r("div",[r("span",[e._v("业务顾问:")]),e._v("  \n "),r("span",[e._v(e._s(e.userName))]),e._v("  \n "),r("span",[e._v(e._s(e.userMobile))]),e._v("\n   \n "),r("Button",{attrs:{size:"large",type:"primary"},on:{click:function(t){e.showTipModal=!0}}},[e._v("提交交付信息")])],1)]),r("div",[r("Modal",{attrs:{title:"提交交付信息"},on:{"on-ok":e.getAllFormInfo},model:{value:e.showTipModal,callback:function(t){e.showTipModal=t},expression:"showTipModal"}},[r("p",[e._v("提交后将无法修改,请确认填写信息后提交。")])])],1)])},o=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("交付流程")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("云上园区注册信息")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("经营者信息")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("注册文件")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("订单联系人信息")])])}],i=(r("6d57"),r("e292")),n=r("8ae1"),s=r("36fa"),l=r("db7f"),c=r("7e1e"),p={name:"psdelivercase",data:function(){var e=function(e,t,r){var a=/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/;""===t?r(new Error("经营者身份证号不能为空")):a.test(t)?r():r(new Error("经营者身份证号格式错误"))},t=function(e,t,r){""===t?r(new Error("经营者联系方式不能为空")):r()},r=function(e,t,r){""===t?r(new Error("联系人电话不能为空")):r()};return{bizType:"",bizCode:"",userName:"",userMobile:"",sourceData:[],sourceDataIndex:1,allInfo:{},showTipModal:!1,psDeliverInfo:{companyName:"",spareName:[],spareName1:"",spareNames:[],taxpayerType:"",companyProperties:"",serviceArea:"",engagedIndustry:"",registeredCapital:0,businessScope:"",isWhether:"",financial:""},psDeliverInfoRules:{companyName:[{required:!0,message:"公司名称不能为空",trigger:"blur"}],spareName1:[{required:!0,message:"备选名称不能为空",trigger:"blur"}],companyProperties:[{required:!0,message:"企业类型不能为空",trigger:"blur"}],taxpayerType:[{required:!0,message:"纳税人类型不能为空",trigger:"blur"}],serviceArea:[{required:!0,message:"注册园区不能为空",trigger:"blur"}],registeredCapital:[{required:!0,type:"number",min:1,message:"注册资本不能为空",trigger:"blur"}],engagedIndustry:[{required:!0,message:"所属行业不能为空",trigger:"blur"}],businessScope:[{required:!0,message:"经营范围不能为空",trigger:"blur"}],isWhether:[{required:!0,message:"刻章服务不能为空",trigger:"blur"}],financial:[{required:!0,message:"财税服务不能为空",trigger:"blur"}]},operatorInfo:{operatorName:"",IdentificationNumber:"",phoneNumber:"",contactAddress:""},operatorInfoRules:{operatorName:[{required:!0,message:"经营者姓名不能为空",trigger:"blur"}],IdentificationNumber:[{required:!0,validator:e,trigger:"blur"}],phoneNumber:[{required:!0,validator:t,trigger:"blur"}],contactAddress:[{required:!0,message:"经营者联系地址不能为空",trigger:"blur"}]},uploadList:[],fileViewObj:{"经营者身份证复印件":{viewUrl:""}},cmpContactInfo:{contactsName:"",contactsPhone:""},cmpContactInfoRules:{contactsName:[{required:!0,message:"联系人姓名不能为空",trigger:"blur"}],contactsPhone:[{required:!0,validator:r,trigger:"blur"}]},cmpExpressInfo:{trackingNumber:"",logisticsCompany:"",addresseeName:"",addresseePhone:"",addresseeEmail:"",addresseeAddress:"",expressStatus:""}}},components:{customSteps:n["a"],fileUpload:s["a"]},computed:{cmpInfo:function(){var e=this.bizType;return this.infos[e]},taxpayerTypes:function(){var e=l["a"].TaxpayerTypeDict,t=this.obj2arr(e);return t},registeredTypes:function(){var e=l["a"].registeredTypeDict,t=this.obj2arr(e);return t},registeredParks:function(){var e=l["a"].registeredParkDict,t=this.obj2arr(e);return t},engagedIndustrys:function(){var e=l["a"].engagedIndustryDict,t=this.obj2arr(e);return t},expressStatuss:function(){var e=l["a"].expressStatusDict,t=this.obj2arr(e);return t},isWhethers:function(){var e=l["a"].SealSevCaseDict,t=this.obj2arr(e);return t}},methods:{getSourceData:function(){var e=l["a"].diliverCaseSteps2;this.sourceData=e},obj2arr:function(e){var t=[];for(var r in e){var a={};a.value=r,a.label=e[r],t.push(a)}return t},getpsDeliverInfo:function(){var e=this.psDeliverInfo,t=JSON.parse(JSON.stringify(e));t=this.dictValue2Key(t);var r=t.spareNames.map((function(e){if(e){var t=e.value;return t}}));t.spareName=[t.spareName1].concat(Object(i["a"])(r)),this.allInfo.cmpDeliverInfo=t,this.cacheData()},handleAdd:function(){this.psDeliverInfo.spareNames.push({value:"",status:1})},handleRemove:function(e){this.psDeliverInfo.spareNames.splice(e,1)},getOperatorInfo:function(){var e=JSON.parse(JSON.stringify(this.operatorInfo));this.allInfo.managerInfo=e,console.log("订单联系人暂存:"+JSON.stringify(this.allInfo)),this.cacheData()},onResUrl:function(e){var t=this.uploadList;t.push(e)},onReupload:function(e){var t=this,r=[];this.uploadList.forEach((function(a){a.title!=e.title?r.push(a):t.fileViewObj[a.title]&&(t.fileViewObj[a.title].viewUrl="")})),this.uploadList=r},getViewUrl:function(){var e=this;this.uploadList.forEach((function(t){e.fileViewObj[t.title]=t}))},fileUploadCache:function(){var e=JSON.parse(JSON.stringify(this.uploadList));this.allInfo.regInfo={uploadList:e},this.cacheData()},getCmpContactInfo:function(){var e=JSON.parse(JSON.stringify(this.cmpContactInfo));this.allInfo.cmpContactInfo=e,this.cacheData()},cacheData:function(){var e={};e.deliverNumber=this.bizCode,e.cacheInfo=this.allInfo,console.log("+++++++------++++++",JSON.stringify(this.allInfo)),Object(c["b"])(e).then((function(e){console.log("cacheData result:",JSON.stringify(e))})).catch((function(e){console.log("cacheData result:",JSON.stringify(e))})),this.$Message.success("暂存成功!")},getCacheData:function(){var e=this,t={};t.deliverNumber=this.bizCode,Object(c["l"])(t).then((function(t){console.log("getCacheData result:",JSON.stringify(t));var r=t.data.data.statusInfo;if(r.createdTime){var a=JSON.stringify(e.sourceData);e.sourceData=JSON.parse(a),e.sourceData[0].content=r.createdTime}var o=t.data.data.cacheInfo;o&&(e.allInfo=JSON.parse(JSON.stringify(o)),o.cmpDeliverInfo&&(o.cmpDeliverInfo=e.dictKey2Value(o.cmpDeliverInfo),e.replaceCaseProp(e.psDeliverInfo,o.cmpDeliverInfo)),o.managerInfo&&(e.operatorInfo=o.managerInfo),o.regInfo&&(e.uploadList=o.regInfo.uploadList,e.getViewUrl()),o.cmpContactInfo&&(e.cmpContactInfo=o.cmpContactInfo))})).catch((function(e){console.log("getCacheData result:",JSON.stringify(e))}))},getAllFormInfo:function(){var e=this;this.$refs.psDeliverInfo.validate((function(t){t&&e.$refs.operatorInfo.validate((function(t){if(t){var r=e.fileViewObjVerified();r&&e.$refs.cmpContactInfo.validate((function(t){if(t){var r={};r.deliverNumber=e.bizCode;var a=e.psDeliverInfo,o=JSON.parse(JSON.stringify(a));o=e.dictValue2Key(o);var n=o.spareNames.map((function(e){if(e){var t=e.value;return t}}));o.spareName=[o.spareName1].concat(Object(i["a"])(n)),r.companyInfo=o,r.managerInfo=JSON.parse(JSON.stringify(e.operatorInfo)),r.regInfo={uploadList:JSON.parse(JSON.stringify(e.uploadList))},r.contactsInfo=JSON.parse(JSON.stringify(e.cmpContactInfo)),e.allInfo={cmpDeliverInfo:o,managerInfo:e.operatorInfo,regInfo:{uploadList:e.uploadList},cmpContactInfo:e.cmpContactInfo},e.cacheData(),Object(c["s"])(r).then((function(e){console.log("submitAllDeliverInfo result:",JSON.stringify(e))})).catch((function(e){console.log("submitAllDeliverInfo result:",JSON.stringify(e))})),e.$Message.success("提交成功!3秒后跳转到服务单列表页"),setTimeout((function(){e.$router.push({name:"myDeliver"})}),3e3)}}))}}))}))},fileViewObjVerified:function(){var e=this.uploadList,t=this.fileViewObj;for(var r in t){for(var a=!1,o=0;o<e.length;o++){var i=e[o];i.title==r&&(a=!0)}if(!a)return this.$Message.error("注册文件"+r+"不能为空"),!1}return!0},getUserInfo:function(){var e=this.$store.state.user.userobj;this.userName=e.userName,this.userMobile=e.userMobile},dictKey2Value:function(e){return e.serviceArea&&(e.serviceArea=l["a"].registeredParkDict[e.serviceArea]),e.companyProperties&&(e.companyProperties=l["a"].registeredTypeDict[e.companyProperties]),e.isWhether&&(e.isWhether=l["a"].SealSevCaseDict[e.isWhether]),e.financial&&(e.financial=l["a"].financialDict[e.financial]),e},dictValue2Key:function(e){if(e.serviceArea)for(var t in l["a"].registeredParkDict)l["a"].registeredParkDict[t]===e.serviceArea&&(e.serviceArea=t);if(e.companyProperties)for(var r in l["a"].registeredTypeDict)l["a"].registeredTypeDict[r]===e.companyProperties&&(e.companyProperties=r);if(e.isWhether)for(var a in l["a"].SealSevCaseDict)l["a"].SealSevCaseDict[a]===e.isWhether&&(e.isWhether=a);if(e.financial)for(var o in l["a"].financialDict)l["a"].financialDict[o]===e.financial&&(e.financial=o);return e},replaceCaseProp:function(e,t){for(var r in e)for(var a in t)a==r&&(e[r]=t[a])}},created:function(){this.bizType=this.$route.query.bizType,this.bizCode=this.$route.query.bizCode},mounted:function(){this.getSourceData(),this.getUserInfo(),this.getCacheData()},watch:{"psDeliverInfo.engagedIndustry":function(e,t){this.psDeliverInfo.businessScope=l["a"].businessScopeDict[e]}}},u=p,f=(r("3561"),r("9ca4")),d=Object(f["a"])(u,a,o,!1,null,"f55c29b2",null);t["default"]=d.exports},b04a:function(e,t,r){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c1a112d6"],{"087d":function(e,t,r){"use strict";var i=r("37ec"),a=r.n(i);a.a},2036:function(e,t,r){"use strict";r.r(t);var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticStyle:{"background-color":"white",padding:"10px 0.25em 2ex 1%"}},[e._m(0),r("div",[r("customSteps",{attrs:{datasouce:e.sourceData,indirector:e.sourceDataIndex}})],1),r("Divider"),r("div",[e._m(1),r("div",[r("Form",{ref:"psDeliverInfo",staticStyle:{width:"100%"},attrs:{model:e.psDeliverInfo,rules:e.psDeliverInfoRules,"label-position":"left","label-width":100}},[r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"公司名称 :",prop:"companyName"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入公司名称"},model:{value:e.psDeliverInfo.companyName,callback:function(t){e.$set(e.psDeliverInfo,"companyName",t)},expression:"psDeliverInfo.companyName"}})],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"备选名称 :",prop:"spareName1"}},[r("div",[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入个体商户备选名称"},model:{value:e.psDeliverInfo.spareName1,callback:function(t){e.$set(e.psDeliverInfo,"spareName1",t)},expression:"psDeliverInfo.spareName1"}}),r("Button",{on:{click:e.handleAdd}},[e._v("+")])],1),e._l(e.psDeliverInfo.spareNames,(function(t,i){return r("div",{key:i},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入个体商户备选名称",prop:"spareName"+i},model:{value:e.psDeliverInfo.spareNames[i].value,callback:function(t){e.$set(e.psDeliverInfo.spareNames[i],"value",t)},expression:"psDeliverInfo.spareNames[idx].value"}}),r("Button",{on:{click:function(t){return e.handleRemove(i)}}},[e._v("-")])],1)}))],2)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"企业类型 :",prop:"companyProperties"}},[r("span",[e._v(e._s(e.psDeliverInfo.companyProperties))])])],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"纳税人类型 :",prop:"taxpayerType"}},[r("Select",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择"},model:{value:e.psDeliverInfo.taxpayerType,callback:function(t){e.$set(e.psDeliverInfo,"taxpayerType",t)},expression:"psDeliverInfo.taxpayerType"}},e._l(e.taxpayerTypes,(function(t){return r("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1)],1)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"注册园区 :",prop:"serviceArea"}},[r("span",[e._v(e._s(e.psDeliverInfo.serviceArea))])])],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"经营期限 :",prop:"operatingPeriod"}},[r("Input",{staticStyle:{width:"80%"},attrs:{placeholder:"请输入公司经营期限"},model:{value:e.psDeliverInfo.operatingPeriod,callback:function(t){e.$set(e.psDeliverInfo,"operatingPeriod",t)},expression:"psDeliverInfo.operatingPeriod"}})],1)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"注册资本 :",prop:"registeredCapital"}},[r("InputNumber",{attrs:{placeholder:"请输入公司注册资本"},model:{value:e.psDeliverInfo.registeredCapital,callback:function(t){e.$set(e.psDeliverInfo,"registeredCapital",t)},expression:"psDeliverInfo.registeredCapital"}}),r("span",[e._v("   万元")])],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"资本实缴日期 :",prop:"registeredDate"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"date",placeholder:"年/月/日"},model:{value:e.psDeliverInfo.registeredDate,callback:function(t){e.$set(e.psDeliverInfo,"registeredDate",t)},expression:"psDeliverInfo.registeredDate"}})],1)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"公积金缴存比例(%):",prop:"reserveProportion"}},[r("InputNumber",{attrs:{placeholder:"请输入数字"},model:{value:e.psDeliverInfo.reserveProportion,callback:function(t){e.$set(e.psDeliverInfo,"reserveProportion",t)},expression:"psDeliverInfo.reserveProportion"}})],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"所属行业 :",prop:"engagedIndustry"}},[r("Select",{staticStyle:{width:"80%"},attrs:{placeholder:"请选择"},model:{value:e.psDeliverInfo.engagedIndustry,callback:function(t){e.$set(e.psDeliverInfo,"engagedIndustry",t)},expression:"psDeliverInfo.engagedIndustry"}},e._l(e.engagedIndustrys,(function(t){return r("Option",{key:t.value,attrs:{value:t.value}},[e._v(e._s(t.label))])})),1)],1)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"经营范围:",prop:"businessScope"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"textarea",rows:6,placeholder:"请输入公司经营范围,以;隔开"},model:{value:e.psDeliverInfo.businessScope,callback:function(t){e.$set(e.psDeliverInfo,"businessScope",t)},expression:"psDeliverInfo.businessScope"}})],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"刻章服务:",prop:"isWhether"}},[r("span",[e._v(e._s(e.psDeliverInfo.isWhether))])])],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"财税服务:",prop:"financial"}},[r("span",[e._v(e._s(e.psDeliverInfo.financial))])])],1)],1)],1)],1),r("div",[r("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getpsDeliverInfo}},[e._v("暂存")])],1)]),r("Divider"),r("div",[e._m(2),r("div",[r("VTable",{staticStyle:{width:"100%"},attrs:{"is-horizontal-resize":"",columns:e.contributionInfo,"table-data":e.contributionData,"row-hover-color":"#eee","row-click-color":"#edf7ff","cell-edit-done":e.contributionCallback}})],1),r("div",[r("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getContributionInfo}},[e._v("暂存")])],1)]),r("Divider"),r("div",[e._m(3),r("div",[r("Row",{staticStyle:{"margin-bottom":"20px"}},[r("Col",{attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"法人身份证复印件",viewUrl:e.fileViewObj["法人身份证复印件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"财务身份证复印件",viewUrl:e.fileViewObj["财务身份证复印件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1)],1)],1),r("div",[r("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.fileUploadCache}},[e._v("暂存")])],1)]),r("Divider"),r("div",[e._m(4),r("div",[r("Form",{ref:"cmpContactInfo",staticStyle:{width:"100%"},attrs:{model:e.cmpContactInfo,rules:e.cmpContactInfoRules,"label-position":"left","label-width":150}},[r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"联系人姓名 :",prop:"contactsName"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text"},model:{value:e.cmpContactInfo.contactsName,callback:function(t){e.$set(e.cmpContactInfo,"contactsName",t)},expression:"cmpContactInfo.contactsName"}})],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"联系人电话 :",prop:"contactsPhone"}},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text"},model:{value:e.cmpContactInfo.contactsPhone,callback:function(t){e.$set(e.cmpContactInfo,"contactsPhone",t)},expression:"cmpContactInfo.contactsPhone"}})],1)],1)],1)],1)],1),r("div",[r("Button",{staticStyle:{float:"right","margin-right":"20px","margin-bottom":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.getCmpContactInfo}},[e._v("暂存")])],1)]),r("Divider")],1),r("div",{attrs:{id:"bottom"}},[r("div",[r("span",[e._v("业务顾问:")]),e._v("  \n "),r("span",[e._v(e._s(e.userName))]),e._v("  \n "),r("span",[e._v(e._s(e.userMobile))]),e._v("\n   \n "),r("Button",{attrs:{size:"large",type:"primary"},on:{click:function(t){e.showTipModal=!0}}},[e._v("提交交付信息")])],1)]),r("div",[r("Modal",{attrs:{title:"提交交付信息"},on:{"on-ok":e.getAllFormInfo},model:{value:e.showTipModal,callback:function(t){e.showTipModal=t},expression:"showTipModal"}},[r("p",[e._v("提交后将无法修改,请确认填写信息后提交。")])])],1)])},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("交付流程")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("云上园区注册信息")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("法人信息")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("注册文件")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("订单联系人信息")])])}],n=(r("6d57"),r("e292")),o=r("8ae1"),s=r("36fa"),l=r("db7f"),c=r("65f4"),p=r("7e1e"),u={name:"psbizdelivercase",data:function(){var e=function(e,t,r){""===t?r(new Error("联系人电话不能为空")):r()};return{bizType:"",bizCode:"",userName:"",userMobile:"",sourceData:[],sourceDataIndex:1,allInfo:{},showTipModal:!1,psDeliverInfo:{companyName:"",spareName:[],spareName1:"",spareNames:[],taxpayerType:"",companyProperties:"",serviceArea:"",engagedIndustry:"",operatingPeriod:"",registeredCapital:0,registeredDate:"",reserveProportion:0,businessScope:"",isWhether:"",financial:""},psDeliverInfoRules:{companyName:[{required:!0,message:"公司名称不能为空",trigger:"blur"}],spareName1:[{required:!0,message:"备选名称不能为空",trigger:"blur"}],companyProperties:[{required:!0,message:"企业类型不能为空",trigger:"blur"}],taxpayerType:[{required:!0,message:"纳税人类型不能为空",trigger:"blur"}],serviceArea:[{required:!0,message:"注册园区不能为空",trigger:"blur"}],operatingPeriod:[{required:!0,message:"经营期限不能为空",trigger:"blur"}],registeredCapital:[{required:!0,type:"number",min:1,message:"注册资本不能为空",trigger:"blur"}],registeredDate:[{required:!0,message:"注册资本实缴日期不能为空",trigger:"blur"}],reserveProportion:[{required:!0,type:"number",min:1,message:"公积金缴存比例不能为空",trigger:"blur"}],engagedIndustry:[{required:!0,message:"所属行业不能为空",trigger:"blur"}],businessScope:[{required:!0,message:"经营范围不能为空",trigger:"blur"}],isWhether:[{required:!0,message:"刻章服务不能为空",trigger:"blur"}],financial:[{required:!0,message:"财税服务不能为空",trigger:"blur"}]},contributionInfo:[{field:"hareholderName",title:"法人 / 自然人股东姓名",width:80,titleAlign:"center",columnAlign:"center",isEdit:!0,formatter:function(e,t,r,i){return"<span class='cell-edit-color'>".concat(e[i],"</span>")},isResize:!0},{field:"contributionAmount",title:"出资金额(万元)",width:40,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"contributionProportion",title:"出资比例(%)",width:40,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"IdentificationNumber",title:"证件号码",width:200,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"phoneNumber",title:"联系电话/手机",width:180,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0},{field:"contactAddress",title:"身份证住址",width:200,titleAlign:"center",columnAlign:"center",isEdit:!0,isResize:!0}],contributionData:[],uploadList:[],fileViewObj:{"法人身份证复印件":{viewUrl:""},"财务身份证复印件":{viewUrl:""}},cmpContactInfo:{contactsName:"",contactsPhone:""},cmpContactInfoRules:{contactsName:[{required:!0,message:"联系人姓名不能为空",trigger:"blur"}],contactsPhone:[{required:!0,validator:e,trigger:"blur"}]},cmpExpressInfo:{trackingNumber:"",logisticsCompany:"",addresseeName:"",addresseePhone:"",addresseeEmail:"",addresseeAddress:"",expressStatus:""}}},components:{customSteps:o["a"],VTable:c["VTable"],fileUpload:s["a"]},computed:{cmpInfo:function(){var e=this.bizType;return this.infos[e]},taxpayerTypes:function(){var e=l["a"].TaxpayerTypeDict,t=this.obj2arr(e);return t},registeredTypes:function(){var e=l["a"].registeredTypeDict,t=this.obj2arr(e);return t},registeredParks:function(){var e=l["a"].registeredParkDict,t=this.obj2arr(e);return t},engagedIndustrys:function(){var e=l["a"].engagedIndustryDict,t=this.obj2arr(e);return t},expressStatuss:function(){var e=l["a"].expressStatusDict,t=this.obj2arr(e);return t},isWhethers:function(){var e=l["a"].SealSevCaseDict,t=this.obj2arr(e);return t}},methods:{getSourceData:function(){var e=l["a"].diliverCaseSteps2;this.sourceData=e},obj2arr:function(e){var t=[];for(var r in e){var i={};i.value=r,i.label=e[r],t.push(i)}return t},getpsDeliverInfo:function(){var e=JSON.parse(JSON.stringify(this.psDeliverInfo));e=this.dictValue2Key(e);var t=e.spareNames.map((function(e){if(e){var t=e.value;return t}}));e.spareName=[e.spareName1].concat(Object(n["a"])(t)),this.allInfo.cmpDeliverInfo=e,this.cacheData()},handleAdd:function(){this.psDeliverInfo.spareNames.push({value:"",status:1})},handleRemove:function(e){this.psDeliverInfo.spareNames.splice(e,1)},contributionCallback:function(e,t,r,i,a){this.contributionData[r][a]=e,console.log("表格发生了修改:",JSON.stringify(this.contributionData))},addContributionData:function(){this.contributionData.push({hareholderName:"--",contributionAmount:0,contributionProportion:0,IdentificationNumber:"--",phoneNumber:"--",contactAddress:"--"})},getContributionInfo:function(){var e=JSON.parse(JSON.stringify(this.contributionData)),t=e.filter((function(e){if("--"!==e.hareholderName)return e}));this.allInfo.contributionInfo=t,this.cacheData()},onResUrl:function(e){var t=this.uploadList;t.push(e)},onReupload:function(e){var t=this,r=[];this.uploadList.forEach((function(i){i.title!=e.title?r.push(i):t.fileViewObj[i.title]&&(t.fileViewObj[i.title].viewUrl="")})),this.uploadList=r},getViewUrl:function(){var e=this;this.uploadList.forEach((function(t){e.fileViewObj[t.title]=t}))},fileUploadCache:function(){var e=JSON.parse(JSON.stringify(this.uploadList));this.allInfo.regInfo={uploadList:e},this.cacheData()},getCmpContactInfo:function(){var e=JSON.parse(JSON.stringify(this.cmpContactInfo));this.allInfo.cmpContactInfo=e,this.cacheData()},cacheData:function(){var e={};e.deliverNumber=this.bizCode,e.cacheInfo=this.allInfo,Object(p["b"])(e).then((function(e){console.log("cacheData result:",JSON.stringify(e))})).catch((function(e){console.log("cacheData result:",JSON.stringify(e))})),this.$Message.success("暂存成功!")},getCacheData:function(){var e=this,t={};t.deliverNumber=this.bizCode,Object(p["l"])(t).then((function(t){console.log("getCacheData result:",JSON.stringify(t));var r=t.data.data.statusInfo;if(r.createdTime){var i=JSON.stringify(e.sourceData);e.sourceData=JSON.parse(i),e.sourceData[0].content=r.createdTime}var a=t.data.data.cacheInfo;a&&(e.allInfo=JSON.parse(JSON.stringify(a)),a.cmpDeliverInfo&&(a.cmpDeliverInfo=e.dictKey2Value(a.cmpDeliverInfo),e.replaceCaseProp(e.psDeliverInfo,a.cmpDeliverInfo)),a.contributionInfo&&(e.contributionData=a.contributionInfo),a.regInfo&&(e.uploadList=a.regInfo.uploadList,e.getViewUrl()),a.cmpContactInfo&&(e.cmpContactInfo=a.cmpContactInfo))})).catch((function(e){console.log("getCacheData result:",JSON.stringify(e))}))},getAllFormInfo:function(){var e=this;this.$refs.psDeliverInfo.validate((function(t){if(t){var r=e.contributionInfoVerified();if(r){var i=e.fileViewObjVerified();i&&e.$refs.cmpContactInfo.validate((function(t){if(t){var r={};r.deliverNumber=e.bizCode;var i=JSON.parse(JSON.stringify(e.psDeliverInfo));i=e.dictValue2Key(i);var a=i.spareNames.map((function(e){if(e){var t=e.value;return t}}));i.spareName=[i.spareName1].concat(Object(n["a"])(a)),r.companyInfo=i,r.registeredInfo={registeredCapital:i.registeredCapital,registeredDate:i.registeredDate,reserveProportion:i.reserveProportion};var o=e.contributionData,s=o.filter((function(e){if("--"!==e.hareholderName)return e}));r.contributionInfo={contributionData:s},r.regInfo={uploadList:e.uploadList},r.contactsInfo=e.cmpContactInfo,e.allInfo={cmpDeliverInfo:i,contributionInfo:s,regInfo:{uploadList:e.uploadList},cmpContactInfo:e.cmpContactInfo},e.cacheData(),Object(p["s"])(r).then((function(e){console.log("submitAllDeliverInfo result:",JSON.stringify(e))})).catch((function(e){console.log("submitAllDeliverInfo result:",JSON.stringify(e))})),e.$Message.success("提交成功!3秒后跳转到服务单列表页"),setTimeout((function(){e.$router.push({name:"myDeliver"})}),3e3)}}))}}}))},contributionInfoVerified:function(){for(var e=this.contributionData,t=/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/,r=0;r<e.length;r++){var i=e[r];if(""==i.hareholderName||"--"==i.hareholderName)return this.$Message.error("出资比例第"+(r+1)+"行,法人 / 自然人股东姓名不能为空"),!1;if(i.contributionAmount<=0)return this.$Message.error("出资比例第"+(r+1)+"行,出资金额不能为空"),!1;if(i.contributionProportion<=0)return this.$Message.error("出资比例第"+(r+1)+"行,出资比例不能为空"),!1;if(""==i.IdentificationNumber||"--"==i.IdentificationNumber)return this.$Message.error("出资比例第"+(r+1)+"行,证件号码不能为空"),!1;if(i.IdentificationNumber&&!t.test(i.IdentificationNumber))return this.$Message.error("出资比例第"+(r+1)+"行,证件号码格式错误"),!1;if(""==i.phoneNumber||"--"==i.phoneNumber)return this.$Message.error("出资比例第"+(r+1)+"行,联系电话/手机不能为空"),!1;if(""==i.contactAddress||"--"==i.contactAddress)return this.$Message.error("出资比例第"+(r+1)+"行,身份证住址不能为空"),!1}return!0},fileViewObjVerified:function(){var e=this.uploadList,t=this.fileViewObj;for(var r in t){for(var i=!1,a=0;a<e.length;a++){var n=e[a];n.title==r&&(i=!0)}if(!i)return this.$Message.error("注册文件"+r+"不能为空"),!1}return!0},getUserInfo:function(){var e=this.$store.state.user.userobj;this.userName=e.userName,this.userMobile=e.userMobile},dictKey2Value:function(e){return e.serviceArea&&(e.serviceArea=l["a"].registeredParkDict[e.serviceArea]),e.companyProperties&&(e.companyProperties=l["a"].registeredTypeDict[e.companyProperties]),e.isWhether&&(e.isWhether=l["a"].SealSevCaseDict[e.isWhether]),e.financial&&(e.financial=l["a"].financialDict[e.financial]),e},dictValue2Key:function(e){if(e.serviceArea)for(var t in l["a"].registeredParkDict)l["a"].registeredParkDict[t]===e.serviceArea&&(e.serviceArea=t);if(e.companyProperties)for(var r in l["a"].registeredTypeDict)l["a"].registeredTypeDict[r]===e.companyProperties&&(e.companyProperties=r);if(e.isWhether)for(var i in l["a"].SealSevCaseDict)l["a"].SealSevCaseDict[i]===e.isWhether&&(e.isWhether=i);if(e.financial)for(var a in l["a"].financialDict)l["a"].financialDict[a]===e.financial&&(e.financial=a);return e},replaceCaseProp:function(e,t){for(var r in e)for(var i in t)i==r&&(e[r]=t[i])}},created:function(){this.bizType=this.$route.query.bizType,this.bizCode=this.$route.query.bizCode},mounted:function(){this.getSourceData(),this.getUserInfo(),this.addContributionData(),this.getCacheData()},watch:{"psDeliverInfo.engagedIndustry":function(e,t){this.psDeliverInfo.businessScope=l["a"].businessScopeDict[e]}}},f=u,d=(r("087d"),r("9ca4")),m=Object(d["a"])(f,i,a,!1,null,"89c9433c",null);t["default"]=m.exports},"37ec":function(e,t,r){}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment