(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[9796,7975,1322],{58889:function(P,l,e){"use strict";e.r(l),e.d(l,{default:function(){return T}});var r=e(39428),c=e(3182),f=e(67294),m=e(78009),I=e(16894),g=e(48971);function x(u){return n.apply(this,arguments)}function n(){return n=(0,c.Z)((0,r.Z)().mark(function u(s){return(0,r.Z)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,g.WY)("/kitchen/api/split-order/split-order-page",{method:"Post",data:s}));case 1:case"end":return t.stop()}},u)})),n.apply(this,arguments)}var o=e(85893),y=function(){var s=(0,f.useRef)(),h=[{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:"orderId",valueType:"textarea"},{title:"\u5546\u6237\u8D26\u53F7",dataIndex:"businessId",valueType:"textarea"},{title:"\u5546\u6237\u5206\u8D26\u91D1\u989D(\u5206)",dataIndex:"businessPrice",valueType:"textarea",hideInSearch:!0},{title:"\u5907\u6CE8",dataIndex:"remark",valueType:"textarea",hideInSearch:!0},{title:"\u521B\u5EFA\u65F6\u95F4",sorter:!0,dataIndex:"createAt",valueType:"dateTime",hideInSearch:!0}];return(0,o.jsx)(m.ZP,{children:(0,o.jsx)(I.ZP,{headerTitle:"\u5206\u8D26\u8BA2\u5355",actionRef:s,rowKey:"id",search:{labelWidth:120},columns:h,request:function(){var t=(0,c.Z)((0,r.Z)().mark(function p(Z){var i,d;return(0,r.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return i=[],d=0,a.next=4,x(Z).then(function(v){i=v.data.data,d=v.data.total});case 4:return a.abrupt("return",{data:i,success:!0,total:d});case 5:case"end":return a.stop()}},p)}));return function(p){return t.apply(this,arguments)}}()})})},T=y}}]);
