1 |
- import{aF as h,ab as g,ac as _,aY as F,_ as C,d as E,n as O,W as I,w as A,r as p,o as R,G as w,C as P,j as u,l as d}from"./index.js";import{u as D}from"./use-page-search.d1285cf7.js";import V from"./index.bdcf42.js";import x from"./index.674a5d.js";import{r as B}from"./columnRenderHelper.2124f6e1.js";import{a as m}from"./shared.b2aeacac.js";import"./execl-upload.29fc3bf2.js";import"./index.8858cda3.js";import"./status.d3ab78fb.js";const{VITE_PROXY_DOMAIN_REAL:H,VITE_PROXY_USER_REAL:K,VITE_WORKORDER_REAL:N}=g(),k=N,L=o=>h.request("post",`${k}/cxinv/FinancialManager/list`,{data:o}),y=[{label:"\u53D1\u7968\u660E\u7EC6ID",prop:"inv_item_id",width:90},{label:"\u4E1A\u52A1\u7F16\u53F7",minWidth:150,prop:"invoiceCode"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:140,...B("goodNo","goodName","\u5546\u54C1\u7F16\u53F7:")},{label:"\u5546\u54C1\u6570\u91CF",prop:"num",width:100},{label:"\u7A0E\u524D\u5355\u4EF7",prop:"inv_subprice",width:120},{label:"\u7A0E\u540E\u5355\u4EF7",prop:"inv_price",width:120},{label:"\u72B6\u6001",width:80,cellRenderer({row:o}){var n;return _(F,{size:"small",type:(n=m.find(e=>o.status==e.value))==null?void 0:n.type},{default:()=>{var e;return(e=m.find(a=>o.status==a.value))==null?void 0:e.label}})}},{label:"\u521B\u5EFA\u4EBA",prop:"apply_name",width:120},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time",width:120},{label:"\u64CD\u4F5C",fixed:"right",slot:"operation",width:45}],M={columns:y,title:"\u5546\u54C1\u7BA1\u7406",permissions:["007"],apis:{httpList:(o={})=>L({...o,manager_status:"2"}),httpAdd:!0}},c={formItems:[{field:"timer",type:"date_picker",span:7,label:"\u521B\u5EFA\u65F6\u95F4",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7ED3\u675F\u65F6\u95F4"}}]},S="inOutManager",T=E({__name:"index",setup(o){const n=O(),e=I({orderImportVisible:!1,notOrderImportVisible:!1}),a={pageSearchHook:()=>D(void 0,void 0,c)},s=A(null),f={content:{create:()=>n.push("/invoiceInOut/provisionOutDetail"),preview:({id:l})=>n.push("/invoiceInOut/provisionOutDetail?id="+l)}};return(l,t)=>{const v=p("PageContainer"),b=p("PageAuth");return R(),w(b,{pageName:S},{default:P(()=>[u(v,{hooks:a,events:f,searchConfig:d(c),contentConfig:d(M),"get-content-ref":r=>s.value=r},null,8,["searchConfig","contentConfig","get-content-ref"]),u(x,{visible:e.orderImportVisible,"onUpdate:visible":t[0]||(t[0]=r=>e.orderImportVisible=r),onRefresh:t[1]||(t[1]=r=>{var i;return(i=s.value)==null?void 0:i.onSearch()})},null,8,["visible"]),u(V,{visible:e.notOrderImportVisible,"onUpdate:visible":t[2]||(t[2]=r=>e.notOrderImportVisible=r),onRefresh:t[3]||(t[3]=r=>{var i;return(i=s.value)==null?void 0:i.onSearch()})},null,8,["visible"])]),_:1})}}});var J=C(T,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/provisionOut/index.vue"]]);export{J as default};
|