Commit f16276fa by 王勇飞

build

parent 72fee64d
h3[data-v-1eb0dc00]{margin:10px .25em 2ex 1px}.cell-edit-color[data-v-1eb0dc00]{color:#2db7f5;font-weight:700}#bottom[data-v-1eb0dc00]{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-1eb0dc00]{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-003c8fce.0435b3ae.css rel=prefetch><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-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-003c8fce.eb61977b.js 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-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.58c93792.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.58c93792.js></script></body></html>
\ 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>
\ 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-4624aea2"],{"1d98":function(e,t,r){},"93c6":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",{staticClass:"deliverCase"},[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:"cmpDeliverInfo",staticStyle:{width:"100%"},attrs:{model:e.cmpDeliverInfo,rules:e.cmpDeliverInfoRules,"label-position":"left","label-width":110}},[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.cmpDeliverInfo.companyName,callback:function(t){e.$set(e.cmpDeliverInfo,"companyName",t)},expression:"cmpDeliverInfo.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.cmpDeliverInfo.spareName1,callback:function(t){e.$set(e.cmpDeliverInfo,"spareName1",t)},expression:"cmpDeliverInfo.spareName1"}}),r("Button",{on:{click:e.handleAdd}},[e._v("+")])],1),e._l(e.cmpDeliverInfo.spareNames,(function(t,i){return r("div",{key:i},[r("Input",{staticStyle:{width:"80%"},attrs:{type:"text",placeholder:"请输入公司备选名称",prop:"spareName"+i},model:{value:e.cmpDeliverInfo.spareNames[i].value,callback:function(t){e.$set(e.cmpDeliverInfo.spareNames[i],"value",t)},expression:"cmpDeliverInfo.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:"taxpayerType"}},[r("span",[e._v(e._s(e.cmpDeliverInfo.taxpayerType))])])],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"公司性质 :",prop:"companyProperties"}},[r("span",[e._v(e._s(e.cmpDeliverInfo.companyProperties))])])],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"地址类型 :",prop:"addressType"}},[r("span",[e._v(e._s(e.cmpDeliverInfo.addressType))])])],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"注册地区 :",prop:"serviceArea"}},[r("span",[e._v(e._s(e.cmpDeliverInfo.serviceArea))])])],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"注册详细地址 :",prop:"fullAddress"}},[r("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),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"经营期限 :",prop:"operatingPeriod"}},[r("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),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"注册资本 :",prop:"registeredCapital"}},[r("InputNumber",{attrs:{placeholder:"请输入公司注册资本"},model:{value:e.cmpDeliverInfo.registeredCapital,callback:function(t){e.$set(e.cmpDeliverInfo,"registeredCapital",t)},expression:"cmpDeliverInfo.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.cmpDeliverInfo.registeredDate,callback:function(t){e.$set(e.cmpDeliverInfo,"registeredDate",t)},expression:"cmpDeliverInfo.registeredDate"}})],1)],1)],1),r("Row",[r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"公积金缴存比例(%):",prop:"reserveProportion"}},[r("InputNumber",{attrs:{placeholder:"请输入数字"},model:{value:e.cmpDeliverInfo.reserveProportion,callback:function(t){e.$set(e.cmpDeliverInfo,"reserveProportion",t)},expression:"cmpDeliverInfo.reserveProportion"}})],1)],1),r("Col",{attrs:{span:"12"}},[r("FormItem",{attrs:{label:"所属行业 :",prop:"engagedIndustry"}},[r("span",{staticStyle:{width:"80%"}},[e._v(e._s(e.cmpDeliverInfo.engagedIndustry))])])],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.cmpDeliverInfo.businessScope,callback:function(t){e.$set(e.cmpDeliverInfo,"businessScope",t)},expression:"cmpDeliverInfo.businessScope"}})],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.getCmpDeliverInfo}},[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:"left","margin-left":"50%","margin-bottom":"20px","margin-top":"20px"},attrs:{size:"large",type:"primary"},on:{click:e.addContributionData}},[e._v("新增股东")])],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("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),r("div",[r("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),r("div",[r("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)]),r("Divider"),r("div",[r("div",{staticStyle:{display:"flex"}},[e._m(4),r("div",[r("Button",{staticStyle:{"margin-left":"20px","margin-top":"2px"},attrs:{size:"large",type:"primary"},on:{click:e.addShareholder}},[e._v("新增自然人股东信息")])],1)]),r("div",[r("Row",[r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"产权证",viewUrl:e.fileViewObj["产权证"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"法人股东证件",viewUrl:e.fileViewObj["法人股东证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"执行董事证件",viewUrl:e.fileViewObj["执行董事证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"经理证件",viewUrl:e.fileViewObj["经理证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"监事证件",viewUrl:e.fileViewObj["监事证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"购票人",viewUrl:e.fileViewObj["购票人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1)],1),r("Row",[r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"办税人",viewUrl:e.fileViewObj["办税人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"财务负责人",viewUrl:e.fileViewObj["财务负责人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"秘书联系人",viewUrl:e.fileViewObj["秘书联系人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"社保缴费经办人证件",viewUrl:e.fileViewObj["社保缴费经办人证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"公积金缴费经办人",viewUrl:e.fileViewObj["公积金缴费经办人"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1),r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:"自然人股东证件",viewUrl:e.fileViewObj["自然人股东证件"].viewUrl},on:{onResUrl:e.onResUrl,onReupload:e.onReupload}})],1)],1),r("Row",e._l(e.shareholders,(function(t,i){return r("div",{key:t.title},[r("Col",{staticStyle:{"margin-bottom":"20px"},attrs:{span:"4"}},[r("fileUpload",{attrs:{title:t.title,viewUrl:t.viewUrl,showDelBtn:!0,idx:i},on:{onResUrl:e.onResUrl,onReupload:e.onReupload,delShareholder:e.delShareholder}})],1)],1)})),0)],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(5),r("div",[r("Form",{ref:"cmpContactInfo",staticStyle:{width:"100%"},attrs:{model:e.cmpContactInfo,rules:e.cmpContactInfoRules,"label-position":"left","label-width":100}},[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("注册文件")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("h3",[e._v("订单联系人信息")])])}],o=(r("9a33"),r("6d57"),r("e292")),n=r("8ae1"),s=r("36fa"),l=r("db7f"),c=r("65f4"),p=r("7e1e"),d={name:"cmpbizdelivercase",data:function(){var e=function(e,t,r){var i=/(^0\d{2,3}\-\d{7,8}$)|(^1[3|4|5|6|7|8][0-9]{9}$)/;""===t?r(new Error("联系人电话不能为空")):i.test(t)?r():r(new Error("联系人电话格式错误"))};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,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}],positionData:[],positionInfo:[{field:"functionInfo",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:"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 r in e){var i={};i.value=r,i.label=e[r],t.push(i)}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,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:"--"})},positionCallback:function(e,t,r,i,a){this.positionData[r][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,r=[];this.uploadList.forEach((function(i){if(i.title==e.title)return t.fileViewObj[i.title]&&(t.fileViewObj[i.title].viewUrl=""),void t.shareholders.forEach((function(e){e.title==i.title&&(e.viewUrl="")}));r.push(i)})),this.uploadList=r},addShareholder:function(){var e=this.shareholders.length,t="自然人股东证件";if(0==e)t+=e+1;else{var r=this.shareholders[e-1].title,i=parseInt(r.split(/自然人股东证件/)[1]);t+=i+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 r=0;this.uploadList.forEach((function(e,i){e.title==t&&(r=i)})),this.uploadList.splice(r,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 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.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 r=e.contributionInfoVerified();if(r){var i=e.positionInfoVerified();if(i){var a=e.fileViewObjVerified();a&&e.$refs.cmpContactInfo.validate((function(t){if(t){var r={};r.deliverNumber=e.bizCode;var i=JSON.parse(JSON.stringify(e.cmpDeliverInfo));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(o["a"])(a)),r.companyInfo=i,r.registeredInfo={registeredCapital:i.registeredCapital,registeredDate:i.registeredDate,reserveProportion:i.reserveProportion};var n=e.contributionData,s=n.filter((function(e){if("--"!==e.hareholderName)return e}));r.contributionInfo={contributionData:s};var l=e.positionData,c=l.filter((function(e){if("--"!==e.hareholderName)return e}));r.positionInfo={positionData:c},r.regInfo={uploadList:e.uploadList},r.contactsInfo=e.cmpContactInfo,e.allInfo={cmpDeliverInfo:i,contributionData:n,positionData:l,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\d{2,3}\-\d{7,8}$)|(^1[3|4|5|6|7|8][0-9]{9}$)/,i=0;i<e.length;i++){var a=e[i];if(""==a.hareholderName||"--"==a.hareholderName)return this.$Message.error("出资比例第"+(i+1)+"行,法人 / 自然人股东姓名不能为空"),!1;if(a.contributionAmount<=0)return this.$Message.error("出资比例第"+(i+1)+"行,出资金额不能为空"),!1;if(a.contributionProportion<=0)return this.$Message.error("出资比例第"+(i+1)+"行,出资比例不能为空"),!1;if(""==a.IdentificationNumber||"--"==a.IdentificationNumber)return this.$Message.error("出资比例第"+(i+1)+"行,证件号码不能为空"),!1;if(a.IdentificationNumber&&!t.test(a.IdentificationNumber))return this.$Message.error("出资比例第"+(i+1)+"行,证件号码格式错误"),!1;if(""==a.phoneNumber||"--"==a.phoneNumber)return this.$Message.error("出资比例第"+(i+1)+"行,联系电话/手机不能为空"),!1;if(a.phoneNumber&&!r.test(a.phoneNumber))return this.$Message.error("出资比例第"+(i+1)+"行,联系电话/手机格式错误"),!1;if(""==a.contactAddress||"--"==a.contactAddress)return this.$Message.error("出资比例第"+(i+1)+"行,身份证住址不能为空"),!1}return!0},positionInfoVerified:function(){for(var e=this.positionData,t=/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/,r=/(^0\d{2,3}\-\d{7,8}$)|(^1[3|4|5|6|7|8][0-9]{9}$)/,i=0;i<e.length;i++){var a=e[i];if(""==a.functionInfo||"--"==a.functionInfo)return this.$Message.error("任职信息第"+(i+1)+"行,职务信息不能为空"),!1;if(""==a.persionName||"--"==a.persionName)return this.$Message.error("任职信息第"+(i+1)+"行,姓名不能为空"),!1;if(""==a.mobilePhone||"--"==a.mobilePhone)return this.$Message.error("任职信息第"+(i+1)+"行,手机号码不能为空"),!1;if(a.mobilePhone&&!r.test(a.mobilePhone))return this.$Message.error("任职信息第"+(i+1)+"行,手机号码格式错误"),!1;if(""==a.fixedPhone||"--"==a.fixedPhone)return this.$Message.error("任职信息第"+(i+1)+"行,固话不能为空"),!1;if(""==a.houseAddress||"--"==a.houseAddress)return this.$Message.error("任职信息第"+(i+1)+"行,身份证住址不能为空"),!1;if(""==a.mailboxInfo||"--"==a.mailboxInfo)return this.$Message.error("任职信息第"+(i+1)+"行,邮箱不能为空"),!1;if(a.mailboxInfo&&!t.test(a.mailboxInfo))return this.$Message.error("任职信息第"+(i+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 o=e[a];o.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.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 r in l["a"].companyNatureDict)l["a"].companyNatureDict[r]===e.companyProperties&&(e.companyProperties=r);if(e.addressType)for(var i in l["a"].addressTypeDict)l["a"].addressTypeDict[i]===e.addressType&&(e.addressType=i);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 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(){var e=this;this.getSourceData(),this.getUserInfo(),this.addContributionData(),this.addPositionData(),this.$nextTick((function(){e.getCacheData()}))},watch:{}},u=d,f=(r("9833"),r("9ca4")),m=Object(f["a"])(u,i,a,!1,null,"1eb0dc00",null);t["default"]=m.exports},9833:function(e,t,r){"use strict";var i=r("1d98"),a=r.n(i);a.a}}]);
\ 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