1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5572],{96586:(function(b,x,t){var m=t(98477),p=t(18211),C=t(37953),n=t(38020),f=t(88849),v=t(15621),D=["fieldProps","proFieldProps"],M="dateTime",T=C.forwardRef(function(a,F){var _=a.fieldProps,h=a.proFieldProps,P=(0,p.A)(a,D),r=(0,C.useContext)(n.A);return(0,v.jsx)(f.A,(0,m.A)({ref:F,fieldProps:(0,m.A)({getPopupContainer:r.getPopupContainer},_),valueType:M,proFieldProps:h,filedConfig:{valueType:M,customLightMode:!0}},P))});x.A=T}),13142:(function(b,x,t){var m=t(98477),p=t(18211),C=t(37953),n=t(88849),f=t(15621),v=["fieldProps","min","proFieldProps","max"],D=function(a,F){var _=a.fieldProps,h=a.min,P=a.proFieldProps,r=a.max,i=(0,p.A)(a,v);return(0,f.jsx)(n.A,(0,m.A)({valueType:"digit",fieldProps:(0,m.A)({min:h,max:r},_),ref:F,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:P},i))},M=C.forwardRef(D);x.A=M}),73529:(function(b,x,t){var m=t(98477),p=t(18211),C=t(32199),n=t(37953),f=t(38020),v=t(88849),D=t(15621),M=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],T=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],a=function(i,y){var e=i.fieldProps,E=i.children,o=i.params,O=i.proFieldProps,L=i.mode,N=i.valueEnum,W=i.request,w=i.showSearch,S=i.options,U=(0,p.A)(i,M),K=(0,n.useContext)(f.A);return(0,D.jsx)(v.A,(0,m.A)((0,m.A)({valueEnum:(0,C._)(N),request:W,params:o,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,m.A)({options:S,mode:L,showSearch:w,getPopupContainer:K.getPopupContainer},e),ref:y,proFieldProps:O},U),{},{children:E}))},F=n.forwardRef(function(r,i){var y=r.fieldProps,e=r.children,E=r.params,o=r.proFieldProps,O=r.mode,L=r.valueEnum,N=r.request,W=r.options,w=(0,p.A)(r,T),S=(0,m.A)({options:W,mode:O||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},y),U=(0,n.useContext)(f.A);return(0,D.jsx)(v.A,(0,m.A)((0,m.A)({valueEnum:(0,C._)(L),request:N,params:E,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,m.A)({getPopupContainer:U.getPopupContainer},S),ref:i,proFieldProps:o},w),{},{children:e}))}),_=n.forwardRef(a),h=F,P=_;
1P.SearchSelect=h,P.displayName="ProFormComponent",x.A=P}),92574:(function(b,x,t){var m=t(73159),p=t(98477),C=t(18211),n=t(82179),f=t(47215),v=t(51100),D=t(34346),M=t(37953),T=t(88849),a=t(15621),F=["fieldProps","proFieldProps"],_=["fieldProps","proFieldProps"],h="text",P=function(E){var o=E.fieldProps,O=E.proFieldProps,L=(0,C.A)(E,F);return(0,a.jsx)(T.A,(0,p.A)({valueType:h,fieldProps:o,filedConfig:{valueType:h},proFieldProps:O},L))},r=function(E){var o=(0,n.A)(E.open||!1,{value:E.open,onChange:E.onOpenChange}),O=(0,m.A)(o,2),L=O[0],N=O[1];return(0,a.jsx)(f.A.Item,{shouldUpdate:!0,noStyle:!0,children:function(w){var S,U=w.getFieldValue(E.name||[]);return(0,a.jsx)(v.A,(0,p.A)((0,p.A)({getPopupContainer:function(R){return R&&R.parentNode?R.parentNode:R},onOpenChange:function(R){return N(R)},content:(0,a.jsxs)("div",{style:{padding:"4px 0"},children:[(S=E.statusRender)===null||S===void 0?void 0:S.call(E,U),E.strengthText?(0,a.jsx)("div",{style:{marginTop:10},children:(0,a.jsx)("span",{children:E.strengthText})}):null]}),overlayStyle:{width:240},placement:"rightTop"},E.popoverProps),{},{open:L,children:E.children}))}})},i=function(E){var o=E.fieldProps,O=E.proFieldProps,L=(0,C.A)(E,_),N=(0,M.useState)(!1),W=(0,m.A)(N,2),w=W[0],S=W[1];return o!=null&&o.statusRender&&L.name?(0,a.jsx)(r,{name:L.name,statusRender:o==null?void 0:o.statusRender,popoverProps:o==null?void 0:o.popoverProps,strengthText:o==null?void 0:o.strengthText,open:w,onOpenChange:S,children:(0,a.jsx)("div",{children:(0,a.jsx)(T.A,(0,p.A)({valueType:"password",fieldProps:(0,p.A)((0,p.A)({},(0,D.A)(o,["statusRender","popoverProps","strengthText"])),{},{onBlur:function(K){var R;o==null||(R=o.onBlur)===null||R===void 0||R.call(o,K),S(!1)},onClick:function(K){var R;o==null||(R=o.onClick)===null||R===void 0||R.call(o,K),S(!0)}}),proFieldProps:O,filedConfig:{valueType:h}},L))})}):(0,a.jsx)(T.A,(0,p.A)({valueType:"password",fieldProps:o,proFieldProps:O,filedConfig:{valueType:h}},L))},y=P;y.Password=i,y.displayName="ProFormComponent",x.A=y}),87827:(function(b,x,t){var m=t(98477),p=t(18211),C=t(37953),n=t(88849),f=t(15621),v=["fieldProps","proFieldProps"],D=function(T,a){var F=T.fieldProps,_=T.proFieldProps,h=(0,p.A)(T,v);return(0,f.jsx)(n.A,(0,m.A)({ref:a,valueType:"textarea",fieldProps:F,proFieldProps:_},h))};x.A=C.forwardRef(D)}),19413:(function(b,x,t){var m=t(37810),p=t.n(m),C=t(61354),n=t(76648),f=t(2122),v=t.n(f),D=t(37953),M=t(15621);function T(a){var F=a.text,_=a.successMsg,h=a.style,P=(0,D.useMemo)(function(){return"copy_".concat(Math.random().toString(36).substring(2,10))},[]);return(0,D.useEffect)(function(){var r=document.getElementById(P);if(r){var i=new(v())(r,{});return i.on("success",function(){n.Ay.success(_||"\u590D\u5236\u6210\u529F")}),i.on("error",function(){n.Ay.error("\u590D\u5236\u5931\u8D25")}),function(){i.destroy()}}},[F]),F==null||F===""?null:(0,M.jsx)(C.A,{id:P,"data-clipboard-text":String(F),onClick:function(i){i.stopPropagation(),i.preventDefault()},style:p()({color:"#1890ff",cursor:"pointer",fontSize:12,flexShrink:0},h)})}x.A=T}),21680:(function(b,x,t){t.d(x,{h:function(){return T}});var m=t(44945),p=t(16930),C=t(48211),n=t(79177),f=t(74436),v=t(15621);function D(a){var F=a.toolbar,_=a.bottomAction,h=a.loading,P=a.total,r=P===void 0?0:P,i=a.page,y=i===void 0?1:i,e=a.pageSize,E=e===void 0?20:e,o=a.onPageChange,O=a.showPagination,L=O===void 0?!0:O,N=a.children,W=!h&&!r;return(0,v.jsxs)("div",{className:"".concat(f.A.page).concat(_?" ".concat(f.A.hasBottomAction):""),children:[F&&(0,v.jsx)("div",{className:f.A.toolbar,children:F}),(0,v.jsxs)(C.A,{spinning:!!h,children:[N,W&&(0,v.jsx)(m.A,{description:"\u6682\u65E0\u6570\u636E"})]}),L&&r>0&&(0,v.jsx)(p.A,{simple:!0,current:y,pageSize:E,total:r,onChange:o}),_&&(0,v.jsx)("div",{className:f.A.bottomAction,children:_})]})}var M={Processing:"processing",Error:"error",Success:"success",Default:"default",Warning:"warning"};function T(a){var F=a.valueEnum,_=a.value,h=F==null?void 0:F[_];return h?(0,v.jsx)(n.A,{color:M[h.status]||"default",children:h.text}):(0,v.jsx)("span",{children:"-"})}x.A=D}),58975:(function(b,x,t){t.d(x,{A:function(){return F}});var m=t(55472),p=t.n(m),C=t(74436),n=t(47215),f=t(64235),v=t(37953),D={collapsed:"collapsed___z9XU9",toggle:"toggle___iyJg6"},M=t(15621),T=2;function a(_){var h,P=v.Children.toArray(_)[0],r=v.Children.toArray(P==null||(h=P.props)===null||h===void 0?void 0:h.children);return r.filter(function(i){return(i==null?void 0:i.type)===n.A.Item}).length}function F(_){var h=_.defaultCollapsed,P=h===void 0?!0:h,r=_.children,i=(0,v.useState)(P),y=p()(i,2),e=y[0],E=y[1],o=Math.max(0,a(r)-T),O=e&&o>0,L=O?"".concat(C.A.filterCard," ").concat(D.collapsed):C.A.filterCard;return(0,M.jsxs)(f.A,{className:L,children:[r,o>0&&(0,M.jsx)("div",{className:D.toggle,children:(0,M.jsx)("a",{onClick:function(){E(!e)},children:O?"\u5C55\u5F00\u66F4\u591A\u7B5B\u9009\uFF08".concat(o,"\uFF09"):"\u6536\u8D77\u7B5B\u9009"})})]})}}),89786:(function(b,x,t){t.r(x),t.d(x,{default:function(){return le}});var m=t(26572),p=t.n(m),C=t(37810),n=t.n(C),f=t(18466),v=t(6758),D=t(55880),M=t(5143),T=t(73529),a=t(13142),F=t(87827),_=t(92574),h=t(96586),P=t(76648),r=t(89947),i=t(30532),y=t(54299),e=t(15621),E=["changeRemark","amount","mallIdList"],o=(function(u){var d=u.record,j=u.onFinish;return(0,e.jsxs)(M.K,{trigger:(0,e.jsx)("span",{className:"text-click",children:"\u4FEE\u6539"}),title:"\u4FEE\u6539\u8BA2\u5355",initialValues:n()(n()({},d),{},{settled:d.settled!==void 0&&d.settled!==null?String(d.settled):void 0,amount:d.amount!==void 0&&d.amount!==null?d.amount/100:void 0,mallIdList:(0,y.Vz)(d.mallIdList)}),modalProps:{destroyOnClose:!0},style:{maxHeight:600,overflow:"auto"},onFinish:function(A){var I=A.changeRemark,g=A.amount,z=A.mallIdList,H=p()(A,E);return(0,D.request)("/api/v1/admin/change/create",{method:"post",data:{changeType:"platformOrderEdit",content:n()(n()(n()({},d),H),{},{mallIdList:(0,y.TD)(z),amount:g?Math.round(g*100):void 0}),remark:I}}).then(function(B){if(B.success)return P.Ay.success(B.msg||"\u64CD\u4F5C\u6210\u529F"),j==null||j(),B;throw P.Ay.error(B.msg),new Error(B.msg)})},children:[(0,e.jsx)(T.A,{label:"\u8BA2\u5355\u7C7B\u578B",name:"type",fieldProps:{allowClear:!1},options:i.f}),(0,e.jsx)(a.A,{label:"\u8BA2\u5355\u91D1\u989D(\u5143)",name:"amount",fieldProps:{precision:2}}),(0,e.jsx)(a.A,{label:"\u5F00\u901A\u65F6\u957F",name:"effectiveTime",fieldProps:{precision:0}}),(0,e.jsx)(T.A,{label:"\u652F\u4ED8\u65B9\u5F0F",name:"payChannel",fieldProps:{allowClear:!1},options:Object.keys(r.ds).map(function(l){return{value:l,label:r.ds[l].text}})}),(0,e.jsx)(F.A,{label:"\u8BA2\u5355\u5907\u6CE8",name:"remark",fieldProps:{rows:3}}
1),(0,e.jsx)(_.A,{label:"\u5F00\u901A\u7684\u5E97\u94FA",name:"mallIdList",placeholder:"\u8BF7\u8F93\u5165\u5E97\u94FAID\uFF0C\u591A\u4E2A\u5E97\u94FAID\u8BF7\u7528\u9017\u53F7\u6216\u7A7A\u683C\u5206\u9694"}),(0,e.jsx)(_.A,{label:"\u5E73\u53F0\u7528\u6237ID",name:"userId"}),(0,e.jsx)(T.A,{label:"\u8BA2\u5355\u72B6\u6001",name:"status",fieldProps:{allowClear:!1},options:Object.keys(r.yb).map(function(l){return{value:l,label:r.yb[l].text}})}),(0,e.jsx)(T.A,{label:"\u7ED3\u7B97\u72B6\u6001",name:"settled",fieldProps:{allowClear:!1},options:Object.keys(r.b8).map(function(l){return{value:l,label:r.b8[l].text}})}),(0,e.jsx)(h.A,{label:"\u521B\u5EFA\u65F6\u95F4",name:"createTime",fieldProps:{style:{width:"100%"}}}),(0,e.jsx)(h.A,{label:"\u66F4\u65B0\u65F6\u95F4",name:"updateTime",fieldProps:{style:{width:"100%"}}}),(0,e.jsx)(F.A,{label:"\u53D8\u66F4\u5907\u6CE8",name:"changeRemark",fieldProps:{rows:3},required:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}]})]})});t.dn(o);var O=t(55472),L=t.n(O),N=t(83623),W=t(37875),w=t(9182),S=t.n(w),U=t(37953);function K(u){return(0,D.request)("/api/v1/admin/platform/list_order",{method:"POST",data:u})}function R(u){return(0,D.request)("/api/v1/platform/pay/callback",{method:"POST",data:u})}var ie=3600*1e3;function ue(u){var d=Number(u);return Number.isFinite(d)?S()(Math.abs(d)<1e11?d*1e3:d):S()(u)}function de(u){if(u==null||u===""||u===0||u==="0")return!1;var d=ue(u);if(!d.isValid())return!1;var j=S()().diff(d);return j>=0&&j<ie}var Z=(function(u){var d=u.record,j=u.onFinish,l=(0,U.useState)(!1),A=L()(l,2),I=A[0],g=A[1];if(!de(d==null?void 0:d.createTime))return null;var z=function(){return g(!0),R({tradeNo:d.tradeNo,tradeStatus:"Succeed"}).then(function(B){if(B.success){P.Ay.success(B.msg||"\u5B8C\u6210\u652F\u4ED8\u6210\u529F"),j==null||j();return}throw P.Ay.error(B.msg||"\u5B8C\u6210\u652F\u4ED8\u5931\u8D25"),new Error(B.msg)}).finally(function(){g(!1)})};return(0,e.jsx)(N.A,{placement:"bottomRight",title:"\u786E\u5B9A\u8981\u5C06\u8BE5\u8BA2\u5355\u6807\u8BB0\u4E3A\u5B8C\u6210\u652F\u4ED8\uFF1F",description:"\u652F\u4ED8\u8BA2\u5355\u53F7\uFF1A".concat(d.tradeNo||"-"),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:I},onConfirm:z,children:(0,e.jsx)(W.A,{title:"\u4EC5\u652F\u6301\u5BF9\u6700\u8FD1 1 \u5C0F\u65F6\u5185\u521B\u5EFA\u7684\u8BA2\u5355\u5B8C\u6210\u652F\u4ED8",children:(0,e.jsx)("span",{className:"text-click",children:"\u5B8C\u6210\u652F\u4ED8"})})})});t.dn(Z);var k=t(86807),q=(function(u){var d=u.buttonProps,j=u.onFinish,l=u.layout;return(0,e.jsxs)(M.K,{layout:l,trigger:(0,e.jsx)(k.A,n()(n()({type:"primary"},d),{},{children:"\u589E\u52A0\u865A\u62DF\u8BA2\u5355"})),modalProps:{destroyOnClose:!0},onFinish:function(I){return(0,D.request)("/api/v1/admin/change/create",{method:"POST",data:{changeType:"platformOrderVirtualAdd",content:{amount:I.amount*100,remark:I.remark,mallIdList:(0,y.TD)(I.mallIdList)},remark:"\u65B0\u589E\u865A\u62DF\u8BA2\u5355"}}).then(function(g){return g.success?(P.Ay.success("\u865A\u62DF\u8BA2\u5355\u521B\u5EFA\u6210\u529F"),j&&j(),!0):(P.Ay.error(g.msg),!1)}).catch(function(g){return P.Ay.error(g.message||"\u63A5\u53E3\u8C03\u7528\u5931\u8D25"),!1})},children:[(0,e.jsx)(a.A,{name:"amount",label:"\u91D1\u989D\uFF08\u5143\uFF09",placeholder:"\u8BF7\u8F93\u5165\u91D1\u989D\uFF0C\u5355\u4F4D\uFF1A\u5143",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91D1\u989D"}],fieldProps:{style:{width:"100%"}},min:0}),(0,e.jsx)(_.A,{name:"remark",label:"\u8BA2\u5355\u5907\u6CE8",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u5907\u6CE8",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8BA2\u5355\u5907\u6CE8"}],fieldProps:{style:{width:"100%"}}}),(0,e.jsx)(_.A,{name:"mallIdList",label:"\u5E97\u94FAID",placeholder:"\u8BF7\u8F93\u5165\u5E97\u94FAID\uFF0C\u591A\u4E2A\u5E97\u94FAID\u8BF7\u7528\u9017\u53F7\u6216\u7A7A\u683C\u5206\u9694",fieldProps:{style:{width:"100%"}}})]})});t.dn(q);var ae=t(23855),ce=t(41313),me=t(57704),ne=t.n(me),ve=t(65788),Ae=t.n(ve),Y=t(47215),G=t(73851),re=t(36519),he=t(64235),Q=t(19413),X=t(21680),s=t(74436),pe=t(58975),se=t(78076),fe={WECHAT:{text:"\u5FAE\u4FE1",status:"Success"},ALIPAY:{text:"\u652F\u4ED8\u5B9D",status:"Processing"}},Pe=Object.keys(r.yb).map(function(u){return{label:r.yb[u].text,value:u}}),Ee=Object.keys(r.b8).map(function(u){return{label:r.b8[u].text,value:u}});function xe(u){return ee.apply(this,arguments)}function ee(){return ee=Ae()(ne()().mark(function u(d){return ne()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",K(n()(n()({},d.formValues),{},{current:d.page,page:d.page,pageSize:d.pageSize})));case 1:case"end":return l.stop()}},u)})),ee.apply(this,arguments)}function _e(){var u=Y.A.useForm(),d=L()(u,1),j=d[0],l=(0,ae.Q_)(xe,{pageSize:50}),A=l.list,I=l.total,g=l.page,z=l.pageSize,H=l.loading,B=l.fetchList,te=l.reload,Ce=function(V){var $;return(($=i.f.find(function(J){return J.value===V}))===null||$===void 0?void 0:$.label)||"-"},De=function(V){var $,J=["\u5E73\u53F0\uFF1A".concat(V.userId||"-")];return V!=null&&($=V.orderInfo)!==null&&$!==void 0&&$.temuUserId&&J.push("Temu\uFF1A".concat(V.orderInfo.temuUserId)),J.join(` 2`)},oe=function(){B(1,j.getFieldsValue())};return(0,e.jsxs)(X.A,{bottomAction:(0,e.jsx)(q,{layout:"vertical",buttonProps:{size:"middle",block:!0},onFinish:te}),loading:H,total:I,page:g,pageSize:z,onPageChange:function(V){B(V)},children:[(0,e.jsx)(pe.A,{children:(0,e.jsxs)(Y.A,{form:j,layout:"vertical",onFinish:oe,children:[(0,e.jsx)(Y.A.Item,{label:"\u5E73\u53F0\u8BA2\u5355ID",name:"orderId",children:(0,e.jsx)(G.A,{size:"small",allowClear:!0,placeholder:"\u8F93\u5165\u5E73\u53F0\u8BA2\u5355ID"})}),(0,e.jsx)(Y.A.Item,{label:"\u652F\u4ED8\u8BA2\u5355\u53F7",name:"tradeNo",children:(0,e.jsx)(G.A,{size:"small",allowClear:!0,placeholder:"\u8F93\u5165\u652F\u4ED8\u8BA2\u5355\u53F7"})}),(0,e.jsx)(Y.A.Item,{label:"\u7528\u6237ID",name:"userId",children:(0,e.jsx)(G.A,{size:"small",allowClear:!0,placeholder:"\u8F93\u5165\u7528\u6237ID"})}),(0,e.jsx)(Y.A.Item,{label:"\u4F18\u60E0\u7801",name:"coupon",children:(0,e.jsx)(G.A,{size:"small",allowClear:!0,placeholder:"\u8F93\u5165\u4F18\u60E0\u7801"})}),(0,e.jsx)(Y.A.Item,{label:"\u8BA2\u5355\u72B6\u6001",name:"status",children:(0,e.jsx)(re.A,{size:"small",allowClear:!0,options:Pe,placeholder:"\u5168\u90E8"})}),(0,e.jsx)(Y.A.Item,{label:"\u7ED3\u7B97\u72B6\u6001",name:"settled",children:(0,e.jsx)(re.A,{size:"small",allowClear:!0,options:Ee,placeholder:"\u5168\u90E8"})}),(0,e.jsxs)("div",{style:{display:"flex",gap:8,justifyContent:"flex-end"},children:[(0,e.jsx)(k.A,{size:"small",onClick:function(){j.resetFields(),oe()},children:"\u91CD\u7F6E"}),(0,e.jsx)(k.A,{size:"small",type:"primary",onClick:function(){j.submit()},children:"\u67E5\u8BE2"})]})]})}),A.map(function(c){return(0,e.jsxs)(he.A,{className:s.A.card,title:(0,e.jsxs)("div",{className:s.A.cardTitle,children:[(0,e.jsx)("span",{className:s.A.titleMain,children:c.orderId}),(0,e.jsx)(Q.A,{text:c.orderId,successMsg:"\u8BA2\u5355ID\u5DF2\u590
2D\u5236"})]}),children:[(0,e.jsxs)("div",{className:s.A.rows,children:[(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u8BA2\u5355\u7C7B\u578B"}),(0,e.jsx)("span",{className:s.A.rowValue,children:Ce(c.type)})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u652F\u4ED8\u6E20\u9053"}),(0,e.jsx)("span",{className:s.A.rowValue,children:(0,e.jsx)(X.h,{valueEnum:fe,value:c.payChannel})})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u8BA2\u5355\u72B6\u6001"}),(0,e.jsx)("span",{className:s.A.rowValue,children:(0,e.jsx)(X.h,{valueEnum:r.yb,value:c.status})})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u7ED3\u7B97\u72B6\u6001"}),(0,e.jsx)("span",{className:s.A.rowValue,children:(0,e.jsx)(X.h,{valueEnum:r.b8,value:c.settled})})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u652F\u4ED8\u8BA2\u5355\u53F7"}),(0,e.jsxs)("span",{className:s.A.rowValue,children:[c.tradeNo||"-",(0,e.jsx)(Q.A,{text:c.tradeNo,successMsg:"\u652F\u4ED8\u8BA2\u5355\u53F7\u5DF2\u590D\u5236"})]})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u7528\u6237ID"}),(0,e.jsxs)("span",{className:"".concat(s.A.rowValue),style:{whiteSpace:"pre-line"},children:[De(c),(0,e.jsx)(Q.A,{text:c.userId,successMsg:"\u7528\u6237ID\u5DF2\u590D\u5236"})]})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u8BA2\u5355\u91D1\u989D(\u5143)"}),(0,e.jsx)("span",{className:s.A.rowValue,children:c.amount!=null?c.amount/100:"-"})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u5F00\u901A\u65F6\u957F"}),(0,e.jsx)("span",{className:s.A.rowValue,children:c.effectiveTime||"-"})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u4F18\u60E0\u7801"}),(0,e.jsxs)("span",{className:s.A.rowValue,children:[c.coupon||"-",(0,e.jsx)(Q.A,{text:c.coupon,successMsg:"\u4F18\u60E0\u7801\u5DF2\u590D\u5236"})]})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u8BA2\u5355\u5907\u6CE8"}),(0,e.jsx)("span",{className:s.A.rowValue,children:c.remark||"-"})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u5F00\u901A\u7684\u5E97\u94FA"}),(0,e.jsx)("span",{className:"".concat(s.A.rowValue),style:{whiteSpace:"pre-line"},children:((c==null?void 0:c.mallIdList)||[]).join(` 3`)||"-"})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u521B\u5EFA\u65F6\u95F4"}),(0,e.jsx)("span",{className:s.A.rowValue,children:(0,se.E)(c.createTime)})]}),(0,e.jsxs)("div",{className:s.A.row,children:[(0,e.jsx)("span",{className:s.A.rowLabel,children:"\u66F4\u65B0\u65F6\u95F4"}),(0,e.jsx)("span",{className:s.A.rowValue,children:(0,se.E)(c.updateTime)})]})]}),(0,e.jsxs)("div",{className:s.A.actionBar,children:[(0,e.jsx)(o,{record:n()(n()({},c),(c==null?void 0:c.orderInfo)||{}),onFinish:te}),c.status==="WAITING_PAY"&&(0,e.jsx)(Z,{record:c,onFinish:te})]})]},c.id)})]})}var je=_e,Fe=["orderInfo"],le=(function(){var u=(0,ae.al)(),d=(0,U.useRef)();return u?(0,e.jsx)(je,{}):(0,e.jsx)(v.Ay,{ghost:!0,children:(0,e.jsx)(f.A,{actionRef:d,request:function(l){return K(n()(n()({},l),{},{page:l.current,pageSize:l.pageSize})).then(function(A){return A.success?n()(n()({},A),{},{data:A.data||[]}):{}})},search:{labelWidth:"auto"},toolbar:{title:(0,e.jsx)(q,{onFinish:function(){var l;return(l=d.current)===null||l===void 0?void 0:l.reload()}})},scroll:{x:"max-content"},columns:[{dataIndex:"orderId",title:"\u5E73\u53F0\u8BA2\u5355ID",width:120,search:!0,fixed:"left"},{dataIndex:"tradeNo",title:"\u652F\u4ED8\u8BA2\u5355\u53F7",search:!0,width:150},{dataIndex:"userId",title:"\u7528\u6237ID",width:120,search:!0,render:function(l,A){var I;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{children:["\u5E73\u53F0\uFF1A",A.userId]}),(0,e.jsxs)("div",{children:["Temu\uFF1A",A==null||(I=A.orderInfo)===null||I===void 0?void 0:I.temuUserId]})]})}},{dataIndex:"type",title:"\u8BA2\u5355\u7C7B\u578B",hideInSearch:!0,width:90,renderText:function(l,A){var I;return((I=i.f.find(function(g){return g.value===l}))===null||I===void 0?void 0:I.label)||"-"}},{dataIndex:"amount",title:"\u8BA2\u5355\u91D1\u989D(\u5143)",hideInSearch:!0,width:100,renderText:function(l){return l/100}},{dataIndex:"effectiveTime",title:"\u5F00\u901A\u65F6\u957F",hideInSearch:!0,width:100},{dataIndex:"payChannel",title:"\u652F\u4ED8\u65B9\u5F0F",hideInSearch:!0,width:80,valueEnum:{WECHAT:{text:"\u5FAE\u4FE1",status:"Success"},ALIPAY:{text:"\u652F\u4ED8\u5B9D",status:"Processing"}}},{dataIndex:"remark",title:"\u8BA2\u5355\u5907\u6CE8",hideInSearch:!0,width:120},{dataIndex:"coupon",title:"\u4F18\u60E0\u7801",search:!0,width:80},{dataIndex:"mallIdList",title:"\u5F00\u901A\u7684\u5E97\u94FA",hideInSearch:!0,width:130,render:function(l,A){var I=(A==null?void 0:A.mallIdList)||[];return(0,e.jsx)("div",{style:{width:"100%",maxHeight:"55px",overflow:"auto"},children:I.map(function(g){return(0,e.jsx)("div",{children:"".concat(g)},g)})})}},{dataIndex:"status",title:"\u8BA2\u5355\u72B6\u6001",width:100,valueEnum:r.yb},{dataIndex:"settled",title:"\u7ED3\u7B97\u72B6\u6001",width:100,valueEnum:r.b8},{title:"\u65F6\u95F4",width:220,hideInSearch:!0,dataIndex:"updateTime",render:function(l,A){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{children:["\u521B\u5EFA\uFF1A",S()(A.createTime).format("YYYY-MM-DD HH:mm:ss")]}),(0,e.jsxs)("div",{children:["\u66F4\u65B0\uFF1A",S()(A.updateTime).format("YYYY-MM-DD HH:mm:ss")]})]})}},{title:"\u64CD\u4F5C",width:150,hideInSearch:!0,fixed:"right",render:function(l,A,I,g){var z=A.orderInfo,H=p()(A,Fe);return(0,e.jsxs)(ce.A,{children:[(0,e.jsx)(o,{record:n()(n()({},H),z),onFinish:function(){g==null||g.reload()}}),A.status==="WAITING_PAY"&&(0,e.jsx)(Z,{record:A,onFinish:function(){g==null||g.reload()}})]})}}]})})});t.dn(le)}),89947:(function(b,x,t){t.d(x,{b8:function(){return n},ds:function(){return v},iD:function(){return C},iG:function(){return p},o2:function(){return m},yb:function(){return f}});var m={NORMAL:{text:"\u6B63\u5E38",status:"Processing"},EXPIRED:{text:"\u5DF2\u5230\u671F",status:"Error"}},p={SUCCESS:{text:"\u6210\u529F",status:"Processing"},FAILED:{text:"\u5931\u8D25",status:"Error"},SPINNING:{text:"\u91C7\u96C6\u4E2D",status:"Success"},TIMEOUT:{text:"\u8D85\u65F6",status:"Error"}},C={ANNUAL:"\u5E74\u4F1A\u5458",BASIC:"\u57FA\u7840\u4F1A\u5458"},n={true:{text:"\u5DF2\u7ED3\u7B97"},false:{text:"\u672A\u7ED3\u7B97"}},f={PAID:{text:"\u5DF2\u5B8C\u6210",status:"Processing"},CONFIRMED:{text:"\u5F85\u786E\u8BA4",status:"Success"},WAITING_PAY:{text:"\u5F85\u652F\u4ED8",status:"Default"},CANCELED:{text:"\u5DF2\u53D6\u6D88",status:"Default"},CLOSED:{text:"\u5DF2\u5173\u95ED",status:"Default"}},v={ALIPAY:{text:"\u652F\u4ED8\u5B9D",status:"Processing"},WECHAT:{text:"\u5FAE\u4FE1",status:"Success"}}}),30532:(function(b,x,t){t.d(x,{f:function(){return m}});var m=[{value:"TEMU_TOOLS",label:"\u5DE5\u5177\u670D\u52A1"},{value:"PLATFORM_MEMBER",label:"\u4F1A\u5458/\u5957\u9910"},{value:"PLATFORM_PACKAGE_MEMBER_UPGRADE",label:"\u5957\u9910\u5347\u7EA7"},{value:"TEMU_TOOLS_TEST",label:"\u5DE5\u5177\u670D\u52A1\uFF08\u6D4B\u8BD5\uFF09"},{value:"PLATFORM_MEMBER_TEST",label:"\u4F1A\u5458/\u5957\u9910\uFF08\u6D4B\u8BD5\uFF09"},{value:"PLATFORM_PACKAGE_MEMBER_UPGRADE_TEST",label:"\u5957\u9910\u5347\u7EA7\uFF08\u6D4B\u8BD5\uFF09"}]}),78076:(function(b,x,t){t.d(x,{E:function(){return C}});var m=t(9182),p=t.n(m);function C(n){if(n==null||n===""||n===0)return"-";var f=Number(n);if(!Number.isFinite(f)){var v=p()(n);return v.isValid()?v.format("YYYY-MM-DD HH:mm:ss"):"-"}if(f<0)return"-";var D=Math.abs(f)<1e11?f*1e3:f;return p()(D).format("YYYY-MM-DD HH:mm:ss")}}),74436:(function(b,x){x.A={page:"page___ryFw5",hasBottomAction:"hasBottomAction___JjGO5",toolbar:"toolbar___ygQkc",bottomAction:"bottomAction___rvq4P",card:"card___oNkfm",cardTitle:"cardTitle___m86nS",titleMain:"titleMain___Chy_Q",link:"link___wB_7B",danger:"danger___eKrPo",tagRow:"tagRow___rr6yz",rows:"rows___c_8nj",row:"row___aHK5u",rowLabel:"rowLabel___f4KcL",rowValue:"rowValue___O7aiP",actionBar:"actionBar___DIo6C",time:"time___aFBer",desc:"desc___RXcRz",filterCard:"filterCard___qLLMc"}})}]);
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.