shop_mer_admin/mer/js/chunk-19b998f8.4fd52389.js

1 line
3.9 KiB
JavaScript
Raw Permalink Normal View History

2024-03-16 17:53:53 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-19b998f8"],{2801:function(t,n,e){"use strict";e.d(n,"k",(function(){return a})),e.d(n,"o",(function(){return i})),e.d(n,"m",(function(){return o})),e.d(n,"n",(function(){return c})),e.d(n,"l",(function(){return u})),e.d(n,"c",(function(){return s})),e.d(n,"b",(function(){return f})),e.d(n,"s",(function(){return d})),e.d(n,"i",(function(){return l})),e.d(n,"j",(function(){return m})),e.d(n,"a",(function(){return g})),e.d(n,"q",(function(){return h})),e.d(n,"p",(function(){return p})),e.d(n,"r",(function(){return b})),e.d(n,"g",(function(){return v})),e.d(n,"f",(function(){return w})),e.d(n,"e",(function(){return x})),e.d(n,"d",(function(){return _})),e.d(n,"h",(function(){return F}));var r=e("0c6d");function a(t){return r["a"].get("store/order/reconciliation/lst",t)}function i(t,n){return r["a"].post("store/order/reconciliation/status/".concat(t),n)}function o(t,n){return r["a"].get("store/order/reconciliation/".concat(t,"/order"),n)}function c(t,n){return r["a"].get("store/order/reconciliation/".concat(t,"/refund"),n)}function u(t){return r["a"].get("store/order/reconciliation/mark/".concat(t,"/form"))}function s(t){return r["a"].get("financial_record/list",t)}function f(t){return r["a"].get("financial_record/export",t)}function d(t){return r["a"].get("financial/export",t)}function l(){return r["a"].get("version")}function m(){return r["a"].get("financial/account/form")}function g(){return r["a"].get("financial/create/form")}function h(t){return r["a"].get("financial/lst",t)}function p(t){return r["a"].get("financial/detail/".concat(t))}function b(t){return r["a"].get("financial/mark/".concat(t,"/form"))}function v(t){return r["a"].get("financial_record/lst",t)}function w(t,n){return r["a"].get("financial_record/detail/".concat(t),n)}function x(t){return r["a"].get("financial_record/title",t)}function _(t,n){return r["a"].get("financial_record/detail_export/".concat(t),n)}function F(t){return r["a"].get("financial_record/count",t)}},"7f8a":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"divBox"},[e("el-card",{staticClass:"box-card"},[t.FormData?e("form-create",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"fc",staticClass:"formBox",attrs:{option:t.option,rule:t.FormData.rule,"handle-icon":"false"},on:{submit:t.onSubmit}}):t._e()],1)],1)},a=[],i=e("c7eb"),o=(e("96cf"),e("1da1")),c=(e("ac6a"),e("30ba")),u=e.n(c),s=e("2801"),f=e("0c6d"),d=(e("83d6"),{name:"payType",data:function(){return{option:{form:{labelWidth:"150px"},global:{upload:{props:{onSuccess:function(t,n){200===t.status&&(n.url=t.data.src)}}}}},FormData:null,loading:!1,titles:""}},components:{formCreate:u.a.$form()},watch:{"$route.path":{handler:function(){this.getFrom()},immediate:!1,deep:!0}},mounted:function(){this.getFrom()},methods:{setTagsViewTitle:function(){this.deepTraversal(this.menuList,"children");var t=Object.assign({},this.tempRoute,{title:this.titles});this.$store.dispatch("tagsView/updateVisitedView",t)},deepTraversal:function(t,n){var e=this;function r(t){t.forEach((function(t){-1===t.path.indexOf("Basics")||t.path!==e.$route.path?t[n]&&t[n].length&&r(t[n]):e.titles=t.title}))}r(t)},getFrom:function(){var t=this;this.loading=!0,Object(s["j"])().then(function(){var n=Object(o["a"])(Object(i["a"])().mark((function n(e){return Object(i["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.FormData=e.data,t.loading=!1;case 2:case"end":return n.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}()).catch((function(n){t.$message.error(n.message),t.loading=!1}))},onSubmit:function(t){var n=this;f["a"][this.FormData.method.toLowerCase()](this.FormData.api,t).then((function(t){n.$message.success(t.message||"提交成功")})).catch((function(t){n.$message.error(t.message||"提交失败")}))}}}),l=d,m=e("2877"),g=Object(m["a"])(l,r,a,!1,null,"0c93880d",null);n["default"]=g.exports}}]);