25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

p__erp__bill__purchaseOrder.947f05a3.async.js 20 KiB

1
  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8268,1322],{70271:function(ae,L,t){"use strict";var E=t(28991),A=t(81253),B=t(85893),x=t(67294),j=t(31649),k=["fieldProps","proFieldProps"],l=function(P,I){var e=P.fieldProps,O=P.proFieldProps,w=(0,A.Z)(P,k);return(0,B.jsx)(j.Z,(0,E.Z)({mode:"edit",valueType:"digitRange",fieldProps:(0,E.Z)({},e),ref:I,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:O},w))};L.Z=x.forwardRef(l)},31199:function(ae,L,t){"use strict";var E=t(28991),A=t(81253),B=t(85893),x=t(67294),j=t(31649),k=["fieldProps","min","proFieldProps","max"],l=function(P,I){var e=P.fieldProps,O=P.min,w=P.proFieldProps,W=P.max,f=(0,A.Z)(P,k);return(0,B.jsx)(j.Z,(0,E.Z)({mode:"edit",valueType:"digit",fieldProps:(0,E.Z)({min:O,max:W},e),ref:I,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:w},f))};L.Z=x.forwardRef(l)},64317:function(ae,L,t){"use strict";var E=t(28991),A=t(81253),B=t(85893),x=t(22270),j=t(67294),k=t(66758),l=t(31649),p=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],P=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],I=j.forwardRef(function(f,te){var T=f.fieldProps,ne=f.children,V=f.params,q=f.proFieldProps,_=f.mode,ue=f.valueEnum,G=f.request,ee=f.showSearch,Y=f.options,re=(0,A.Z)(f,p),N=(0,j.useContext)(k.Z);return(0,B.jsx)(l.Z,(0,E.Z)((0,E.Z)({mode:"edit",valueEnum:(0,x.h)(ue),request:G,params:V,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,E.Z)({options:Y,mode:_,showSearch:ee,getPopupContainer:N.getPopupContainer},T),ref:te,proFieldProps:q},re),{},{children:ne}))}),e=j.forwardRef(function(f,te){var T=f.fieldProps,ne=f.children,V=f.params,q=f.proFieldProps,_=f.mode,ue=f.valueEnum,G=f.request,ee=f.options,Y=(0,A.Z)(f,P),re=(0,E.Z)({options:ee,mode:_||"multiple",labelInValue:!0,showSearch:!0,showArrow:!1,autoClearSearchValue:!0,optionLabelProp:"label"},T),N=(0,j.useContext)(k.Z);return(0,B.jsx)(l.Z,(0,E.Z)((0,E.Z)({mode:"edit",valueEnum:(0,x.h)(ue),request:G,params:V,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,E.Z)({getPopupContainer:N.getPopupContainer},re),ref:te,proFieldProps:q},Y),{},{children:ne}))}),O=I,w=e,W=O;W.SearchSelect=w,W.displayName="ProFormComponent",L.Z=W},5966:function(ae,L,t){"use strict";var E=t(28991),A=t(81253),B=t(85893),x=t(31649),j=["fieldProps","proFieldProps"],k=["fieldProps","proFieldProps"],l="text",p=function(O){var w=O.fieldProps,W=O.proFieldProps,f=(0,A.Z)(O,j);return(0,B.jsx)(x.Z,(0,E.Z)({mode:"edit",valueType:l,fieldProps:w,filedConfig:{valueType:l},proFieldProps:W},f))},P=function(O){var w=O.fieldProps,W=O.proFieldProps,f=(0,A.Z)(O,k);return(0,B.jsx)(x.Z,(0,E.Z)({mode:"edit",valueType:"password",fieldProps:w,proFieldProps:W,filedConfig:{valueType:l}},f))},I=p;I.Password=P,I.displayName="ProFormComponent",L.Z=I},76844:function(ae,L,t){"use strict";t.r(L),t.d(L,{default:function(){return Le}});var E=t(32059),A=t(57663),B=t(71577),x=t(62350),j=t(75443),k=t(34792),l=t(48086),p=t(3182),P=t(2824),I=t(94043),e=t.n(I),O=t(49101),w=t(67294),W=t(78009),f=t(16894),te=t(30381),T=t(48971);function ne(u){return V.apply(this,arguments)}function V(){return V=_asyncToGenerator(_regeneratorRuntime.mark(function u(n){return _regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request("/kitchen/api/Product/GetPage",{method:"POST",data:n}));case 1:case"end":return r.stop()}},u)})),V.apply(this,arguments)}function q(u){return _.apply(this,arguments)}function _(){return _=(0,p.Z)(e().mark(function u(n){return e().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)("/kitchen/api/PurchaseOrder/page",{method:"POST",data:n}));case 1:case"end":return r.stop()}},u)})),_.apply(this,arguments)}function ue(u){return G.apply(this,arguments)}function G(){return G=_asyncToGenerator(_regeneratorRuntime.mark(function u(n){return _regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request("/kitchen/api/PurchaseOrder/purchase-order-entry-list/".concat(n),{method:"get",data:n}));case 1:case"end":return r.stop()}},u)})),G.apply(this,arguments)}function ee(u){return Y.apply(this,arguments)}function Y(){return Y=(0,p.Z)(e().mark(function u(n){return e().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)("/kitchen/api/PurchaseOrder",{method:"POST",data:n}));case 1:case"end":return r.stop()}},u)})),Y.apply(this,arguments)}function re(u){return N.apply(this,arguments)}function N(){return N=(0,p.Z)(e().mark(function u(n){return e().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)("/kitchen/api/PurchaseOrder",{method:"put",data:n}));case 1:case"end":return r.stop()}},u)})),N.apply(this,arguments)}function Je(u){return se.apply(this,arguments)}function se(){return se=_asyncToGenerator(_regeneratorRuntime.mark(function u(n){return _regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request("/kitchen/api/PurchaseOrder/supplier-list",{method:"get",data:n}));case 1:case"end":return r.stop()}},u)})),se.apply(this,arguments)}function Qe(u){return ie.apply(this,arguments)}function ie(){return ie=_asyncToGenerator(_regeneratorRuntime.mark(function u(n){return _regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request("/kitchen/api/PurchaseOrder/org-list",{method:"get"}));case 1:case"end":return r.stop()}},u)})),ie.apply(this,arguments)}function be(u){return le.apply(this,arguments)}function le(){return le=(0,p.Z)(e().mark(function u(n){return e().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)("/kitchen/api/PurchaseOrder",{method:"DELETE",data:n}));case 1:case"end":return r.stop()}},u)})),le.apply(this,arguments)}function ze(u){return pe.apply(this,arguments)}function pe(){return pe=_asyncToGenerator(_regeneratorRuntime.mark(function u(n){return _regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request("/kitchen/api/PurchaseOrder/subset",{method:"DELETE",data:n}));case 1:case"end":return r.stop()}},u)})),pe.apply(this,arguments)}function De(u){return oe.apply(this,arguments)}function oe(){return oe=(0,p.Z)(e().mark(function u(n){return e().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)("/kitchen/api/PurchaseOrder/enable/".concat(n),{method:"POST"}));case 1:case"end":return r.stop()}},u)})),oe.apply(this,arguments)}function Fe(u){return de.apply(this,arguments)}function de(){return de=(0,p.Z)(e().mark(function u(n){return e().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)("/kitchen/api/PurchaseOrder/disable/".concat(n),{method:"POST"}));case 1:case"end":return r.stop()}},u)})),de.apply(this,arguments)}function Oe(u){return ce.apply(this,arguments)}function ce(){return ce=(0,p.Z)(e().mark(function u(n){return e().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,T.WY)("/kitchen/api/PurchaseOrder/purchase-order-info/".concat(n),{method:"get"}));case 1:case"end":return r.stop()}},u)})),ce.apply(this,arguments)}function Ce(){return fe.apply(this,arguments)}function fe(){return fe=(0,p.Z)(e().mark(function u(){return e().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,T.WY)("/kitchen/api/product-type/type-list",{method:"get"}));case 1:case"end":return o.stop()}},u)})),fe.apply(this,arguments)}function Re(){return he.apply(this,arguments)}function he(){return he=(0,p.Z)(e().mark(function u(){return e().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,T.WY)("/kitchen/api/PurchaseOrder/batching-list",{method:"get"}));case 1:case"end":return o.stop()}},u)})),he.apply(this,arguments)}function Te(){return me.apply(this,arguments)}function me(){return me=(0,p.Z)(e().mark(function u(){return e().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,T.WY)("/kitchen/api/PurchaseOrder/uint-list",{method:"get"}));case 1:case"end":return o.stop()}},u)})),me.apply(this,arguments)}var He=t(49111),Se=t(19650),Me=t(37476),Q=t(64317),je=t(70271),z=t(5966),$e=t(59962),Pe=t(31199),d=t(85893),Be=function(n){var o=(0,w.useState)([]),r=(0,P.Z)(o,2),ve=r[0],Ae=r[1],ye=function(){var $=(0,p.Z)(e().mark(function Z(C){var y;return e().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,ee(C);case 3:return y=a.sent,y.data?l.default.success("\u8BF7\u6C42\u6210\u529F"):l.default.error("\u8BF7\u6C42\u5931\u8D25"),a.abrupt("return",y.data);case 8:return a.prev=8,a.t0=a.catch(0),l.default.error("\u64CD\u4F5C\u5F02\u5E38"),a.abrupt("return",!1);case 12:case"end":return a.stop()}},Z,null,[[0,8]])}));return function(C){return $.apply(this,arguments)}}(),H=function(){var $=(0,p.Z)(e().mark(function Z(C){var y;return e().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,re(C);case 3:return y=a.sent,y.data?l.default.success("\u8BF7\u6C42\u6210\u529F"):l.default.error("\u8BF7\u6C42\u5931\u8D25"),a.abrupt("return",y.data);case 8:return a.prev=8,a.t0=a.catch(0),l.default.error("\u64CD\u4F5C\u5F02\u5E38"),a.abrupt("return",!1);case 12:case"end":return a.stop()}},Z,null,[[0,8]])}));return function(C){return $.apply(this,arguments)}}();return(0,d.jsxs)(Me.Y,{labelCol:{span:3},title:"\u91C7\u8D2D\u4FE1\u606F",width:1200,height:600,formRef:n.formRef,visible:n.modalVisit,onVisibleChange:n.setModalVisit,initialValues:{state:!0},onFinish:function(){var $=(0,p.Z)(e().mark(function Z(C){var y,m,a;return e().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(a=!1,!((y=n.formRef)!==null&&y!==void 0&&(m=y.current)!==null&&m!==void 0&&m.getFieldValue("id"))){i.next=7;break}return i.next=4,H(C);case 4:a=i.sent,i.next=10;break;case 7:return i.next=9,ye(C);case 9:a=i.sent;case 10:return a&&n.actionRef.current.reload(),i.abrupt("return",a);case 12:case"end":return i.stop()}},Z)}));return function(Z){return $.apply(this,arguments)}}(),children:[(0,d.jsx)(Q.Z,{label:"\u7269\u6599\u7C7B\u578B",width:"110px",request:function(){var $=(0,p.Z)(e().mark(function Z(C){var y;return e().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return y=[],n.itemType.map(function(R){y.push({label:R.name,value:R.id})}),a.abrupt("return",y);case 3:case"end":return a.stop()}},Z)}));return function(Z){return $.apply(this,arguments)}}(),onChange:function(){var $=(0,p.Z)(e().mark(function Z(C){var y,m;return e().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:n.setModalVisit(!1),(y=n.formRef)===null||y===void 0||(m=y.current)===null||m===void 0||m.setFieldsValue({purchaseOrderEntryList:[]}),n.setModalVisit(!0);case 3:case"end":return R.stop()}},Z)}));return function(Z){return $.apply(this,arguments)}}()}),(0,d.jsx)(je.Z,{name:"id",hidden:!0}),(0,d.jsx)(z.Z,{name:"receivingUser",label:"\u6536\u8D27\u4EBA",rules:[{required:!0,max:20}]}),(0,d.jsx)(z.Z,{name:"receivingTel",label:"\u6536\u8D27\u4EBA\u7535\u8BDD",rules:[{required:!0,max:20}]}),(0,d.jsx)(z.Z,{name:"receivingAddress",label:"\u6536\u8D27\u5730\u5740",rules:[{required:!0,max:300}]}),(0,d.jsx)($e.u,{creatorButtonProps:!1,name:"purchaseOrderEntryLits",children:function(Z,C,y){return(0,d.jsx)(d.Fragment,{children:(0,d.jsxs)(Se.Z,{children:[(0,d.jsx)(Q.Z,{name:"aittribute",label:"\u7269\u6599\u5C5E\u6027",width:"110px",disabled:!0,request:function(){var m=(0,p.Z)(e().mark(function a(R){return e().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.abrupt("return",[{label:"\u6210\u54C1",value:0},{label:"\u534A\u6210\u54C1",value:1},{label:"\u6613\u8017\u54C1",value:2}]);case 1:case"end":return S.stop()}},a)}));return function(a){return m.apply(this,arguments)}}()}),(0,d.jsx)(Q.Z,{name:"productType",label:"\u7269\u6599\u7C7B\u578B",width:"110px",disabled:!0,request:function(){var m=(0,p.Z)(e().mark(function a(R){var i;return e().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return i=[],n.itemType.map(function(D){i.push({label:D.name,value:D.id})}),h.abrupt("return",i);case 3:case"end":return h.stop()}},a)}));return function(a){return m.apply(this,arguments)}}()}),(0,d.jsx)(Q.Z,{name:"itemId",label:"\u7269\u6599",width:"140px",disabled:!0,request:function(){var m=(0,p.Z)(e().mark(function a(R){var i;return e().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return i=[],n.batchinglist.map(function(D){i.push({label:D.batching_Name,value:D.id})}),h.abrupt("return",i);case 3:case"end":return h.stop()}},a)}));return function(a){return m.apply(this,arguments)}}()}),(0,d.jsx)(z.Z,{name:"supplierId",label:"\u4F9B\u5E94\u5546",width:"110px",disabled:!0}),(0,d.jsx)(Pe.Z,{name:"barcode",label:"\u6761\u7801",width:"120px",disabled:!0}),(0,d.jsx)(z.Z,{name:"purchaseQty",label:"\u91C7\u8D2D\u6570\u91CF",width:"80px",onChange:function(){var m=(0,p.Z)(e().mark(function a(R){var i,S,h,D,J;return e().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:J=(i=n.formRef)===null||i===void 0||(S=i.current)===null||S===void 0?void 0:S.getFieldValue("purchaseOrderEntryLits"),J[C].qty=J[C].purchaseQty*J[C].proportion,(h=n.formRef)===null||h===void 0||(D=h.current)===null||D===void 0||D.setFieldsValue({purchaseOrderEntryList:J});case 3:case"end":return X.stop()}},a)}));return function(a){return m.apply(this,arguments)}}()}),(0,d.jsx)(Q.Z,{name:"packUnit",label:"\u7269\u6599\u5355\u4F4D",width:"110px",disabled:!0,request:function(){var m=(0,p.Z)(e().mark(function a(R){var i;return e().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return i=[],n.uint.map(function(D){i.push({label:D.name,value:D.id})}),h.abrupt("return",i);case 3:case"end":return h.stop()}},a)}));return function(a){return m.apply(this,arguments)}}()}),(0,d.jsx)(z.Z,{name:"proportion",label:"\u6BD4\u4F8B",width:"60px",disabled:!0}),(0,d.jsx)(Pe.Z,{name:"qty",label:"\u5E93\u5B58\u6570\u91CF",width:"60px",disabled:!0}),(0,d.jsx)(Q.Z,{name:"stockUint",label:"\u5E93\u5B58\u5355\u4F4D",width:"100px",disabled:!0,request:function(){var m=(0,p.Z)(e().mark(function a(R){var i;return e().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return i=[],n.uint.map(function(D){i.push({label:D.name,value:D.id})}),h.abrupt("return",i);case 3:case"end":return h.stop()}},a)}));return function(a){return m.apply(this,arguments)}}()})]})})}})]})},Ie=Be,U="message",We=function(){var n,o=(0,w.useRef)(),r=(0,w.useState)(!1),ve=(0,P.Z)(r,2),Ae=ve[0],ye=ve[1],H=(0,w.useRef)(),$=(0,w.useState)({}),Z=(0,P.Z)($,2),C=Z[0],y=Z[1],m=(0,w.useState)(!1),a=(0,P.Z)(m,2),R=a[0],i=a[1],S=(0,w.useState)(!1),h=(0,P.Z)(S,2),D=h[0],J=h[1],Ee=(0,w.useState)(!1),X=(0,P.Z)(Ee,2),xe=X[0],Ue=X[1],ke=(0,w.useState)(!1),we=(0,P.Z)(ke,2),Ke=we[0],Ve=we[1];(0,w.useEffect)(function(){var M=function(){var b=(0,p.Z)(e().mark(function c(F){var s,v,g;return e().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,Ce();case 2:return s=K.sent,J(s.data),K.next=6,Re();case 6:return v=K.sent,Ue(v.data),K.next=10,Te();case 10:g=K.sent,Ve(g.data);case 12:case"end":return K.stop()}},c)}));return function(F){return b.apply(this,arguments)}}();M()},[]);var Ze=function(){var M=(0,p.Z)(e().mark(function b(c){var F,s;return e().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,Oe(c);case 2:s=g.sent,H==null||(F=H.current)===null||F===void 0||F.setFieldsValue(s.data);case 4:case"end":return g.stop()}},b)}));return function(c){return M.apply(this,arguments)}}(),_e=function(){var M=(0,p.Z)(e().mark(function b(c){return e().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return l.default.loading("\u6B63\u5728\u62D2\u7EDD...",U),s.prev=1,s.next=4,Fe(c).then(function(v){l.default.destroy(U),v.data?l.default.success("\u62D2\u7EDD\u6210\u529F"):l.default.error(JSON.stringify(v.errors))});case 4:return o.current.reload(),s.abrupt("return",!0);case 8:return s.prev=8,s.t0=s.catch(1),l.default.destroy(U),l.default.error("\u64CD\u4F5C\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),s.abrupt("return",!1);case 13:case"end":return s.stop()}},b,null,[[1,8]])}));return function(c){return M.apply(this,arguments)}}(),Ge=function(){var M=(0,p.Z)(e().mark(function b(c){return e().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return l.default.loading("\u6B63\u5728\u901A\u8FC7...",U),s.prev=1,s.next=4,De(c).then(function(v){l.default.destroy(U),v.data?l.default.success("\u901A\u8FC7\u6210\u529F"):l.default.error(JSON.stringify(v.errors))});case 4:return s.abrupt("return",!0);case 7:return s.prev=7,s.t0=s.catch(1),l.default.destroy(U),l.default.error("\u64CD\u4F5C\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),s.abrupt("return",!1);case 12:case"end":return s.stop()}},b,null,[[1,7]])}));return function(c){return M.apply(this,arguments)}}(),Ye=function(){var M=(0,p.Z)(e().mark(function b(c){var F;return e().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return l.default.loading("\u6B63\u5728\u5220\u9664...",U),v.prev=1,F=[],c.forEach(function(g){F.push(g.id)}),v.next=6,be(JSON.stringify(F)).then(function(g){l.default.destroy(U),g.data?(l.default.destroy(U),l.default.success("\u5220\u9664\u6210\u529F")):l.default.error("\u5220\u9664\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01")});case 6:return o.current.reload(),v.abrupt("return",!0);case 10:return v.prev=10,v.t0=v.catch(1),l.default.destroy(U),l.default.error("\u5220\u9664\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),v.abrupt("return",!1);case 15:case"end":return v.stop()}},b,null,[[1,10]])}));return function(c){return M.apply(this,arguments)}}(),Ne=[{title:"\u4E3B\u952E",dataIndex:"id",hideInSearch:!0,hideInTable:!0,tip:"\u89C4\u5219\u540D\u79F0\u662F\u552F\u4E00\u7684 key"},{title:"\u5355\u53F7",dataIndex:"shelfNo",width:170},{title:"\u6536\u8D27\u4EBA",dataIndex:"receivingUser",width:80},{title:"\u6536\u8D27\u4EBA\u7535\u8BDD",dataIndex:"receivingTel",width:100},{title:"\u6536\u8D27\u5730\u5740",dataIndex:"receivingAddress"},{title:"\u662F\u5426\u5BA1\u6838",dataIndex:"approveFlag",width:80,valueEnum:{false:{text:"\u672A\u5BA1\u6838",status:"Processing"},true:{text:"\u5DF2\u5BA1\u6838",status:"Success"}}},{title:"\u5BA1\u6838\u72B6\u6001",dataIndex:"status",width:80,valueEnum:{1:{text:"\u62D2\u7EDD",status:"Error"},0:{text:"\u901A\u8FC7",status:"Success"}}},{title:"\u5BA1\u6838\u4EBA",dataIndex:"approveOperId_Val",width:80,valueType:"textarea"},{title:"\u5BA1\u6838\u65F6\u95F4",dataIndex:"approveDate",width:120,valueType:"date"},{title:"\u7ED3\u679C",dataIndex:"finish",width:80,valueEnum:{false:{text:"\u914D\u9001\u4E2D",status:"Processing"},true:{text:"\u5B8C\u7ED3",status:"Success"}}},{title:"\u5907\u6CE8",dataIndex:"remark"},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createAt"},{title:"\u64CD\u4F5C",fixed:"right",dataIndex:"option",valueType:"option",width:200,render:function(b,c){var F=[(0,d.jsx)("a",{type:"primary",disabled:c.approveFlag,style:{pointerEvents:c.approveFlag?"none":"auto"},onClick:function(){Ge(c.id)},children:"\u901A\u8FC7"},"primary"),(0,d.jsx)("a",{type:"primary",disabled:c.approveFlag,style:{pointerEvents:c.approveFlag?"none":"auto"},onClick:function(){_e(c.id)},children:"\u62D2\u7EDD"},"primary"),(0,d.jsx)("a",{type:"primary",disabled:c.approveFlag,style:{pointerEvents:c.approveFlag?"none":"auto"},onClick:(0,p.Z)(e().mark(function s(){return e().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:i(!0),Ze(c.shelfNo);case 2:case"end":return g.stop()}},s)})),children:"\u4FEE\u6539"},"primary"),(0,d.jsx)(j.Z,{type:"primary",title:"\u786E\u8BA4\u5220\u9664\u5417\uFF1F",okText:"\u662F",cancelText:"\u5426",onConfirm:function(){Ye([c])},onCancel:function(){},children:(0,d.jsx)("a",{disabled:c.approveFlag,style:{pointerEvents:c.approveFlag?"none":"auto"},href:"#",children:"\u5220\u9664"})},"primary")];return F}}];return(0,d.jsxs)(W.ZP,{children:[(0,d.jsx)(f.ZP,{headerTitle:"\u91C7\u8D2D\u4FE1\u606F",actionRef:o,rowKey:"id",toolBarRender:function(){return[(0,d.jsxs)(B.Z,{type:"primary",onClick:function(){i(!0),Ze("%20")},children:[(0,d.jsx)(O.Z,{})," \u65B0\u589E"]},"primary")]},request:function(){var M=(0,p.Z)(e().mark(function b(c){var F,s;return e().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return F=[],s=0,g.next=4,q(c).then(function(ge){F=ge.data.data,s=ge.data.total});case 4:return g.abrupt("return",{data:F,success:!0,total:s});case 5:case"end":return g.stop()}},b)}));return function(b){return M.apply(this,arguments)}}(),columns:Ne}),(0,d.jsx)(Ie,(n={uint:Ke,setModalVisit:i,batchinglist:xe,itemType:D,actionRef:o,modalVisit:R},(0,E.Z)(n,"setModalVisit",i),(0,E.Z)(n,"formRef",H),(0,E.Z)(n,"onClose",function(){i(!1)}),n))]})},Le=We}}]);