(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8309],{26728:function(K,g,e){"use strict";e.r(g),e.d(g,{default:function(){return G}});var z=e(71194),E=e(50146),H=e(66456),F=e(10363),J=e(9715),C=e(55843),c=e(2824),f=e(39428),Q=e(34792),x=e(3182),s=e(67294),j=e(28790),P=e(16894),u=e(48971),I={page:function(r){return r.isreport=!0,(0,u.WY)("/groupmealorder/api/Order/ThirdOrderPage",{method:"Post",data:r})},getThirdOrderInfo:function(r){return(0,u.WY)("/groupmealorder/api/Order/GetThirdOrderInfo?thirdOrderId="+r,{method:"get"})},orderList:function(r){return r.isreport=!0,(0,u.WY)("/groupmealorder/api/Order/PostDetail",{method:"Post",data:r})},srdList:function(r){return(0,u.WY)("/groupmealorder/api/shop/alllist",{method:"GET"})},GetFlowExport:function(r){return(0,u.WY)("/groupmealorder/api/Order/GetFlowExport",{method:"Post",data:r})}},t=e(85893),U=null,R=function(){var r=(0,s.useState)(),h=(0,c.Z)(r,2),B=h[0],W=h[1],O=(0,s.useRef)(),Z=C.Z.useForm(),Y=(0,c.Z)(Z,1),V=Y[0],$=(0,s.useState)(!1),y=(0,c.Z)($,2),L=y[0],S=y[1],M=(0,s.useState)(!1),T=(0,c.Z)(M,2),w=T[0],A=T[1];(0,s.useEffect)(function(){},[]);var N=[{title:"\u4E3B\u952E",dataIndex:"id",tip:"\u89C4\u5219\u540D\u79F0\u662F\u552F\u4E00\u7684 key",hideInSearch:!0,hideInTable:!0},{title:"\u8BA2\u5355\u7F16\u53F7",dataIndex:"orderNum"},{title:"\u540C\u6B65\u65F6\u95F4",dataIndex:"createAt",hideInSearch:!0},{title:"\u64CD\u4F5C",dataIndex:"option",valueType:"option",width:200,render:function(l,i){return[(0,t.jsx)("a",{onClick:(0,x.Z)((0,f.Z)().mark(function v(){var p;return(0,f.Z)().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,I.getThirdOrderInfo(i.id);case 2:p=n.sent,A(p.data.thirdOrderInfos),S(!0);case 5:case"end":return n.stop()}},v)})),children:"\u67E5\u770B\u8BE6\u60C5"},i.id)]}}],D=[{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"goodsName",key:"goodsName",render:function(l){return(0,t.jsx)("a",{children:l})}},{title:"\u6570\u91CF",dataIndex:"count",key:"count"}];return(0,t.jsxs)(j.ZP,{header:{title:"",breadcrumb:{}},children:[(0,t.jsx)(P.ZP,{headerTitle:"\u7B2C\u4E09\u65B9\u8BA2\u5355",actionRef:O,rowKey:"orderFlowId",search:{labelWidth:120},columns:N,request:function(){var d=(0,x.Z)((0,f.Z)().mark(function l(i,v,p){var m;return(0,f.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,I.page(i);case 2:return m=o.sent,o.abrupt("return",{data:m.data.data,success:!0,total:m.data.total});case 4:case"end":return o.stop()}},l)}));return function(l,i,v){return d.apply(this,arguments)}}()}),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(E.Z,{title:"\u8BE6\u60C5",open:L,onOk:function(){},onCancel:function(){S(!1)},children:(0,t.jsx)(F.Z,{columns:D,dataSource:w})})})]})},G=R}}]);
