webpackJsonp([58],{dggw:function(t,e){},n0v8:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("mvHQ"),a=s.n(i),c=s("2CGT"),n=s("Fd2+"),_={data:function(){return{item:JSON.parse(sessionStorage.getItem("certificateChangeApply"))||"",callName:"",changeType:this.$route.query.certificateType||0}},created:function(){},mounted:function(){},methods:{getVal:function(t,e){this[e]=t.target.value.replace(/ /g,"")},onConfirm:function(){var t=this,e="";if(""==this.callName)e=this.item.callName;else{if(!/(^[\u4e00-\u9fa5]{1,4}$)/.test(this.callName))return Object(n.c)("呼名请填写2-4个中文"),!1;e=this.callName}n.c.loading({message:"加载中...",forbidClick:!0,duration:0});var s={dogId:this.item.id,changeType:this.changeType,token:sessionStorage.getItem("token"),callName:e,stickerFlag:"0"};Object(c._20)(s).then(function(e){"0"==e.rc?t.openApplyConfirm(e.data):Object(n.c)(e.msg)})},openApplyConfirm:function(t){sessionStorage.setItem("certificateChangeApplyConfirm",a()(this.item)),this.$router.push({name:"certificateChangeApplyConfirm",query:{certificateType:this.changeType,shopId:t}})},goBack:function(){this.$router.go(-1)},finish:function(){window.js.finish()}}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"page"},[s("div",{staticClass:"topBox"},[s("div",{staticClass:"common_title"},[s("div",{staticClass:"img_box"},[s("div",{staticClass:"back_img",on:{click:function(e){return t.goBack()}}})]),t._v(" "),s("div",{staticClass:"common_title_fl"},[t._v("\n        "+t._s(1==t.changeType?"变更补做申请":2==t.changeType?"丢失补做申请":3==t.changeType?"登录补做申请":4==t.changeType?"纸质版证书补做申请":"证书补做申请")+"\n      ")]),t._v(" "),s("div",{staticClass:"img_box"})])]),t._v(" "),s("div",{staticClass:"content"},[s("div",{staticClass:"list"},[null!=t.item?s("div",{staticClass:"list_box"},[t._m(0),t._v(" "),s("div",{staticClass:"item_2_box"},[s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",[t._v("\n                新生犬登记卡编号："),s("span",{staticClass:"text_color_black"},[t._v(t._s(t.item.birthCertificateLevelCode))])])])]),t._v(" "),s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",[t._v("\n                犬种："),s("span",{staticClass:"text_color_black"},[t._v(t._s(t.item.dogBreedName))])])])]),t._v(" "),s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",[t._v("\n                犬名："),s("span",{staticClass:"text_color_black"},[t._v(t._s(t.item.nameEn))])])])]),t._v(" "),s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",[t._v("\n                生日："),s("span",{staticClass:"text_color_black"},[t._v(t._s(t.item.birthdate))])]),t._v(" "),s("div",[t._v("\n                犬主："),s("span",{staticClass:"text_color_black"},[t._v(t._s(t.item.dogOwner))])])])]),t._v(" "),s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",[t._v("\n                性别："),s("span",{staticClass:"text_color_black"},[t._v(t._s("1"==t.item.gender?"公":"母"))])])])]),t._v(" "),s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",[t._v("\n                毛色："),s("span",{staticClass:"text_color_black"},[t._v(t._s(t.item.colorFlag))])])])]),t._v(" "),s("div",{staticClass:"item_2"},[s("div",{staticClass:"item_box_between"},[s("div",{staticClass:"btn_box"},[t._v("\n                呼名：\n                "),s("input",{staticClass:"text_color_black",attrs:{type:"text",placeholder:"请输入呼名"},domProps:{value:t.item.callName},on:{blur:function(e){return t.getVal(e,"callName")}}})])])])])]):t._e(),t._v(" "),s("div",{staticClass:"tips"},[t._v("\n        "+t._s(1==t.changeType?"在线提交申请后需更换新的血统证书，需将证书原件寄回机构后完成证书补做，补做后血统证书号不变。":2==t.changeType?"血统证书原件丢失，犬主人直接在网上提交证书补做申请，补做后使用新血统证书号，原血统证书号作废。":3==t.changeType?"需将血统证书原件寄回机构，并且需要在证书上注明此证书已在官网提交冠军登录申请，补做后血统证书号不变。":4==t.changeType?"电子版证书补做成纸质版后证书号不变，由平阳办公室按犬主会员中心登记的联系地址以到付快递的方式寄出。":"")+"\n\n        "),1==t.changeType?s("p",{staticClass:"text_color_black"},[t._v("\n          请在证书原件上注明以下内容：\n        ")]):t._e(),t._v(" "),1==t.changeType?s("p",{staticClass:"text_color_797979"},[t._v("\n          1、需要把在网上提交的补做的缴费流水号写在证书上面。\n        ")]):t._e(),t._v(" "),1==t.changeType?s("p",{staticClass:"text_color_797979"},[t._v("\n          2、需在原件上写上已在网上提交犬主变更并且已处理。\n        ")]):t._e(),t._v(" "),1==t.changeType?s("p",{staticClass:"text_color_797979"},[t._v("\n          3、最后在证书原件签上新犬主人名字。\n        ")]):t._e()])])]),t._v(" "),s("div",{staticClass:"next_btn_box"},[s("div",{staticClass:"next_btn",on:{click:function(e){return t.onConfirm()}}},[t._v("确认提交")])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"item_1_box"},[e("div",{staticClass:"rectangle"}),this._v(" "),e("div",{staticClass:"item_1"},[this._v("犬只信息")])])}]};var o=s("VU/8")(_,l,!1,function(t){s("dggw")},"data-v-44cac957",null);e.default=o.exports}});
//# sourceMappingURL=58.83b67c1e305d74dff0a6.js.map