You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
6.9 KiB
1 lines
6.9 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[230],{43525:function($,D,e){e.d(D,{Ku:function(){return E},n3:function(){return h},Nm:function(){return x},gp:function(){return O},nB:function(){return P},Jz:function(){return v},DM:function(){return B},kJ:function(){return f},$P:function(){return i}});var E={};e.r(E),e.d(E,{Params:function(){return S},request:function(){return j}});var h={};e.r(h),e.d(h,{Params:function(){return m},request:function(){return o}});var f={};e.r(f),e.d(f,{Params:function(){return I},request:function(){return T}});var v={};e.r(v),e.d(v,{Params:function(){return p},request:function(){return g}});var x={};e.r(x),e.d(x,{Params:function(){return C},request:function(){return M}});var O={};e.r(O),e.d(O,{Params:function(){return L},request:function(){return U}});var B={};e.r(B),e.d(B,{Params:function(){return y},request:function(){return K}});var P={};e.r(P),e.d(P,{Params:function(){return W},request:function(){return t}});var i={};e.r(i),e.d(i,{Params:function(){return b},request:function(){return G}});var Z=e(97857),d=e.n(Z),n=e(72004),u=e.n(n),F=e(12444),l=e.n(F),R=e(9783),a=e.n(R),c=e(88593),S=u()(function s(){l()(this,s),a()(this,"page",void 0),a()(this,"page_size",void 0),a()(this,"status",void 0)});function j(s,r){return(0,c.request)("/order/batchList",d()({method:"GET",params:d()({},s),data:{}},r||{}))}var m=u()(function s(){l()(this,s),a()(this,"status1",void 0),a()(this,"status2",void 0),a()(this,"total",void 0)});function o(s,r){return(0,c.request)("/order/batchListTotal",d()({method:"GET",params:d()({},s),data:{}},r||{}))}var I=u()(function s(){l()(this,s)});function T(s,r,A){return(0,c.request)("/order/batchSend",d()({method:"PUT",params:d()({},s),data:d()({},r)},A||{}))}var p=u()(function s(){l()(this,s)});function g(s,r,A){return(0,c.request)("/order/batchSend",d()({method:"POST",params:d()({},s),data:d()({},r)},A||{}))}var C=u()(function s(){l()(this,s),a()(this,"orderID",void 0)});function M(s,r){return(0,c.request)("/order/detail",d()({method:"GET",params:d()({},s),data:{}},r||{}))}var L=u()(function s(){l()(this,s),a()(this,"code",void 0),a()(this,"createdAt",void 0),a()(this,"goodsID",void 0),a()(this,"influenceId",void 0),a()(this,"name",void 0),a()(this,"orderID",void 0),a()(this,"page",void 0),a()(this,"page_size",void 0),a()(this,"phone",void 0),a()(this,"status",void 0),a()(this,"userId",void 0)});function U(s,r){return(0,c.request)("/order/list",d()({method:"GET",params:d()({},s),data:{}},r||{}))}var y=u()(function s(){l()(this,s),a()(this,"id",void 0),a()(this,"status",void 0)});function K(s,r){return(0,c.request)("/order/postSale",d()({method:"POST",params:d()({},s),data:{}},r||{}))}var W=u()(function s(){l()(this,s),a()(this,"confirmTimeEnd",void 0),a()(this,"confirmTimeStart",void 0),a()(this,"orderId",void 0),a()(this,"page",void 0),a()(this,"page_size",void 0),a()(this,"status",void 0)});function t(s,r){return(0,c.request)("/order/postSale/list",d()({method:"GET",params:d()({},s),data:{}},r||{}))}var N=null;function _(s,r){return Request("/order/postSale/refund",_objectSpread({method:"POST",params:_objectSpread({},s),data:{}},r||{}))}var b=u()(function s(){l()(this,s)});function G(s,r,A){return(0,c.request)("/order/send",d()({method:"PUT",params:d()({},s),data:d()({},r)},A||{}))}},95749:function($,D,e){e.d(D,{Z:function(){return f}});var E=e(84908),h=e(85893);function f(v){return(0,h.jsx)(E.Z,{title:(v==null?void 0:v.title)||v.children,placement:"topLeft",children:(0,h.jsx)("div",{className:"fm-ellipsis-2",children:v.children})})}},80093:function($,D,e){e.r(D),e.d(D,{default:function(){return c}});var E=e(5574),h=e.n(E),f=e(88593),v=e(91756),x=e(84485),O=e(26713),B=e(79216),P=e(59652),i=e(2587),Z=e(43525),d=e(95749),n=e(85893),u=v.Z.Step,F=x.Z.Title,l=x.Z.Text,R={1:0,2:1,3:2,4:3},a=function(j){var m,o=j.record;return(0,n.jsxs)(O.Z,{style:{width:250,overflowX:"hidden"},align:"start",children:[(0,n.jsx)(B.Z,{style:{width:120,height:120,objectFit:"cover"},src:o==null||(m=o.image)===null||m===void 0?void 0:m.split(",")[0]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)(l,{children:["ID:",o==null?void 0:o.spu_no]}),(0,n.jsx)(d.Z,{title:o==null?void 0:o.title,children:(0,n.jsx)(F,{level:5,children:o==null?void 0:o.title})})]})]})};function c(){var S,j,m,o,I,T,p,g,C,M,L,U=(0,f.useSearchParams)(),y=h()(U,1),K=y[0],W=(0,f.useRequest)(function(){return Z.Nm.request({orderID:K.get("id")})}),t=W.data;return(0,n.jsxs)("div",{children:[(0,n.jsx)(P.Z,{bordered:!1,children:(t==null?void 0:t.status)===5?(0,n.jsx)(l,{type:"secondary",children:"\u5DF2\u53D6\u6D88"}):(0,n.jsxs)(v.Z,{current:R[(t==null?void 0:t.status)||0],children:[(0,n.jsx)(u,{title:"\u63D0\u4EA4\u8BA2\u5355"}),(0,n.jsx)(u,{title:"\u4ED8\u6B3E\u6210\u529F"}),(0,n.jsx)(u,{title:"\u5DF2\u53D1\u8D27"}),(0,n.jsx)(u,{title:(t==null?void 0:t.status)===4?"\u5DF2\u5B8C\u6210":"\u7B49\u5F85\u7B7E\u6536"})]})}),(0,n.jsx)(P.Z,{title:"\u8BA2\u5355\u4FE1\u606F",extra:(0,n.jsxs)(O.Z,{children:[(0,n.jsxs)(l,{children:["\u8BA2\u5355\u7F16\u53F7:",t==null?void 0:t.orderID]}),(0,n.jsxs)(l,{children:["\u7F51\u7EA2\u8D26\u53F7:",t==null?void 0:t.code]})]}),style:{marginBottom:20},children:(0,n.jsxs)(i.Z,{layout:"vertical",bordered:!0,column:6,children:[(0,n.jsx)(i.Z.Item,{label:"\u5546\u54C1\u4FE1\u606F",children:(0,n.jsx)(a,{record:(t==null?void 0:t.commod)||{}})}),(0,n.jsx)(i.Z.Item,{label:"\u5546\u54C1\u89C4\u683C",children:(S=JSON.parse((t==null||(m=t.commod)===null||m===void 0?void 0:m.specs)||"[]"))===null||S===void 0||(j=S.map(function(N){return N.value}))===null||j===void 0?void 0:j.join(",")}),(0,n.jsx)(i.Z.Item,{label:"\u6570\u91CF",children:t==null?void 0:t.number}),(0,n.jsx)(i.Z.Item,{label:"\u5546\u54C1\u603B\u4EF7",children:t==null?void 0:t.price}),(0,n.jsx)(i.Z.Item,{label:"\u7F51\u7EA2\u4F63\u91D1",children:t==null?void 0:t.IAmount}),(0,n.jsx)(i.Z.Item,{label:"\u5165\u8D26\u91D1\u989D",children:t==null?void 0:t.SAmount})]})}),(0,n.jsx)(P.Z,{title:"\u6536\u8D27\u4FE1\u606F",style:{marginBottom:20},children:(0,n.jsxs)(i.Z,{layout:"horizontal",column:1,children:[(0,n.jsx)(i.Z.Item,{label:"\u6536\u8D27\u4EBA",children:"".concat(t==null||(o=t.address)===null||o===void 0?void 0:o.firstName," ").concat(t==null||(I=t.address)===null||I===void 0?void 0:I.lastName)}),(0,n.jsx)(i.Z.Item,{label:"\u624B\u673A\u53F7",children:t==null||(T=t.address)===null||T===void 0?void 0:T.phone}),(0,n.jsx)(i.Z.Item,{label:"\u6536\u8D27\u5730\u5740",children:"".concat((t==null||(p=t.address)===null||p===void 0?void 0:p.state)||"-"," ").concat((t==null||(g=t.address)===null||g===void 0?void 0:g.city)||"-"," ").concat((t==null||(C=t.address)===null||C===void 0?void 0:C.street)||"-"," ")})]})}),(0,n.jsx)(P.Z,{title:"\u5305\u88F9\u4FE1\u606F",style:{marginBottom:20},children:(0,n.jsx)(i.Z,{layout:"horizontal",column:1,children:(0,n.jsx)(i.Z.Item,{label:"\u5FEB\u9012\u4FE1\u606F",children:"".concat((t==null||(M=t.deliver)===null||M===void 0?void 0:M.courierLink)||""," ").concat((t==null||(L=t.deliver)===null||L===void 0?void 0:L.courierNumber)||"")})})})]})}}}]);
|
|
|