inv-open.73670b7a.js 6.7 KB

1
  1. import{al as a,aS as i,aV as F,aW as b,J as B,bC as n,bo as v}from"./index.42bf163d.js";import{c as t}from"./tootip.bb80052f.js";import{d as p,e as f,i as E}from"./status.d6b2a53d.js";const s=[{value:"1",label:"\u91D1\u7A0E\u5F00\u7968"},{value:"2",label:"\u91D1\u7A0E\u7EBF\u4E0B"},{value:"3",label:"\u7EAF\u7EBF\u4E0B"}],o=[{value:"1",label:"\u5F85\u8D22\u52A1\u5BA1\u6838",type:"warning"},{value:"2",label:"\u5F85\u4E0A\u4F20\u53D1\u7968",type:"warning"},{value:"3",label:"\u5F00\u7968\u9A8C\u7968\u4E2D",type:"warning"},{value:"4",label:"\u5F00\u7968\u5B8C\u6210",type:"warning"},{value:"5",label:"\u5F00\u7968\u5F02\u5E38 ",type:"warning"},{value:"6",label:"\u5DF2\u9000\u7968\u6216\u5DF2\u4F5C\u5E9F",type:"warning"},{value:"7",label:"\u5DF2\u53D6\u6D88\u7533\u8BF7",type:"warning"},{value:"8",label:"\u8D22\u52A1\u9A73\u56DE",type:"warning"},{value:"9",label:"\u9A8C\u7968\u5931\u8D25",type:"warning"}],C=[{field:"invNo",label:"\u53D1\u7968\u7F16\u7801",labelWidth:"100px"},{field:"inv_value",label:"\u53D1\u7968\u91D1\u989D"},{label:"\u8D2D\u4E70\u65B9\u62AC\u5934\u72B6\u6001",field:"seller_check",render(u){var e;return a(i,{type:(e=p.find(l=>l.value===String(u)))==null?void 0:e.type},{default:()=>{var l;return((l=p.find(r=>r.value===String(u)))==null?void 0:l.label)||"--"}})}},{label:"\u9500\u552E\u65B9\u62AC\u5934\u72B6\u6001",field:"buyer_check",render(u){var e;return a(i,{type:(e=f.find(l=>l.value===String(u)))==null?void 0:e.type},{default:()=>{var l;return((l=f.find(r=>r.value===String(u)))==null?void 0:l.label)||"--"}})}},{field:"status",label:"\u5F00\u7968\u72B6\u6001",render(u,{status:e,check_remark:l}){return a("div",{},{default:()=>{var r;return[a(i,{type:(r=o.find(d=>d.value===u))==null?void 0:r.type},{default:()=>{var d;return((d=o.find(D=>D.value===u))==null?void 0:d.label)||"--"}}),String(e)!=="5"?null:a(F,{placement:"top",content:`\u5F02\u5E38\u539F\u56E0 : ${l}`,width:"300px"},{reference:()=>a(b,{link:!0,icon:B("information-line")})})]}})}},{field:"inv_type",label:"\u53D1\u7968\u7C7B\u578B",render(u,e){return a(i,null,{default:()=>{var l;return((l=E.find(r=>r.value===String(u)))==null?void 0:l.label)||"--"}})}},{field:"open_type",label:"\u5F00\u7968\u65B9\u5F0F",render(u){return a(i,null,{default:()=>{var e;return((e=s.find(l=>l.value===String(u)))==null?void 0:e.label)||"--"}})}},{field:"is_ticket",label:"\u662F\u5426\u652F\u6301\u91D1\u7A0E",render(u){return a(i,null,{default:()=>String(u)==="2"?"\u4E0D\u652F\u6301":String(u)==="1"?"\u652F\u6301":"--"})}},{field:"inv_company",label:"\u9500\u552E\u65B9\u516C\u53F8\u7F16\u7801",span:12,render:(u,{inv_out:e})=>t(u,"\u9500\u552E\u65B9\u516C\u53F8\u7F16\u7801 : "+e,300)},{field:"email",label:"\u7535\u5B50\u90AE\u7BB1"},{field:"post_code",label:"\u5FEB\u9012\u7F16\u7801",render:(u,{post_company:e})=>t(u,"\u5FEB\u9012\u516C\u53F8 : "+e,300)},{field:"seller_title",label:"\u9500\u552E\u65B9\u62AC\u5934",span:12,render:(u,{seller_code:e})=>t(u,"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7 : "+e,300)},{field:"buyer_title",label:"\u8D2D\u4E70\u65B9\u62AC\u5934",span:12,render:(u,{buyer_code:e})=>t(u,"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7 : "+e,300)},{field:"seller_bank",label:"\u9500\u552E\u65B9\u94F6\u884C",span:12,render:(u,{seller_bankNo:e})=>t(u,"\u9500\u552E\u65B9\u8D26\u6237 : "+e,300)},{field:"buyer_bank",label:"\u8D2D\u4E70\u65B9\u94F6\u884C",span:12,render:(u,{buyer_bankNo:e})=>t(u,"\u8D2D\u4E70\u65B9\u8D26\u6237 : "+e,300)},{field:"seller_addr",label:"\u9500\u552E\u65B9\u5730\u5740",span:12,render:(u,{seller_mobile:e})=>t(u,"\u9500\u552E\u65B9\u8054\u7CFB\u65B9\u5F0F : "+e,300)},{field:"buyer_addr",label:"\u8D2D\u4E70\u65B9\u5730\u5740",span:12,render:(u,{buyer_mobile:e})=>t(u,"\u8D2D\u4E70\u65B9\u8054\u7CFB\u65B9\u5F0F : "+e,300)},{field:"voider",label:"\u4F5C\u5E9F\u4EBA"},{field:"payee",label:"\u6536\u6B3E\u4EBA"},{field:"drawer",label:"\u5F00\u7968\u4EBA"},{field:"reviewer",label:"\u590D\u6838\u4EBA"},{field:"cancel_fee",label:"\u8BA2\u5355\u4FE1\u606F:",span:24,render(u,{orderinfo:e}){return a(v,{data:e,border:!0,size:"small",width:"100%"},{default:()=>[a(n,{prop:"sequenceNo",label:"\u8BA2\u5355\u7F16\u7801",width:"150px",fixed:"left",showOverflowTooltip:!0}),a(n,{prop:"goodName",label:"\u5546\u54C1\u540D\u79F0","min-width":"110px",showOverflowTooltip:!0}),a(n,{prop:"tax",showOverflowTooltip:!0,label:"\u7A0E\u7387",width:"50px"},{default:({row:l})=>l.tax+"%"}),a(n,{prop:"goodPrice",label:"\u5546\u54C1\u5355\u4EF7","min-width":"100px",showOverflowTooltip:!0}),a(n,{prop:"goodNum",label:"\u5546\u54C1\u603B\u6570\u91CF","min-width":"100px",showOverflowTooltip:!0}),a(n,{prop:"ainv_num",label:"\u5DF2\u5F00\u7968\u6570\u91CF","min-width":"100px",showOverflowTooltip:!0}),a(n,{prop:"inv_num",label:"\u6B64\u6B21\u5F00\u7968\u6570\u91CF","min-width":"100px",showOverflowTooltip:!0}),a(n,{prop:"totalPrice",label:"\u8BA2\u5355\u603B\u91D1\u989D","min-width":"100px",showOverflowTooltip:!0}),a(n,{prop:"ainv_fee",label:"\u5DF2\u5F00\u7968\u91D1\u989D","min-width":"100px",showOverflowTooltip:!0}),a(n,{prop:"cancel_fee",label:"\u6B64\u6B21\u5F00\u7968\u91D1\u989D","min-width":"100px",showOverflowTooltip:!0})]})}},{field:"remark",label:"\u53D1\u7968\u5907\u6CE8",span:24},{field:"exam_remark",label:"\u5BA1\u6838\u5907\u6CE8",span:24}],m=[{field:"invNo",label:"\u53D1\u7968\u7F16\u7801"},{field:"inv_value",label:"\u53D1\u7968\u91D1\u989D"},{field:"buyer_title",label:"\u5F00\u7968\u516C\u53F8",render:(u,{inv_out:e})=>t(u,"\u5F00\u7968\u516C\u53F8\u7F16\u7801 : "+e,360)},{field:"apply_name",label:"\u7533\u8BF7\u4EBA"},{field:"status",label:"\u5F00\u7968\u72B6\u6001",render(u){return a("div",{},{default:()=>{var e;return[a(i,{type:(e=o.find(l=>l.value===u))==null?void 0:e.type},{default:()=>{var l;return((l=o.find(r=>r.value===u))==null?void 0:l.label)||"--"}}),a(F,{placement:"top",content:"111px",width:"200px"},{reference:()=>a(b,{link:!0,icon:B("information-line")})})]}})}},{field:"inv_type",label:"\u53D1\u7968\u7C7B\u578B",render(u){return a(i,null,{default:()=>{var e;return((e=E.find(l=>l.value===u))==null?void 0:e.label)||"--"}})}},{field:"open_type",label:"\u5F00\u7968\u65B9\u5F0F",render(u){return a(i,null,{default:()=>{var e;return((e=s.find(l=>l.value===u))==null?void 0:e.label)||"--"}})}},{field:"is_ticket",label:"\u662F\u5426\u652F\u6301\u91D1\u7A0E",render(u){return a(i,null,{default:()=>u==="0"?"\u4E0D\u652F\u6301":"\u652F\u6301"})}},{field:"exam_remark",label:"\u5BA1\u6838\u5907\u6CE8"},{field:"remark",label:"\u5907\u6CE8"},{field:"email",label:"\u7535\u5B50\u90AE\u7BB1"},{field:"winv_fee",label:"\u672A\u5F00\u7968"},{field:"ainv_fee",label:"\u5DF2\u5F00\u7968"},{field:"post_fee",label:"\u5FEB\u9012\u8D39"},{field:"post_code",label:"\u5FEB\u9012\u7F16\u7801"},{field:"post_company",label:"\u5FEB\u9012\u516C\u53F8"}];export{C as I,m as O,o as a};