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