25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

2 satır
20 KiB

  1. (self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8268,1322],{70271:function(ae,W,t){"use strict";var y=t(28991),L=t(81253),$=t(85893),A=t(67294),M=t(31649),U=["fieldProps","proFieldProps"],p=function(s,b){var k=s.fieldProps,m=s.proFieldProps,B=(0,L.Z)(s,U);return(0,$.jsx)(M.Z,(0,y.Z)({valueType:"digitRange",fieldProps:(0,y.Z)({},k),ref:b,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:m},B))};W.Z=A.forwardRef(p)},31199:function(ae,W,t){"use strict";var y=t(28991),L=t(81253),$=t(85893),A=t(67294),M=t(31649),U=["fieldProps","min","proFieldProps","max"],p=function(s,b){var k=s.fieldProps,m=s.min,B=s.proFieldProps,I=s.max,f=(0,L.Z)(s,U);return(0,$.jsx)(M.Z,(0,y.Z)({valueType:"digit",fieldProps:(0,y.Z)({min:m,max:I},k),ref:b,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:B},f))};W.Z=A.forwardRef(p)},64317:function(ae,W,t){"use strict";var y=t(28991),L=t(81253),$=t(85893),A=t(22270),M=t(67294),U=t(66758),p=t(31649),r=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],s=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],b=M.forwardRef(function(f,R){var te=f.fieldProps,_=f.children,q=f.params,V=f.proFieldProps,ne=f.mode,G=f.valueEnum,ee=f.request,Y=f.showSearch,re=f.options,N=(0,L.Z)(f,r),ue=(0,M.useContext)(U.Z);return(0,$.jsx)(p.Z,(0,y.Z)((0,y.Z)({valueEnum:(0,A.h)(G),request:ee,params:q,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,y.Z)({options:re,mode:ne,showSearch:Y,getPopupContainer:ue.getPopupContainer},te),ref:R,proFieldProps:V},N),{},{children:_}))}),k=M.forwardRef(function(f,R){var te=f.fieldProps,_=f.children,q=f.params,V=f.proFieldProps,ne=f.mode,G=f.valueEnum,ee=f.request,Y=f.options,re=(0,L.Z)(f,s),N=(0,y.Z)({options:Y,mode:ne||"multiple",labelInValue:!0,showSearch:!0,showArrow:!1,autoClearSearchValue:!0,optionLabelProp:"label"},te),ue=(0,M.useContext)(U.Z);return(0,$.jsx)(p.Z,(0,y.Z)((0,y.Z)({valueEnum:(0,A.h)(G),request:ee,params:q,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,y.Z)({getPopupContainer:ue.getPopupContainer},N),ref:R,proFieldProps:V},re),{},{children:_}))}),m=b,B=k,I=m;I.SearchSelect=B,I.displayName="ProFormComponent",W.Z=I},5966:function(ae,W,t){"use strict";var y=t(28991),L=t(81253),$=t(85893),A=t(31649),M=["fieldProps","proFieldProps"],U=["fieldProps","proFieldProps"],p="text",r=function(m){var B=m.fieldProps,I=m.proFieldProps,f=(0,L.Z)(m,M);return(0,$.jsx)(A.Z,(0,y.Z)({valueType:p,fieldProps:B,filedConfig:{valueType:p},proFieldProps:I},f))},s=function(m){var B=m.fieldProps,I=m.proFieldProps,f=(0,L.Z)(m,U);return(0,$.jsx)(A.Z,(0,y.Z)({valueType:"password",fieldProps:B,proFieldProps:I,filedConfig:{valueType:p}},f))},b=r;b.Password=s,b.displayName="ProFormComponent",W.Z=b},76844:function(ae,W,t){"use strict";t.r(W),t.d(W,{default:function(){return Le}});var y=t(32059),L=t(57663),$=t(71577),A=t(62350),M=t(24565),U=t(34792),p=t(48086),r=t(39428),s=t(3182),b=t(2824),k=t(49101),m=t(67294),B=t(78009),I=t(16894),f=t(30381),R=t(48971);function te(u){return _.apply(this,arguments)}function _(){return _=_asyncToGenerator(_regeneratorRuntime().mark(function u(n){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",request("/kitchen/api/Product/GetPage",{method:"POST",data:n}));case 1:case"end":return e.stop()}},u)})),_.apply(this,arguments)}function q(u){return V.apply(this,arguments)}function V(){return V=(0,s.Z)((0,r.Z)().mark(function u(n){return(0,r.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,R.WY)("/kitchen/api/PurchaseOrder/page",{method:"POST",data:n}));case 1:case"end":return e.stop()}},u)})),V.apply(this,arguments)}function ne(u){return G.apply(this,arguments)}function G(){return G=_asyncToGenerator(_regeneratorRuntime().mark(function u(n){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",request("/kitchen/api/PurchaseOrder/purchase-order-entry-list/".concat(n),{method:"get",data:n}));case 1:case"end":return e.stop()}},u)})),G.apply(this,arguments)}function ee(u){return Y.apply(this,arguments)}function Y(){return Y=(0,s.Z)((0,r.Z)().mark(function u(n){return(0,r.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,R.WY)("/kitchen/api/PurchaseOrder",{method:"POST",data:n}));case 1:case"end":return e.stop()}},u)})),Y.apply(this,arguments)}function re(u){return N.apply(this,arguments)}function N(){return N=(0,s.Z)((0,r.Z)().mark(function u(n){return(0,r.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,R.WY)("/kitchen/api/PurchaseOrder",{method:"put",data:n}));case 1:case"end":return e.stop()}},u)})),N.apply(this,arguments)}function ue(u){return se.apply(this,arguments)}function se(){return se=_asyncToGenerator(_regeneratorRuntime().mark(function u(n){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",request("/kitchen/api/PurchaseOrder/supplier-list",{method:"get",data:n}));case 1:case"end":return e.stop()}},u)})),se.apply(this,arguments)}function Je(u){return ie.apply(this,arguments)}function ie(){return ie=_asyncToGenerator(_regeneratorRuntime().mark(function u(n){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",request("/kitchen/api/PurchaseOrder/org-list",{method:"get"}));case 1:case"end":return e.stop()}},u)})),ie.apply(this,arguments)}function be(u){return le.apply(this,arguments)}function le(){return le=(0,s.Z)((0,r.Z)().mark(function u(n){return(0,r.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,R.WY)("/kitchen/api/PurchaseOrder",{method:"DELETE",data:n}));case 1:case"end":return e.stop()}},u)})),le.apply(this,arguments)}function Qe(u){return pe.apply(this,arguments)}function pe(){return pe=_asyncToGenerator(_regeneratorRuntime().mark(function u(n){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",request("/kitchen/api/PurchaseOrder/subset",{method:"DELETE",data:n}));case 1:case"end":return e.stop()}},u)})),pe.apply(this,arguments)}function De(u){return oe.apply(this,arguments)}function oe(){return oe=(0,s.Z)((0,r.Z)().mark(function u(n){return(0,r.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,R.WY)("/kitchen/api/PurchaseOrder/enable/".concat(n),{method:"POST"}));case 1:case"end":return e.stop()}},u)})),oe.apply(this,arguments)}function Fe(u){return de.apply(this,arguments)}function de(){return de=(0,s.Z)((0,r.Z)().mark(function u(n){return(0,r.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,R.WY)("/kitchen/api/PurchaseOrder/disable/".concat(n),{method:"POST"}));case 1:case"end":return e.stop()}},u)})),de.apply(this,arguments)}function Oe(u){return ce.apply(this,arguments)}function ce(){return ce=(0,s.Z)((0,r.Z)().mark(function u(n){return(0,r.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,R.WY)("/kitchen/api/PurchaseOrder/purchase-order-info/".concat(n),{method:"get"}));case 1:case"end":return e.stop()}},u)})),ce.apply(this,arguments)}function Ce(){return fe.apply(this,arguments)}function fe(){return fe=(0,s.Z)((0,r.Z)().mark(function u(){return(0,r.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,R.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,s.Z)((0,r.Z)().mark(function u(){return(0,r.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,R.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,s.Z)((0,r.Z)().mark(function u(){return(0,r.Z)().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,R.WY)("/kitchen/api/PurchaseOrder/uint-list",{method:"get"}));case 1:case"end":return o.stop()}},u)})),me.apply(this,arguments)}var ze=t(49111),Se=t(19650),Me=t(37476),Q=t(64317),je=t(70271),z=t(5966),$e=t(59962),Ze=t(31199),d=t(85893),Be=function(n){var o=(0,m.useState)([]),e=(0,b.Z)(o,2),ve=e[0],Ae=e[1],Pe=function(){var j=(0,s.Z)((0,r.Z)().mark(function E(O){var P;return(0,r.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,ee(O);case 3:return P=a.sent,P.data?p.default.success("\u8BF7\u6C42\u6210\u529F"):p.default.error("\u8BF7\u6C42\u5931\u8D25"),a.abrupt("return",P.data);case 8:return a.prev=8,a.t0=a.catch(0),p.default.error("\u64CD\u4F5C\u5F02\u5E38"),a.abrupt("return",!1);case 12:case"end":return a.stop()}},E,null,[[0,8]])}));return function(O){return j.apply(this,arguments)}}(),H=function(){var j=(0,s.Z)((0,r.Z)().mark(function E(O){var P;return(0,r.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,re(O);case 3:return P=a.sent,P.data?p.default.success("\u8BF7\u6C42\u6210\u529F"):p.default.error("\u8BF7\u6C42\u5931\u8D25"),a.abrupt("return",P.data);case 8:return a.prev=8,a.t0=a.catch(0),p.default.error("\u64CD\u4F5C\u5F02\u5E38"),a.abrupt("return",!1);case 12:case"end":return a.stop()}},E,null,[[0,8]])}));return function(O){return j.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 j=(0,s.Z)((0,r.Z)().mark(function E(O){var P,v,a;return(0,r.Z)().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(a=!1,!((P=n.formRef)!==null&&P!==void 0&&(v=P.current)!==null&&v!==void 0&&v.getFieldValue("id"))){l.next=7;break}return l.next=4,H(O);case 4:a=l.sent,l.next=10;break;case 7:return l.next=9,Pe(O);case 9:a=l.sent;case 10:return a&&n.actionRef.current.reload(),l.abrupt("return",a);case 12:case"end":return l.stop()}},E)}));return function(E){return j.apply(this,arguments)}}(),children:[(0,d.jsx)(Q.Z,{label:"\u7269\u6599\u7C7B\u578B",width:"110px",request:function(){var j=(0,s.Z)((0,r.Z)().mark(function E(O){var P;return(0,r.Z)().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return P=[],n.itemType.map(function(C){P.push({label:C.name,value:C.id})}),a.abrupt("return",P);case 3:case"end":return a.stop()}},E)}));return function(E){return j.apply(this,arguments)}}(),onChange:function(){var j=(0,s.Z)((0,r.Z)().mark(function E(O){var P,v;return(0,r.Z)().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:n.setModalVisit(!1),(P=n.formRef)===null||P===void 0||(v=P.current)===null||v===void 0||v.setFieldsValue({purchaseOrderEntryList:[]}),n.setModalVisit(!0);case 3:case"end":return C.stop()}},E)}));return function(E){return j.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(E,O,P){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 v=(0,s.Z)((0,r.Z)().mark(function a(C){return(0,r.Z)().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.abrupt("return",[{label:"\u6210\u54C1",value:0},{label:"\u534A\u6210\u54C1",value:1},{label:"\u6613\u8017\u54C1",value:2}]);case 1:case"end":return T.stop()}},a)}));return function(a){return v.apply(this,arguments)}}()}),(0,d.jsx)(Q.Z,{name:"productType",label:"\u7269\u6599\u7C7B\u578B",width:"110px",disabled:!0,request:function(){var v=(0,s.Z)((0,r.Z)().mark(function a(C){var l;return(0,r.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return l=[],n.itemType.map(function(D){l.push({label:D.name,value:D.id})}),h.abrupt("return",l);case 3:case"end":return h.stop()}},a)}));return function(a){return v.apply(this,arguments)}}()}),(0,d.jsx)(Q.Z,{name:"itemId",label:"\u7269\u6599",width:"140px",disabled:!0,request:function(){var v=(0,s.Z)((0,r.Z)().mark(function a(C){var l;return(0,r.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return l=[],n.batchinglist.map(function(D){l.push({label:D.batching_Name,value:D.id})}),h.abrupt("return",l);case 3:case"end":return h.stop()}},a)}));return function(a){return v.apply(this,arguments)}}()}),(0,d.jsx)(z.Z,{name:"supplierId",label:"\u4F9B\u5E94\u5546",width:"110px",disabled:!0}),(0,d.jsx)(Ze.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 v=(0,s.Z)((0,r.Z)().mark(function a(C){var l,T,h,D,J;return(0,r.Z)().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:J=(l=n.formRef)===null||l===void 0||(T=l.current)===null||T===void 0?void 0:T.getFieldValue("purchaseOrderEntryLits"),J[O].qty=J[O].purchaseQty*J[O].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 v.apply(this,arguments)}}()}),(0,d.jsx)(Q.Z,{name:"packUnit",label:"\u7269\u6599\u5355\u4F4D",width:"110px",disabled:!0,request:function(){var v=(0,s.Z)((0,r.Z)().mark(function a(C){var l;return(0,r.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return l=[],n.uint.map(function(D){l.push({label:D.name,value:D.id})}),h.abrupt("return",l);case 3:case"end":return h.stop()}},a)}));return function(a){return v.apply(this,arguments)}}()}),(0,d.jsx)(z.Z,{name:"proportion",label:"\u6BD4\u4F8B",width:"60px",disabled:!0}),(0,d.jsx)(Ze.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 v=(0,s.Z)((0,r.Z)().mark(function a(C){var l;return(0,r.Z)().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return l=[],n.uint.map(function(D){l.push({label:D.name,value:D.id})}),h.abrupt("return",l);case 3:case"end":return h.stop()}},a)}));return function(a){return v.apply(this,arguments)}}()})]})})}})]})},Ie=Be,x="message",We=function(){var n,o=(0,m.useRef)(),e=(0,m.useState)(!1),ve=(0,b.Z)(e,2),Ae=ve[0],Pe=ve[1],H=(0,m.useRef)(),j=(0,m.useState)({}),E=(0,b.Z)(j,2),O=E[0],P=E[1],v=(0,m.useState)(!1),a=(0,b.Z)(v,2),C=a[0],l=a[1],T=(0,m.useState)(!1),h=(0,b.Z)(T,2),D=h[0],J=h[1],ye=(0,m.useState)(!1),X=(0,b.Z)(ye,2),xe=X[0],Ue=X[1],ke=(0,m.useState)(!1),Ee=(0,b.Z)(ke,2),Ke=Ee[0],_e=Ee[1];(0,m.useEffect)(function(){var S=function(){var w=(0,s.Z)((0,r.Z)().mark(function c(F){var i,g,Z;return(0,r.Z)().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,Ce();case 2:return i=K.sent,J(i.data),K.next=6,Re();case 6:return g=K.sent,Ue(g.data),K.next=10,Te();case 10:Z=K.sent,_e(Z.data);case 12:case"end":return K.stop()}},c)}));return function(F){return w.apply(this,arguments)}}();S()},[]);var we=function(){var S=(0,s.Z)((0,r.Z)().mark(function w(c){var F,i;return(0,r.Z)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Z.next=2,Oe(c);case 2:i=Z.sent,H==null||(F=H.current)===null||F===void 0||F.setFieldsValue(i.data);case 4:case"end":return Z.stop()}},w)}));return function(c){return S.apply(this,arguments)}}(),Ve=function(){var S=(0,s.Z)((0,r.Z)().mark(function w(c){return(0,r.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return p.default.loading("\u6B63\u5728\u62D2\u7EDD...",x),i.prev=1,i.next=4,Fe(c).then(function(g){p.default.destroy(x),g.data?p.default.success("\u62D2\u7EDD\u6210\u529F"):p.default.error(JSON.stringify(g.errors))});case 4:return o.current.reload(),i.abrupt("return",!0);case 8:return i.prev=8,i.t0=i.catch(1),p.default.destroy(x),p.default.error("\u64CD\u4F5C\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),i.abrupt("return",!1);case 13:case"end":return i.stop()}},w,null,[[1,8]])}));return function(c){return S.apply(this,arguments)}}(),Ge=function(){var S=(0,s.Z)((0,r.Z)().mark(function w(c){return(0,r.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return p.default.loading("\u6B63\u5728\u901A\u8FC7...",x),i.prev=1,i.next=4,De(c).then(function(g){p.default.destroy(x),g.data?p.default.success("\u901A\u8FC7\u6210\u529F"):p.default.error(JSON.stringify(g.errors))});case 4:return i.abrupt("return",!0);case 7:return i.prev=7,i.t0=i.catch(1),p.default.destroy(x),p.default.error("\u64CD\u4F5C\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),i.abrupt("return",!1);case 12:case"end":return i.stop()}},w,null,[[1,7]])}));return function(c){return S.apply(this,arguments)}}(),Ye=function(){var S=(0,s.Z)((0,r.Z)().mark(function w(c){var F;return(0,r.Z)().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return p.default.loading("\u6B63\u5728\u5220\u9664...",x),g.prev=1,F=[],c.forEach(function(Z){F.push(Z.id)}),g.next=6,be(JSON.stringify(F)).then(function(Z){p.default.destroy(x),Z.data?(p.default.destroy(x),p.default.success("\u5220\u9664\u6210\u529F")):p.default.error("\u5220\u9664\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01")});case 6:return o.current.reload(),g.abrupt("return",!0);case 10:return g.prev=10,g.t0=g.catch(1),p.default.destroy(x),p.default.error("\u5220\u9664\u5931\u8D25\u8BF7\u91CD\u8BD5\uFF01"),g.abrupt("return",!1);case 15:case"end":return g.stop()}},w,null,[[1,10]])}));return function(c){return S.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(w,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(){Ve(c.id)},children:"\u62D2\u7EDD"},"primary"),(0,d.jsx)("a",{type:"primary",disabled:c.approveFlag,style:{pointerEvents:c.approveFlag?"none":"auto"},onClick:(0,s.Z)((0,r.Z)().mark(function i(){return(0,r.Z)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:l(!0),we(c.shelfNo);case 2:case"end":return Z.stop()}},i)})),children:"\u4FEE\u6539"},"primary"),(0,d.jsx)(M.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)(B.ZP,{children:[(0,d.jsx)(I.ZP,{headerTitle:"\u91C7\u8D2D\u4FE1\u606F",actionRef:o,rowKey:"id",toolBarRender:function(){return[(0,d.jsxs)($.Z,{type:"primary",onClick:function(){l(!0),we("%20")},children:[(0,d.jsx)(k.Z,{})," \u65B0\u589E"]},"primary")]},request:function(){var S=(0,s.Z)((0,r.Z)().mark(function w(c){var F,i;return(0,r.Z)().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return F=[],i=0,Z.next=4,q(c).then(function(ge){F=ge.data.data,i=ge.data.total});case 4:return Z.abrupt("return",{data:F,success:!0,total:i});case 5:case"end":return Z.stop()}},w)}));return function(w){return S.apply(this,arguments)}}(),columns:Ne}),(0,d.jsx)(Ie,(n={uint:Ke,setModalVisit:l,batchinglist:xe,itemType:D,actionRef:o,modalVisit:C},(0,y.Z)(n,"setModalVisit",l),(0,y.Z)(n,"formRef",H),(0,y.Z)(n,"onClose",function(){l(!1)}),n))]})},Le=We}}]);