ERP/static/js/chunk-229f.e30a8451.js
beyond e4cd916a0c beyond 8.1 version2
beyond 8.1 version2
2019-08-01 19:52:12 +08:00

1 line
32 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-229f"],{"0zGY":function(e,t,a){"use strict";a.d(t,"g",function(){return r}),a.d(t,"l",function(){return n}),a.d(t,"e",function(){return p}),a.d(t,"h",function(){return d}),a.d(t,"o",function(){return o}),a.d(t,"j",function(){return l}),a.d(t,"i",function(){return c}),a.d(t,"b",function(){return s}),a.d(t,"c",function(){return u}),a.d(t,"n",function(){return m}),a.d(t,"f",function(){return v}),a.d(t,"k",function(){return f}),a.d(t,"a",function(){return g}),a.d(t,"m",function(){return h}),a.d(t,"d",function(){return y});var i=a("t3Un");function r(e){return Object(i.a)({url:"http://192.168.1.45:8080/country/getdeptlist",method:"post",params:e})}function n(e,t){var a=new URLSearchParams;return""!==e&&null!==e&&a.append("empids",e),""!==t&&null!==t&&a.append("stat",t),Object(i.a)({url:"http://192.168.1.45:8080/employee/startorendemp",method:"post",data:a})}function p(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("empids",e),Object(i.a)({url:"http://192.168.1.45:8080/employee/deleteemp",method:"post",data:t})}function d(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("id",e),Object(i.a)({url:"http://192.168.1.45:8080/employee/getempinfo",method:"post",data:t})}function o(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("employeeid",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.password&&null!==e.password&&void 0!==e.password&&t.append("passwd",e.password),""!==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.address&&null!==e.address&&void 0!==e.address&&t.append("address",e.address),""!==e.birthday&&null!==e.birthday&&void 0!==e.birthday&&t.append("birthday",e.birthday),""!==e.deptId&&null!==e.deptId&&void 0!==e.deptId&&t.append("deptid",e.deptId),""!==e.postId&&null!==e.postId&&void 0!==e.postId&&t.append("postid",e.postId),""!==e.repositoryid2&&null!==e.repositoryid2&&void 0!==e.repositoryid2&&t.append("repositoryid",e.repositoryid2),""!==e.regionId&&null!==e.regionId&&void 0!==e.regionId&&t.append("regionid",e.regionId),""!==e.certificateType&&null!==e.certificateType&&void 0!==e.certificateType&&t.append("certificatetype",e.certificateType),""!==e.certificateNumber&&null!==e.certificateNumber&&void 0!==e.certificateNumber&&t.append("certificatenumber",e.certificateNumber),Object(i.a)({url:"http://192.168.1.45:8080/employee/updateemp",method:"post",data:t})}function l(e){var t=new URLSearchParams;return t.append("firstname",e.firstname),t.append("middlename",e.middlename),t.append("lastname",e.lastname),t.append("passwd",e.passwd),t.append("email",e.email),t.append("phone",e.phone),t.append("gender",e.gender),t.append("countryid",e.country),t.append("provinceid",e.provinceid),t.append("cityid",e.cityid),t.append("address",e.address),""===e.birthday&&null===e.birthday||t.append("birthday",e.birthday),t.append("account",e.account),t.append("jobnumber",e.jobnumber),t.append("deptid",e.deptid),t.append("roleid",e.roleid),t.append("postid",e.postid),t.append("repositoryid",e.repositoryid),t.append("regionid",e.regionid1),t.append("certificatetype",e.certificatetype),t.append("certificatenumber",e.certificatenumber),Object(i.a)({url:"http://192.168.1.45:8080/employee/register",method:"post",data:t})}function c(e){var t=new URLSearchParams;return""!==e.repositoryid&&t.append("repositoryid",e.repositoryid),""!==e.regionid&&void 0!==e.regionid&&t.append("regionid",e.regionid),""!==e.postid&&t.append("postid",e.postid),""!==e.deptid&&t.append("deptid",e.deptid),""!==e.employeename&&t.append("employeename",e.employeename),""!==e.stat&&t.append("stat",e.stat),""!==e.time&&null!==e.time&&t.append("time",e.time),""!==e.jobnumber&&t.append("jobnumber",e.jobnumber),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(i.a)({url:"http://192.168.1.45:8080/employee/getemplist",method:"post",data:t})}function s(e){var t=new URLSearchParams;return""!==e.employeeid&&t.append("employeeid",e.employeeid),""!==e.contractname&&t.append("contractname",e.contractname),""!==e.signtime&&null!==e.signtime&&t.append("signtime",e.signtime),""!==e.expiredtime&&null!==e.expiredtime&&t.append("expiredtime",e.expiredtime),""!==e.effectivetime&&null!==e.effectivetime&&t.append("effectivetime",e.effectivetime),""!==e.typeid&&t.append("typeid",e.typeid),""!==e.attribute&&t.append("attribute",e.attribute),""!==e.period&&t.append("period",e.period),""!==e.iscorrection&&t.append("iscorrection",e.iscorrection),""!==e.stat&&t.append("stat",e.stat),""!==e.advanceday&&t.append("advanceday",e.advanceday),""!==e.trialsalary&&t.append("trialsalary",e.trialsalary),""!==e.correctionsalary&&t.append("correctionsalary",e.correctionsalary),""!==e.remindpersonid&&t.append("remindpersonid",e.remindpersonid),Object(i.a)({url:"http://192.168.1.45:8080/contract/addcontract",method:"post",data:t})}function u(e){var t=new URLSearchParams;return""!==e.contractname&&t.append("contractname",e.contractname),""!==e.contractnumber&&t.append("contractnumber",e.contractnumber),""!==e.empnumber&&t.append("empnumber",e.empnumber),""!==e.empname&&t.append("empname",e.empname),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(i.a)({url:"http://192.168.1.45:8080/contract/contractlist",method:"post",data:t})}function m(e){var t=new URLSearchParams;return""!==e.id&&t.append("contractid",e.id),""!==e.contractName&&t.append("contractname",e.contractName),""!==e.signTime&&t.append("signtime",e.signTime),""!==e.expiredTime&&t.append("expiredtime",e.expiredTime),""!==e.effectiveTime&&t.append("effectivetime",e.effectiveTime),""!==e.type&&t.append("typeid",e.type),""!==e.contractAttribute&&t.append("attribute",e.contractAttribute),""!==e.contractAttribute&&t.append("period",e.period),""!==e.isCorrection&&t.append("iscorrection",e.isCorrection),""!==e.stat&&t.append("stat",e.stat),""!==e.advanceDay&&t.append("advanceday",e.advanceDay),""!==e.trialSalary&&t.append("trialsalary",e.trialSalary),""!==e.correctionSalary&&t.append("correctionsalary",e.correctionSalary),""!==e.expiredRemindPersonId&&null!==e.expiredRemindPersonId&&t.append("remindpersonid",e.expiredRemindPersonId),Object(i.a)({url:"http://192.168.1.45:8080/contract/updatecontract",method:"post",data:t})}function v(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("empcontractids",e),Object(i.a)({url:"http://192.168.1.45:8080/contract/deleteempcontract",method:"post",data:t})}function f(e){var t=new URLSearchParams;return""!==e.categoryname&&null!==e.categoryname&&t.append("categoryname",e.categoryname),""!==e.iseffective&&null!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.type&&null!==e.type&&t.append("type",e.type),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(i.a)({url:"http://192.168.1.45:8080/employee/searchEmpCategory",method:"post",data:t})}function g(e){var t=new URLSearchParams;return""!==e.categoryname&&null!==e.categoryname&&t.append("categoryname",e.categoryname),""!==e.category&&null!==e.category&&t.append("category",e.category),""!==e.iseffective&&null!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.type&&null!==e.type&&t.append("type",e.type),Object(i.a)({url:"http://192.168.1.45:8080/employee/addEmpCategory",method:"post",data:t})}function h(e){var t=new URLSearchParams;return""!==e.categoryName&&null!==e.categoryName&&t.append("categoryname",e.categoryName),""!==e.isEffective&&null!==e.isEffective&&t.append("iseffective",e.isEffective),""!==e.id&&null!==e.id&&t.append("id",e.id),Object(i.a)({url:"http://192.168.1.45:8080/employee/updateEmpCategory",method:"post",data:t})}function y(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("ids",e),Object(i.a)({url:"http://192.168.1.45:8080/employee/delateEmpCategory",method:"post",data:t})}},"2Umm":function(e,t,a){},"6HaC":function(e,t,a){"use strict";a.d(t,"b",function(){return r}),a.d(t,"d",function(){return n}),a.d(t,"e",function(){return p}),a.d(t,"c",function(){return d}),a.d(t,"a",function(){return o});var i=a("t3Un");function r(e){return Object(i.a)({url:"http://192.168.1.45:8080/country/getcountrylist",method:"post",params:e})}function n(e){return Object(i.a)({url:"http://192.168.1.45:8080/region/detaillist",method:"post",params:e})}function p(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("regionId",e),t.append("pagenum",1),t.append("pagesize",99999),Object(i.a)({url:"http://192.168.1.45:8080/repository/searchRepository",method:"post",data:t})}function d(e){var t=new URLSearchParams;return t.append("countryid",e),Object(i.a)({url:"http://192.168.1.45:8080/country/getprovincelist",method:"post",data:t})}function o(e){var t=new URLSearchParams;return t.append("provinceid",e),Object(i.a)({url:"http://192.168.1.45:8080/country/getcitylist",method:"post",data:t})}},"777i":function(e,t,a){"use strict";var i=a("6HaC"),r=a("0zGY"),n=a("ZySA"),p=a("Mz3J"),d={directives:{waves:n.a},components:{Pagination:p.a},filters:{genderFilter:function(e){return{1:"男",2:"女"}[e]}},props:{control:{type:Boolean,default:!1}},data:function(){return{managerPeople:"",regionManagerId:"",currentRow:null,list:[],total:0,tableKey:0,listLoading:!0,getemplist:{repositoryid:"",regionid:"",postid:"",deptid:"",employeename:"",pagenum:1,pagesize:10,stat:1,time:"",jobnumber:""},depts:[],props2:{value:"id",label:"regionName",children:"regionListVos"},regions2:[],getemplistregions:[],repositories:[],employeeVisible:this.control,regionManagerVisible:!1}},watch:{control:function(){this.employeeVisible=this.control,console.log(this.control)}},created:function(){this.gitemplist()},methods:{gitemplist:function(){var e=this;this.listLoading=!0,console.log(this.getemplist),Object(r.i)(this.getemplist).then(function(t){200===t.data.ret?(e.list=t.data.data.content.list,e.total=t.data.data.content.totalCount):e.$notify.error({title:"错误",message:"出错了",offset:100}),setTimeout(function(){e.listLoading=!1},50)}),Object(r.g)().then(function(t){200===t.data.ret?e.depts=t.data.data.content:e.$notify.error({title:"错误",message:"出错了",offset:100})}),Object(i.d)().then(function(t){200===t.data.ret&&(e.regions2=e.tranKTree(t.data.data.content))})},tranKTree:function(e){var t=this;if(e&&e.length)return e.map(function(e){return{id:e.id,regionName:e.regionName,regionListVos:t.tranKTree(e.regionListVos)}})},handleFilter:function(){var e=this;this.getemplist.regionid=this.getemplistregions[this.getemplistregions.length-1],Object(r.i)(this.getemplist).then(function(t){200===t.data.ret?(e.list=t.data.data.content.list,e.total=t.data.data.content.totalCount):e.$notify.error({title:"错误",message:"出错了",offset:100})})},handleAdd:function(){this.employeeVisible=!1,this.$router.push("/EmployeeInformation/NewEmployeeInformation")},handlechange4:function(e){var t=this;console.log(e);var a=e[e.length-1];Object(i.e)(a).then(function(e){200===e.data.ret?(console.log(e),t.repositories=e.data.data.content.list):t.$message.error("出错了")})},restemplist:function(){this.getemplist={repositoryid:"",regionid:"",postid:"",deptid:"",employeename:"",pagenum:1,pagesize:10,stat:1,time:"",jobnumber:""},this.getemplistregions=[]},handleCurrentChange:function(e){this.$emit("personName",e),this.employeeVisible=!1}}},o=(a("ZK6N"),a("KHd+")),l=Object(o.a)(d,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{visible:e.employeeVisible,control:e.control,"close-on-press-escape":!1,top:"10px",title:"选择员工","append-to-body":""},on:{"update:visible":function(t){e.employeeVisible=t},close:function(t){e.$emit("update:control",!1)}}},[a("div",{staticClass:"filter-container"},[a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.employeename"),clearable:""},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.getemplist.employeename,callback:function(t){e.$set(e.getemplist,"employeename",t)},expression:"getemplist.employeename"}}),e._v(" "),a("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("NewEmployeeInformation.jobnumber2"),clearable:""},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.getemplist.jobnumber,callback:function(t){e.$set(e.getemplist,"jobnumber",t)},expression:"getemplist.jobnumber"}}),e._v(" "),a("el-date-picker",{staticClass:"filter-item",attrs:{type:"date",placeholder:"选择日期","value-format":"yyyy-MM-dd"},model:{value:e.getemplist.time,callback:function(t){e.$set(e.getemplist,"time",t)},expression:"getemplist.time"}}),e._v(" "),a("el-popover",{attrs:{placement:"bottom",width:"500",trigger:"click"}},[a("el-cascader",{staticStyle:{width:"40%",float:"left","margin-left":"20px"},attrs:{options:e.regions2,props:e.props2,"show-all-levels":!1,placeholder:"请选择区域","change-on-select":"",filterable:"",clearable:""},on:{change:e.handlechange4},model:{value:e.getemplistregions,callback:function(t){e.getemplistregions=t},expression:"getemplistregions"}}),e._v(" "),a("el-select",{staticStyle:{width:"40%",float:"right","margin-right":"20px"},attrs:{placeholder:"请选择门店",clearable:"",filterable:""},model:{value:e.getemplist.repositoryid,callback:function(t){e.$set(e.getemplist,"repositoryid",t)},expression:"getemplist.repositoryid"}},e._l(e.repositories,function(e,t){return a("el-option",{key:t,attrs:{label:e.repositoryName,value:e.id}})})),e._v(" "),a("el-select",{staticClass:"filter-item",staticStyle:{width:"40%",float:"left","margin-top":"10px","margin-left":"20px"},attrs:{value:e.getemplist.postid,placeholder:e.$t("NewEmployeeInformation.postid2"),clearable:""},model:{value:e.getemplist.postid,callback:function(t){e.$set(e.getemplist,"postid",t)},expression:"getemplist.postid"}},[a("el-option",{attrs:{label:"xxx",value:"1"}}),e._v(" "),a("el-option",{attrs:{label:"xxx",value:"2"}})],1),e._v(" "),a("el-select",{staticClass:"filter-item",staticStyle:{width:"40%",float:"right","margin-top":"10px","margin-right":"20px"},attrs:{placeholder:e.$t("NewEmployeeInformation.deptid2"),clearable:""},model:{value:e.getemplist.deptid,callback:function(t){e.$set(e.getemplist,"deptid",t)},expression:"getemplist.deptid"}},e._l(e.depts,function(e,t){return a("el-option",{key:t,attrs:{label:e.deptName,value:e.id}})})),e._v(" "),a("div",{staticClass:"seachbutton",staticStyle:{width:"100%",float:"right","margin-top":"20px"}},[a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{float:"right"},attrs:{type:"primary"},on:{click:e.handleFilter}},[e._v(e._s(e.$t("public.search")))])],1),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"130px"},attrs:{slot:"reference",type:"primary"},slot:"reference"},[e._v(e._s(e.$t("public.filter"))),a("svg-icon",{staticStyle:{"margin-left":"4px"},attrs:{"icon-class":"shaixuan"}})],1)],1),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v(e._s(e.$t("public.search")))]),e._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{icon:"el-icon-plus",type:"success"},on:{click:e.handleAdd}},[e._v(e._s(e.$t("public.add")))])],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"current-change":e.handleCurrentChange}},[a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.id"),resizable:!1,property:"id",align:"center",width:"50"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.jobNumber"),resizable:!1,property:"jobNumber",align:"center",width:"100"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.account"),resizable:!1,property:"account",width:"150",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.name"),resizable:!1,align:"center",width:"109"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.firstName)+" "+e._s(t.row.middleName)+" "+e._s(t.row.lastName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.gender"),resizable:!1,prop:"gender",align:"center",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e._f("genderFilter")(t.row.gender)))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.deptName"),resizable:!1,prop:"deptName",align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.deptName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.regionName"),resizable:!1,prop:"regionName",align:"center",width:"230"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.regionName))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:e.$t("NewEmployeeInformation.repositoryName"),resizable:!1,prop:"repositoryName",align:"center",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.repositoryName))])]}}])})],1),e._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.getemplist.pagenum,limit:e.getemplist.pagesize},on:{"update:page":function(t){e.$set(e.getemplist,"pagenum",t)},"update:limit":function(t){e.$set(e.getemplist,"pagesize",t)},pagination:e.gitemplist}})],1)},[],!1,null,"6447f398",null);l.options.__file="MyEmp.vue";t.a=l.exports},VG0r:function(e,t,a){"use strict";a.d(t,"l",function(){return r}),a.d(t,"k",function(){return n}),a.d(t,"a",function(){return p}),a.d(t,"m",function(){return d}),a.d(t,"e",function(){return o}),a.d(t,"d",function(){return l}),a.d(t,"j",function(){return c}),a.d(t,"g",function(){return s}),a.d(t,"h",function(){return u}),a.d(t,"i",function(){return m}),a.d(t,"b",function(){return v}),a.d(t,"c",function(){return f}),a.d(t,"n",function(){return g}),a.d(t,"f",function(){return h});var i=a("t3Un");function r(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("type",e),t.append("pagenum",1),t.append("pagesize",99999),Object(i.a)({url:"http://192.168.1.45:8080/product/searchProCategory",method:"post",data:t})}function n(e){var t=new URLSearchParams;return""!==e.categoryname&&null!==e.categoryname&&t.append("categoryname",e.categoryname),""!==e.iseffective&&null!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.type&&null!==e.type&&t.append("type",e.type),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(i.a)({url:"http://192.168.1.45:8080/product/searchProCategory",method:"post",data:t})}function p(e){var t=new URLSearchParams;return""!==e.categoryname&&null!==e.categoryname&&t.append("categoryname",e.categoryname),""!==e.category&&null!==e.category&&t.append("category",e.category),""!==e.iseffective&&null!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.type&&null!==e.type&&t.append("type",e.type),Object(i.a)({url:"http://192.168.1.45:8080/product/addProCategory",method:"post",data:t})}function d(e){var t=new URLSearchParams;return""!==e.categoryName&&null!==e.categoryName&&t.append("categoryname",e.categoryName),""!==e.isEffective&&null!==e.isEffective&&t.append("iseffective",e.isEffective),""!==e.id&&null!==e.id&&t.append("id",e.id),Object(i.a)({url:"http://192.168.1.45:8080/product/updateProCategory",method:"post",data:t})}function o(e){var t=new URLSearchParams;return""!==e&&null!==e&&t.append("ids",e),Object(i.a)({url:"http://192.168.1.45:8080/product/delateProCategory",method:"post",data:t})}function l(e){var t=new URLSearchParams;return""!==e.code&&null!==e.code&&void 0!==e.code&&t.append("code",e.code),""!==e.barcode&&null!==e.barcode&&void 0!==e.barcode&&t.append("barcode",e.barcode),""!==e.productname&&null!==e.productname&&void 0!==e.productname&&t.append("productname",e.productname),""!==e.typeid&&null!==e.typeid&&void 0!==e.typeid&&t.append("typeid",e.typeid),""!==e.categoryid&&null!==e.categoryid&&void 0!==e.categoryid&&t.append("categoryid",e.categoryid),""!==e.color&&null!==e.color&&void 0!==e.color&&t.append("color",e.color),""!==e.brand&&null!==e.brand&&void 0!==e.brand&&t.append("brand",e.brand),""!==e.kpigrade&&null!==e.kpigrade&&void 0!==e.kpigrade&&t.append("kpigrade",e.kpigrade),""!==e.point&&null!==e.point&&void 0!==e.point&&t.append("point",e.point),""!==e.zhibaoqi&&null!==e.zhibaoqi&&void 0!==e.zhibaoqi&&t.append("zhibaoqi",e.zhibaoqi),""!==e.weight&&null!==e.weight&&void 0!==e.weight&&t.append("weight",e.weight),""!==e.volume&&null!==e.volume&&void 0!==e.volume&&t.append("volume",e.volume),""!==e.costprice&&null!==e.costprice&&void 0!==e.costprice&&t.append("costprice",e.costprice),""!==e.tradeprice&&null!==e.tradeprice&&void 0!==e.tradeprice&&t.append("tradeprice",e.tradeprice),""!==e.saleprice&&null!==e.saleprice&&void 0!==e.saleprice&&t.append("saleprice",e.saleprice),""!==e.purchaseprice&&null!==e.purchaseprice&&void 0!==e.purchaseprice&&t.append("purchaseprice",e.purchaseprice),""!==e.lowerprice&&null!==e.lowerprice&&void 0!==e.lowerprice&&t.append("lowerprice",e.lowerprice),""!==e.supplierid&&null!==e.supplierid&&void 0!==e.supplierid&&t.append("supplierid",e.supplierid),""!==e.createid&&null!==e.createid&&void 0!==e.createid&&t.append("createid",e.createid),""!==e.createid&&null!==e.createid&&void 0!==e.createid&&t.append("createid",e.createid),""!==e.level&&null!==e.level&&void 0!==e.level&&t.append("level",e.level),""!==e.purchasemeasurement&&null!==e.purchasemeasurement&&void 0!==e.purchasemeasurement&&t.append("purchasemeasurement",e.purchasemeasurement),""!==e.salemeasurement&&null!==e.salemeasurement&&void 0!==e.salemeasurement&&t.append("salemeasurement",e.salemeasurement),""!==e.stockmeasurement&&null!==e.stockmeasurement&&void 0!==e.stockmeasurement&&t.append("stockmeasurement",e.stockmeasurement),""!==e.producemeasurement&&null!==e.producemeasurement&&void 0!==e.producemeasurement&&t.append("producemeasurement",e.producemeasurement),""!==e.source&&null!==e.source&&void 0!==e.source&&t.append("source",e.source),""!==e.valuation&&null!==e.valuation&&void 0!==e.valuation&&t.append("valuation",e.valuation),""!==e.isactive&&null!==e.isactive&&void 0!==e.isactive&&t.append("isactive",e.isactive),""!==e.picids&&null!==e.picids&&void 0!==e.picids&&t.append("picids",e.picids),""!==e.detailpicid&&null!==e.detailpicid&&void 0!==e.detailpicid&&t.append("detailpicid",e.detailpicid),""!==e.memberprice&&null!==e.memberprice&&void 0!==e.memberprice&&t.append("memberprice",e.memberprice),Object(i.a)({url:"http://192.168.1.45:8080/product/createnewproduct",method:"post",data:t})}function c(e){var t=new URLSearchParams;return""!==e.productid&&null!==e.productid&&void 0!==e.productid&&t.append("productid",e.productid),""!==e.code&&null!==e.code&&void 0!==e.code&&t.append("code",e.code),""!==e.productname&&null!==e.productname&&void 0!==e.productname&&t.append("productname",e.productname),""!==e.categoryid&&null!==e.categoryid&&void 0!==e.categoryid&&t.append("categoryid",e.categoryid),""!==e.typeid&&null!==e.typeid&&void 0!==e.typeid&&t.append("typeid",e.typeid),""!==e.isactive&&null!==e.isactive&&void 0!==e.isactive&&t.append("isactive",e.isactive),""!==e.supplierid&&null!==e.supplierid&&void 0!==e.supplierid&&t.append("supplierid",e.supplierid),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(i.a)({url:"http://192.168.1.45:8080/product/productlist",method:"post",data:t})}function s(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("productids",e),Object(i.a)({url:"http://192.168.1.45:8080/product/deleteproduct",method:"post",data:t})}function u(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("productid",e.id),""!==e.kpiGrade&&null!==e.kpiGrade&&void 0!==e.kpiGrade&&t.append("kpigrade",e.kpiGrade),""!==e.point&&null!==e.point&&void 0!==e.point&&t.append("point",e.point),""!==e.zhiBaoQi&&null!==e.zhiBaoQi&&void 0!==e.zhiBaoQi&&t.append("zhibaoqi",e.zhiBaoQi),""!==e.weight&&null!==e.weight&&void 0!==e.weight&&t.append("weight",e.weight),""!==e.volume&&null!==e.volume&&void 0!==e.volume&&t.append("volume",e.volume),""!==e.costPrice&&null!==e.costPrice&&void 0!==e.costPrice&&t.append("costprice",e.costPrice),""!==e.tradePrice&&null!==e.tradePrice&&void 0!==e.tradePrice&&t.append("tradeprice",e.tradePrice),""!==e.salePrice&&null!==e.salePrice&&void 0!==e.salePrice&&t.append("saleprice",e.salePrice),""!==e.purchasePrice&&null!==e.purchasePrice&&void 0!==e.purchasePrice&&t.append("purchaseprice",e.purchasePrice),""!==e.lowerPrice&&null!==e.lowerPrice&&void 0!==e.lowerPrice&&t.append("lowerprice",e.lowerPrice),""!==e.supplierid&&null!==e.supplierid&&void 0!==e.supplierid&&t.append("supplierid",e.supplierid),""!==e.level&&null!==e.level&&void 0!==e.level&&t.append("level",e.level),""!==e.purchaseMeasurement&&null!==e.purchaseMeasurement&&void 0!==e.purchaseMeasurement&&t.append("purchasemeasurement",e.purchaseMeasurement),""!==e.saleMeasurement&&null!==e.saleMeasurement&&void 0!==e.saleMeasurement&&t.append("salemeasurement",e.saleMeasurement),""!==e.stockMeasurement&&null!==e.stockMeasurement&&void 0!==e.stockMeasurement&&t.append("stockmeasurement",e.stockMeasurement),""!==e.produceMeasurement&&null!==e.produceMeasurement&&void 0!==e.produceMeasurement&&t.append("producemeasurement",e.produceMeasurement),""!==e.source&&null!==e.source&&void 0!==e.source&&t.append("source",e.source),""!==e.valuation&&null!==e.valuation&&void 0!==e.valuation&&t.append("valuation",e.valuation),""!==e.isActive&&null!==e.isActive&&void 0!==e.isActive&&t.append("isactive",e.isActive),""!==e.picids&&null!==e.picids&&void 0!==e.picids&&t.append("picids",e.picids),""!==e.detailpicid&&null!==e.detailpicid&&void 0!==e.detailpicid&&t.append("detailpicid",e.detailpicid),""!==e.memberPrice&&null!==e.memberPrice&&void 0!==e.memberPrice&&t.append("memberprice",e.memberPrice),Object(i.a)({url:"http://192.168.1.45:8080/product/editproduct",method:"post",data:t})}function m(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("productJson",e),Object(i.a)({url:"http://192.168.1.45:8080/product/manyinsert",method:"post",data:t})}function v(e){var t=new URLSearchParams;return""!==e.title&&null!==e.title&&void 0!==e.title&&t.append("title",e.title),""!==e.productname&&null!==e.productname&&void 0!==e.productname&&t.append("productname",e.productname),""!==e.productcode&&null!==e.productcode&&void 0!==e.productcode&&t.append("productcode",e.productcode),""!==e.costprice&&null!==e.costprice&&void 0!==e.costprice&&t.append("costprice",e.costprice),""!==e.tradeprice&&null!==e.tradeprice&&void 0!==e.tradeprice&&t.append("tradeprice",e.tradeprice),""!==e.saleprice&&null!==e.saleprice&&void 0!==e.saleprice&&t.append("saleprice",e.saleprice),""!==e.memberprice&&null!==e.memberprice&&void 0!==e.memberprice&&t.append("memberprice",e.memberprice),""!==e.lowerprice&&null!==e.lowerprice&&void 0!==e.lowerprice&&t.append("lowerprice",e.lowerprice),""!==e.adjustcostprice&&null!==e.adjustcostprice&&void 0!==e.adjustcostprice&&t.append("adjustcostprice",e.adjustcostprice),""!==e.adjusttradeprice&&null!==e.adjusttradeprice&&void 0!==e.adjusttradeprice&&t.append("adjusttradeprice",e.adjusttradeprice),""!==e.adjustsaleprice&&null!==e.adjustsaleprice&&void 0!==e.adjustsaleprice&&t.append("adjustsaleprice",e.adjustsaleprice),""!==e.adjustmemberprice&&null!==e.adjustmemberprice&&void 0!==e.adjustmemberprice&&t.append("adjustmemberprice",e.adjustmemberprice),""!==e.adjustlowerprice&&null!==e.adjustlowerprice&&void 0!==e.adjustlowerprice&&t.append("adjustlowerprice",e.adjustlowerprice),""!==e.adjustpersonid&&null!==e.adjustpersonid&&void 0!==e.adjustpersonid&&t.append("adjustpersonid",e.adjustpersonid),""!==e.adjustreason&&null!==e.adjustreason&&void 0!==e.adjustreason&&t.append("adjustreason",e.adjustreason),Object(i.a)({url:"http://192.168.1.45:8080/adjustprice/addadjustprice",method:"post",data:t})}function f(e){var t=new URLSearchParams;return""!==e.adjustid&&null!==e.adjustid&&void 0!==e.adjustid&&t.append("adjustid",e.adjustid),""!==e.adjustnumber&&null!==e.adjustnumber&&void 0!==e.adjustnumber&&t.append("adjustnumber",e.adjustnumber),""!==e.productcode&&null!==e.productcode&&void 0!==e.productcode&&t.append("productcode",e.productcode),""!==e.productname&&null!==e.productname&&void 0!==e.productname&&t.append("productname",e.productname),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(i.a)({url:"http://192.168.1.45:8080/adjustprice/adjustpricelist",method:"post",data:t})}function g(e){var t=new URLSearchParams;return""!==e.title&&null!==e.title&&void 0!==e.title&&t.append("title",e.title),""!==e.adjustCostPrice&&null!==e.adjustCostPrice&&void 0!==e.adjustCostPrice&&t.append("adjustcostprice",e.adjustCostPrice),""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("adjustid",e.id),""!==e.adjustTradePrice&&null!==e.adjustTradePrice&&void 0!==e.adjustTradePrice&&t.append("adjusttradeprice",e.adjustTradePrice),""!==e.adjustSalePrice&&null!==e.adjustSalePrice&&void 0!==e.adjustSalePrice&&t.append("adjustsaleprice",e.adjustSalePrice),""!==e.adjustMemberPrice&&null!==e.adjustMemberPrice&&void 0!==e.adjustMemberPrice&&t.append("adjustmemberprice",e.adjustMemberPrice),""!==e.adjustLowerPrice&&null!==e.adjustLowerPrice&&void 0!==e.adjustLowerPrice&&t.append("adjustlowerprice",e.adjustLowerPrice),""!==e.adjustpersonid&&null!==e.adjustpersonid&&void 0!==e.adjustpersonid&&t.append("adjustpersonid",e.adjustpersonid),""!==e.adjustReason&&null!==e.adjustReason&&void 0!==e.adjustReason&&t.append("adjustreason",e.adjustReason),""!==e.stat&&null!==e.stat&&void 0!==e.stat&&t.append("stat",e.stat),""!==e.judgePersonId&&null!==e.judgePersonId&&void 0!==e.judgePersonId&&t.append("judgepersonid",e.judgePersonId),Object(i.a)({url:"http://192.168.1.45:8080/adjustprice/updateadjustprice",method:"post",data:t})}function h(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("adjustids",e),Object(i.a)({url:"http://192.168.1.45:8080/adjustprice/deleteadjustprice",method:"post",data:t})}},Y5bG:function(e,t,a){"use strict";a.d(t,"a",function(){return r}),Math.easeInOutQuad=function(e,t,a,i){return(e/=i/2)<1?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t};var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function r(e,t,a){var r=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,n=e-r,p=0;t=void 0===t?500:t;!function e(){p+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(p,r,n,t)),p<t?i(e):a&&"function"==typeof a&&a()}()}},ZK6N:function(e,t,a){"use strict";var i=a("2Umm");a.n(i).a},ZySA:function(e,t,a){"use strict";var i=a("P2sY"),r=a.n(i),n=(a("jUE0"),{bind:function(e,t){e.addEventListener("click",function(a){var i=r()({},t.value),n=r()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),p=n.ele;if(p){p.style.position="relative",p.style.overflow="hidden";var d=p.getBoundingClientRect(),o=p.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":((o=document.createElement("span")).className="waves-ripple",o.style.height=o.style.width=Math.max(d.width,d.height)+"px",p.appendChild(o)),n.type){case"center":o.style.top=d.height/2-o.offsetHeight/2+"px",o.style.left=d.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(a.pageY-d.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(a.pageX-d.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=n.color,o.className="waves-ripple z-active",!1}},!1)}}),p=function(e){e.directive("waves",n)};window.Vue&&(window.waves=n,Vue.use(p)),n.install=p;t.a=n},jUE0:function(e,t,a){}}]);