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

2 lines
27 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0790"],{Y5bG:function(e,t,i){"use strict";i.d(t,"a",function(){return a}),Math.easeInOutQuad=function(e,t,i,n){return(e/=n/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function a(e,t,i){var a=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,l=e-a,r=0;t=void 0===t?500:t;!function e(){r+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(r,a,l,t)),r<t?n(e):i&&"function"==typeof i&&i()}()}},ZySA:function(e,t,i){"use strict";var n=i("P2sY"),a=i.n(n),l=(i("jUE0"),{bind:function(e,t){e.addEventListener("click",function(i){var n=a()({},t.value),l=a()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),r=l.ele;if(r){r.style.position="relative",r.style.overflow="hidden";var o=r.getBoundingClientRect(),s=r.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":((s=document.createElement("span")).className="waves-ripple",s.style.height=s.style.width=Math.max(o.width,o.height)+"px",r.appendChild(s)),l.type){case"center":s.style.top=o.height/2-s.offsetHeight/2+"px",s.style.left=o.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(i.pageY-o.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(i.pageX-o.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=l.color,s.className="waves-ripple z-active",!1}},!1)}}),r=function(e){e.directive("waves",l)};window.Vue&&(window.waves=l,Vue.use(r)),l.install=r;t.a=l},debT:function(e,t,i){},jUE0:function(e,t,i){},moiu:function(e,t,i){"use strict";i.d(t,"q",function(){return a}),i.d(t,"m",function(){return l}),i.d(t,"g",function(){return r}),i.d(t,"b",function(){return o}),i.d(t,"r",function(){return s}),i.d(t,"k",function(){return c}),i.d(t,"a",function(){return d}),i.d(t,"u",function(){return p}),i.d(t,"i",function(){return u}),i.d(t,"o",function(){return f}),i.d(t,"e",function(){return m}),i.d(t,"t",function(){return v}),i.d(t,"h",function(){return g}),i.d(t,"l",function(){return h}),i.d(t,"j",function(){return b}),i.d(t,"d",function(){return y}),i.d(t,"c",function(){return _}),i.d(t,"n",function(){return w}),i.d(t,"p",function(){return N}),i.d(t,"f",function(){return x}),i.d(t,"s",function(){return S});var n=i("t3Un");function a(){return Object(n.a)({url:"http://192.168.1.45:8080/NumberingRules/searchcategory",method:"post"})}function l(e){var t=new URLSearchParams;return""!==e.ruleName&&null!==e.ruleName&&void 0!==e.ruleName&&t.append("ruleName",e.ruleName),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(n.a)({url:"http://192.168.1.45:8080/NumberingRules/search",method:"post",data:t})}function r(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("ids",e),Object(n.a)({url:"http://192.168.1.45:8080/NumberingRules/delete",method:"post",data:t})}function o(e){var t=new URLSearchParams;return""!==e.ruleName&&null!==e.ruleName&&void 0!==e.ruleName&&t.append("ruleName",e.ruleName),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.prefix&&null!==e.prefix&&void 0!==e.prefix&&t.append("prefix",e.prefix),""!==e.dateType&&null!==e.dateType&&void 0!==e.dateType&&t.append("dateType",e.dateType),""!==e.length&&null!==e.length&&void 0!==e.length&&t.append("length",e.length),Object(n.a)({url:"http://192.168.1.45:8080/NumberingRules/create",method:"post",data:t})}function s(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("id",e.id),""!==e.ruleName&&null!==e.ruleName&&void 0!==e.ruleName&&t.append("ruleName",e.ruleName),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&t.append("iseffective",e.isEffective),""!==e.prefix&&null!==e.prefix&&void 0!==e.prefix&&t.append("prefix",e.prefix),""!==e.dateType&&null!==e.dateType&&void 0!==e.dateType&&t.append("dateType",e.dateType),""!==e.length&&null!==e.length&&void 0!==e.length&&t.append("length",e.length),Object(n.a)({url:"http://192.168.1.45:8080/NumberingRules/update",method:"post",data:t})}function c(e){var t=new URLSearchParams;return""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.modelname&&null!==e.modelname&&void 0!==e.modelname&&t.append("modelname",e.modelname),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(n.a)({url:"http://192.168.1.45:8080/messageModel/modellist",method:"post",data:t})}function d(e){var t=new URLSearchParams;return""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.modelname&&null!==e.modelname&&void 0!==e.modelname&&t.append("modelname",e.modelname),""!==e.content&&null!==e.content&&void 0!==e.content&&t.append("content",e.content),Object(n.a)({url:"http://192.168.1.45:8080/messageModel/addmodel",method:"post",data:t})}function p(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("modelid",e.id),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&t.append("iseffective",e.isEffective),""!==e.modelName&&null!==e.modelName&&void 0!==e.modelName&&t.append("modelname",e.modelName),""!==e.content&&null!==e.content&&void 0!==e.content&&t.append("content",e.content),Object(n.a)({url:"http://192.168.1.45:8080/messageModel/updatemodel",method:"post",data:t})}function u(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("modelids",e),Object(n.a)({url:"http://192.168.1.45:8080/messageModel/deletemodel",method:"post",data:t})}function f(e){var t=new URLSearchParams;return""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.categoryname&&null!==e.categoryname&&void 0!==e.categoryname&&t.append("categoryname",e.categoryname),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),t.append("pagenum",e.pagenum),t.append("pagesize",e.pagesize),Object(n.a)({url:"http://192.168.1.45:8080/measurement/search",method:"post",data:t})}function m(e){var t=new URLSearchParams;return""!==e.category&&null!==e.category&&void 0!==e.category&&t.append("category",e.category),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.categoryname&&null!==e.categoryname&&void 0!==e.categoryname&&t.append("categoryname",e.categoryname),Object(n.a)({url:"http://192.168.1.45:8080/measurement/create",method:"post",data:t})}function v(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("id",e.id),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&t.append("iseffective",e.isEffective),""!==e.categoryName&&null!==e.categoryName&&void 0!==e.categoryName&&t.append("categoryname",e.categoryName),Object(n.a)({url:"http://192.168.1.45:8080/measurement/update",method:"post",data:t})}function g(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("modelids",e),Object(n.a)({url:"http://192.168.1.45:8080/measurement/delete",method:"post",data:t})}function h(){return Object(n.a)({url:"http://192.168.1.45:8080/parameter/search",method:"post"})}function b(e){var t=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&t.append("id",e.id),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&t.append("isEffective",e.isEffective),Object(n.a)({url:"http://192.168.1.45:8080/parameter/effective",method:"post",data:t})}function y(e,t){var i=new URLSearchParams;return""!==e.process_name&&null!==e.process_name&&void 0!==e.process_name&&i.append("process_name",e.process_name),""!==e.type&&null!==e.type&&void 0!==e.type&&i.append("type",e.type),""!==e.is_message&&null!==e.is_message&&void 0!==e.is_message&&i.append("is_message",e.is_message),""!==e.is_effective&&null!==e.is_effective&&void 0!==e.is_effective&&i.append("is_effective",e.is_effective),""!==e.effect_region&&null!==e.effect_region&&void 0!==e.effect_region&&i.append("effect_region",e.effect_region),""!==e.effect_repository&&null!==e.effect_repository&&void 0!==e.effect_repository&&i.append("effect_repository",e.effect_repository),""!==e.country_id&&null!==e.country_id&&void 0!==e.country_id&&i.append("country_id",e.country_id),""!==t&&null!==t&&void 0!==t&&i.append("detailJson",t),Object(n.a)({url:"http://192.168.1.45:8080/approvalProcess/create",method:"post",data:i})}function _(e){var t=new URLSearchParams;return""!==e.ruleName&&null!==e.ruleName&&void 0!==e.ruleName&&t.append("ruleName",e.ruleName),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.iseffective&&null!==e.iseffective&&void 0!==e.iseffective&&t.append("iseffective",e.iseffective),""!==e.prefix&&null!==e.prefix&&void 0!==e.prefix&&t.append("prefix",e.prefix),""!==e.dateType&&null!==e.dateType&&void 0!==e.dateType&&t.append("dateType",e.dateType),""!==e.length&&null!==e.length&&void 0!==e.length&&t.append("length",e.length),Object(n.a)({url:"http://192.168.1.45:8080/NumberingRules/create",method:"post",data:t})}function w(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("id",e),Object(n.a)({url:"http://192.168.1.45:8080/approvalProcess/searchDetail",method:"post",data:t})}function N(e){var t=new URLSearchParams;return""!==e.process_name&&null!==e.process_name&&void 0!==e.process_name&&t.append("process_name",e.process_name),""!==e.type&&null!==e.type&&void 0!==e.type&&t.append("type",e.type),""!==e.is_effective&&null!==e.is_effective&&void 0!==e.is_effective&&t.append("is_effective",e.is_effective),t.append("pagesize",e.pagesize),t.append("pagenum",e.pagenum),Object(n.a)({url:"http://192.168.1.45:8080/approvalProcess/search",method:"post",data:t})}function x(e){var t=new URLSearchParams;return""!==e&&null!==e&&void 0!==e&&t.append("modelids",e),Object(n.a)({url:"http://192.168.1.45:8080/approvalProcess/delete",method:"post",data:t})}function S(e,t){var i=new URLSearchParams;return""!==e.id&&null!==e.id&&void 0!==e.id&&i.append("id",e.id),""!==e.processName&&null!==e.processName&&void 0!==e.processName&&i.append("process_name",e.processName),""!==e.type&&null!==e.type&&void 0!==e.type&&i.append("type",e.type),""!==e.isMessage&&null!==e.isMessage&&void 0!==e.isMessage&&i.append("is_message",e.isMessage),""!==e.isEffective&&null!==e.isEffective&&void 0!==e.isEffective&&i.append("is_effective",e.isEffective),""!==e.effect_region&&null!==e.effect_region&&void 0!==e.effect_region&&i.append("effect_region",e.effect_region),""!==e.effect_repository&&null!==e.effect_repository&&void 0!==e.effect_repository&&i.append("effect_repository",e.effect_repository),""!==e.countryId&&null!==e.countryId&&void 0!==e.countryId&&i.append("country_id",e.countryId),""!==t&&null!==t&&void 0!==t&&i.append("detailJson",t),Object(n.a)({url:"http://192.168.1.45:8080/approvalProcess/update",method:"post",data:i})}},vQE6:function(e,t,i){"use strict";var n=i("debT");i.n(n).a},zYNn:function(e,t,i){"use strict";i.r(t);var n=i("moiu"),a=i("ZySA"),l=i("Mz3J"),r={name:"NumberingRules",directives:{waves:a.a},components:{Pagination:l.a},filters:{genderFilter:function(e){return{1:"已启用",2:"停用"}[e]},DateFilter:function(e){return{1:"年",2:"年月",3:"年月日"}[e]},TypeFilter:function(e){return{1:"劳动合同",2:"派车单",3:"回车等级单",4:"商品售价变更单",5:"采购申请单",6:"采购计划单",7:"采购询价单",8:"采购合同",9:"采购订货单",10:"质检申请单",11:"质检报告单",12:"不合格品处置单",13:"采购到货单",14:"采购退货单",26:"付款单",27:"采购发票单",28:"销售出库单",29:"销售单",30:"销售退货单",31:"销售计划单",32:"销售机会划单",33:"销售合同",34:"维修出库单",35:"售后维修单",36:"预售单",37:"预售退款单",38:"收入单",39:"支出单",40:"转账单",41:"二手回车单",42:"预收款单",43:"预收退款单",44:"智能补货单",45:"采购入库单",46:"生产完成入库单",47:"其他入库单",48:"其他出库单",49:"库存调拨单",50:"调拨申请单",51:"库存报损单",52:"库存盘点单",53:"库存报溢单",54:"调价单",55:"组装单",56:"拆装单",57:"日常调整单",58:"期初库存录入单",59:"期初库存批量导入单",60:"库位调整单",61:"收车单",62:"客户调查报告单",63:"收款单",64:"物料清单",65:"主生产计划单",66:"物料需求计划单",67:"生产任务单",68:"生产任务汇报单",69:"领料单",70:"退料单",71:"外包单"}[e]}},data:function(){return{categorys:[],editNumberingform:"",Numberingform:{ruleName:"",type:"",iseffective:null,prefix:"",dateType:"",length:""},editNumberingVisible:!1,addNumberingVisible:!1,editVisible:!1,moreaction:"",downloadLoading:!1,list:[],total:0,tableKey:0,listLoading:!0,getemplist:{ruleName:"",type:"",iseffective:"",pagenum:1,pagesize:10}}},mounted:function(){this.getlist()},methods:{getlist:function(){var e=this;this.listLoading=!0,Object(n.m)(this.getemplist).then(function(t){200===t.data.ret?(e.list=t.data.data.content,e.total=t.data.data.content.length):e.$notify.error({title:"错误",message:"出错了",offset:100}),setTimeout(function(){e.listLoading=!1},50)}),Object(n.q)().then(function(t){200===t.data.ret?e.categorys=t.data.data.content:e.$notify.error({title:"错误",message:"出错了",offset:100})})},handleFilter:function(){var e=this;Object(n.m)(this.getemplist).then(function(t){200===t.data.ret?(e.list=t.data.data.content,e.total=t.data.data.content.length):e.$notify.error({title:"错误",message:"出错了",offset:100})})},handleEdit:function(e){console.log(e),this.editNumberingform=e,this.editNumberingform.isEffective=String(e.isEffective),this.editNumberingVisible=!0},handleEditOk:function(){var e=this;console.log(this.editNumberingform),Object(n.r)(this.editNumberingform).then(function(t){200===t.data.ret?(e.$notify({title:"修改成功",type:"success",offset:100}),e.getlist(),e.editNumberingVisible=!1):e.$notify.error({title:"错误",message:t.data.msg,offset:100})})},handleSelectionChange:function(e){this.moreaction=e},handleCommand:function(e){var t=this,i=this.moreaction.map(function(e){return e.id}).join();"delete"===e&&this.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n.g)(i).then(function(e){200===e.data.ret?(t.$notify({title:"删除成功",type:"success",offset:100}),t.getlist()):t.$notify.error({title:"错误",message:"出错了",offset:100})})}).catch(function(){t.$message({type:"info",message:"已取消删除"})})},handleDelete:function(e){var t=this;this.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){Object(n.g)(e.id).then(function(e){200===e.data.ret?(t.$notify({title:"删除成功",type:"success",offset:100}),t.getlist()):t.$notify.error({title:"错误",message:"出错了",offset:100})})}).catch(function(){t.$message({type:"info",message:"已取消删除"})})},restNumberingform:function(){this.Numberingform={ruleName:"",type:"",iseffective:null,prefix:"",dateType:"",length:""}},handleAdd:function(){this.addNumberingVisible=!0},handleOk:function(){var e=this;console.log(this.Numberingform),Object(n.b)(this.Numberingform).then(function(t){200===t.data.ret?(e.$notify({title:"新增成功",type:"success",offset:100}),e.getlist(),e.restNumberingform(),e.addNumberingVisible=!1):e.$notify.error({title:"错误",message:t.data.msg,offset:100})})},handleExport:function(){var e=this;this.downloadLoading=!0,Promise.all([i.e("chunk-ef4a"),i.e("chunk-6b3a")]).then(i.bind(null,"S/jZ")).then(function(t){var i=e.formatJson(["id","ruleName","type","prefix","dateType","length","isEffective","createTime"],e.list);t.export_json_to_excel({header:["序号","编号规则名称","单据类型","编号前缀","日期类型","流水号长度","状态","创建日期"],data:i,filename:"编号规则资料表"}),e.downloadLoading=!1})},formatJson:function(e,t){return t.map(function(t){return e.map(function(e){return t[e]})})},handlePrint:function(){console.log(456)}}},o=(i("vQE6"),i("KHd+")),s=Object(o.a)(r,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"ERP-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",attrs:{placeholder:e.$t("BasicSettings.ruleName"),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.ruleName,callback:function(t){e.$set(e.getemplist,"ruleName",t)},expression:"getemplist.ruleName"}}),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"10%"},attrs:{value:e.getemplist.type,placeholder:"请选择单据类型",filterable:"",clearable:""},model:{value:e.getemplist.type,callback:function(t){e.$set(e.getemplist,"type",t)},expression:"getemplist.type"}},e._l(e.categorys,function(e,t){return i("el-option",{key:t,attrs:{value:e.id,label:e.categoryName}})})),e._v(" "),i("el-select",{staticClass:"filter-item",attrs:{placeholder:"请选择状态",clearable:""},model:{value:e.getemplist.iseffective,callback:function(t){e.$set(e.getemplist,"iseffective",t)},expression:"getemplist.iseffective"}},[i("el-option",{attrs:{value:"1",label:"active"}}),e._v(" "),i("el-option",{attrs:{value:"2",label:"dead"}})],1),e._v(" "),i("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(" "),i("el-dropdown",{on:{command:e.handleCommand}},[i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary"}},[e._v("\n "+e._s(e.$t("public.batchoperation"))+" "),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e._v(" "),i("el-dropdown-menu",{staticStyle:{width:"140px"},attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",{staticStyle:{"text-align":"left"},attrs:{command:"delete"}},[i("svg-icon",{staticStyle:{width:"40px"},attrs:{"icon-class":"shanchu"}}),e._v(e._s(e.$t("public.delete")))],1)],1)],1),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{loading:e.downloadLoading},on:{click:e.handleExport}},[i("svg-icon",{attrs:{"icon-class":"daochu"}}),e._v(e._s(e.$t("public.export")))],1),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px"},attrs:{icon:"el-icon-printer"},on:{click:e.handlePrint}},[e._v(e._s(e.$t("public.print")))]),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",staticStyle:{width:"86px",float:"right"},attrs:{icon:"el-icon-plus",type:"success"},on:{click:e.handleAdd}},[e._v(e._s(e.$t("public.add")))]),e._v(" "),i("el-dialog",{attrs:{visible:e.addNumberingVisible,title:"新建编号规则",width:"500px"},on:{"update:visible":function(t){e.addNumberingVisible=t}}},[i("el-form",{staticStyle:{width:"400px","margin-left":"50px"},attrs:{model:e.Numberingform,"label-position":"left","label-width":"120px"}},[i("el-form-item",{attrs:{"label-width":"120px",label:"单据类型"}},[i("el-select",{attrs:{value:e.Numberingform.type,placeholder:"请选择单据类型",filterable:"",clearable:""},model:{value:e.Numberingform.type,callback:function(t){e.$set(e.Numberingform,"type",t)},expression:"Numberingform.type"}},e._l(e.categorys,function(e,t){return i("el-option",{key:t,attrs:{value:e.id,label:e.categoryName}})}))],1),e._v(" "),i("el-form-item",{attrs:{"label-width":"120px",label:"编号规则名称"}},[i("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入编号规则名称",autocomplete:"off"},model:{value:e.Numberingform.ruleName,callback:function(t){e.$set(e.Numberingform,"ruleName",t)},expression:"Numberingform.ruleName"}})],1),e._v(" "),i("el-form-item",{attrs:{"label-width":"120px",label:"编号前缀"}},[i("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入编号前缀",autocomplete:"off"},model:{value:e.Numberingform.prefix,callback:function(t){e.$set(e.Numberingform,"prefix",t)},expression:"Numberingform.prefix"}})],1),e._v(" "),i("el-form-item",{attrs:{"label-width":"120px",label:"日期类型"}},[i("el-radio-group",{model:{value:e.Numberingform.dateType,callback:function(t){e.$set(e.Numberingform,"dateType",t)},expression:"Numberingform.dateType"}},[i("el-radio",{attrs:{label:1}},[e._v("年")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("年月")]),e._v(" "),i("el-radio",{attrs:{label:3}},[e._v("年月日")])],1)],1),e._v(" "),i("el-form-item",{attrs:{"label-width":"120px",label:"流水号长度"}},[i("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入流水号长度",autocomplete:"off"},model:{value:e.Numberingform.length,callback:function(t){e.$set(e.Numberingform,"length",t)},expression:"Numberingform.length"}})],1),e._v(" "),i("el-form-item",{attrs:{"label-width":"120px",label:"启用状态"}},[i("el-select",{attrs:{placeholder:"请选择启用状态"},model:{value:e.Numberingform.iseffective,callback:function(t){e.$set(e.Numberingform,"iseffective",t)},expression:"Numberingform.iseffective"}},[i("el-option",{attrs:{label:"active",value:"1"}}),e._v(" "),i("el-option",{attrs:{label:"dead",value:"2"}})],1)],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.addNumberingVisible=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.handleOk}},[e._v("确 定")])],1)],1)],1),e._v(" "),i("div",{staticClass:"app-container"},[i("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:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",width:"55",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{label:e.$t("BasicSettings.id"),resizable:!1,prop:"id",align:"center",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:e.$t("BasicSettings.ruleName"),resizable:!1,prop:"ruleName",align:"center",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.ruleName))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:e.$t("BasicSettings.type"),resizable:!1,prop:"type",align:"center",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(e._f("TypeFilter")(t.row.type)))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:e.$t("BasicSettings.prefix"),resizable:!1,align:"center",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.prefix))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:e.$t("BasicSettings.dateType"),resizable:!1,prop:"dateType",align:"center",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(e._f("DateFilter")(t.row.dateType)))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:e.$t("BasicSettings.length"),resizable:!1,prop:"length",align:"center",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.length))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:e.$t("BasicSettings.iseffective"),resizable:!1,prop:"isEffective",align:"center",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(e._f("genderFilter")(t.row.isEffective)))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:e.$t("BasicSettings.createTime"),resizable:!1,prop:"createTime",align:"center",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.createTime))])]}}])}),e._v(" "),i("el-table-column",{attrs:{label:e.$t("public.actions"),resizable:!1,align:"center","min-width":"230"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(i){e.handleEdit(t.row)}}},[e._v(e._s(e.$t("public.edit")))]),e._v(" "),i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(i){e.handleDelete(t.row)}}},[e._v(e._s(e.$t("public.delete")))])]}}])})],1),e._v(" "),i("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.getlist}}),e._v(" "),i("el-dialog",{attrs:{visible:e.editNumberingVisible,title:"修改编号规则",width:"500px"},on:{"update:visible":function(t){e.editNumberingVisible=t}}},[i("el-form",{staticStyle:{width:"400px","margin-left":"50px"},attrs:{model:e.editNumberingform,"label-position":"left","label-width":"120px"}},[i("el-form-item",{attrs:{"label-width":"120px",label:"编号规则名称"}},[i("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入编号规则名称",autocomplete:"off"},model:{value:e.editNumberingform.ruleName,callback:function(t){e.$set(e.editNumberingform,"ruleName",t)},expression:"editNumberingform.ruleName"}})],1),e._v(" "),i("el-form-item",{attrs:{"label-width":"120px",label:"编号前缀"}},[i("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入编号前缀",autocomplete:"off"},model:{value:e.editNumberingform.prefix,callback:function(t){e.$set(e.editNumberingform,"prefix",t)},expression:"editNumberingform.prefix"}})],1),e._v(" "),i("el-form-item",{attrs:{"label-width":"120px",label:"日期类型"}},[i("el-radio-group",{model:{value:e.editNumberingform.dateType,callback:function(t){e.$set(e.editNumberingform,"dateType",t)},expression:"editNumberingform.dateType"}},[i("el-radio",{attrs:{label:1}},[e._v("年")]),e._v(" "),i("el-radio",{attrs:{label:2}},[e._v("年月")]),e._v(" "),i("el-radio",{attrs:{label:3}},[e._v("年月日")])],1)],1),e._v(" "),i("el-form-item",{attrs:{"label-width":"120px",label:"流水号长度"}},[i("el-input",{staticStyle:{width:"200px"},attrs:{placeholder:"请输入流水号长度",autocomplete:"off"},model:{value:e.editNumberingform.length,callback:function(t){e.$set(e.editNumberingform,"length",t)},expression:"editNumberingform.length"}})],1),e._v(" "),i("el-form-item",{attrs:{"label-width":"120px",label:"启用状态"}},[i("el-select",{attrs:{placeholder:"请选择启用状态"},model:{value:e.editNumberingform.isEffective,callback:function(t){e.$set(e.editNumberingform,"isEffective",t)},expression:"editNumberingform.isEffective"}},[i("el-option",{attrs:{label:"active",value:"1"}}),e._v(" "),i("el-option",{attrs:{label:"dead",value:"2"}})],1)],1)],1),e._v(" "),i("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(t){e.editNumberingVisible=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.handleEditOk}},[e._v("修改")])],1)],1)],1)])},[],!1,null,"6533f6d2",null);s.options.__file="NumberingRules.vue";t.default=s.exports}}]);