1 |
- import{b as B}from"./index.142d2268.js";import{d1 as s,bS as r,b3 as n,bP as i,am as a,aR as t,bb as p,cs as F,bT as b,aS as o}from"./index.js";const d=[{value:"1",label:"\u672A\u5F00\u7968"},{value:"2",label:"\u90E8\u5206\u5F00\u7968"},{value:"3",label:"\u5DF2\u5F00\u7968"}],E=[{value:"1",label:"\u672A\u56DE\u6B3E"},{value:"2",label:"\u90E8\u5206\u56DE\u6B3E"},{value:"3",label:"\u5DF2\u56DE\u6B3E"}],h=[{value:"1",label:"\u5E93\u5B58\u54C1"},{value:"2",label:"\u975E\u5E93\u5B58"},{value:"3",label:"\u54A8\u8BE2"}],c=[{value:"0",label:"\u5F85\u91C7\u8D2D\u8BBE\u7F6E"},{value:"1",label:"\u5F85\u8D22\u52A1\u8BBE\u7F6E"},{value:"2",label:"\u5DF2\u8BBE\u7F6E\u5B8C\u6210"}],_=[{value:"1",label:"\u5F00\u7968\u6807\u7B7E"},{value:"2",label:"\u56DE\u6B3E\u6807\u7B7E"},{value:"3",label:"\u5F00\u7968\u6216\u56DE\u6B3E\u6807\u7B7E\u6700\u5C11\u6709\u4E00\u4E2A"},{value:"4",label:"\u5F00\u7968\u548C\u56DE\u6B3E\u6807\u7B7E\u540C\u65F6\u6709"}],v={formItems:[{field:"order_timer",type:"date_picker",span:8,otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u4E0B\u5355\u8D77\u59CB\u65F6\u95F4",endPlaceholder:"\u4E0B\u5355\u7ED3\u675F\u65F6\u95F4"}},{field:"qrdtype",type:"select",placeholder:"\u5546\u54C1\u7C7B\u578B",options:h,span:4},{field:"is_comon",type:"select",placeholder:"\u8BA2\u5355\u7C7B\u578B",options:s,span:4},{field:"inv_status",type:"select",placeholder:"\u5F00\u7968\u72B6\u6001",options:d,span:4},{field:"pay_status",type:"select",placeholder:"\u56DE\u6B3E\u72B6\u6001",options:E,span:4},{field:"group",type_field:"group_type",type:"input_group",span:8,otherOptions:{inputGroupOptions:[{value:"sequenceNo",label:"\u8BA2\u5355\u7F16\u7801"},{value:"cxCode",label:"\u9500\u552E\u8BA2\u5355\u4E3B\u7F16\u7801"},{value:"customerNo",label:"\u5BA2\u6237\u7F16\u7801"},{value:"customer",label:"\u5BA2\u6237\u540D\u79F0"},{value:"platName",label:"\u5E73\u53F0\u540D\u79F0"},{value:"department",label:"\u90E8\u95E8"},{value:"saler",label:"\u9500\u552E\u5458"}]}},{span:4,type:"select",field:"qrdsource",placeholder:"\u8BA2\u5355\u6765\u6E90",options:r},{field:"poCode",type:"input",placeholder:"\u5E73\u53F0\u8BA2\u5355\u53F7",span:4},{field:"goodNo",type:"input",placeholder:"\u5546\u54C1\u7F16\u53F7",span:4},{field:"goodName",type:"input",placeholder:"\u5546\u54C1\u540D\u79F0",span:4},{field:"sendstatus",type:"select",placeholder:"\u53D1\u8D27\u72B6\u6001",options:n,span:4},{field:"cat_status",type:"select",placeholder:"\u7C7B\u76EE\u8BBE\u7F6E\u72B6\u6001",options:c,span:4},{field:"platform_type",type:"select",placeholder:"\u5E73\u53F0\u7C7B\u578B",options:i,span:4},{field:"tag_id",type:"select",placeholder:"\u6807\u7B7E\u7C7B\u578B",options:_,span:4}]},f=[{type:"selection",width:40,align:"center",fixed:"left"},{label:"\u9500\u552E\u8BA2\u5355\u7F16\u7801",prop:"sequenceNo",width:150},{label:"\u9500\u552E\u8BA2\u5355\u4E3B\u7F16\u7801",prop:"cxCode",width:150},{label:"\u5E73\u53F0\u8BA2\u5355\u53F7",prop:"poCode",width:150},{label:"\u5E73\u53F0\u7C7B\u578B",width:70,cellRenderer:({row:u})=>a(t,null,{default:()=>{var e;return((e=i.find(l=>l.value===u.platform_type))==null?void 0:e.label)||"--"}})},{label:"\u5356\u51FA\u65B9\u516C\u53F8",prop:"companyName",minWidth:130,...p("companyNo","companyName","\u5356\u51FA\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u5BA2\u6237\u516C\u53F8",prop:"customerName",minWidth:130,...p("customerNo","customerName","\u5BA2\u6237\u516C\u53F8\u7F16\u7801:")},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:130,...p("goodNo","goodName","\u5546\u54C1\u7F16\u7801:")},{label:"\u5546\u54C1\u6570\u91CF",prop:"goodNum",minWidth:80},{label:"\u5E73\u53F0\u540D\u79F0",prop:"platName",width:90},{label:"\u7C7B\u76EE\u8BBE\u7F6E\u72B6\u6001",width:100,cellRenderer:({row:u})=>a(t,null,{default:()=>{var e;return((e=c.find(l=>l.value===u.cat_status))==null?void 0:e.label)||"--"}})},{label:"\u8BA2\u5355\u7C7B\u578B",width:80,...F(s,"is_comon")},{label:"\u5546\u54C1\u7C7B\u578B",width:100,cellRenderer:({row:u})=>a(t,null,{default:()=>{var e;return((e=b.find(l=>l.value===u.qrdType))==null?void 0:e.label)||"--"}})},{label:"\u53D1\u8D27\u72B6\u6001",width:100,cellRenderer:({row:u})=>a(t,null,{default:()=>{var e;return((e=n.find(l=>l.value===u.sendStatus))==null?void 0:e.label)||"--"}})},{label:"\u8BA2\u5355\u6765\u6E90",width:100,cellRenderer:({row:u})=>a(t,null,{default:()=>{var e;return((e=r.find(l=>l.value===u.qrdSource))==null?void 0:e.label)||"--"}})},{label:"\u5F00\u7968\u72B6\u6001",width:100,cellRenderer:({row:u})=>a(t,null,{default:()=>{var e;return((e=d.find(l=>l.value===u.inv_status))==null?void 0:e.label)||"--"}})},{label:"\u5E73\u53F0\u516C\u53F8\u5DF2\u56DE\u6B3E",prop:"plat_pay_fee",width:120},{label:"\u5DF2\u5F00\u7968",prop:"ainv_fee",width:110},{label:"\u5F00\u7968\u4E2D",prop:"inv_fee",width:110},{label:"\u672A\u5F00\u7968",prop:"winv_fee",width:110},{label:"\u5F00\u7968\u6807\u7B7E\u91D1\u989D",prop:"inv_tag_fee",width:110},{label:"\u6807\u7B7E\u56FE\u7247",width:"70px",cellRenderer({row:u}){return u.inv_tag_img?a(o,{src:u.inv_tag_img,previewSrcList:[u.inv_tag_img],previewTeleported:!0,style:{height:"20px",width:"20px"}}):null}},{label:"\u56DE\u6B3E\u72B6\u6001",width:100,cellRenderer:({row:u})=>a(t,null,{default:()=>{var e;return(e=E.find(l=>l.value===u.pay_status))==null?void 0:e.label}})},{label:"\u5DF2\u56DE\u6B3E",prop:"apay_fee",width:110},{label:"\u56DE\u6B3E\u4E2D",prop:"pay_fee",width:110},{label:"\u672A\u56DE\u6B3E",prop:"wpay_fee",width:110},{label:"\u56DE\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",width:110},{label:"\u6807\u7B7E\u56FE\u7247",width:"70px",cellRenderer({row:u}){return u.pay_tag_img?a(o,{src:u.pay_tag_img,previewSrcList:[u.pay_tag_img],previewTeleported:!0,style:{height:"20px",width:"20px"}}):null}},{label:"\u9500\u552E\u5458",prop:"ownerName",width:70},{label:"\u90E8\u95E8",prop:"department",width:70},{label:"\u64CD\u4F5C",fixed:"right",width:205,slot:"operation"}],D={title:"\u9500\u552E\u8BA2\u5355\u516C\u6D77\u6C60",columns:f,superUserNoAction:!0,payProps:{prop:"sequenceNo",type:"3"},returnProps:{prop:"sequenceNo",type:"4"},showPayTagFn:({status:u,is_comon:e},l)=>u!="2"&&l.includes("016"),showReturnTagFn:({status:u,is_comon:e},l)=>u!="2"&&l.includes("015"),showUnPayTagFn:({status:u,is_comon:e},l)=>l.includes("061"),showUnReturnTagFn:({status:u,is_comon:e},l)=>l.includes("062"),apis:{httpList:(u={})=>B({...u})}};export{D as c,d as i,E as r,v as s};
|