import{cA as t,af as l,dq as a,ce as p,_ as n,d,o as i,A as c,y as F,h,i as r,dr as f,ds as m,cC as C}from"./index.js";import{h as B}from"./index.43fba9db.js";const E=[{label:"\u901A\u7528\u8BA2\u5355\u7F16\u53F7",prop:"tyCode",width:"150px",fixed:"left"},{label:"\u786E\u8BA4\u5355\u7F16\u53F7",prop:"orderCode",width:"150px"},{label:"\u9500\u552E\u4E3B\u5355\u53F7",prop:"cxCode",width:"150px"},{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo",width:175},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:160},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:"100px"},{label:"\u5356\u51FA\u65B9\u516C\u53F8",prop:"supplierName",minWidth:175,...t("supplierNo","supplierName","\u5356\u51FA\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u4E70\u5165\u65B9\u516C\u53F8",prop:"companyName",minWidth:175,...t("customerNo","customerName","\u4E70\u5165\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u4E0B\u5355\u6570\u91CF",prop:"num",width:80,cellRenderer({row:u}){var e;return((e=u.qrd)==null?void 0:e.goodNum)||"--"}},{label:"\u9500\u552E\u5355\u4EF7",prop:"num",width:80,cellRenderer({row:u}){var e;return((e=u.qrd)==null?void 0:e.goodPrice)||"--"}},{label:"\u9500\u552E\u603B\u989D",prop:"num",width:80,cellRenderer({row:u}){var e;return((e=u.qrd)==null?void 0:e.totalPrice)||"--"}},{label:"\u5BF9\u8D26\u72B6\u6001",prop:"status",width:160,cellRenderer({row:u}){return l(p,null,{default:()=>{var e;return((e=a.find(o=>o.value==u.status))==null?void 0:e.label)||"--"}})}}],g={title:"\u901A\u7528\u8BA2\u5355\u5173\u8054\u8BA2\u5355\u5DF2\u56DE\u6B3E\u5217\u8868",companyProp:"companyNo",columns:E,apis:{httpList:(u={})=>{let e=[0,1,2];return u.status==="0"&&(e=[0]),u.status==="1"&&(e=[1]),u.status==="2"&&(e=[2]),u.orderCode&&(u.orderCode=[u.orderCode]),B({...u,status:e})}}},s={formItems:[{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u521B\u5EFA\u8D77\u59CB\u65F6\u95F4",endPlaceholder:"\u521B\u5EFA\u7ED3\u675F\u65F6\u95F4"}},{field:"status",placeholder:"\u5BF9\u8D26\u72B6\u6001",type:"select",options:a},{field:"orderCode",placeholder:"\u786E\u8BA4\u5355\u7F16\u53F7",type:"input"},{field:"cxCode",placeholder:"\u9500\u552E\u4E3B\u5355\u53F7",type:"input"},{field:"customerNo",placeholder:"\u4E70\u5165\u65B9\u516C\u53F8",type:"business-query"}]},A="currentcyAssOrderRecord",y=d({__name:"index",setup(u){const e={pageSearchHook:()=>C(void 0,void 0,s)};return(o,_)=>(i(),c(r(m),{pageName:A},{default:F(()=>[h(r(f),{hooks:e,contentConfig:r(g),searchConfig:r(s)},null,8,["contentConfig","searchConfig"])]),_:1}))}});var w=n(y,[["__file","D:/work/jiesuan/settle-vue3/src/views/InvoiceSales/currentcyAssOrderRecord/index.vue"]]);export{w as default};
