"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[6294],{90165:function(A,l,d){d.r(l);var m=d(90228),a=d.n(m),h=d(87999),E=d.n(h),C=d(50959),u=d(47698),D=d(94675),O=d(7485),n=d(11527),j=function(t){var _,o,s,i,e=t.record,v=t.onOk,P=function(){var M=E()(a()().mark(function c(){var p;return a()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,(0,O.request)("/api/orders/updateCheckStatus",{method:"post",headers:{"Content-Type":"application/json;charset=UTF-8"},data:{id:e==null?void 0:e.id,checkStatus:1}});case 3:p=r.sent,p.success?(u.ZP.success("\u5BF9\u8D26\u6210\u529F"),v()):u.ZP.error("\u5BF9\u8D26\u5931\u8D25"),r.next=11;break;case 7:r.prev=7,r.t0=r.catch(0),u.ZP.error("\u5BF9\u8D26\u5931\u8D25"),console.error("Error updating check status:",r.t0);case 11:case"end":return r.stop()}},c,null,[[0,7]])}));return function(){return M.apply(this,arguments)}}();return(0,n.jsx)(D.Z,{title:"\u8D22\u52A1\u5BF9\u8D26",open:!0,onOk:P,onCancel:v,children:(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{children:["\u8BA2\u5355\u53F7: ",e==null?void 0:e.orderNo]}),(0,n.jsxs)("p",{children:["\u7528\u6237: ",e==null||(_=e.shopEntity)===null||_===void 0?void 0:_.userName," (",e==null||(o=e.shopEntity)===null||o===void 0?void 0:o.phone,")"]}),(0,n.jsxs)("p",{children:["\u6838\u9500\u4EBA: ",e==null||(s=e.verifier)===null||s===void 0?void 0:s.userName," (",e==null||(i=e.verifier)===null||i===void 0?void 0:i.phone,")"]}),(0,n.jsxs)("p",{children:["\u9762\u503C: \xA5",e==null?void 0:e.goodsPrice]}),(0,n.jsxs)("p",{children:["\u6570\u91CF: ",e==null?void 0:e.couponNum]}),(0,n.jsxs)("p",{children:["\u72B6\u6001: ",e!=null&&e.status?"\u5DF2\u6838\u9500":"\u672A\u6838\u9500"]}),(0,n.jsxs)("p",{children:["\u8D22\u52A1\u5BF9\u8D26: ",e!=null&&e.checkStatus?"\u5DF2\u5BF9\u8D26":"\u672A\u5BF9\u8D26"]}),(0,n.jsxs)("p",{children:["\u5907\u6CE8: ",(e==null?void 0:e.note)||"-"]}),(0,n.jsxs)("p",{children:["\u521B\u5EFA\u65F6\u95F4: ",e==null?void 0:e.createTime]})]})})};l.default=j}}]);