import{aF as F,ab as b,ac as f,aZ as C,_ as h,d as A,n as B,W as D,w as O,r as _,o as I,G as w,C as R,j as l,l as d}from"./index.js";import{u as P}from"./use-page-search.09da52b8.js";import y from"./index.bdcf42.js";import V from"./index.674a5d.js";import{r as a}from"./columnRenderHelper.ece2dbdf.js";import{s as m}from"./shared.f1c554ee.js";import"./execl-upload.5fcb0d75.js";import"./index.b0107100.js";import"./status.0f771e9a.js";const{VITE_PROXY_DOMAIN_REAL:H,VITE_PROXY_USER_REAL:J,VITE_WORKORDER_REAL:x}=b(),N=x,k=u=>F.request("post",`${N}/cxinv/adjust/list`,{data:u}),L=[{label:"\u53D1\u7968\u660E\u7EC6ID",prop:"manager__inv_item_id",width:90},{label:"\u4E1A\u52A1\u7F16\u53F7",minWidth:150,prop:"manager__invoiceCode"},{label:"\u8D2D\u4E70\u65B9\u516C\u53F8",width:150,...a("manager__buyer_code","manager__buyer_name","\u8D2D\u4E70\u65B9\u516C\u53F8\u7EB3\u7A0E\u53F7:")},{label:"\u9500\u552E\u65B9\u516C\u53F8",prop:"seller_code",width:150,...a("manager__seller_code","manager__seller_name","\u9500\u552E\u65B9\u516C\u53F8\u7EB3\u7A0E\u53F7:")},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:140,...a("manager__goodNo","manager__goodName","\u5546\u54C1\u7F16\u53F7:")},{label:"\u5546\u54C1\u6570\u91CF",prop:"num",width:100},{label:"\u7A0E\u524D\u5355\u4EF7",prop:"manager__inv_subprice",width:120},{label:"\u7A0E\u540E\u5355\u4EF7",prop:"manager__inv_price",width:120},{label:"\u53D1\u7968\u8D2D\u4E70\u65B9\u516C\u53F8",width:150,...a("manager__inv_buyer_code","manager__inv_buyer_name","\u8D2D\u4E70\u65B9\u516C\u53F8\u7EB3\u7A0E\u53F7:")},{label:"\u53D1\u7968\u9500\u552E\u65B9\u516C\u53F8",prop:"seller_code",width:150,...a("manager__inv_seller_code","manager__inv_seller_name","\u9500\u552E\u65B9\u516C\u53F8\u7EB3\u7A0E\u53F7:")},{label:"\u72B6\u6001",width:80,cellRenderer({row:u}){var r;return f(C,{size:"small",type:(r=m.find(e=>u.status==e.value))==null?void 0:r.type},{default:()=>{var e;return(e=m.find(i=>u.status==i.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}],S={columns:L,title:"\u5546\u54C1\u7BA1\u7406",permissions:["007"],companyProp:"seller_code",apis:{httpList:(u={})=>k({...u}),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"}}]},T="inOutManager",M=A({__name:"index",setup(u){const r=B(),e=D({orderImportVisible:!1,notOrderImportVisible:!1}),i={pageSearchHook:()=>P(void 0,void 0,c)},s=O(null),E={content:{create:()=>r.push("/invoiceInOut/provisionOutDetail"),preview:({id:p})=>r.push("/invoiceInOut/provisionOutDetail?id="+p)}};return(p,t)=>{const g=_("PageContainer"),v=_("PageAuth");return I(),w(v,{pageName:T},{default:R(()=>[l(g,{hooks:i,events:E,searchConfig:d(c),contentConfig:d(S),"get-content-ref":o=>s.value=o},null,8,["searchConfig","contentConfig","get-content-ref"]),l(V,{visible:e.orderImportVisible,"onUpdate:visible":t[0]||(t[0]=o=>e.orderImportVisible=o),onRefresh:t[1]||(t[1]=o=>{var n;return(n=s.value)==null?void 0:n.onSearch()})},null,8,["visible"]),l(y,{visible:e.notOrderImportVisible,"onUpdate:visible":t[2]||(t[2]=o=>e.notOrderImportVisible=o),onRefresh:t[3]||(t[3]=o=>{var n;return(n=s.value)==null?void 0:n.onSearch()})},null,8,["visible"])]),_:1})}}});var K=h(M,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/provisionOut/index.vue"]]);export{K as default};
