You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
crmeb_php/public/mer/js/chunk-7788e6ba.669c58f7.js

1 lines
12 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7788e6ba"],{"381f":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"divBox"},[r("el-card",{staticClass:"box-card"},[r("el-form",{ref:"formValidate",staticClass:"demo-promoterForm",attrs:{model:t.formValidate,rules:t.rules,"label-width":"200px"}},[r("el-form-item",{attrs:{label:"快递公司:",prop:"mer_from_com"}},[r("el-select",{staticClass:"filter-item selWidth mr20",attrs:{placeholder:"请选择快递公司"},on:{change:function(e){return t.getDumpList("")}},model:{value:t.formValidate.mer_from_com,callback:function(e){t.$set(t.formValidate,"mer_from_com",e)},expression:"formValidate.mer_from_com"}},t._l(t.deliveryList,(function(t){return r("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),t._v(" "),r("el-form-item",{attrs:{label:"电子面单:",prop:"mer_config_temp_id"}},[r("el-select",{staticClass:"filter-item selWidth mr20",attrs:{placeholder:"请选择电子面单"},model:{value:t.formValidate.mer_config_temp_id,callback:function(e){t.$set(t.formValidate,"mer_config_temp_id",e)},expression:"formValidate.mer_config_temp_id"}},t._l(t.dumpList,(function(t){return r("el-option",{key:t.temp_id,attrs:{label:t.title,value:t.temp_id}})})),1)],1),t._v(" "),r("el-form-item",{attrs:{label:"云打印机编号:",prop:"mer_config_siid"}},[r("el-input",{attrs:{placeholder:"请输入云打印机编号"},model:{value:t.formValidate.mer_config_siid,callback:function(e){t.$set(t.formValidate,"mer_config_siid",e)},expression:"formValidate.mer_config_siid"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"寄件人姓名:",prop:"mer_from_name"}},[r("el-input",{attrs:{placeholder:"请输入寄件人姓名"},model:{value:t.formValidate.mer_from_name,callback:function(e){t.$set(t.formValidate,"mer_from_name",e)},expression:"formValidate.mer_from_name"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"寄件人电话:",prop:"mer_from_tel"}},[r("el-input",{attrs:{placeholder:"请输入寄件人电话"},model:{value:t.formValidate.mer_from_tel,callback:function(e){t.$set(t.formValidate,"mer_from_tel",e)},expression:"formValidate.mer_from_tel"}})],1),t._v(" "),r("el-form-item",{attrs:{label:"寄件人地址:",prop:"mer_from_addr"}},[r("el-input",{attrs:{type:"textarea",placeholder:"请输入寄件人地址"},model:{value:t.formValidate.mer_from_addr,callback:function(e){t.$set(t.formValidate,"mer_from_addr",e)},expression:"formValidate.mer_from_addr"}})],1),t._v(" "),r("el-form-item",[r("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm("formValidate")}}},[t._v("提交")])],1)],1)],1)],1)},o=[],u=(r("7f7f"),r("90e7")),i=r("f8b7"),a={name:"Index",data:function(){return{formValidate:{mer_config_temp_id:"",mer_from_com:"",mer_from_name:"",mer_config_siid:"",mer_from_tel:"",mer_from_addr:""},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(i["o"])().then((function(e){t.deliveryList=e.data})).catch((function(e){t.$message.error(e.message)}))},getDumpList:function(t){var e=this;Object(u["i"])({com:this.formValidate.mer_from_com}).then((function(r){e.dumpList=r.data.data,r.data.data.length?e.formValidate.mer_config_temp_id=e.mer_config_temp_id:e.formValidate.mer_config_temp_id="","first"!=t&&(e.formValidate.mer_config_temp_id="")})).catch((function(t){e.$message.error(t.message)}))},getData:function(){var t=this;Object(u["h"])().then((function(e){t.formValidate=e.data,t.mer_config_temp_id=e.data.mer_config_temp_id,t.formValidate.mer_config_temp_id="",e.data.mer_from_com&&t.getDumpList("first")})).catch((function(e){t.$message.error(e.message)}))},submitForm:function(t){var e=this;this.$refs[t].validate((function(t){t&&Object(u["C"])(e.formValidate).then((function(t){e.$message.success(t.message)})).catch((function(t){e.$message.error(t.message)}))}))}}},c=a,f=(r("58bb"),r("2877")),d=Object(f["a"])(c,n,o,!1,null,"20ab3afa",null);e["default"]=d.exports},"58bb":function(t,e,r){"use strict";r("dff4")},"90e7":function(t,e,r){"use strict";r.d(e,"m",(function(){return o})),r.d(e,"u",(function(){return u})),r.d(e,"x",(function(){return i})),r.d(e,"v",(function(){return a})),r.d(e,"w",(function(){return c})),r.d(e,"c",(function(){return f})),r.d(e,"a",(function(){return d})),r.d(e,"g",(function(){return s})),r.d(e,"b",(function(){return m})),r.d(e,"f",(function(){return l})),r.d(e,"e",(function(){return g})),r.d(e,"d",(function(){return _})),r.d(e,"A",(function(){return p})),r.d(e,"B",(function(){return v})),r.d(e,"j",(function(){return b})),r.d(e,"k",(function(){return h})),r.d(e,"l",(function(){return y})),r.d(e,"y",(function(){return V})),r.d(e,"z",(function(){return x})),r.d(e,"n",(function(){return k})),r.d(e,"o",(function(){return $})),r.d(e,"i",(function(){return L})),r.d(e,"h",(function(){return w})),r.d(e,"C",(function(){return q})),r.d(e,"p",(function(){return C})),r.d(e,"r",(function(){return j})),r.d(e,"s",(function(){return D})),r.d(e,"t",(function(){return O})),r.d(e,"q",(function(){return E}));var n=r("0c6d");function o(t){return n["a"].get("system/role/lst",t)}function u(){return n["a"].get("system/role/create/form")}function i(t){return n["a"].get("system/role/update/form/".concat(t))}function a(t){return n["a"].delete("system/role/delete/".concat(t))}function c(t,e){return n["a"].post("system/role/status/".concat(t),{status:e})}function f(t){return n["a"].get("system/admin/lst",t)}function d(){return n["a"].get("/system/admin/create/form")}function s(t){return n["a"].get("system/admin/update/form/".concat(t))}function m(t){return n["a"].delete("system/admin/delete/".concat(t))}function l(t,e){return n["a"].post("system/admin/status/".concat(t),{status:e})}function g(t){return n["a"].get("system/admin/password/form/".concat(t))}function _(t){return n["a"].get("system/admin/log",t)}function p(){return n["a"].get("take/info")}function v(t){return n["a"].post("take/update",t)}function b(){return n["a"].get("margin/code")}function h(t){return n["a"].get("margin/lst",t)}function y(){return n["a"].post("financial/refund/margin")}function V(){return n["a"].get("serve/info")}function x(t){return n["a"].get("serve/meal",t)}function k(t){return n["a"].get("serve/code",t)}function $(t){return n["a"].get("serve/paylst",t)}function L(t){return n["a"].get("expr/temps",t)}function w(){return n["a"].get("serve/config")}function q(t){return n["a"].post("serve/config",t)}function C(){return n["a"].get("store/printer/create/form")}function j(t){return n["a"].get("store/printer/lst",t)}function D(t,e){return n["a"].post("store/printer/status/".concat(t),e)}function O(t){return n["a"].get("store/printer/update/".concat(t,"/form"))}function E(t){return n["a"].delete("store/printer/delete/".concat(t))}},dff4:function(t,e,r){},f8b7:function(t,e,r){"use strict";r.d(e,"F",(function(){return o})),r.d(e,"c",(function(){return u})),r.d(e,"b",(function(){return i})),r.d(e,"J",(function(){return a})),r.d(e,"C",(function(){return c})),r.d(e,"D",(function(){return f})),r.d(e,"p",(function(){return d})),r.d(e,"G",(function(){return s})),r.d(e,"I",(function(){return m})),r.d(e,"B",(function(){return l})),r.d(e,"H",(function(){return g})),r.d(e,"Q",(function(){return _})),r.d(e,"O",(function(){return p})),r.d(e,"T",(function(){return v})),r.d(e,"S",(function(){return b})),r.d(e,"R",(function(){return h})),r.d(e,"N",(function(){return y})),r.d(e,"d",(function(){return V})),r.d(e,"s",(function(){return x})),r.d(e,"P",(function(){return k})),r.d(e,"m",(function(){return $})),r.d(e,"l",(function(){return L})),r.d(e,"k",(function(){return w})),r.d(e,"j",(function(){return q})),r.d(e,"A",(function(){return C})),r.d(e,"u",(function(){return j})),r.d(e,"E",(function(){return D})),r.d(e,"V",(function(){return O})),r.d(e,"W",(function(){return E})),r.d(e,"U",(function(){return F})),r.d(e,"y",(function(){return B})),r.d(e,"x",(function(){return J})),r.d(e,"v",(function(){return W})),r.d(e,"w",(function(){return z})),r.d(e,"z",(function(){return A})),r.d(e,"i",(function(){return I})),r.d(e,"g",(function(){return G})),r.d(e,"h",(function(){return H})),r.d(e,"M",(function(){return K})),r.d(e,"o",(function(){return M})),r.d(e,"n",(function(){return N})),r.d(e,"a",(function(){return P})),r.d(e,"r",(function(){return Q})),r.d(e,"t",(function(){return R})),r.d(e,"q",(function(){return S})),r.d(e,"f",(function(){return T})),r.d(e,"e",(function(){return U})),r.d(e,"L",(function(){return X})),r.d(e,"K",(function(){return Y}));var n=r("0c6d");function o(t){return n["a"].get("store/order/lst",t)}function u(){return n["a"].get("store/order/chart")}function i(t){return n["a"].get("store/order/title",t)}function a(t,e){return n["a"].post("store/order/update/".concat(t),e)}function c(t,e){return n["a"].post("store/order/delivery/".concat(t),e)}function f(t){return n["a"].get("store/order/detail/".concat(t))}function d(t){return n["a"].get("store/order/children/".concat(t))}function s(t,e){return n["a"].get("store/order/log/".concat(t),e)}function m(t){return n["a"].get("store/order/remark/".concat(t,"/form"))}function l(t){return n["a"].post("store/order/delete/".concat(t))}function g(t){return n["a"].get("store/order/printer/".concat(t))}function _(t){return n["a"].get("store/refundorder/lst",t)}function p(t){return n["a"].get("store/refundorder/detail/".concat(t))}function v(t){return n["a"].get("store/refundorder/status/".concat(t,"/form"))}function b(t){return n["a"].get("store/refundorder/mark/".concat(t,"/form"))}function h(t){return n["a"].get("store/refundorder/log/".concat(t))}function y(t){return n["a"].get("store/refundorder/delete/".concat(t))}function V(t){return n["a"].post("store/refundorder/refund/".concat(t))}function x(t){return n["a"].get("store/order/express/".concat(t))}function k(t){return n["a"].get("store/refundorder/express/".concat(t))}function $(t){return n["a"].get("store/order/excel",t)}function L(t){return n["a"].get("store/order/delivery_export",t)}function w(t){return n["a"].get("excel/lst",t)}function q(t){return n["a"].get("excel/download/".concat(t))}function C(t){return n["a"].get("store/order/verify/".concat(t))}function j(t,e){return n["a"].post("store/order/verify/".concat(t),e)}function D(){return n["a"].get("store/order/filtter")}function O(){return n["a"].get("store/order/takechart")}function E(t){return n["a"].get("store/order/takelst",t)}function F(t){return n["a"].get("store/order/take_title",t)}function B(t){return n["a"].get("store/receipt/lst",t)}function J(t){return n["a"].get("store/receipt/set_recipt",t)}function W(t){return n["a"].post("store/receipt/save_recipt",t)}function z(t){return n["a"].get("store/receipt/detail/".concat(t))}function A(t,e){return n["a"].post("store/receipt/update/".concat(t),e)}function I(t){return n["a"].get("store/import/lst",t)}function G(t,e){return n["a"].get("store/import/detail/".concat(t),e)}function H(t){return n["a"].get("store/import/excel/".concat(t))}function K(t){return n["a"].get("store/refundorder/excel",t)}function M(){return n["a"].get("expr/options")}function N(t){return n["a"].get("expr/temps",t)}function P(t){return n["a"].post("store/order/delivery_batch",t)}function Q(){return n["a"].get("serve/config")}function R(){return n["a"].get("delivery/station/select")}function S(){return n["a"].get("delivery/station/options")}function T(t){return n["a"].get("delivery/order/lst",t)}function U(t){return n["a"].get("delivery/order/cancel/".concat(t,"/form"))}function X(t){return n["a"].get("delivery/station/payLst",t)}function Y(t){return n["a"].get("delivery/station/code",t)}}}]);