1 |
- import{_ as h,d as A,n as f,ab as g,r as p,o as v,G as c,C as o,j as e,l as O,M as i,J as E}from"./index.js";import{h as x,u as _}from"./index.46d1f9c8.js";import{N as I,n as k}from"./index.88cf8b.js";import{O as V,o as M}from"./index.a9ff40.js";import{u as s,w as y}from"./index.59e687fa.js";import"./status.915de772.js";const N=[{label:"\u4E1A\u52A1\u7F16\u53F7",prop:"TODO",width:150},{label:"\u7C7B\u578B",prop:"TODO",width:160},{label:"\u6570\u636E\u6765\u6E90",width:160},{label:"\u72B6\u6001",prop:"TODO",width:100},{label:"\u5F02\u5E38\u539F\u56E0",prop:"TODO",width:120},{label:"\u9500\u552E\u65B9\u516C\u53F8\u7EB3\u7A0E\u8BC6\u522B\u53F7",prop:"TODO",width:200},{label:"\u9500\u552E\u65B9\u516C\u53F8",prop:"TODO",width:120},{label:"\u8BA2\u5355\u7F16\u53F7",prop:"TODO",width:120},{label:"\u8BA2\u5355\u4E3B\u7F16\u53F7",prop:"TODO",width:120},{label:"\u5546\u54C1\u7F16\u53F7",prop:"TODO",width:120},{label:"\u5546\u54C1\u540D\u79F0",prop:"TODO",width:120},{label:"\u5355\u4F4D",prop:"TODO",width:60},{label:"\u5546\u54C1\u6570\u91CF",prop:"TODO",width:100},{label:"\u5546\u54C1\u5355\u4EF7",prop:"TODO",width:100},{label:"\u8BA2\u5355\u603B\u91D1\u989D",prop:"TODO",width:120},{label:"\u7A0E\u76EE",prop:"TODO",width:120},{label:"\u7A0E\u7387",prop:"TODO",width:60},{label:"\u5173\u8054\u91D1\u989D",prop:"TODO",width:120},{label:"\u8D2D\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"TODO",width:120},{label:"\u8D2D\u4E70\u65B9\u516C\u53F8\u7EB3\u7A0E\u53F7",prop:"TODO",width:120},{label:"\u53D1\u7968\u53F7\u7801",prop:"TODO",width:100},{label:"\u53D1\u7968\u7C7B\u578B",prop:"TODO",width:100},{label:"\u9500\u552E\u65B9\u516C\u53F8",prop:"TODO",width:100},{label:"\u9500\u552E\u65B9\u516C\u53F8\u7EB3\u7A0E\u53F7",prop:"TODO",width:120},{label:"\u53D1\u7968\u660E\u7EC6ID",prop:"TODO",width:100},{label:"\u8D27\u7269\u6216\u5E94\u7A0E\u52B3\u52A1\u3001\u670D\u52A1\u540D\u79F0",prop:"TODO",width:170},{label:"\u7C7B\u76EE\u7F16\u53F7",prop:"TODO",width:100},{label:"\u89C4\u683C\u578B\u53F7",prop:"TODO",width:80},{label:"\u5355\u4F4D",prop:"TODO",width:80},{label:"\u6570\u91CF",prop:"TODO",width:80},{label:"\u7A0E\u524D\u5355\u4EF7",prop:"TODO",width:100},{label:"\u7A0E\u540E\u603B\u4EF7",prop:"TODO",width:100},{label:"\u7A0E\u7387",prop:"TODO",width:80},{label:"\u7A0E\u989D",prop:"TODO",width:80},{label:"\u7A0E\u540E\u5355\u4EF7",prop:"TODO",width:100},{label:"\u7A0E\u540E\u603B\u989D",prop:"TODO",width:100},{label:"\u7C7B\u76EE\u7F16\u53F7\u72B6\u6001",prop:"TODO",width:100},{label:"\u7A0E\u7387\u72B6\u6001",prop:"TODO",width:100},{label:"\u5907\u6CE8",prop:"TODO",width:100},{label:"\u4E1A\u52A1\u7C7B\u578B",prop:"TODO",width:100},{label:"\u5546\u54C1\u7F16\u53F7",prop:"TODO",width:100},{label:"\u5546\u54C1\u540D\u79F0",prop:"TODO",width:100},{label:"\u7A0E\u524D\u5355\u4EF7",prop:"TODO",width:100},{label:"\u5355\u4EF7",prop:"TODO",width:100},{label:"\u6570\u91CF",prop:"TODO",width:100},{label:"\u64CD\u4F5C",fixed:"right",width:55,slot:"operation"}],P={columns:N,title:"\u5546\u54C1\u7BA1\u7406",permissions:["007"],apis:{httpList:x,httpAdd:!0}},C={formItems:[]},S="productManager",$=A({__name:"index",setup(j){const D=f(),F={pageSearchHook:()=>_(void 0,void 0,C)},r=g({orderImportVisible:!1,notOrderImportVisible:!1}),m={content:{create:()=>D.push("/invoiceInOut/productManagerDetail"),preview:({id:n})=>D.push("/invoiceInOut/inOutManagerDetail?id="+n)}};function w(n="notOrder"){const u=n==="notOrder"?k:M,a=n==="notOrder"?"\u975E\u8BA2\u5355\u5546\u54C1\u6A21\u677F.xlsx":"\u8BA2\u5355\u5546\u54C1\u6A21\u677F.xlsx",t=s.book_new(),d=s.json_to_sheet(u);s.book_append_sheet(t,d,"sheet"),y(t,a,{bookType:"xlsx"})}return(n,u)=>{const a=p("ElButton"),t=p("ElDropdownItem"),d=p("ElDropdownMenu"),b=p("ElDropdown"),T=p("PageContainer"),B=p("PageAuth");return v(),c(B,{pageName:S},{default:o(()=>[e(T,{hooks:F,events:m,searchConfig:O(C),contentConfig:O(P)},{content_header:o(()=>[e(b,null,{dropdown:o(()=>[e(d,null,{default:o(()=>[e(t,{onClick:u[0]||(u[0]=l=>r.orderImportVisible=!0)},{default:o(()=>u[7]||(u[7]=[i("\u8BA2\u5355\u5546\u54C1")])),_:1}),e(t,{onClick:u[1]||(u[1]=l=>r.notOrderImportVisible=!0)},{default:o(()=>u[8]||(u[8]=[i("\u975E\u8BA2\u5355\u5546\u54C1")])),_:1})]),_:1})]),default:o(()=>[e(a,{size:"small",type:"primary",style:{"margin-right":"10px","margin-top":"1px"},icon:O(E)("arrow-up-line")},{default:o(()=>u[6]||(u[6]=[i("\u5546\u54C1\u5BFC\u5165 ")])),_:1},8,["icon"])]),_:1}),e(b,null,{dropdown:o(()=>[e(d,null,{default:o(()=>[e(t,{onClick:u[2]||(u[2]=l=>w("order"))},{default:o(()=>u[10]||(u[10]=[i("\u8BA2\u5355\u5546\u54C1")])),_:1}),e(t,{onClick:u[3]||(u[3]=l=>w("notOrder"))},{default:o(()=>u[11]||(u[11]=[i("\u975E\u8BA2\u5355\u5546\u54C1")])),_:1})]),_:1})]),default:o(()=>[e(a,{size:"small",style:{"margin-right":"10px","margin-top":"1px"},icon:O(E)("arrow-down-line")},{default:o(()=>u[9]||(u[9]=[i("\u5546\u54C1\u5BFC\u5165\u6A21\u677F\u4E0B\u8F7D")])),_:1},8,["icon"])]),_:1})]),_:1},8,["searchConfig","contentConfig"]),e(V,{visible:r.orderImportVisible,"onUpdate:visible":u[4]||(u[4]=l=>r.orderImportVisible=l)},null,8,["visible"]),e(I,{visible:r.notOrderImportVisible,"onUpdate:visible":u[5]||(u[5]=l=>r.notOrderImportVisible=l)},null,8,["visible"])]),_:1})}}});var L=h($,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/inOutManager/index.vue"]]);export{L as default};
|