ERP/static/js/chunk-0b51.be9d5b19.js

2 lines
15 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0b51"],{20:function(e,a){},21:function(e,a){},22:function(e,a){},VG0r:function(e,a,t){"use strict";t.d(a,"l",function(){return d}),t.d(a,"k",function(){return i}),t.d(a,"a",function(){return p}),t.d(a,"m",function(){return n}),t.d(a,"e",function(){return c}),t.d(a,"d",function(){return o}),t.d(a,"j",function(){return u}),t.d(a,"g",function(){return s}),t.d(a,"h",function(){return l}),t.d(a,"i",function(){return m}),t.d(a,"b",function(){return v}),t.d(a,"c",function(){return h}),t.d(a,"n",function(){return j}),t.d(a,"f",function(){return f});var r=t("t3Un");function d(e){var a=new URLSearchParams;return""!==e&&null!==e&&a.append("type",e),a.append("pagenum",1),a.append("pagesize",99999),Object(r.a)({url:"http://192.168.1.45:8080/product/searchProCategory",method:"post",data:a})}function i(e){var a=new URLSearchParams;return""!==e.categoryname&&null!==e.categoryname&&a.append("categoryname",e.categoryname),""!==e.iseffective&&null!==e.iseffective&&a.append("iseffective",e.iseffective),""!==e.type&&null!==e.type&&a.append("type",e.type),a.append("pagenum",e.pagenum),a.append("pagesize",e.pagesize),Object(r.a)({url:"http://192.168.1.45:8080/product/searchProCategory",method:"post",data:a})}function p(e){var a=new URLSearchParams;return""!==e.categoryname&&null!==e.categoryname&&a.append("categoryname",e.categoryname),""!==e.category&&null!==e.category&&a.append("category",e.category),""!==e.iseffective&&null!==e.iseffective&&a.append("iseffective",e.iseffective),""!==e.type&&null!==e.type&&a.append("type",e.type),Object(r.a)({url:"http://192.168.1.45:8080/product/addProCategory",method:"post",data:a})}function n(e){var a=new URLSearchParams;return""!==e.categoryName&&null!==e.categoryName&&a.append("categoryname",e.categoryName),""!==e.isEffective&&null!==e.isEffective&&a.append("iseffective",e.isEffective),""!==e.id&&null!==e.id&&a.append("id",e.id),Object(r.a)({url:"http://192.168.1.45:8080/product/updateProCategory",method:"post",data:a})}function c(e){var a=new URLSearchParams;return""!==e&&null!==e&&a.append("ids",e),Object(r.a)({url:"http://192.168.1.45:8080/product/delateProCategory",method:"post",data:a})}function o(e){var a=new URLSearchParams;return""!==e.code&&null!==e.code&&void 0!==e.code&&a.append("code",e.code),""!==e.barcode&&null!==e.barcode&&void 0!==e.barcode&&a.append("barcode",e.barcode),""!==e.productname&&null!==e.productname&&void 0!==e.productname&&a.append("productname",e.productname),""!==e.typeid&&null!==e.typeid&&void 0!==e.typeid&&a.append("typeid",e.typeid),""!==e.categoryid&&null!==e.categoryid&&void 0!==e.categoryid&&a.append("categoryid",e.categoryid),""!==e.color&&null!==e.color&&void 0!==e.color&&a.append("color",e.color),""!==e.brand&&null!==e.brand&&void 0!==e.brand&&a.append("brand",e.brand),""!==e.kpigrade&&null!==e.kpigrade&&void 0!==e.kpigrade&&a.append("kpigrade",e.kpigrade),""!==e.point&&null!==e.point&&void 0!==e.point&&a.append("point",e.point),""!==e.zhibaoqi&&null!==e.zhibaoqi&&void 0!==e.zhibaoqi&&a.append("zhibaoqi",e.zhibaoqi),""!==e.weight&&null!==e.weight&&void 0!==e.weight&&a.append("weight",e.weight),""!==e.volume&&null!==e.volume&&void 0!==e.volume&&a.append("volume",e.volume),""!==e.costprice&&null!==e.costprice&&void 0!==e.costprice&&a.append("costprice",e.costprice),""!==e.tradeprice&&null!==e.tradeprice&&void 0!==e.tradeprice&&a.append("tradeprice",e.tradeprice),""!==e.saleprice&&null!==e.saleprice&&void 0!==e.saleprice&&a.append("saleprice",e.saleprice),""!==e.purchaseprice&&null!==e.purchaseprice&&void 0!==e.purchaseprice&&a.append("purchaseprice",e.purchaseprice),""!==e.lowerprice&&null!==e.lowerprice&&void 0!==e.lowerprice&&a.append("lowerprice",e.lowerprice),""!==e.supplierid&&null!==e.supplierid&&void 0!==e.supplierid&&a.append("supplierid",e.supplierid),""!==e.createid&&null!==e.createid&&void 0!==e.createid&&a.append("createid",e.createid),""!==e.createid&&null!==e.createid&&void 0!==e.createid&&a.append("createid",e.createid),""!==e.level&&null!==e.level&&void 0!==e.level&&a.append("level",e.level