Files
houyi-admin/dist/src__pages__shop__order__index.688936a6.async.js
PC-202306242200\Administrator 23dc139a31 first commit
2026-03-28 23:25:01 +08:00

2 lines
18 KiB
JavaScript

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2522,2540],{76693:function(Y,D,e){var c=e(88351),i=e(99177),F=e(42700),p=e(87841),h=e(67654),o=e(84974),_=e(35422),j=e(14649),E=e(93236),l=e(90040),m=e(62086),u=["rules","name","phoneName","fieldProps","captchaTextRender","captchaProps"],r=E.forwardRef(function(d,W){var Z=o.Z.useFormInstance(),L=(0,E.useState)(d.countDown||60),y=(0,h.Z)(L,2),x=y[0],B=y[1],S=(0,E.useState)(!1),O=(0,h.Z)(S,2),s=O[0],b=O[1],V=(0,E.useState)(),w=(0,h.Z)(V,2),q=w[0],z=w[1],n=d.rules,me=d.name,X=d.phoneName,H=d.fieldProps,k=d.captchaTextRender,ee=k===void 0?function(g,$){return g?"".concat($," \u79D2\u540E\u91CD\u65B0\u83B7\u53D6"):"\u83B7\u53D6\u9A8C\u8BC1\u7801"}:k,ne=d.captchaProps,te=(0,p.Z)(d,u),J=function(){var g=(0,F.Z)((0,i.Z)().mark(function $(G){return(0,i.Z)().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.prev=0,z(!0),U.next=4,te.onGetCaptcha(G);case 4:z(!1),b(!0),U.next=13;break;case 8:U.prev=8,U.t0=U.catch(0),b(!1),z(!1),console.log(U.t0);case 13:case"end":return U.stop()}},$,null,[[0,8]])}));return function(G){return g.apply(this,arguments)}}();return(0,E.useImperativeHandle)(W,function(){return{startTiming:function(){return b(!0)},endTiming:function(){return b(!1)}}}),(0,E.useEffect)(function(){var g=0,$=d.countDown;return s&&(g=window.setInterval(function(){B(function(G){return G<=1?(b(!1),clearInterval(g),$||60):G-1})},1e3)),function(){return clearInterval(g)}},[s]),(0,m.jsxs)("div",{style:(0,c.Z)((0,c.Z)({},H==null?void 0:H.style),{},{display:"flex",alignItems:"center"}),ref:W,children:[(0,m.jsx)(_.Z,(0,c.Z)((0,c.Z)({},H),{},{style:{flex:1,transition:"width .3s",marginRight:8}})),(0,m.jsx)(j.ZP,(0,c.Z)((0,c.Z)({style:{display:"block"},disabled:s,loading:q},ne),{},{onClick:(0,F.Z)((0,i.Z)().mark(function g(){var $;return(0,i.Z)().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(A.prev=0,!X){A.next=9;break}return A.next=4,Z.validateFields([X].flat(1));case 4:return $=Z.getFieldValue([X].flat(1)),A.next=7,J($);case 7:A.next=11;break;case 9:return A.next=11,J("");case 11:A.next=16;break;case 13:A.prev=13,A.t0=A.catch(0),console.log(A.t0);case 16:case"end":return A.stop()}},g,null,[[0,13]])})),children:ee(s,x)}))]})}),C=(0,l.G)(r);D.Z=C},72226:function(Y,D,e){var c=e(88351),i=e(87841),F=e(93236),p=e(8263),h=e(62086),o=["fieldProps","min","proFieldProps","max"],_=function(l,m){var u=l.fieldProps,r=l.min,C=l.proFieldProps,d=l.max,W=(0,i.Z)(l,o);return(0,h.jsx)(p.Z,(0,c.Z)({valueType:"digit",fieldProps:(0,c.Z)({min:r,max:d},u),ref:m,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:C},W))},j=F.forwardRef(_);D.Z=j},52586:function(Y,D,e){var c=e(88351),i=e(87841),F=e(93236),p=e(8263),h=e(62086),o=["fieldProps","proFieldProps"],_=function(E,l){var m=E.fieldProps,u=E.proFieldProps,r=(0,i.Z)(E,o);return(0,h.jsx)(p.Z,(0,c.Z)({ref:l,valueType:"textarea",fieldProps:m,proFieldProps:u},r))};D.Z=F.forwardRef(_)},61786:function(Y,D,e){var c=e(88351),i=e(87841),F=e(93236),p=e(8263),h=e(62086),o=["fieldProps","proFieldProps"],_=["fieldProps","proFieldProps"],j="text",E=function(r){var C=r.fieldProps,d=r.proFieldProps,W=(0,i.Z)(r,o);return(0,h.jsx)(p.Z,(0,c.Z)({valueType:j,fieldProps:C,filedConfig:{valueType:j},proFieldProps:d},W))},l=function(r){var C=r.fieldProps,d=r.proFieldProps,W=(0,i.Z)(r,_);return(0,h.jsx)(p.Z,(0,c.Z)({valueType:"password",fieldProps:C,proFieldProps:d,filedConfig:{valueType:j}},W))},m=E;m.Password=l,m.displayName="ProFormComponent",D.Z=m},85968:function(Y,D,e){var c=e(23674),i=e(62086),F=function(h){var o=(0,c.useModel)("@@initialState"),_=o.initialState,j=o.loading,E=o.error,l=o.refresh,m=o.setInitialState,u=_==null?void 0:_.authPermissionAction;if(!u)return(0,i.jsx)("span",{children:h.children});var r=u.indexOf(h.action);return r>=0?(0,i.jsx)("span",{children:h.children}):(0,i.jsx)(i.Fragment,{})};D.Z=F},52:function(Y,D,e){e.r(D);var c=e(54306),i=e.n(c),F=e(93236),p=e(92750),h=e(1045),o=e(90627),_=e(62086),j=o.Z.ShopOrderController.shopOrderBonus;D.default=function(E){var l=E.values,m=E.modalOpenState,u=E.onModalOpenState,r=(0,F.useState)(null),C=i()(r,2),d=C[0],W=C[1],Z=(0,F.useState)(null),L=i()(Z,2),y=L[0],x=L[1];(0,F.useEffect)(function(){j({order_id:l==null?void 0:l.id}).then(function(S){var O=S.data,s=S.success;s&&(x((O==null?void 0:O.items)||[]),W(O==null?void 0:O.config))}).catch(function(){})},[l]);var B=[{title:"\u8D26\u5355\u53F7",dataIndex:"order_no",search:!1},{title:"\u6295\u8D44\u4EBA",dataIndex:"shop",search:!1,render:function(O,s){var b,V;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{children:["\u7528\u6237\u540D\uFF1A",s==null||(b=s.shop)===null||b===void 0?void 0:b.username]}),(0,_.jsxs)("div",{children:["\u624B\u673A\u53F7\uFF1A",s==null||(V=s.shop)===null||V===void 0?void 0:V.mobile]}),(0,_.jsxs)("div",{children:["\u7B49\u7EA7\uFF1A",s==null?void 0:s.vip]})]})}},{title:"\u7C7B\u578B",dataIndex:"type",search:!1,render:function(O,s){return(d==null?void 0:d.scene[s==null?void 0:s.scene])+"-"+(d==null?void 0:d.type[s==null?void 0:s.type])}},{title:"\u91D1\u989D",dataIndex:"money",search:!1},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",search:!1}];return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(p.Z,{width:"800px",title:"\u5206\u7EA2",open:m,onOk:function(){u(!1)},onCancel:function(){u(!1)},children:(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(h.Z,{rowKey:"id",columns:B,dataSource:y,pagination:!1})})})})}},83758:function(Y,D,e){e.r(D);var c=e(25359),i=e.n(c),F=e(49811),p=e.n(F),h=e(28931),o=e(40882),_=e(61786),j=e(72226),E=e(76693),l=e(52586),m=e(93236),u=e(90627),r=e(62086),C=u.Z.SmsController.smsSendcode;D.default=function(d){var W=d.modalOpenState,Z=d.onModalOpenState,L=d.onSubmit,y=(0,m.useRef)();return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(h.Y,{title:"\u8BA2\u5355-\u4E0B\u5355",formRef:y,submitter:{searchConfig:{resetText:"\u91CD\u7F6E"},resetButtonProps:{onClick:function(){var B;(B=y.current)===null||B===void 0||B.resetFields()}}},onFinish:L,open:W,onOpenChange:Z,children:[(0,r.jsx)("div",{className:"text-red-600",children:(0,r.jsx)("div",{children:"\u5355\u4E2A\u8BA2\u5355\u9650\u8D2D100\u53F0\uFF0C\u5982\u9700\u66F4\u591A\u8BF7\u591A\u6B21\u4E0B\u5355"})}),(0,r.jsxs)(o.A.Group,{children:[(0,r.jsx)(_.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"username",label:"\u7528\u6237\u540D",placeholder:"\u8BF7\u8F93\u5165"}),(0,r.jsx)(_.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"mobile",label:"\u624B\u673A\u53F7",placeholder:"\u8BF7\u8F93\u5165"})]}),(0,r.jsxs)(o.A.Group,{children:[(0,r.jsx)(j.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],label:"\u8D2D\u4E70\u6570\u91CF",name:"num",min:1,max:100}),(0,r.jsx)(E.Z,{placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",captchaTextRender:function(B,S){return B?"".concat(S," ","\u83B7\u53D6\u9A8C\u8BC1\u7801"):"\u83B7\u53D6\u9A8C\u8BC1\u7801"},label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\uFF01"}],onGetCaptcha:p()(i()().mark(function x(){var B,S;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,C();case 2:B=s.sent,S=B.data;case 4:case"end":return s.stop()}},x)}))})]}),(0,r.jsx)(l.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"note",label:"\u5907\u6CE8",placeholder:"\u8BF7\u8F93\u5165"})]})})}},76231:function(Y,D,e){e.r(D);var c=e(25359),i=e.n(c),F=e(49811),p=e.n(F),h=e(28931),o=e(40882),_=e(61786),j=e(76693),E=e(52586),l=e(93236),m=e(90627),u=e(62086),r=m.Z.SmsController.smsSendcode;D.default=function(C){var d=C.modalOpenState,W=C.onModalOpenState,Z=C.onSubmit,L=(0,l.useRef)();return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(h.Y,{title:"\u8BA2\u5355-\u9000\u5355",formRef:L,submitter:{searchConfig:{resetText:"\u91CD\u7F6E"},resetButtonProps:{onClick:function(){var x;(x=L.current)===null||x===void 0||x.resetFields()}}},onFinish:Z,open:d,onOpenChange:W,children:[(0,u.jsxs)("div",{className:"text-red-600 ",children:[(0,u.jsx)("div",{children:"1.\u9000\u8D27\uFF1A"}),(0,u.jsx)("div",{children:"\u5DF2\u5B89\u88C5\u8BBE\u5907\u4E0D\u652F\u6301\u9000\u8D27\uFF08\u5982\u6709\u9700\u8981\u8BF7\u8054\u7CFB\u5BA2\u670D\uFF09"}),(0,u.jsx)("div",{children:"2.\u9000\u6B3E\uFF1A"}),(0,u.jsx)("div",{children:"\u8BA2\u5355\u7684\u652F\u4ED8\u65B9\u5F0F\u4E3A\u4F59\u989D\u652F\u4ED8\uFF0C\u5219\u81EA\u52A8\u9000\u56DE\u4F59\u989D\uFF1B\u5982\u679C\u4E3A\u5FAE\u4FE1\u652F\u4ED8\uFF0C\u7531\u8D22\u52A1\u4EBA\u5DE5\u5904\u7406\uFF08\u539F\u8DEF\u8FD4\u56DE\u3001\u8F6C\u8D26\u3001\u589E\u52A0\u4F59\u989D\uFF09"}),(0,u.jsx)("div",{children:"\u9000\u5355\u5931\u8D25\uFF1A"}),(0,u.jsx)("div",{children:"\u5982\u679C\u56E2\u961F\u6709\u6295\u8D44\u4EBA\u4F59\u989D\u4E0D\u8DB3\u3001\u8BBE\u5907\u5DF2\u5B89\u88C5\u7B49\u3002\u4F1A\u5BFC\u81F4\u9000\u5355\u5931\u8D25"})]}),(0,u.jsxs)(o.A.Group,{children:[(0,u.jsx)(_.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"order_no",label:"\u8BA2\u5355\u53F7",placeholder:"\u8BF7\u8F93\u5165"}),(0,u.jsx)(_.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"username",label:"\u7528\u6237\u540D",placeholder:"\u8BF7\u8F93\u5165"})]}),(0,u.jsx)(o.A.Group,{children:(0,u.jsx)(j.Z,{placeholder:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801",captchaTextRender:function(x,B){return x?"".concat(B," ","\u83B7\u53D6\u9A8C\u8BC1\u7801"):"\u83B7\u53D6\u9A8C\u8BC1\u7801"},label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\uFF01"}],onGetCaptcha:p()(i()().mark(function y(){var x,B;return i()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,r();case 2:x=O.sent,B=x.data;case 4:case"end":return O.stop()}},y)}))})}),(0,u.jsx)(E.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],width:"md",name:"refund_note",label:"\u9000\u5355\u539F\u56E0",placeholder:"\u8BF7\u8F93\u5165"})]})})}},56715:function(Y,D,e){e.r(D);var c=e(12342),i=e.n(c),F=e(25359),p=e.n(F),h=e(57213),o=e.n(h),_=e(49811),j=e.n(_),E=e(54306),l=e.n(E),m=e(93236),u=e(23674),r=e(61385),C=e(11776),d=e(71516),W=e(63647),Z=e(79501),L=e(23360),y=e(14649),x=e(50336),B=e(87708),S=e(5726),O=e.n(S),s=e(89541),b=e(85968),V=e(52),w=e(76231),q=e(83758),z=e(90627),n=e(62086),me=["type","defaultRender","formItemProps","fieldProps"],X=["type","defaultRender","formItemProps","fieldProps"],H=z.Z.ShopOrderController,k=H.shopOrderItems,ee=H.shopOrderRefund,ne=H.shopOrderCreate,te=z.Z.ShopController.shopItems;D.default=function(){var J,g,$,G,A,U,ae,re,ue,oe,_e,se,Me=(0,m.useState)(!1),ve=l()(Me,2),Fe=ve[0],je=ve[1],Ce=(0,m.useState)(!1),ce=l()(Ce,2),Ae=ce[0],le=ce[1],xe=(0,m.useState)(!1),Ee=l()(xe,2),Be=Ee[0],de=Ee[1],Re=(0,m.useState)(null),pe=l()(Re,2),Te=pe[0],Ie=pe[1],ie=(0,m.useRef)(),We={id:"",admin_note:"",proof:"",is_pay:!1},ye=(0,m.useState)(),he=l()(ye,2),K=he[0],Se=he[1],ge=(0,m.useState)(null),Pe=l()(ge,2),a=Pe[0],Ke=Pe[1],Le=(0,m.useState)(We),De=l()(Le,2),Ue=De[0],Ve=De[1],Ze=(0,m.useState)([]),fe=l()(Ze,2),be=fe[0],$e=fe[1],Ge=function(){var I=j()(p()().mark(function v(t){var P,f,M;return p()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,ee(o()({},t));case 2:P=T.sent,f=P.success,f&&((M=ie.current)===null||M===void 0||M.reload(),le(!1));case 5:case"end":return T.stop()}},v)}));return function(t){return I.apply(this,arguments)}}(),Ne=function(){var I=j()(p()().mark(function v(t){var P,f,M;return p()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,ne(o()({},t));case 2:P=T.sent,f=P.success,f&&((M=ie.current)===null||M===void 0||M.reload(),de(!1));case 5:case"end":return T.stop()}},v)}));return function(t){return I.apply(this,arguments)}}(),Ye=function(v){te({username:v}).then(function(t){var P,f=t.data,M=[];f==null||(P=f.data)===null||P===void 0||P.map(function(R){R.label="".concat(R.username," ").concat(R.mobile),M.push(R)}),$e(M)})},He=[{title:"\u8BA2\u5355\u53F7",dataIndex:"order_no",search:!0,render:function(v,t){return(0,n.jsx)(r.Z,{children:(0,n.jsx)("div",{children:t==null?void 0:t.order_no})})}},{title:"\u6295\u8D44\u4EBA",dataIndex:"shop_id",renderFormItem:function(v,t,P){var f=t.type,M=t.defaultRender,R=t.formItemProps,T=t.fieldProps,Oe=i()(t,me);return(0,n.jsx)(C.Z,o()(o()({},T),{},{allowClear:!0,showSearch:!0,placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",style:{width:"100%"},filterOption:!1,onSearch:function(Q){Q&&Ye(Q)},fieldNames:{label:"label",value:"id"},options:be}))},render:function(v,t){var P,f,M;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:t==null||(P=t.shop)===null||P===void 0?void 0:P.nickname}),(0,n.jsx)("div",{children:t==null||(f=t.shop)===null||f===void 0?void 0:f.username}),(0,n.jsx)("div",{children:t==null||(M=t.shop)===null||M===void 0?void 0:M.mobile})]})}},{title:"\u5546\u54C1\u4FE1\u606F",dataIndex:"goods",search:!1,render:function(v,t){var P,f;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.Z,{src:t==null||(P=t.goods)===null||P===void 0?void 0:P.cover[0],width:50}),(0,n.jsxs)("div",{children:["\u5546\u54C1\u6570\u91CF\uFF1A",t==null?void 0:t.num]}),(0,n.jsxs)("div",{children:["\u5546\u54C1\u540D\u79F0\uFF1A",t==null||(f=t.goods)===null||f===void 0?void 0:f.name]})]})}},{title:"\u8BA2\u5355\u91D1\u989D",dataIndex:"pay_money",search:!1},{title:"\u652F\u4ED8\u65B9\u5F0F",dataIndex:"pay_type",search:!1,render:function(v,t){return(0,n.jsx)(n.Fragment,{children:K==null?void 0:K.pay_type[t==null?void 0:t.pay_type]})}},{title:"\u4ED8\u6B3E\u65F6\u95F4",dataIndex:"pay_time",valueType:"dateRange",search:{transform:function(v){return{start_date:v[0],end_date:v[1]}}},render:function(v,t){return t!=null&&t.pay_time?O()((t==null?void 0:t.pay_time)*1e3).format("YYYY-MM-DD HH:mm:ss"):""}},{title:"\u72B6\u6001",dataIndex:"status",search:!0,renderFormItem:function(v,t,P){var f=t.type,M=t.defaultRender,R=t.formItemProps,T=t.fieldProps,Oe=i()(t,X),N=[];for(var Q in K==null?void 0:K.status)K!=null&&K.status.hasOwnProperty(Q)&&N.push({label:K==null?void 0:K.status[Q],key:Q});return(0,n.jsx)(C.Z,o()(o()({},T),{},{allowClear:!0,defaultValue:"1",style:{width:"100%"},filterOption:!1,fieldNames:{label:"label",value:"key"},options:N}))},render:function(v,t){return(0,n.jsx)(n.Fragment,{children:K==null?void 0:K.status[t==null?void 0:t.status]})}},{title:"\u9000\u5355\u539F\u56E0",dataIndex:"refund_note",search:!1},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",search:!1},{title:"\u64CD\u4F5C",dataIndex:"option",valueType:"option",render:function(v,t){return(0,n.jsx)(r.Z,{})}}];return(0,n.jsx)(x._z,{ghost:!0,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(W.Z,{gutter:10,children:[(0,n.jsx)(Z.Z,{span:6,children:(0,n.jsxs)(L.Z,{children:[(0,n.jsx)("div",{children:"\u6C47\u603B"}),(0,n.jsxs)("div",{children:["\u91D1\u989D: ",a==null||(J=a.all0)===null||J===void 0?void 0:J.money]}),(0,n.jsxs)("div",{className:"flex ",children:[(0,n.jsxs)("div",{children:["\u8BA2\u5355\u6570\uFF1A",a==null||(g=a.all0)===null||g===void 0?void 0:g.order_num]}),(0,n.jsx)("div",{className:"w-6"}),(0,n.jsxs)("div",{children:["\u5546\u54C1\u6570\uFF1A",a==null||($=a.all0)===null||$===void 0?void 0:$.goods_num]})]})]})}),(0,n.jsx)(Z.Z,{span:6,children:(0,n.jsxs)(L.Z,{children:[(0,n.jsx)("div",{children:"\u5FAE\u4FE1\u652F\u4ED8"}),(0,n.jsxs)("div",{children:["\u91D1\u989D: ",a==null||(G=a.all1)===null||G===void 0?void 0:G.money]}),(0,n.jsxs)("div",{className:"flex ",children:[(0,n.jsxs)("div",{children:["\u8BA2\u5355\u6570\uFF1A",a==null||(A=a.all1)===null||A===void 0?void 0:A.order_num]}),(0,n.jsx)("div",{className:"w-6"}),(0,n.jsxs)("div",{children:["\u5546\u54C1\u6570\uFF1A",a==null||(U=a.all1)===null||U===void 0?void 0:U.goods_num]})]})]})}),(0,n.jsx)(Z.Z,{span:6,children:(0,n.jsxs)(L.Z,{children:[(0,n.jsx)("div",{children:"\u4F59\u989D\u652F\u4ED8"}),(0,n.jsxs)("div",{children:["\u91D1\u989D: ",a==null||(ae=a.all3)===null||ae===void 0?void 0:ae.money]}),(0,n.jsxs)("div",{className:"flex ",children:[(0,n.jsxs)("div",{children:["\u8BA2\u5355\u6570\uFF1A",a==null||(re=a.all3)===null||re===void 0?void 0:re.order_num]}),(0,n.jsx)("div",{className:"w-6"}),(0,n.jsxs)("div",{children:["\u5546\u54C1\u6570\uFF1A",a==null||(ue=a.all3)===null||ue===void 0?void 0:ue.goods_num]})]})]})}),(0,n.jsx)(Z.Z,{span:6,children:(0,n.jsxs)(L.Z,{children:[(0,n.jsx)("div",{children:"\u7EBF\u4E0B\u652F\u4ED8"}),(0,n.jsxs)("div",{children:["\u91D1\u989D: ",a==null||(oe=a.all4)===null||oe===void 0?void 0:oe.money]}),(0,n.jsxs)("div",{className:"flex ",children:[(0,n.jsxs)("div",{children:["\u8BA2\u5355\u6570\uFF1A",a==null||(_e=a.all4)===null||_e===void 0?void 0:_e.order_num]}),(0,n.jsx)("div",{className:"w-6"}),(0,n.jsxs)("div",{children:["\u5546\u54C1\u6570\uFF1A",a==null||(se=a.all4)===null||se===void 0?void 0:se.goods_num]})]})]})})]}),(0,n.jsx)("div",{className:"h-3.5"}),(0,n.jsx)(V.default,{values:Ue,modalOpenState:Fe,onModalOpenState:je}),(0,n.jsx)(w.default,{modalOpenState:Ae,onModalOpenState:le,onSubmit:Ge}),(0,n.jsx)(q.default,{modalOpenState:Be,onModalOpenState:de,onSubmit:Ne}),(0,n.jsx)(B.Z,{actionRef:ie,rowKey:"id",search:{defaultCollapsed:!1},toolBarRender:function(){return[(0,n.jsx)(b.Z,{action:"admin/shop_order/create",children:(0,n.jsx)(y.ZP,{onClick:function(){de(!0)},children:"\u4E0B\u5355"})},"admin/shop_order/create"),(0,n.jsx)(b.Z,{action:"admin/shop_order/refund",children:(0,n.jsx)(y.ZP,{danger:!0,onClick:function(){le(!0)},children:"\u9000\u5355"})},"admin/shop_order/refund"),(0,n.jsx)(b.Z,{action:"admin/shop_order/export",children:(0,n.jsx)(y.ZP,{type:"primary",onClick:function(){window.location.href=(0,s.ix)(Te,"/admin/shop_order/export")},children:"\u5BFC\u51FA\u8868\u683C"})},"admin/shop_order/export")]},request:function(){var I=j()(p()().mark(function v(t,P,f){var M,R,T;return p()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return t!=null&&t.status||(t.status=1),Ie(o()({token:""},t)),N.next=4,k(o()(o()({},t),{},{sorter:P,filter:f}));case 4:return M=N.sent,R=M.data,T=M.success,Se(R==null?void 0:R.config),Ke(R==null?void 0:R.count),N.abrupt("return",{data:R.items||[],total:R.total,success:T});case 10:case"end":return N.stop()}},v)}));return function(v,t,P){return I.apply(this,arguments)}}(),columns:He})]})})}}}]);