0.171184f5f07480d19344.js 31 KB

1
  1. webpackJsonp([0],{"38N9":function(e,t,n){var r;window,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({"./src/index.js":function(e,t,n){"use strict";n.r(t);n("./src/sass/index.scss");var r=n("./src/js/init.js").default.init;"undefined"!=typeof window&&(window.printJS=r),t.default=r},"./src/js/browser.js":function(e,t,n){"use strict";n.r(t);var r={isFirefox:function(){return"undefined"!=typeof InstallTrigger},isIE:function(){return-1!==navigator.userAgent.indexOf("MSIE")||!!document.documentMode},isEdge:function(){return!r.isIE()&&!!window.StyleMedia},isChrome:function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).chrome},isSafari:function(){return Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||-1!==navigator.userAgent.toLowerCase().indexOf("safari")},isIOSChrome:function(){return-1!==navigator.userAgent.toLowerCase().indexOf("crios")}};t.default=r},"./src/js/functions.js":function(e,t,n){"use strict";n.r(t),n.d(t,"addWrapper",function(){return i}),n.d(t,"capitalizePrint",function(){return d}),n.d(t,"collectStyles",function(){return u}),n.d(t,"addHeader",function(){return c}),n.d(t,"cleanUp",function(){return l}),n.d(t,"isRawHTML",function(){return p});var r=n("./src/js/modal.js"),a=n("./src/js/browser.js");function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){return'<div style="'+("font-family:"+t.font+" !important; font-size: "+t.font_size+" !important; width:100%;")+'">'+e+"</div>"}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t){for(var n="",r=(document.defaultView||window).getComputedStyle(e,""),a=0;a<r.length;a++)(-1!==t.targetStyles.indexOf("*")||-1!==t.targetStyle.indexOf(r[a])||s(t.targetStyles,r[a]))&&r.getPropertyValue(r[a])&&(n+=r[a]+":"+r.getPropertyValue(r[a])+";");return n+="max-width: "+t.maxWidth+"px !important; font-size: "+t.font_size+" !important;"}function s(e,t){for(var n=0;n<e.length;n++)if("object"===o(t)&&-1!==t.indexOf(e[n]))return!0;return!1}function c(e,t){var n=document.createElement("div");if(p(t.header))n.innerHTML=t.header;else{var r=document.createElement("h1"),a=document.createTextNode(t.header);r.appendChild(a),r.setAttribute("style",t.headerStyle),n.appendChild(r)}e.insertBefore(n,e.childNodes[0])}function l(e){e.showModal&&r.default.close(),e.onLoadingEnd&&e.onLoadingEnd(),(e.showModal||e.onLoadingStart)&&window.URL.revokeObjectURL(e.printable);var t="mouseover";(a.default.isChrome()||a.default.isFirefox())&&(t="focus");window.addEventListener(t,function n(){window.removeEventListener(t,n),e.onPrintDialogClose();var r=document.getElementById(e.frameId);r&&r.remove()})}function p(e){return new RegExp("<([A-Za-z][A-Za-z0-9]*)\\b[^>]*>(.*?)</\\1>").test(e)}},"./src/js/html.js":function(e,t,n){"use strict";n.r(t);var r=n("./src/js/functions.js"),a=n("./src/js/print.js");function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.default={print:function(e,t){var n,i="object"===o(n=e.printable)&&n&&(n instanceof HTMLElement||1===n.nodeType)?e.printable:document.getElementById(e.printable);i?(e.printableElement=function e(t,n){var a=t.cloneNode();var o=Array.prototype.slice.call(t.childNodes);for(var i=0;i<o.length;i++)if(-1===n.ignoreElements.indexOf(o[i].id)){var d=e(o[i],n);a.appendChild(d)}n.scanStyles&&1===t.nodeType&&a.setAttribute("style",Object(r.collectStyles)(t,n));switch(t.tagName){case"SELECT":a.value=t.value;break;case"CANVAS":a.getContext("2d").drawImage(t,0,0)}return a}(i,e),e.header&&Object(r.addHeader)(e.printableElement,e),a.default.send(e,t)):window.console.error("Invalid HTML element id: "+e.printable)}}},"./src/js/image.js":function(e,t,n){"use strict";n.r(t);var r=n("./src/js/functions.js"),a=n("./src/js/print.js"),o=n("./src/js/browser.js");t.default={print:function(e,t){e.printable.constructor!==Array&&(e.printable=[e.printable]),e.printableElement=document.createElement("div"),e.printable.forEach(function(t){var n=document.createElement("img");if(n.setAttribute("style",e.imageStyle),n.src=t,o.default.isFirefox()){var r=n.src;n.src=r}var a=document.createElement("div");a.appendChild(n),e.printableElement.appendChild(a)}),e.header&&Object(r.addHeader)(e.printableElement,e),a.default.send(e,t)}}},"./src/js/init.js":function(e,t,n){"use strict";n.r(t);var r=n("./src/js/browser.js"),a=n("./src/js/modal.js"),o=n("./src/js/pdf.js"),i=n("./src/js/html.js"),d=n("./src/js/raw-html.js"),u=n("./src/js/image.js"),s=n("./src/js/json.js");function c(e){"@babel/helpers - typeof";return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["pdf","html","image","json","raw-html"];t.default={init:function(){var e={printable:null,fallbackPrintable:null,type:"pdf",header:null,headerStyle:"font-weight: 300;",maxWidth:800,properties:null,gridHeaderStyle:"font-weight: bold; padding: 5px; border: 1px solid #dddddd;",gridStyle:"border: 1px solid lightgray; margin-bottom: -1px;",showModal:!1,onError:function(e){throw e},onLoadingStart:null,onLoadingEnd:null,onPrintDialogClose:function(){},onIncompatibleBrowser:function(){},modalMessage:"Retrieving Document...",frameId:"printJS",printableElement:null,documentTitle:"Document",targetStyle:["clear","display","width","min-width","height","min-height","max-height"],targetStyles:["border","box","break","text-decoration"],ignoreElements:[],repeatTableHeader:!0,css:null,style:null,scanStyles:!0,base64:!1,onPdfOpen:null,font:"TimesNewRoman",font_size:"12pt",honorMarginPadding:!0,honorColor:!1,imageStyle:"max-width: 100%;"},t=arguments[0];if(void 0===t)throw new Error("printJS expects at least 1 attribute.");switch(c(t)){case"string":e.printable=encodeURI(t),e.fallbackPrintable=e.printable,e.type=arguments[1]||e.type;break;case"object":for(var n in e.printable=t.printable,e.fallbackPrintable=void 0!==t.fallbackPrintable?t.fallbackPrintable:e.printable,e.fallbackPrintable=e.base64?"data:application/pdf;base64,".concat(e.fallbackPrintable):e.fallbackPrintable,e)"printable"!==n&&"fallbackPrintable"!==n&&(e[n]=void 0!==t[n]?t[n]:e[n]);break;default:throw new Error('Unexpected argument type! Expected "string" or "object", got '+c(t))}if(!e.printable)throw new Error("Missing printable information.");if(!e.type||"string"!=typeof e.type||-1===l.indexOf(e.type.toLowerCase()))throw new Error("Invalid print type. Available types are: pdf, html, image and json.");e.showModal&&a.default.show(e),e.onLoadingStart&&e.onLoadingStart();var p=document.getElementById(e.frameId);p&&p.parentNode.removeChild(p);var m=document.createElement("iframe");switch(r.default.isFirefox()?m.setAttribute("style","width: 1px; height: 100px; position: fixed; left: 0; top: 0; opacity: 0; border-width: 0; margin: 0; padding: 0"):m.setAttribute("style","visibility: hidden; height: 0; width: 0; position: absolute; border: 0"),m.setAttribute("id",e.frameId),"pdf"!==e.type&&(m.srcdoc="<html><head><title>"+e.documentTitle+"</title>",e.css&&(Array.isArray(e.css)||(e.css=[e.css]),e.css.forEach(function(e){m.srcdoc+='<link rel="stylesheet" href="'+e+'">'})),m.srcdoc+="</head><body></body></html>"),e.type){case"pdf":if(r.default.isIE())try{console.info("Print.js doesn't support PDF printing in Internet Explorer."),window.open(e.fallbackPrintable,"_blank").focus(),e.onIncompatibleBrowser()}catch(t){e.onError(t)}finally{e.showModal&&a.default.close(),e.onLoadingEnd&&e.onLoadingEnd()}else o.default.print(e,m);break;case"image":u.default.print(e,m);break;case"html":i.default.print(e,m);break;case"raw-html":d.default.print(e,m);break;case"json":s.default.print(e,m)}}}},"./src/js/json.js":function(e,t,n){"use strict";n.r(t);var r=n("./src/js/functions.js"),a=n("./src/js/print.js");function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.default={print:function(e,t){if("object"!==o(e.printable))throw new Error("Invalid javascript data object (JSON).");if("boolean"!=typeof e.repeatTableHeader)throw new Error("Invalid value for repeatTableHeader attribute (JSON).");if(!e.properties||!Array.isArray(e.properties))throw new Error("Invalid properties array for your JSON data.");e.properties=e.properties.map(function(t){return{field:"object"===o(t)?t.field:t,displayName:"object"===o(t)?t.displayName:t,columnSize:"object"===o(t)&&t.columnSize?t.columnSize+";":100/e.properties.length+"%;"}}),e.printableElement=document.createElement("div"),e.header&&Object(r.addHeader)(e.printableElement,e),e.printableElement.innerHTML+=function(e){var t=e.printable,n=e.properties,a='<table style="border-collapse: collapse; width: 100%;">';e.repeatTableHeader&&(a+="<thead>");a+="<tr>";for(var o=0;o<n.length;o++)a+='<th style="width:'+n[o].columnSize+";"+e.gridHeaderStyle+'">'+Object(r.capitalizePrint)(n[o].displayName)+"</th>";a+="</tr>",e.repeatTableHeader&&(a+="</thead>");a+="<tbody>";for(var i=0;i<t.length;i++){a+="<tr>";for(var d=0;d<n.length;d++){var u=t[i],s=n[d].field.split(".");if(s.length>1)for(var c=0;c<s.length;c++)u=u[s[c]];else u=u[n[d].field];a+='<td style="width:'+n[d].columnSize+e.gridStyle+'">'+u+"</td>"}a+="</tr>"}return a+="</tbody></table>"}(e),a.default.send(e,t)}}},"./src/js/modal.js":function(e,t,n){"use strict";n.r(t);var r={show:function(e){var t=document.createElement("div");t.setAttribute("style","font-family:sans-serif; display:table; text-align:center; font-weight:300; font-size:30px; left:0; top:0;position:fixed; z-index: 9990;color: #0460B5; width: 100%; height: 100%; background-color:rgba(255,255,255,.9);transition: opacity .3s ease;"),t.setAttribute("id","printJS-Modal");var n=document.createElement("div");n.setAttribute("style","display:table-cell; vertical-align:middle; padding-bottom:100px;");var a=document.createElement("div");a.setAttribute("class","printClose"),a.setAttribute("id","printClose"),n.appendChild(a);var o=document.createElement("span");o.setAttribute("class","printSpinner"),n.appendChild(o);var i=document.createTextNode(e.modalMessage);n.appendChild(i),t.appendChild(n),document.getElementsByTagName("body")[0].appendChild(t),document.getElementById("printClose").addEventListener("click",function(){r.close()})},close:function(){var e=document.getElementById("printJS-Modal");e&&e.parentNode.removeChild(e)}};t.default=r},"./src/js/pdf.js":function(e,t,n){"use strict";n.r(t);var r=n("./src/js/print.js"),a=n("./src/js/functions.js");function o(e,t,n){var a=new window.Blob([n],{type:"application/pdf"});a=window.URL.createObjectURL(a),t.setAttribute("src",a),r.default.send(e,t)}t.default={print:function(e,t){if(e.base64){var n=Uint8Array.from(atob(e.printable),function(e){return e.charCodeAt(0)});o(e,t,n)}else{e.printable=/^(blob|http|\/\/)/i.test(e.printable)?e.printable:window.location.origin+("/"!==e.printable.charAt(0)?"/"+e.printable:e.printable);var r=new window.XMLHttpRequest;r.responseType="arraybuffer",r.addEventListener("error",function(){Object(a.cleanUp)(e),e.onError(r.statusText,r)}),r.addEventListener("load",function(){if(-1===[200,201].indexOf(r.status))return Object(a.cleanUp)(e),void e.onError(r.statusText,r);o(e,t,r.response)}),r.open("GET",e.printable,!0),r.send()}}}},"./src/js/print.js":function(e,t,n){"use strict";n.r(t);var r=n("./src/js/browser.js"),a=n("./src/js/functions.js"),o={send:function(e,t){document.getElementsByTagName("body")[0].appendChild(t);var n=document.getElementById(e.frameId);n.onload=function(){if("pdf"!==e.type){var t=n.contentWindow||n.contentDocument;if(t.document&&(t=t.document),t.body.appendChild(e.printableElement),"pdf"!==e.type&&e.style){var a=document.createElement("style");a.innerHTML=e.style,t.head.appendChild(a)}var o=t.getElementsByTagName("img");o.length>0?function(e){var t=e.map(function(e){if(e.src&&e.src!==window.location.href)return function(e){return new Promise(function(t){!function n(){e&&void 0!==e.naturalWidth&&0!==e.naturalWidth&&e.complete?t():setTimeout(n,500)}()})}(e)});return Promise.all(t)}(Array.from(o)).then(function(){return i(n,e)}):i(n,e)}else r.default.isFirefox()?setTimeout(function(){return i(n,e)},1e3):i(n,e)}}};function i(e,t){try{if(e.focus(),r.default.isEdge()||r.default.isIE())try{e.contentWindow.document.execCommand("print",!1,null)}catch(t){e.contentWindow.print()}else e.contentWindow.print()}catch(e){t.onError(e)}finally{r.default.isFirefox()&&(e.style.visibility="hidden",e.style.left="-1px"),Object(a.cleanUp)(t)}}t.default=o},"./src/js/raw-html.js":function(e,t,n){"use strict";n.r(t);var r=n("./src/js/print.js");t.default={print:function(e,t){e.printableElement=document.createElement("div"),e.printableElement.setAttribute("style","width:100%"),e.printableElement.innerHTML=e.printable,r.default.send(e,t)}}},"./src/sass/index.scss":function(e,t,n){},0:function(e,t,n){e.exports=n("./src/index.js")}}).default},e.exports=r()},CIZm:function(e,t,n){"use strict";t.a=function(e){return Object(r.a)({url:"admin/erp/warehouseOutItem",method:"get",loaidng:!1,params:e})};var r=n("vLgD")},FWz8:function(e,t,n){"use strict";t.m=function(e,t){return Object(r.a)({url:"/admin/erp/warehouseOut/audit/"+e,method:"post",headers:{"Content-Type":"application/json"},params:t})},t.f=function(e){return Object(r.a)({url:"admin/systems/logi-companies",method:"get",loading:!1,params:e})},t.q=function(e){return Object(r.a)({url:"admin/erp/warehouseOut/ship",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.k=function(e){return Object(r.a)({url:"admin/erp/warehouseOut/"+e,method:"get",loaidng:!1})},t.j=function(e){return Object(r.a)({url:"/admin/erp/order/saleOrder/list",method:"get",loaidng:!1,params:e})},t.d=function(e){return Object(r.a)({url:"admin/erp/warehouseOut/"+e,method:"delete"})},t.a=function(e){return Object(r.a)({url:"admin/erp/warehouseOut",method:"post",loading:!1,headers:{"Content-Type":"application/json"},data:e})},t.l=function(e){return Object(r.a)({url:"admin/erp/warehouseOut/preview",method:"post",loading:!1,headers:{"Content-Type":"application/json"},data:e})},t.i=function(e){return Object(r.a)({url:"admin/erp/order",method:"get",loading:!1,params:e})},t.h=function(e){return Object(r.a)({url:"admin/erp/order/"+e,method:"get",loading:!1})},t.b=function(e){return Object(r.a)({url:"admin/erp/order",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.e=function(e,t){return Object(r.a)({url:"admin/erp/order/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.p=function(e){return Object(r.a)({url:"admin/erp/order/"+e+"/submit",method:"post"})},t.r=function(e){return Object(r.a)({url:"admin/erp/order/"+e+"/withdraw",method:"post"})},t.c=function(e,t,n){return Object(r.a)({url:"admin/erp/order/"+e+"/audit",method:"post",params:{status:t,remark:n}})},t.o=function(e){return Object(r.a)({url:"admin/erp/order/"+e+"/payment",method:"post"})},t.g=function(e,t){return Object(r.a)({url:"/admin/erp/order/kdShip/"+e,method:"post",headers:{"Content-Type":"application/json"},data:t})},t.n=function(e){return Object(r.a)({url:"/admin/erp/order/orderSend/"+e,method:"post"})};var r=n("vLgD")},"G+dR":function(e,t,n){"use strict";t.l=function(e,t){return Object(r.a)({url:"admin/lend/form/return/"+e,method:"post",headers:{"Content-Type":"application/json"},data:t})},t.j=function(e){return Object(r.a)({url:"admin/lend/form/"+e,method:"get"})},t.h=function(e){return Object(r.a)({url:"admin/lend/form/"+e,method:"get",loaidng:!1})},t.e=function(e){return Object(r.a)({url:"admin/lend/form/"+e,method:"delete"})},t.n=function(e){return Object(r.a)({url:"admin/erp/warehouseEntry",method:"get"})},t.k=function(e){return Object(r.a)({url:"/admin/erp/warehouse/area/query ",method:"get"})},t.c=function(e){return Object(r.a)({url:"/admin/erp/warehouse/area/create ",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.m=function(e){return Object(r.a)({url:"/admin/erp/warehouse/area/update ",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.f=function(e){return Object(r.a)({url:"/admin/erp/warehouse/area/delete",method:"delete",headers:{"Content-Type":"application/json"},data:e})},t.b=function(e){return Object(r.a)({url:"/admin/sale/channel",method:"get",loaidng:!1,params:e})},t.a=function(e){return Object(r.a)({url:"/admin/sale/channel",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.g=function(e,t){return Object(r.a)({url:"/admin/sale/channel/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.d=function(e){return Object(r.a)({url:"/admin/sale/channel/"+e,method:"delete"})},t.i=function(e){return Object(r.a)({url:"/admin/erp/warehouse/area/info",method:"post",headers:{"Content-Type":"application/json"},data:e})};var r=n("vLgD")},KPwQ:function(e,t,n){"use strict";t.d=function(e){return Object(r.a)({url:"admin/systems/logi-companies",method:"get",loading:!1,params:e})},t.a=i,t.b=function(e){return Object(r.a)({url:"admin/systems/logi-companies/"+e,method:"delete"})},t.c=function(e,t){var n=t.formItems;return delete t.formItems,Object(r.a)({url:"admin/systems/logi-companies/"+e+"?"+o.a.stringify(t),method:"put",headers:{"Content-Type":"application/json"},data:n})},t.e=function(e,t){return Object(r.a)({url:"admin/systems/logi-companies/"+e,method:"post",data:{disabled:t}})};var r=n("vLgD"),a=n("mw3O"),o=n.n(a);function i(e){var t=e.formItems;return delete e.formItems,Object(r.a)({url:"admin/systems/logi-companies?"+o.a.stringify(e),method:"post",headers:{"Content-Type":"application/json"},data:t})}},aANz:function(e,t,n){"use strict";t.d=function(e){return Object(r.a)({url:"/admin/erp/collectingAccount",method:"get",params:e})},t.a=function(e){return Object(r.a)({url:"/admin/erp/collectingAccount",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.c=function(e,t){return Object(r.a)({url:"admin/erp/collectingAccount/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.b=function(e){return Object(r.a)({url:"admin/erp/collectingAccount/"+e,method:"delete"})},t.f=function(e,t){return Object(r.a)({url:"admin/erp/collectingAccount/"+e+"/enableFlag",method:"put",params:{enable_flag:t}})},t.e=function(e){return Object(r.a)({url:"admin/erp/collectingAccount/"+e+"/default",method:"put"})};var r=n("vLgD")},dClm:function(e,t,n){"use strict";t.e=function(e){return Object(r.a)({url:"/admin/erp/store",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.s=function(e,t){return Object(r.a)({url:"/admin/erp/store/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.l=function(e){return Object(r.a)({url:"/admin/erp/store/"+e,method:"delete"})},t.v=function(e){return Object(r.a)({url:"/admin/erp/store",method:"get",loading:!1,params:e})},t.x=function(e){return Object(r.a)({url:"admin/goods/brands",method:"get",loading:!1,params:e})},t.w=function(){return Object(r.a)({url:"admin/goods/brands/all",method:"get",loading:!1})},t.a=function(e){return Object(r.a)({url:"admin/goods/brands",method:"post",data:e})},t.o=function(e,t){return Object(r.a)({url:"admin/goods/brands/"+e,method:"put",data:t})},t.i=function(e){Array.isArray(e)&&(e=e.join(","));return Object(r.a)({url:"admin/goods/brands/"+e,method:"delete"})},t.q=function(e,t){return Object(r.a)({url:"admin/erp/marketingManager/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.c=function(e){return Object(r.a)({url:"admin/erp/marketingManager",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.y=function(e){return Object(r.a)({url:"admin/erp/marketingManager",method:"get",loaidng:!1,params:e})},t.z=function(e){return Object(r.a)({url:"admin/erp/noGenerateRule",method:"get",loaidng:!1,params:e})},t.r=function(e,t){return Object(r.a)({url:"admin/erp/noGenerateRule/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.d=function(e){return Object(r.a)({url:"admin/erp/noGenerateRule",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.k=function(e){return Object(r.a)({url:"admin/erp/noGenerateRule/"+e,method:"delete"})},t.B=function(e){return Object(r.a)({url:"admin/erp/warehouse",method:"get",params:e})},t.u=function(e,t){return Object(r.a)({url:"admin/erp/warehouse/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.g=function(e){return Object(r.a)({url:"admin/erp/warehouse",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.n=function(e){return Object(r.a)({url:"admin/erp/warehouse/"+e,method:"delete"})},t.C=function(e){return Object(r.a)({url:"admin/erp/warehouse/list-all",method:"get",loading:!1,params:e})},t.A=function(e){return Object(r.a)({url:"admin/erp/supplier",method:"get",loading:!1,params:e})},t.t=function(e,t){return Object(r.a)({url:"admin/erp/supplier/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.f=function(e){return Object(r.a)({url:"admin/erp/supplier",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.m=function(e){return Object(r.a)({url:"admin/erp/supplier/"+e,method:"delete"})},t.D=function(e){return Object(r.a)({url:"admin/erp/warehouse",method:"get",loading:!1})},t.h=function(e){return Object(r.a)({url:"/admin/erp/customer",method:"get",loading:!1,params:e})},t.p=function(e,t){return Object(r.a)({url:"/admin/erp/customer/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.b=function(e){return Object(r.a)({url:"/admin/erp/customer",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.j=function(e){return Object(r.a)({url:"/admin/erp/customer/"+e,method:"delete"})};var r=n("vLgD")},dO7o:function(e,t,n){"use strict";t.m=function(e){return Object(r.a)({url:"admin/change/form/submit/"+e,method:"post"})},t.b=function(e){return Object(r.a)({url:"admin/change/form/cancel/"+e,method:"post"})},t.a=function(e,t){return Object(r.a)({url:"admin/change/form/audit/"+e,method:"post",data:t})},t.f=function(e){return Object(r.a)({url:"/admin/erp/warehouseEntry/"+e,method:"get",loaidng:!1})},t.h=function(e){return Object(r.a)({url:"/admin/erp/warehouseOut/"+e,method:"get",loaidng:!1})},t.c=function(e){return Object(r.a)({url:"admin/change/form/"+e,method:"delete"})},t.n=function(e){return Object(r.a)({url:"/admin/erp/warehouseEntry",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.d=function(e,t){return Object(r.a)({url:"/admin/erp/warehouseEntry/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.o=function(e){return Object(r.a)({url:"/admin/erp/warehouseOut",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.g=function(e){return Object(r.a)({url:"/admin/erp/goods",method:"get",loaidng:!1,params:e})},t.l=function(e){return Object(r.a)({url:"/admin/erp/warehouseOut",method:"get",loaidng:!1,params:e})},t.k=function(e){return Object(r.a)({url:"/admin/erp/warehouseEntry",method:"get",loaidng:!1,params:e})},t.i=function(e){return Object(r.a)({url:"/admin/systems/admin-users/info",method:"get",loaidng:!1,params:e})},t.j=function(e){return Object(r.a)({url:"/admin/erp/warehouseEntryProduct/getStockByWarehouseGood",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.e=function(e,t){return Object(r.a)({url:"/admin/erp/warehouseOut/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})};var r=n("vLgD")},hky6:function(e,t,n){"use strict";t.y=function(e){return Object(r.a)({url:"admin/system-logs",method:"get",loaidng:!1,params:e})},t.x=function(e){return Object(r.a)({url:"admin/erp/post",method:"get",params:e})},t.w=function(){return Object(r.a)({url:"admin/erp/post/list-all",method:"get",loaidng:!1})},t.e=function(e){return Object(r.a)({url:"admin/erp/post",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.o=function(e,t){return Object(r.a)({url:"admin/erp/post/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.j=function(e){return Object(r.a)({url:"admin/erp/post/"+e,method:"delete"})},t.k=function(e){return Object(r.a)({url:"admin/erp/post/"+e,method:"delete"})},t.p=function(){return Object(r.a)({url:"admin/systems/dept/list",method:"get"})},t.a=function(e){return Object(r.a)({url:"admin/systems/dept/create?region="+e.region,method:"post",headers:{"Content-Type":"application/json"},data:e})},t.l=function(e){return Object(r.a)({url:"admin/systems/dept/update?region="+e.region,method:"put",headers:{"Content-Type":"application/json"},data:e})},t.f=function(e){return Object(r.a)({url:"admin/systems/dept/delete",method:"delete",params:e})},t.t=function(e){return Object(r.a)({url:"admin/systems/dict-type/page",method:"get",params:e})},t.c=function(e){return Object(r.a)({url:"admin/systems/dict-type/create",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.n=function(e){return Object(r.a)({url:"admin/systems/dict-type/update",method:"put",headers:{"Content-Type":"application/json"},data:e})},t.h=function(e){return Object(r.a)({url:"admin/systems/dict-type/delete",method:"delete",params:e})},t.q=function(e){return Object(r.a)({url:"admin/systems/dict-data/list-all-simple",method:"get",loaidng:!1,params:{dict_type:e}})},t.r=function(e){return Object(r.a)({url:"admin/systems/dict-data/page",method:"get",loaidng:!1,params:e})},t.m=function(e){return Object(r.a)({url:"admin/systems/dict-data/update",method:"put",headers:{"Content-Type":"application/json"},data:e})},t.b=function(e){return Object(r.a)({url:"admin/systems/dict-data/create",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.g=function(e){return Object(r.a)({url:"admin/systems/dict-data/delete",method:"delete",params:e})},t.s=function(){return Object(r.a)({url:"/admin/erp/goods/sn",method:"get",loaidng:!1})},t.d=function(e){return Object(r.a)({url:"/admin/erp/goods/sn/save",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.i=function(e){return Object(r.a)({url:"/admin/erp/goods/sn/delete/"+e,method:"delete",params:params})},t.u=function(){return Object(r.a)({url:"/admin/erp/warehouse/list-all",method:"get",loaidng:!1})},t.v=function(e){return Object(r.a)({url:"/admin/systems/dict-data/page",method:"get",loaidng:!1,params:e})};var r=n("vLgD")},qsHl:function(e,t,n){"use strict";t.f=function(e){return Object(r.a)({url:"admin/erp/goods",method:"get",loading:!1,params:e})},t.e=function(e){return Object(r.a)({url:"admin/erp/goods/"+e,method:"get",loading:!1})},t.c=function(e,t){return Object(r.a)({url:"admin/erp/goods/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.a=function(e){return Object(r.a)({url:"admin/erp/goods",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.b=function(e){return Object(r.a)({url:"admin/erp/goods/"+e,method:"delete"})},t.h=function(e){return Object(r.a)({url:"admin/erp/productStock/list-stock-warning",method:"get",loading:!1,params:e})},t.g=function(e){return Object(r.a)({url:"admin/goods/categories/"+e+"/params",method:"get",loading:!1})},t.d=function(e,t){return Object(r.a)({url:"admin/goods/categories/"+e+"/"+t+"/params",method:"get",loading:!1})},t.i=function(e){return Object(r.a)({url:"/admin/erp/goods/update",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.j=function(e){return Object(r.a)({url:"/admin/erp/goods/sort",method:"post",headers:{"Content-Type":"application/json"},data:e})};var r=n("vLgD")},rySZ:function(e,t,n){"use strict";t.h=function(e,t){return Object(r.a)({url:"admin/erp/stockTransfer/"+e+"/reject?handle_by_id="+t.in_handled_by_id+"&handle_by_id_name="+t.in_handled_by_name,method:"post"})},t.j=function(e,t){return Object(r.a)({url:"admin/erp/stockTransfer/"+e+"/confirm?handle_by_id="+t.in_handled_by_id+"&handle_by_id_name="+t.in_handled_by_name,method:"post"})},t.i=function(e){return Object(r.a)({url:"admin/erp/stockTransfer/"+e+"/submit",method:"post"})},t.k=function(e){return Object(r.a)({url:"admin/erp/stockTransfer/"+e+"/withdraw",method:"post"})},t.d=function(e){return Object(r.a)({url:"admin/erp/stockTransfer/"+e,method:"get",loaidng:!1})},t.a=function(e){return Object(r.a)({url:"admin/erp/stockTransfer",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.c=function(e,t){return Object(r.a)({url:"admin/erp/stockTransfer/"+e,method:"put",headers:{"Content-Type":"application/json"},data:t})},t.g=function(e){return Object(r.a)({url:"/admin/erp/productStock",method:"get",loaidng:!1,params:e})},t.b=function(e){return Object(r.a)({url:"/admin/erp/productStock/delete",method:"post",headers:{"Content-Type":"application/json"},data:e})},t.e=function(e){return Object(r.a)({url:"/admin/erp/productStock/getOne",method:"get",loaidng:!1,params:e})},t.f=function(e){return Object(r.a)({url:"/admin/erp/stockTransfer/"+e+"/withdraw",method:"post",headers:{"Content-Type":"application/json"}})};var r=n("vLgD")},s8Ph:function(e,t,n){"use strict";t.a=function(e){var t={name:e.category_name,parent_id:e.parent_id?e.parent_id:"0",customSn:e.custom_sn,is_show:"YES"};return Object(r.a)({url:"admin/goods/categories",method:"post",data:t})},t.c=function(e,t){var n={name:t.category_name,parent_id:t.parent_id?t.parent_id:"0",customSn:t.custom_sn};return Object(r.a)({url:"admin/goods/categories/"+e,method:"put",data:n})},t.g=function(e,t){return Object(r.a)({url:"admin/goods/categories/"+e+"/specs",method:"put",data:{choose_specs:t}})},t.f=function(e){return Object(r.a)({url:"admin/goods/categories/"+e+"/specs",method:"get"})},t.b=function(e){Array.isArray(e)&&(e=e.join(","));return Object(r.a)({url:"admin/goods/categories/"+e,method:"delete"})},t.d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0";return Object(r.a)({url:"admin/goods/categories/"+e+"/all-children",method:"get",loading:!1})},t.e=function(e){return Object(r.a)({url:"admin/goods/categories/"+e+"/param",method:"get"})};var r=n("vLgD")}});