index.9fa50e99.js 3.3 KB

1
  1. import{_ as f,d as c,o,c as F,l as E,m as s,aN as i,G as _,a as b,am as e,aR as m,bX as t,bY as n,J as d}from"./index.js";const B={class:"flex flex-col"},A=c({__name:"index",props:{tradeInfo:{type:Object,required:!0}},setup(l){const p=[{label:"\u8D44\u91D1\u7F16\u7801",span:6,field:"tradNo"},{label:"\u56DE\u6B3E\u7C7B\u578B",span:6,render(a,u){return e(m,{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(t,{content:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801:"+u.companyNo,placement:"top"},{default:()=>e(n,{icon:d("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(t,{content:"\u6536\u6B3E\u65B9\u516C\u53F8\u7F16\u7801:"+u.trade_in_code,placement:"top"},{default:()=>e(n,{icon:d("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"}],r=[{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(t,{content:"\u7A0E\u76EE\u7F16\u7801:"+u.cat_code,placement:"top"},{default:()=>e(n,{icon:d("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)=>(o(),F("div",B,[E(s(i),{class:"mb-[20px]",data:l.tradeInfo,columns:p},null,8,["data"]),l.tradeInfo&&l.tradeInfo.trade_type==1?(o(),_(s(i),{key:0,data:l.tradeInfo,columns:r},null,8,["data"])):b("v-if",!0)]))}});var C=f(A,[["__scopeId","data-v-457fbeae"],["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/components/FundDetail/index.vue"]]);export{C as F};