1 |
- import{bb as t,am as a,c1 as l,aR as p,_ as n,d,o as i,G as c,D as F,l as m,m as r,c2 as h,c3 as f,bd as C}from"./index.js";import{h as B}from"./index.a733720b.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 a(p,null,{default:()=>{var e;return((e=l.find(o=>o.value==u.status))==null?void 0:e.label)||"--"}})}}],b={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:l},{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"}]},g=d({__name:"index",setup(u){const e="currentcyAssOrderRecord",o={pageSearchHook:()=>C(void 0,void 0,s)};return(_,y)=>(i(),c(r(f),{pageName:e},{default:F(()=>[m(r(h),{hooks:o,contentConfig:r(b),searchConfig:r(s)},null,8,["contentConfig","searchConfig"])]),_:1}))}});var N=n(g,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/currentcyAssOrderRecord/index.vue"]]);export{N as default};
|