1 |
- import{aF as b,ab as h,ac as F,aZ as E,_ as C,d as A,n as O,W as I,w as B,r as m,o as D,G as w,C as R,j as s,l as _}from"./index.js";import{u as P}from"./use-page-search.c6b00ede.js";import y from"./index.bdcf42.js";import V from"./index.674a5d.js";import{r as l}from"./columnRenderHelper.ea97af9d.js";import{s as p}from"./shared.5e18e776.js";import"./execl-upload.359c6423.js";import"./index.61485ef8.js";import"./status.b7512d56.js";const{VITE_PROXY_DOMAIN_REAL:H,VITE_PROXY_USER_REAL:J,VITE_WORKORDER_REAL:x}=h(),N=x,k=o=>b.request("post",`${N}/cxinv/adjust/list`,{data:o}),L=[{label:"ID",prop:"id",width:90},{label:"\u4E1A\u52A1\u7F16\u53F7",minWidth:150,prop:"manager__invoiceCode"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:140,...l("manager__goodNo","manager__goodName","\u5546\u54C1\u7F16\u53F7:")},{label:"\u72B6\u6001",width:80,cellRenderer({row:o}){var u;return F(E,{size:"small",type:(u=p.find(e=>o.status==e.value))==null?void 0:u.type},{default:()=>{var e;return(e=p.find(a=>o.status==a.value))==null?void 0:e.label}})}},{label:"\u8BA1\u63D0\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,...l("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,...l("manager__inv_seller_code","manager__inv_seller_name","\u9500\u552E\u65B9\u516C\u53F8\u7EB3\u7A0E\u53F7:")},{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:(o={})=>k({...o}),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"}},{field:"status",placeholder:"\u72B6\u6001",options:p,type:"select"}]},T="inOutManager",M=A({__name:"index",setup(o){const u=O(),e=I({orderImportVisible:!1,notOrderImportVisible:!1}),a={pageSearchHook:()=>P(void 0,void 0,c)},i=B(null),v={content:{create:()=>u.push("/invoiceInOut/provisionOutDetail"),preview:({id:d})=>u.push("/invoiceInOut/provisionOutDetail?id="+d)}};return(d,t)=>{const f=m("PageContainer"),g=m("PageAuth");return D(),w(g,{pageName:T},{default:R(()=>[s(f,{hooks:a,events:v,searchConfig:_(c),contentConfig:_(S),"get-content-ref":r=>i.value=r},null,8,["searchConfig","contentConfig","get-content-ref"]),s(V,{visible:e.orderImportVisible,"onUpdate:visible":t[0]||(t[0]=r=>e.orderImportVisible=r),onRefresh:t[1]||(t[1]=r=>{var n;return(n=i.value)==null?void 0:n.onSearch()})},null,8,["visible"]),s(y,{visible:e.notOrderImportVisible,"onUpdate:visible":t[2]||(t[2]=r=>e.notOrderImportVisible=r),onRefresh:t[3]||(t[3]=r=>{var n;return(n=i.value)==null?void 0:n.onSearch()})},null,8,["visible"])]),_:1})}}});var K=C(M,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/provisionOut/index.vue"]]);export{K as default};
|