InvoiceTitle.7cca2a.js 2.2 KB

1
  1. import{_ as c,d as s,o as p,G as d,m as r,aN as b,a as m}from"./index.js";const o=[{label:"\u5206\u7EC4",minWidth:"80px",prop:"group",required:!0},{label:"\u53D1\u7968\u7C7B\u578B",minWidth:"140px",prop:"invtype",required:!0},{label:"\u7535\u5B50\u90AE\u7BB1",minWidth:"140px",prop:"email",required:!0},{label:"\u8BA2\u5355\u7F16\u53F7",minWidth:"140px",prop:"sequenceNo",required:!0},{label:"\u8BA2\u5355\u5E73\u53F0\u7C7B\u578B",minWidth:"120px",prop:"platform_type",required:!0},{label:"\u5F00\u7968\u91D1\u989D",minWidth:"160px",prop:"inv_fee",required:!0},{label:"\u5E73\u53F0\u91C7\u8D2DPO",minWidth:"160px",prop:"poCode",required:!0},{label:"\u72B6\u6001",minWidth:"100px",prop:"status",required:!1},{label:"\u5907\u6CE8",minWidth:"160px",prop:"remark",required:!1}],y=[{prop:"index",width:"50",fixed:"left",label:"\u5E8F\u53F7"},...o],h=e=>{var i;return(i=o.find(u=>u.label===e))==null?void 0:i.prop},k=o.filter(({required:e})=>!!e),x=o.reduce((e,i)=>({...e,[i.prop]:i.label}),{}),v=[{label:"\u62AC\u5934",span:24,field:"invoice_title"},{label:"\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",span:24,field:"invoice_code"}],E=e=>{const{company_address:i,mobile:u,company_license:t,bank_name:n,bankNo:a,company_name:l}=e;return{invoice_addr:i,invoice_mobile:u,invoice_code:t,invoice_bank:n,invoice_bankNo:a,invoice_title:l}},F=e=>{const{invoice_addr:i,invoice_mobile:u,invoice_code:t,invoice_bank:n,invoice_bankNo:a,invoice_title:l}=e;return{invoice_code:t,invoice_title:l,addrAndmobile:i+" "+u,bankAndBankNo:n+" "+a}},A=[{type:"info",label:"\u5F85\u521B\u5EFA",value:0},{type:"",label:"\u521B\u5EFA\u4E2D",value:1},{type:"success",label:"\u521B\u5EFA\u6210\u529F",value:2},{type:"danger",label:"\u521B\u5EFA\u5931\u8D25",value:3}],_=s({__name:"InvoiceTitle",props:{detail:{type:Object,required:!0}},setup(e){return(i,u)=>Object.keys(e.detail||{}).length!==0?(p(),d(r(b),{key:0,columns:r(v),"label-width":"130","col-number":1,data:e.detail},null,8,["columns","data"])):m("v-if",!0)}});var B=c(_,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/batchImportYunlong/InvoiceTitle.vue"]]),C=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"}));export{B as I,y as a,E as b,F as c,C as d,h as g,o as i,x as m,k as r,A as s};