import{ax as c,a0 as d,a1 as m,aP as _,_ as h,d as f,n as g,ab as C,r as n,o as F,G as v,C as E,j as b,l as s}from"./index.js";import{u as A}from"./use-page-search.98f4d8c5.js";import{r as O}from"./columnRenderHelper.1a68f3ef.js";import{g as P}from"./status.d3ab78fb.js";const{VITE_PROXY_DOMAIN_REAL:M,VITE_PROXY_USER_REAL:S,VITE_WORKORDER_REAL:w}=d(),y=w,B=e=>c.request("post",`${y}/cxinv/FinancialManager/list`,{data:e}),i=[{value:"1",label:"\u5F85\u5904\u7406",type:"warning"},{value:"2",label:"\u5904\u7406\u5B8C\u6210",type:"success"}],I=[{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,...O("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:e}){var o;return m(_,{size:"small",type:(o=i.find(t=>e.status==t.value))==null?void 0:o.type},{default:()=>{var t;return(t=i.find(u=>e.status==u.value))==null?void 0:t.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}],D={columns:I,title:"\u5546\u54C1\u7BA1\u7406",permissions:["007"],apis:{httpList:(e={})=>B({...e,manager_status:"2"}),httpAdd:!0}},r={formItems:[{field:"goodNo",type:"input",placeholder:"\u5546\u54C1\u7F16\u7801"},{field:"goodType",type:"select",options:P,placeholder:"\u5546\u54C1\u7C7B\u578B"},{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"}}]},R="productManager",x=f({__name:"index",setup(e){const o=g(),t={pageSearchHook:()=>A(void 0,void 0,r)};C({orderImportVisible:!1,notOrderImportVisible:!1});const u={content:{create:()=>o.push("/invoiceInOut/provisionOutDetail"),preview:({id:a})=>o.push("/invoiceInOut/provisionOutDetail?id="+a)}};return(a,N)=>{const p=n("PageContainer"),l=n("PageAuth");return F(),v(l,{pageName:R},{default:E(()=>[b(p,{hooks:t,events:u,searchConfig:s(r),contentConfig:s(D)},null,8,["searchConfig","contentConfig"])]),_:1})}}});var W=h(x,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/provisionOut/index.vue"]]);export{W as default};
