1 |
- import{x as p,l as s,b3 as d,r as f,ae as c}from"./index.js";function b(){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})=>s(f("el-tag"),{size:l.size,type:(d.find(o=>o.value==e.sendStatus+"")||{}).type||"info",effect:"plain"},{default:()=>[(d.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:"\u672A\u5F00\u7968\u6570\u91CF",prop:"winv_num",width:110},{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})=>c(e).format("YYYY-MM-DD HH:mm:ss")}])}}const m=[{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"}],v=i=>{const{company_address:e,mobile:l,company_license:o,bank_name:t,bankNo:n,company_name:a,denomination:r}=i;return{invoice_addr:e,invoice_mobile:l,invoice_code:o,invoice_bank:t,invoice_bankNo:n,invoice_title:a,denomination:r}},u=i=>{const{invoice_addr:e,invoice_mobile:l,invoice_code:o,invoice_bank:t,invoice_bankNo:n,invoice_title:a,denomination:r}=i;return{invoice_code:o,invoice_title:a,addrAndmobile:e+" "+l,bankAndBankNo:t+" "+n,denomination:r+"\u4E07\u5143"}},_=[{label:"\u62AC\u5934",span:24,field:"invoice_title"},{label:"\u6700\u5927\u9762\u989D",span:24,field:"denomination"},{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,u as convertInvoiceTitleData,_ as invoice_columns,m as order_detail_columns,b as useColumns};
|