1(self.webpackChunk=self.webpackChunk||[]).push([[2790],{30484:(function(n,t,e){"use strict";var o=e(61793),r=e(37953),l=e(15621),s=function(u){var f=u.name,A=u.children,_=u.style,p=u.loading,O=p===void 0?!1:p;return(0,r.useEffect)(function(){document.title=f},[f]),_?(0,l.jsx)(o.A,{spinning:O,style:_,children:A}):(0,l.jsx)(o.A,{spinning:O,children:A})};t.A=s}),5612:(function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return B}});var o=e(57704),r=e.n(o),l=e(65788),s=e.n(l),g=e(55472),u=e.n(g),f=e(37953),A=e(24189),_=e(60343),p=e(82430),O=e(15687),C=e(77919),F=e(52089),S=e(30484),b=e(9182),v=e.n(b);function k(){return(0,f.useMemo)(function(){for(var P={},y=function(){var Y=v()().subtract(h,"month"),x=h===0?"\u672C\u6708":Y.format("YYYY-MM");P[x]=function(){return[Y.startOf("month"),Y.endOf("month")]}},h=0;h<3;h++)y();return P.\u6700\u8FD16\u4E2A\u6708=function(){return[v()().subtract(5,"month").startOf("month"),v()().endOf("month")]},P.\u6700\u8FD11\u5E74=function(){return[v()().subtract(11,"month").startOf("month"),v()().endOf("month")]},P},[])}var I=e(54681),L=e(45645),R=e(38670),c=e(15621),N=p.A.RangePicker,K=function(){var y=(0,_.useModel)("base"),h=y.mallId,D=(0,f.useRef)(),Y=k(),x=function(){var a;(a=D.current)===null||a===void 0||a.reload()},W=(0,f.useState)([v()().subtract(1,"month").startOf("month"),v()().startOf("month")]),T=u()(W,2),E=T[0],w=T[1],U=[{title:"\u56FD\u5BB6",dataIndex:"regionName",key:"regionName",width:150,align:"center"},{title:"\u8D44\u8D28\u540D\u79F0",dataIndex:"certName",key:"certName",width:200,align:"center"},{title:"\u9500\u91CF\u7D2F\u8BA1",dataIndex:"saleVolume",key:"saleVolume",width:150,align:"center",render:function(a){return(a==null?void 0:a.toLocaleString())||0}},{title:"\u5360\u6BD4",dataIndex:"saleVolumeRatio",key:"saleVolumeRatio",width:150,align:"center",render:function(a){return"".concat(a==null?void 0:a.toFixed(2),"%")}}];return(0,c.jsx)(S.A,{name:"\u5404\u56FD\u9500\u91CF",children:(0,c.jsx)(O.A,{children:(0,c.jsx)(A.A,{toolbar:{title:(0,c.jsxs)(C.A,{style:{marginBottom:8},children:[(0,c.jsx)("span",{children:"\u9009\u62E9\u6708\u4EFD\uFF1A"}),(0,c.jsx)(N,{picker:"month",locale:(0,L.A)(),value:E,ranges:Y,onChange:function(a){a&&a[0]&&a[1]&&(w([a[0],a[1]]),setTimeout(function(){var M;(M=D.current)===null||M===void 0||M.reload()},100))},format:"YYYY-MM"}),(0,c.jsx)(F.A,{type:"primary",icon:(0,c.jsx)(I.A,{}),onClick:x,children:"\u67E5\u8BE2"})]})},actionRef:D,pagination:!1,search:!1,scroll:{x:"max-content",y:"calc(100vh - 200px)"},request:s()(r()().mark(function m(){var a,M,j,d;return r()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return a=u()(E,2),M=a[0],j=a[1],i.next=3,(0,_.request)("/api/v1/platform/packageSales/search",{method:"POST",data:{mallId:h,startMonth:M.format(R.Fj),endMonth:j.format(R.Fj)}});case 3:if(d=i.sent,!(d!=null&&d.success&&d!==null&&d!==void 0&&d.data)){i.next=6;break}return i.abrupt("return",{data:d.data,total:d.data.length});case 6:return i.abrupt("return",{data:[],total:0});case 7:case"end":return i.stop()}},m)})),rowKey:function(a){return"".concat(a.id,"_").concat(a.certId)},columns:U})})})},B=K}),45645:(function(n,t,e){"use strict";var o=e(37810),r=e.n(o),l=e(25462),s=function(){return r()(r()({},l.A),{},{lang:r()(r()({},l.A.lang),{},{shortMonths:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],shortWeekDays:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]})})};t.A=s}),38670:(function(n,t,e){"use strict";e.d(t,{Fj:function(){return s},NT:function(){return l},TK:function(){return o},ms:function(){return r}});var o="YYYY-MM-DD",r="YYYY-MM-DD HH:mm:ss",l="YYYYMMDD",s="YYYYMM"}),25462:(function(n,t,e){"use strict";var o,r=e(9380).default;o={value:!0},t.A=void 0;var l=r(e(86436)),s=r(e(3878)),g=r(e(58459)),u={lang:(0,l.default)({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},s.default),timePickerLocale:(0,l.default)({},g.default)};u.lang.ok="\u786E\u5B9A";var f=t.A=u}),58459:(function(n,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},o=t.default=e}),3878:(function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u54
111\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},o=e;t.default=o}),86436:(function(n){function t(){return n.exports=t=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var r=arguments[o];for(var l in r)({}).hasOwnProperty.call(r,l)&&(e[l]=r[l])}return e},n.exports.__esModule=!0,n.exports.default=n.exports,t.apply(null,arguments)}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports}),9380:(function(n){function t(e){return e&&e.__esModule?e:{default:e}}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.