ERP/static/js/chunk-0c01.7032ba9d.js

2 lines
27 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0c01"],{"4J1n":function(e,t,a){},BJvg:function(e,t,a){"use strict";a.d(t,"j",function(){return i}),a.d(t,"e",function(){return o}),a.d(t,"a",function(){return r}),a.d(t,"l",function(){return l}),a.d(t,"h",function(){return d}),a.d(t,"c",function(){return s}),a.d(t,"d",function(){return c}),a.d(t,"n",function(){return p}),a.d(t,"g",function(){return u}),a.d(t,"k",function(){return m}),a.d(t,"b",function(){return y}),a.d(t,"m",function(){return v}),a.d(t,"f",function(){return f}),a.d(t,"i",function(){return g});var n=a("t3Un");function i(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("type",e),t.append("pagenum",1),t.append("pagesize",9999),Object(n.a)({url:"http://192.168.1.45:8080/customer/searchCusCategory",method:"post",data:t})}function o(e){var t=new URLSearchParams;return""!==e.customername&&null!==e.customername&&void 0!==e.customername&&t.append("customername",e.customername),""!==e.level&&null!==e.level&&void 0!==e.level&&t.append("level",e.level),""!==e.createtime&&null!==e.createtime&&void 0!==e.createtime&&t.append("createtime",e.createtime),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.repositoryid&&null!==e.repositoryid&&void 0!==e.repositoryid&&t.append("repositoryid",e.repositoryid),""!==e.source&&null!==e.source&&void 0!==e.source&&t.append("source",e.source),""!==e.customerphone&&null!==e.customerphone&&void 0!==e.customerphone&&t.append("customerphone",e.customerphone),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(n.a)({url:"http://192.168.1.45:8080/customer/customerlist",method:"post",data:t})}function r(e){var t=new URLSearchParams;return""!==e.firstname&&null!==e.firstname&&void 0!==e.firstname&&t.append("firstname",e.firstname),""!==e.middlename&&null!==e.middlename&&void 0!==e.middlename&&t.append("middlename",e.middlename),""!==e.lastname&&null!==e.lastname&&void 0!==e.lastname&&t.append("lastname",e.lastname),""!==e.email&&null!==e.email&&void 0!==e.email&&t.append("email",e.email),""!==e.phone&&null!==e.phone&&void 0!==e.phone&&t.append("phone",e.phone),""!==e.gender&&null!==e.gender&&void 0!==e.gender&&t.append("gender",e.gender),""!==e.countryid&&null!==e.countryid&&void 0!==e.countryid&&t.append("countryid",e.countryid),""!==e.provinceid&&null!==e.provinceid&&void 0!==e.provinceid&&t.append("provinceid",e.provinceid),""!==e.cityid&&null!==e.cityid&&void 0!==e.cityid&&t.append("cityid",e.cityid),""!==e.level&&null!==e.level&&void 0!==e.level&&t.append("level",e.level),""!==e.address&&null!==e.address&&void 0!==e.address&&t.append("address",e.address),""!==e.repositoryid&&null!==e.repositoryid&&void 0!==e.repositoryid&&t.append("repositoryid",e.repositoryid),""!==e.birthday&&null!==e.birthday&&void 0!==e.birthday&&t.append("birthday",e.birthday),""!==e.source&&null!==e.source&&void 0!==e.source&&t.append("source",e.source),""!==e.newold&&null!==e.newold&&void 0!==e.newold&&t.append("newold",e.newold),""!==e.customertype&&null!==e.customertype&&void 0!==e.customertype&&t.append("customertype",e.customertype),Object(n.a)({url:"http://192.168.1.45:8080/customer/addCustomer",method:"post",data:t})}function l(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("customerid",e.id),""!==e.firstName&&null!==e.firstName&&void 0!==e.firstName&&t.append("firstname",e.firstName),""!==e.middleName&&null!==e.middleName&&void 0!==e.middleName&&t.append("middlename",e.middleName),""!==e.lastName&&null!==e.lastName&&void 0!==e.lastName&&t.append("lastname",e.lastName),""!==e.phoneNumber&&null!==e.phoneNumber&&void 0!==e.phoneNumber&&t.append("phone",e.phoneNumber),""!==e.gender&&null!==e.gender&&void 0!==e.gender&&t.append("gender",e.gender),""!==e.countryid&&null!==e.countryid&&void 0!==e.countryid&&t.append("countryid",e.countryid),""!==e.provinceid&&null!==e.provinceid&&void 0!==e.provinceid&&t.append("provinceid",e.provinceid),""!==e.cityid&&null!==e.cityid&&void 0!==e.cityid&&t.append("cityid",e.cityid),""!==e.level&&null!==e.level&&void 0!==e.level&