import{d as r,o as d,c as f,h as c,i as o,ca as s,A as F,a as _,_ as E,af as e,ce as b,dl as l,dm as n,D as t}from"./index.js";const m={class:"flex flex-col"},B=r({__name:"index",props:{tradeInfo:{type:Object,required:!0}},setup(A){const i=[{label:"\u8D44\u91D1\u7F16\u7801",span:6,field:"tradNo"},{label:"\u56DE\u6B3E\u7C7B\u578B",span:6,render(a,u){return e(b,{size:"small"},{default:()=>u.trade_type=="1"?"\u5E73\u53F0\u516C\u53F8\u56DE\u6B3E":"\u4E1A\u52A1\u516C\u53F8\u56DE\u6B3E"})}},{label:"\u521B\u5EFA\u4EBA",field:"apply_name",span:6},{label:"\u521B\u5EFA\u65F6\u95F4",field:"addtime",span:6},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",span:12,render(a,u){return e("div",{style:"display:flex"},{default:()=>[e(l,{content:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801:"+u.companyNo,placement:"top"},{default:()=>e(n,{icon:t("information-line"),link:!0,type:"info"})}),u.companyName]})}},{field:"total_fee",label:"\u4E1A\u52A1\u516C\u53F8\u6536\u5165\u603B\u4EF7",span:6},{field:"trade_time",label:"\u4EA4\u6613\u65F6\u95F4",span:6},{label:"\u6536\u6B3E\u65B9\u516C\u53F8\u540D\u79F0",span:12,render(a,u){return e("div",{style:"display:flex"},{default:()=>[e(l,{content:"\u6536\u6B3E\u65B9\u516C\u53F8\u7F16\u7801:"+u.trade_in_code,placement:"top"},{default:()=>e(n,{icon:t("information-line"),link:!0,type:"info"})}),u.trade_in]})}},{span:12,label:"\u6536\u6B3E\u65B9\u516C\u53F8\u8D26\u53F7",field:"trade_in_account"},{span:12,label:"\u5BA2\u6237\u4ED8\u6B3E\u4FE1\u606F",render(a,u){return u.trade_out+"-"+u.trade_out+"-"+u.trade_in_account}},{span:12,label:"\u5BA2\u6237\u673A\u6784\u540D\u79F0",field:"customerName"},{span:8,label:"\u603B\u91D1\u989D",field:"total_fee"},{span:8,label:"\u672A\u8BA4\u9886\u91D1\u989D",field:"balance"},{span:8,label:"\u5DF2\u8BA4\u9886\u91D1\u989D",field:"used_fee"},{span:24,label:"\u5BA2\u6237PO",field:"poCode"},{span:24,field:"NdCode",label:"\u5BA2\u6237DN"},{span:24,label:"\u6279\u6B21\u53F7",field:"pcCode"},{span:24,label:"\u4EA4\u6613\u7528\u9014",field:"trade_used"}],p=[{label:"\u6CF0e\u8D2DSKU",span:6,field:"skuCode"},{label:"\u4EA7\u54C1\u6570\u91CF",span:6,field:"goodNum"},{label:"\u4E1A\u52A1\u516C\u53F8\u6536\u5165\u5355\u4EF7",span:6,field:"comPrice"},{label:"\u4E1A\u52A1\u516C\u53F8\u6536\u5165\u603B\u4EF7",span:6,field:"com_total"},{label:"\u5E73\u53F0\u7269\u6599\u540D\u79F0",span:6,field:"goodName"},{label:"\u7A0E\u7387",span:6,field:"tax"},{label:"\u7A0E\u76EE\u540D\u79F0",span:12,render(a,u){return e("div",{style:"display:flex"},{default:()=>[e(l,{content:"\u7A0E\u76EE\u7F16\u7801:"+u.cat_code,placement:"top"},{default:()=>e(n,{icon:t("information-line"),link:!0,type:"info"})}),u.cat_name]})}},{label:"\u5E73\u53F0\u91C7\u8D2DPO",span:12,field:"palt_po"},{label:"\u5E73\u53F0\u6536\u5165\u5355\u4EF7",span:6,field:"platPrice"},{label:"\u5E73\u53F0\u6536\u5165\u603B\u4EF7",span:6,field:"plat_total"},{label:"\u5546\u54C1\u552F\u4E00\u7F16\u53F7(\u91C7\u9500365\u5546\u54C1\u7F16\u53F7)",span:12,field:"goodNo"},{label:"\u5355\u4F4D",span:6,field:"unit"}];return(a,u)=>(d(),f("div",m,[c(o(s),{class:"mb-[20px]",data:a.tradeInfo,columns:i},null,8,["data"]),a.tradeInfo&&a.tradeInfo.trade_type==1?(d(),F(o(s),{key:0,data:a.tradeInfo,columns:p},null,8,["data"])):_("v-if",!0)]))}});var C=E(B,[["__scopeId","data-v-457fbeae"],["__file","D:/work/jiesuan/settle-vue3/src/components/FundDetail/index.vue"]]);export{C as F};
