(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-58de7f25","chunk-ae7cb8dc","chunk-ae7cb8dc"],{"0216":function(t,e,a){"use strict";a("dc18")},"0525":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"detail-oms-content"},[a("custom-bread",{attrs:{breadList:t.breadList}},[a("a-button",{attrs:{type:"primary"},on:{click:t.eventEdit}},[t._v("编辑")])],1),a("div",{staticClass:"customContent"},[a("a-layout",[a("a-layout-content",{staticClass:"basicInfo",style:{marginBottom:"16px"}},[a("a-card",{attrs:{title:"基本信息",bordered:!1,loading:t.loading}},[a("detail-list",{attrs:{col:1}},[a("detail-list-item",{attrs:{term:"站点",limitSize:"30"}},[t._v("\n "+t._s(t.dataSource.website_name)+"\n ")]),a("detail-list-item",{attrs:{term:"运费模板ID"}},[t._v("\n "+t._s(t.dataSource.entity_id)+"\n ")]),a("detail-list-item",[a("span",{attrs:{slot:"term"},slot:"term"},[t._v("\n 运费模板名称\n "),a("a-tooltip",{attrs:{title:"运费模板名称不会在商城展示,仅供在后台系统展示和查询使用"}},[a("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),t._v("\n "+t._s(t.dataSource.name)+"\n ")]),a("detail-list-item",{attrs:{term:"运费模板类型"}},[a("span",[t._v(t._s(t._f("typeName")(t.dataSource.template_type))+" "),1===t.dataSource.is_default?a("a-tag",{staticStyle:{width:"40px","margin-left":"5px"},attrs:{color:"blue"}},[t._v("默认")]):t._e()],1)]),a("detail-list-item",{attrs:{term:"计费方式"}},[t._v("\n "+t._s(t._f("feeType")(t.dataSource.fee_type))+"\n ")]),1===t.dataSource.fee_type?a("detail-list-item",{attrs:{term:"固定运费"}},[t._v("\n "+t._s(t.dataSource.fixed_fee+t.dataSource.website_currency_name)+"\n ")]):a("detail-list-item",{attrs:{term:"默认运费"}},[t._v("\n "+t._s(t.defaultFreight)+"\n ")]),t._l(t.appointData,(function(e,n){return[a("div",{key:n,staticStyle:{width:"100%"}},[a("detail-list-item",{attrs:{term:"指定地区"}},[t._l(e.areas,(function(e){return[a("a-tag",{key:e.area_id,staticStyle:{"margin-bottom":"8px"}},[t._v(t._s(e.area_path_name))])]}))],2),a("detail-list-item",{attrs:{term:"指定运费"}},[t._v("\n "+t._s(e.desc)+"\n ")])],1)]}))],2)],1)],1),a("a-layout-content",[a("operate-table",{ref:"operationLog"})],1)],1)],1)],1)},i=[],s=(a("ac6a"),a("5633")),r=a("fa43"),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("a-layout-content",{staticClass:"multipleLayout-margin-bottom"},[a("a-card",{staticStyle:{padding:"0"},attrs:{bordered:!1,title:"操作日志"}},[a("a-table",{ref:"table",attrs:{dataSource:t.dataSource,columns:t.columns,pagination:t.paginationSet,rowKey:t.rowKeyMethod,loading:t.loading},scopedSlots:t._u([{key:"comment",fn:function(e,n){return[a("div",{domProps:{innerHTML:t._s(n.desc)}})]}}])}),a("p-agination",{attrs:{total:t.pageTotal,currentPage:t.query.page,computedPageNumber:t.computedPageNumber,pageSize:t.query.size},on:{jumpTableChange:t.jumpTableChange,selectPageSizeChange:t.selectPageSizeChange}})],1)],1)],1)},d=[],c=a("bf43"),o=a("ac0d"),b=a("8a9d"),u=[{title:"操作类型",dataIndex:"operate_type",width:"18%",ellipsis:!0},{title:"操作内容",dataIndex:"desc",width:"45%",scopedSlots:{customRender:"comment"}},{title:"操作人",dataIndex:"operator_name",width:"12%"},{title:"操作时间",dataIndex:"created_at",width:"25%"}],m={components:{PAgination:c["a"]},mixins:[o["n"]],data:function(){return{columns:u,loading:!1}},methods:{rowKeyMethod:function(t,e){return e},getTableList:function(t){var e,a=this;this.loading=!0;var n={module_id:1,relation_id:1*this.$route.params.entity_id};e=t?Object.assign(t,n):n,Object(b["c"])(e).then((function(t){var e=t.data;e&&(a.loading=!1,a.dataSource=e.rows,a.pageTotal=e.total)}))}}},p=m,v=(a("9000"),a("2877")),f=Object(v["a"])(p,l,d,!1,null,"0c6f81d3",null),_=f.exports,g=r["a"].Item,h={name:"OrderDetail",data:function(){return{breadList:{current:"运费模板详情",loopBread:[{name:"1",title:"工作台",href:"/dashboard"},{name:"2",title:"设置"},{name:"3",title:"运费模板",href:"/setting/freight/list"},{name:"4",title:"运费模板详情"}]},loading:!1,dataSource:{},defaultFreight:"",appointData:[]}},components:{customBread:s["a"],DetailList:r["a"],DetailListItem:g,OperateTable:_},mixins:[o["k"]],filters:{typeName:function(t){switch(t){case 1:return"站点运费模板";case 2:return"店铺运费模板";case 3:return"物流线路运费模板";default:return"- -"}},feeType:function(t){switch(t){case 1:return"固定运费";case 2:return"按重量计算运费";default:return"- -"}}},methods:{eventEdit:function(){this.$router.push({path:"/setting/freight/editTemplate/".concat(this.$route.params.entity_id,"/websiteId/").concat(this.$route.params.site_id)})},getTableList:function(){var t=this;this.loading=!0;var e={entity_id:this.$route.params.entity_id};Object(b["d"])(e).then((function(e){var a=e.data;a&&(t.loading=!1,t.dataSource=a,a.rules.length>0&&a.rules.forEach((function(e,a){1===e.is_default?t.defaultFreight=e.rule_desc:t.appointData.push({desc:e.rule_desc,areas:e.areas})})))}))}},created:function(){this.getTableList()}},y=h,S=(a("0216"),Object(v["a"])(y,n,i,!1,null,"48bf3773",null));e["default"]=S.exports},"22c1":function(t,e,a){"use strict";a("8d8d")},"558b":function(t,e,a){},5633:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"customBread"},[a("div",{staticClass:"page-header clearfix"},[a("div",{staticClass:"page-header-index-wide",staticStyle:{float:"left"}},[a("a-breadcrumb",{staticClass:"breadcrumb"},t._l(t.breadList.loopBread,(function(e){return a("a-breadcrumb-item",{key:e.name},[e.href?a("router-link",{attrs:{to:{path:e.href}}},[t._v("\n "+t._s(e.title)+"\n ")]):a("span",[t._v(t._s(e.title))])],1)})),1),a("div",{staticClass:"detail"},[a("div",{staticClass:"customBreadcrumb-current"},[a("h1",{staticClass:"title"},[t._v(t._s(t.breadList.current))]),t.breadList.showNote&&t.breadList.isText?a("a-tooltip",{attrs:{placement:"bottomLeft"}},[a("template",{slot:"title"},[a("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),a("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t.breadList.showNote?a("a-popover",{attrs:{placement:"bottomLeft",overlayClassName:"custom-crumbcrumb-tips"}},[a("template",{slot:"content"},[a("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),a("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t._e()],1)])],1),a("div",{staticClass:"customBreadRight"},[t._t("default")],2)])])},i=[],s={props:{breadList:{type:Object,required:!0}},methods:{noteRender:function(){var t=this.breadList.current;switch(t){case"热搜词":return'\n
商品综合排序规则说明:
\n