| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-440ae5fc"],{3462:function(e,t,s){"use strict";s("a6f0")},"5fe3":function(e,t,s){"use strict";s.r(t);var a=s("9ab4"),n=s("1b40"),r=s("9240");let i=class extends n.e{constructor(){super(...arguments),this.faceSheetType=[],this.form={type:1,key:"",secret:"",siid:""}}async onSubmit(){await Object(r.b)({...this.form}),this.detail()}async getFaceSheetTypeFunc(){const e=await Object(r.a)({});this.faceSheetType=e}async detail(){const e=await Object(r.n)({});this.form=e}created(){this.detail(),this.getFaceSheetTypeFunc()}};i=Object(a.a)([Object(n.a)({components:{}})],i);var c=i,o=(s("3462"),s("2877")),l=Object(o.a)(c,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"ls-add-admin"},[s("div",{staticClass:"ls-card"},[s("el-alert",{attrs:{title:"\n 温馨提示:电子面单打印配置流程;\n 1.系统支持的面单类型为快递100,需前往快递100官方申请账号并企业认证得到授权Key和Secret;\n 2.需购买快递100云打印机,从打印机底部标签中可获取打印机设备编号(siid),其他打印机不可用;\n 3.需新建发件人信息模板,以供打印时选择发件人;\n 4.需新建电子面单模板,以供打印时选择电子面单模板;\n 5.特别注意:创建电子面单模板时用到的电子面单客户账号和密码,需自行联系快递公司开通获取并购买面单打印份额;",type:"info","show-icon":"",closable:!1}})],1),s("div",{staticClass:"ls-card ls-coupon-edit__form m-t-10"},[s("el-form",{ref:"form",attrs:{model:e.form,"label-width":"120px",size:"small"}},[s("el-form-item",{attrs:{label:"面单类型",prop:"send_total_type"}},[s("el-radio-group",{model:{value:e.form.type,callback:function(t){e.$set(e.form,"type",t)},expression:"form.type"}},e._l(e.faceSheetType,(function(t,a){return s("el-radio",{key:a,attrs:{label:t.key}},[e._v(e._s(t.value))])})),1),s("span",{staticClass:"desc"},[e._v("支持的第三方面单打印方式")])],1),s("el-form-item",{attrs:{label:"授权Key",prop:"key"}},[s("el-input",{staticClass:"ls-input",attrs:{placeholder:"请输入授权Key"},model:{value:e.form.key,callback:function(t){e.$set(e.form,"key",t)},expression:"form.key"}}),s("span",{staticClass:"desc"},[e._v("授权Key在快递100企业管理后台 -> 我的信息 -> 企业信息获取")])],1),s("el-form-item",{attrs:{label:"Secret",prop:"secret"}},[s("el-input",{staticClass:"ls-input",attrs:{placeholder:"请输入Secret"},model:{value:e.form.secret,callback:function(t){e.$set(e.form,"secret",t)},expression:"form.secret"}}),s("span",{staticClass:"desc"},[e._v("Secret在快递100企业管理后台 -> 我的信息 -> 企业信息获取")])],1),s("el-form-item",{attrs:{label:"设备编号siid",prop:"siid"}},[s("el-input",{staticClass:"ls-input",attrs:{placeholder:"请输入设备编号siid"},model:{value:e.form.siid,callback:function(t){e.$set(e.form,"siid",t)},expression:"form.siid"}}),s("span",{staticClass:"desc"},[e._v("设备编号siid在快递100面单打印机底部标签获取")])],1)],1)],1),s("div",{staticClass:"bg-white ls-fixed-footer row-center flex"},[s("div",{staticClass:"row-center flex"},[s("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("取消")]),s("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(t){return e.onSubmit("form")}}},[e._v("保存")])],1)])])}),[],!1,null,"762f8b73",null);t.default=l.exports},9240:function(e,t,s){"use strict";s.d(t,"a",(function(){return n})),s.d(t,"n",(function(){return r})),s.d(t,"b",(function(){return i})),s.d(t,"o",(function(){return c})),s.d(t,"i",(function(){return o})),s.d(t,"k",(function(){return l})),s.d(t,"l",(function(){return p})),s.d(t,"j",(function(){return f})),s.d(t,"m",(function(){return d})),s.d(t,"d",(function(){return u})),s.d(t,"f",(function(){return _})),s.d(t,"g",(function(){return m})),s.d(t,"e",(function(){return h})),s.d(t,"h",(function(){return b})),s.d(t,"c",(function(){return y}));var a=s("f175");const n=e=>a.a.get("/express_assistant.face_sheet_setting/getFaceSheetType",{params:e}),r=e=>a.a.get("/express_assistant.face_sheet_setting/getConfig",{params:e}),i=e=>a.a.post("/express_assistant.face_sheet_setting/setConfig",e),c=e=>a.a.get("/express_assistant.face_sheet_template/getFaceSheetPayment",{params:e}),o=e=>a.a.post("/express_assistant.face_sheet_template/add",e),l=e=>a.a.get("/express_assistant.face_sheet_template/detail",{params:e}),p=e=>a.a.post("/express_assistant.face_sheet_template/edit",e),f=e=>a.a.post("/express_assistant.face_sheet_template/delete",e),d=e=>a.a.get("/express_assistant.face_sheet_template/lists",{params:e}),u=e=>a.a.post("/express_assistant.face_sheet_sender/add",e),_=e=>a.a.get("/express_assistant.face_sheet_sender/detail",{params:e}),m=e=>a.a.post("/express_assistant.face_sheet_sender/edit",e),h=e=>a.a.post("/express_assistant.face_sheet_sender/delete",e),b=e=>a.a.get("/express_assistant.face_sheet_sender/lists",{params:e}),y=e=>a.a.post("/express_assistant.face_sheet_order/print",e)},a6f0:function(e,t,s){}}]);
|