chunk-e52be686.4cbf637c.js 12 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e52be686"],{"2c70":function(t,r,e){},"381f":function(t,r,e){"use strict";e.r(r);var n=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("div",{staticClass:"divBox"},[e("el-card",{staticClass:"box-card"},[e("el-tabs",{model:{value:t.headNum,callback:function(r){t.headNum=r},expression:"headNum"}},[e("el-tab-pane",{attrs:{name:"1",label:"一号通"}})],1),t._v(" "),e("el-form",{ref:"formValidate",attrs:{model:t.formValidate,rules:t.rules,"label-width":"110px",size:"small"}},[1==t.headNum?[e("el-form-item",{attrs:{label:"APPID:",prop:"serve_account"}},[e("el-input",{staticClass:"pageWidth",attrs:{placeholder:"请输入APPID"},model:{value:t.formValidate.serve_account,callback:function(r){t.$set(t.formValidate,"serve_account",r)},expression:"formValidate.serve_account"}})],1),t._v(" "),e("el-form-item",{attrs:{label:"AppSecret:",prop:"serve_token"}},[e("el-input",{staticClass:"pageWidth",attrs:{type:"input",placeholder:"请输入serve_token"},model:{value:t.formValidate.serve_token,callback:function(r){t.$set(t.formValidate,"serve_token",r)},expression:"formValidate.serve_token"}})],1)]:t._e(),t._v(" "),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:function(r){return t.submitForm("formValidate")}}},[t._v("提交")])],1)],2)],1)],1)},o=[],u=(e("7f7f"),e("90e7")),c=e("f8b7"),i={name:"Index",data:function(){return{headNum:"1",formValidate:{mer_config_temp_id:"",mer_from_com:"",mer_from_name:"",mer_config_siid:"",mer_from_tel:"",mer_from_addr:"",APPID:"",AppSecret:""},mer_config_temp_id:"",deliveryList:[],dumpList:[],loading:!1,rules:{mer_from_com:[{required:!0,message:"请选择快递公司",trigger:"change"}],mer_config_temp_id:[{required:!0,message:"请选择电子面单",trigger:"change"}],mer_from_name:[{required:!0,message:"请输入寄件人姓名",trigger:"blur"}],mer_config_siid:[{required:!0,message:"请输入云打印机编号",trigger:"blur"}],mer_from_tel:[{required:!0,message:"请输入寄件人电话",trigger:"blur"},{pattern:/^1(3|4|5|6|7|8|9)\d{9}$/,message:"请输入正确的联系方式",trigger:"blur"}],mer_from_addr:[{required:!0,message:"请输入寄件人地址",trigger:"blur"}]}}},mounted:function(){this.getData(),this.getExpressLst()},methods:{getExpressLst:function(){var t=this;Object(c["t"])().then((function(r){t.deliveryList=r.data})).catch((function(r){t.$message.error(r.message)}))},getDumpList:function(t){var r=this;Object(u["n"])({com:this.formValidate.mer_from_com,type:1}).then((function(e){r.dumpList=e.data.data,e.data.data.length?r.formValidate.mer_config_temp_id=r.mer_config_temp_id:r.formValidate.mer_config_temp_id="","first"!=t&&(r.formValidate.mer_config_temp_id="")})).catch((function(t){r.$message.error(t.message)}))},getData:function(){var t=this;Object(u["m"])().then((function(r){t.formValidate=r.data,t.mer_config_temp_id=r.data.mer_config_temp_id,t.formValidate.mer_config_temp_id="",r.data.mer_from_com&&t.getDumpList("first")})).catch((function(r){t.$message.error(r.message)}))},submitForm:function(t){var r=this;this.$refs[t].validate((function(t){t&&Object(u["Y"])(r.formValidate).then((function(t){r.$message.success(t.message)})).catch((function(t){r.$message.error(t.message)}))}))}}},a=i,f=(e("cff9"),e("2877")),s=Object(f["a"])(a,n,o,!1,null,"6573934a",null);r["default"]=s.exports},cff9:function(t,r,e){"use strict";e("2c70")},f8b7:function(t,r,e){"use strict";e.d(r,"hb",(function(){return o})),e.d(r,"d",(function(){return u})),e.d(r,"c",(function(){return c})),e.d(r,"rb",(function(){return i})),e.d(r,"db",(function(){return a})),e.d(r,"eb",(function(){return f})),e.d(r,"fb",(function(){return s})),e.d(r,"sb",(function(){return d})),e.d(r,"pb",(function(){return l})),e.d(r,"qb",(function(){return m})),e.d(r,"tb",(function(){return g})),e.d(r,"v",(function(){return p})),e.d(r,"ib",(function(){return b})),e.d(r,"ob",(function(){return _})),e.d(r,"cb",(function(){return h})),e.d(r,"mb",(function(){return v})),e.d(r,"Ab",(function(){return y})),e.d(r,"yb",(function(){return x})),e.d(r,"Db",(function(){return k})),e.d(r,"Cb",(function(){return V})),e.d(r,"Bb",(function(){return C})),e.d(r,"xb",(function(){return L})),e.d(r,"f",(function(){return D})),e.d(r,"z",(function(){return w})),e.d(r,"zb",(function(){return P})),e.d(r,"r",(function(){return $})),e.d(r,"q",(function(){return A})),e.d(r,"p",(function(){return q})),e.d(r,"n",(function(){return j})),e.d(r,"R",(function(){return I})),e.d(r,"H",(function(){return N})),e.d(r,"gb",(function(){return O})),e.d(r,"Hb",(function(){return E})),e.d(r,"Ib",(function(){return B})),e.d(r,"Gb",(function(){return F})),e.d(r,"L",(function(){return J})),e.d(r,"K",(function(){return S})),e.d(r,"I",(function(){return z})),e.d(r,"J",(function(){return U})),e.d(r,"M",(function(){return W})),e.d(r,"l",(function(){return G})),e.d(r,"j",(function(){return H})),e.d(r,"k",(function(){return M})),e.d(r,"wb",(function(){return Q})),e.d(r,"t",(function(){return T})),e.d(r,"s",(function(){return Y})),e.d(r,"b",(function(){return K})),e.d(r,"y",(function(){return R})),e.d(r,"F",(function(){return X})),e.d(r,"x",(function(){return Z})),e.d(r,"h",(function(){return tt})),e.d(r,"g",(function(){return rt})),e.d(r,"vb",(function(){return et})),e.d(r,"ub",(function(){return nt})),e.d(r,"E",(function(){return ot})),e.d(r,"D",(function(){return ut})),e.d(r,"Eb",(function(){return ct})),e.d(r,"e",(function(){return it})),e.d(r,"O",(function(){return at})),e.d(r,"i",(function(){return ft})),e.d(r,"nb",(function(){return st})),e.d(r,"N",(function(){return dt})),e.d(r,"m",(function(){return lt})),e.d(r,"w",(function(){return mt})),e.d(r,"Jb",(function(){return gt})),e.d(r,"u",(function(){return pt})),e.d(r,"B",(function(){return bt})),e.d(r,"A",(function(){return _t})),e.d(r,"Fb",(function(){return ht})),e.d(r,"a",(function(){return vt})),e.d(r,"Q",(function(){return yt})),e.d(r,"P",(function(){return xt})),e.d(r,"W",(function(){return kt})),e.d(r,"S",(function(){return Vt})),e.d(r,"T",(function(){return Ct})),e.d(r,"V",(function(){return Lt})),e.d(r,"U",(function(){return Dt})),e.d(r,"X",(function(){return wt})),e.d(r,"Y",(function(){return Pt})),e.d(r,"ab",(function(){return $t})),e.d(r,"kb",(function(){return At})),e.d(r,"bb",(function(){return qt})),e.d(r,"jb",(function(){return jt})),e.d(r,"lb",(function(){return It})),e.d(r,"Z",(function(){return Nt})),e.d(r,"G",(function(){return Ot})),e.d(r,"C",(function(){return Et})),e.d(r,"o",(function(){return Bt}));var n=e("0c6d");function o(t){return n["a"].get("store/order/lst",t)}function u(){return n["a"].get("store/order/chart")}function c(t){return n["a"].get("store/order/title",t)}function i(t,r){return n["a"].post("store/order/update/".concat(t),r)}function a(t,r){return n["a"].post("store/order/delivery/".concat(t),r)}function f(t){return n["a"].get("store/order/detail/".concat(t))}function s(t,r){return n["a"].post("store/order/reservation/dispatch/".concat(t),r)}function d(t,r){return n["a"].post("store/order/reservation/updateDispatch/".concat(t),r)}function l(t,r){return n["a"].post("store/order/reservation/reschedule/".concat(t),r)}function m(t){return n["a"].post("store/order/reservation/verify/".concat(t))}function g(t,r){return n["a"].get("store/reservation/product/showMonth/".concat(t),r)}function p(t){return n["a"].get("store/order/children/".concat(t))}function b(t,r){return n["a"].get("store/order/log/".concat(t),r)}function _(t){return n["a"].get("store/order/remark/".concat(t,"/form"))}function h(t){return n["a"].post("store/order/delete/".concat(t))}function v(t){return n["a"].get("store/order/printer/".concat(t))}function y(t){return n["a"].get("store/refundorder/lst",t)}function x(t){return n["a"].get("store/refundorder/detail/".concat(t))}function k(t){return n["a"].get("store/refundorder/status/".concat(t,"/form"))}function V(t){return n["a"].get("store/refundorder/mark/".concat(t,"/form"))}function C(t,r){return n["a"].get("store/refundorder/log/".concat(t),r)}function L(t){return n["a"].get("store/refundorder/delete/".concat(t))}function D(t,r){return n["a"].post("store/refundorder/refund/".concat(t),r)}function w(t){return n["a"].get("store/order/express/".concat(t))}function P(t){return n["a"].get("store/refundorder/express/".concat(t))}function $(t){return n["a"].get("store/order/excel",t)}function A(t){return n["a"].get("store/order/delivery_export",t)}function q(t){return n["a"].get("excel/lst",t)}function j(t){return n["a"].get("excel/download/".concat(t))}function I(t){return n["a"].get("store/order/verify/".concat(t))}function N(t,r){return n["a"].post("store/order/verify/".concat(t),r)}function O(){return n["a"].get("store/order/filtter")}function E(){return n["a"].get("store/order/takechart")}function B(t){return n["a"].get("store/order/takelst",t)}function F(t){return n["a"].get("store/order/take_title",t)}function J(t){return n["a"].get("store/receipt/lst",t)}function S(t){return n["a"].get("store/receipt/set_recipt",t)}function z(t){return n["a"].post("store/receipt/save_recipt",t)}function U(t){return n["a"].get("store/receipt/detail/".concat(t))}function W(t,r){return n["a"].post("store/receipt/update/".concat(t),r)}function G(t){return n["a"].get("store/import/lst",t)}function H(t,r){return n["a"].get("store/import/detail/".concat(t),r)}function M(t,r){return n["a"].get("store/import/excel/".concat(t),r)}function Q(t){return n["a"].get("store/refundorder/excel",t)}function T(){return n["a"].get("expr/options")}function Y(t){return n["a"].get("expr/temps",t)}function K(t){return n["a"].post("store/order/delivery_batch",t)}function R(){return n["a"].get("serve/config")}function X(){return n["a"].get("delivery/station/select")}function Z(){return n["a"].get("delivery/station/options")}function tt(t){return n["a"].get("delivery/order/lst",t)}function rt(t){return n["a"].get("delivery/order/cancel/".concat(t,"/form"))}function et(t){return n["a"].get("delivery/station/payLst",t)}function nt(t){return n["a"].get("delivery/station/code",t)}function ot(t){return n["a"].get("store/refundorder/check/".concat(t))}function ut(){return n["a"].get("store/refundorder/refund_message")}function ct(t){return n["a"].post("store/refundorder/create",t)}function it(t){return n["a"].post("store/refundorder/compute",t)}function at(t){return n["a"].post("/store/order/offline/".concat(t))}function ft(){return n["a"].get("delivery/service/options")}function st(t){return n["a"].post("store/order/repeat_dump/".concat(t))}function dt(t){return n["a"].get("store/order/collectCargo/".concat(t,"/form"))}function lt(t){return n["a"].get("store/order/note",t)}function mt(t){return n["a"].get("v2/system/city/lst/".concat(t))}function gt(t){return n["a"].post("store/behalf/orderVerify",t)}function pt(){return n["a"].get("store/behalf/productCategory")}function bt(t){return n["a"].get("store/behalf/productList",t)}function _t(t){return n["a"].get("store/behalf/productDetail/".concat(t))}function ht(t){return n["a"].get("store/behalf/userQuery",t)}function vt(t){return n["a"].post("store/behalf/userCreate",t)}function yt(t){return n["a"].get("store/behalf/userAddressList",t)}function xt(t){return n["a"].post("store/behalf/userAddressCreate",t)}function kt(t){return n["a"].get("store/behalf/cartList",t)}function Vt(t){return n["a"].post("store/behalf/cartCreate",t)}function Ct(t,r){return n["a"].post("store/behalf/cartChange/".concat(t),r)}function Lt(t){return n["a"].delete("store/behalf/cartDelete/".concat(t))}function Dt(t){return n["a"].post("store/behalf/cartClear",t)}function wt(t){return n["a"].get("store/behalf/cartCount",t)}function Pt(t,r){return n["a"].post("store/behalf/cartUpdatePrice/".concat(t),r)}function $t(t){return n["a"].post("store/behalf/orderCheck",t)}function At(t){return n["a"].post("store/behalf/payConfig",t)}function qt(t){return n["a"].post("store/behalf/orderCreate",t)}function jt(t,r){return n["a"].post("store/behalf/orderPay/".concat(t),r)}function It(t,r){return n["a"].post("store/behalf/payStatus/".concat(t),r)}function Nt(t){return n["a"].post("store/behalf/cartBatchUpdatePrice",t)}function Ot(t){return n["a"].get("store/behalf/userInfo",t)}function Et(t){return n["a"].get("reservation/service/list",t)}function Bt(t,r){return n["a"].post("store/order/reservation/reservationTime/".concat(t),r)}}}]);