1 |
- import{x as p,l as d,b3 as r,r as s,ae as f}from"./index.js";function c(){return{columns:p([{type:"selection",width:40,align:"center",fixed:"left"},{label:"\u9500\u552E\u8BA2\u5355\u7F16\u7801",prop:"sequenceNo",width:150,showOverflowTooltip:!0},{label:"\u9500\u552E\u8BA2\u5355\u4E3B\u7F16\u7801",prop:"cxCode",width:150,showOverflowTooltip:!0},{label:"\u5E73\u53F0\u8BA2\u5355\u7F16\u7801",prop:"poCode",width:150,showOverflowTooltip:!0},{label:"\u5546\u54C1\u7F16\u7801",prop:"goodNo",width:150,showOverflowTooltip:!0},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",minWidth:160,showOverflowTooltip:!0},{label:"\u5E73\u53F0\u7C7B\u578B",prop:"platform_type",width:"80px",slot:"platform_type",showOverflowTooltip:!0},{label:"\u53D1\u8D27\u72B6\u6001",prop:"sendStatus",width:"95px",showOverflowTooltip:!0,cellRenderer:({row:e,props:l})=>d(s("el-tag"),{size:l.size,type:(r.find(o=>o.value==e.sendStatus+"")||{}).type||"info",effect:"plain"},{default:()=>[(r.find(o=>o.value==e.sendStatus+"")||{}).label||"--"]})},{label:"\u5BA2\u6237\u7F16\u7801",prop:"customerNo",width:150,showOverflowTooltip:!0},{label:"\u5BA2\u6237\u540D\u79F0",prop:"customerName",minWidth:160,showOverflowTooltip:!0},{label:"\u8BA2\u5355\u603B\u91D1\u989D",prop:"totalPrice",width:110,showOverflowTooltip:!0},{label:"\u5546\u54C1\u6570\u91CF",prop:"goodNum",width:110,showOverflowTooltip:!0},{label:"\u5E73\u53F0\u516C\u53F8\u5DF2\u56DE\u6B3E",prop:"plat_pay_fee",width:110},{label:"\u672A\u5F00\u7968\u6570\u91CF",prop:"winv_num",width:110,showOverflowTooltip:!0},{label:"\u5DF2\u5F00\u7968\u91D1\u989D",prop:"ainv_fee",width:110,showOverflowTooltip:!0},{label:"\u5F00\u7968\u4E2D\u91D1\u989D",prop:"inv_fee",width:110,showOverflowTooltip:!0},{label:"\u672A\u5F00\u7968\u91D1\u989D",prop:"winv_fee",width:110,showOverflowTooltip:!0},{label:"\u4E1A\u52A1\u5458",prop:"ownerName",width:80,showOverflowTooltip:!0},{label:"\u521B\u5EFA\u65F6\u95F4",width:140,prop:"createTime",showOverflowTooltip:!0,formatter:({addtime:e})=>f(e).format("YYYY-MM-DD HH:mm:ss")}])}}const b=[{field:"sequenceNo",label:"\u9500\u552E\u8BA2\u5355\u7F16\u7801"},{field:"ownerName",label:"\u9500\u552E\u5458"},{field:"department",label:"\u5E73\u53F0\u540D\u79F0"},{field:"goodPrice",label:"\u5546\u54C1\u5355\u4EF7"},{field:"companyName",label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",span:12},{field:"customerName",label:"\u5BA2\u6237\u540D\u79F0",span:12},{field:"goodName",label:"\u5546\u54C1\u540D\u79F0",span:24},{field:"goodNum",label:"\u5546\u54C1\u603B\u6570\u91CF"},{field:"ainv_num",label:"\u5DF2\u5F00\u7968\u6570\u91CF"},{field:"inv_num",label:"\u5F00\u7968\u4E2D\u6570\u91CF"},{field:"winv_num",label:"\u672A\u5F00\u7968\u6570\u91CF"},{field:"totalPrice",label:"\u8BA2\u5355\u603B\u91D1\u989D"},{field:"ainv_fee",label:"\u5DF2\u5F00\u7968\u91D1\u989D"},{field:"inv_fee",label:"\u5F00\u7968\u4E2D\u91D1\u989D"},{field:"winv_fee",label:"\u672A\u5F00\u7968\u91D1\u989D"},{field:"plat_pay_fee",label:"\u5E73\u53F0\u516C\u53F8\u5DF2\u56DE\u6B3E"}],v=i=>{const{company_address:e,mobile:l,company_license:o,bank_name:t,bankNo:a,company_name:n}=i;return{invoice_addr:e,invoice_mobile:l,invoice_code:o,invoice_bank:t,invoice_bankNo:a,invoice_title:n}},m=i=>{const{invoice_addr:e,invoice_mobile:l,invoice_code:o,invoice_bank:t,invoice_bankNo:a,invoice_title:n}=i;return{invoice_code:o,invoice_title:n,addrAndmobile:e+" "+l,bankAndBankNo:t+" "+a}},u=[{label:"\u62AC\u5934",span:24,field:"invoice_title"},{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",span:24,field:"invoice_code"},{label:"\u5730\u5740\u3001\u7535\u8BDD",span:24,field:"addrAndmobile"},{label:"\u5F00\u6237\u884C\u53CA\u8D26\u53F7",span:24,field:"bankAndBankNo"}];export{v as convertInvoiceTitle,m as convertInvoiceTitleData,u as invoice_columns,b as order_detail_columns,c as useColumns};
|