PageSourceSearch

https://game05.com/assets/theme-0/SettlementStatusIndex.1kfaiDZo.js

js game05.com collected 2026-10-04 18:31:47 UTC 10,555 bytes, 1 lines download raw bytes

1import{B as Z}from"./2_ReportChunk.DkjHb9XP.js";import{n as C,A as T,fY as S,qn as p,i8 as J,a2 as K,aH as Q,fB as O,fC as I,bj as X,qo as M,tg as ee,b$ as te,dL as le,mq as ae,dj as ne,rm as oe,bo as se,a3 as re}from"./commonChunk.NaF3o1Ou.js";import{x as E,f as N}from"./vendorChunk.DAT6JrsC.js";import{au as ie,b1 as ue,aw as F,av as D,aD as ce}from"./0_EntryLoginRegisterChunk.CrIfjdaf.js";import{l as be,c as d,d as j,e,O as _,r as R,s as pe,F as me,j as de}from"../vendors/vendor-stable.C7xqpJ6l.js";import{I as q,M as _e}from"./2_NoticePageChunk.Dekl1Kyf.js";import{P as fe}from"./0_WithdrawChunk.Br6jEtvg.js";import"./0_RechargeDialogsChunk.ZTypCM84.js";import"./1_RechargeDialogsChunk.BWyj8aLQ.js";import"./1_AgentCenterChunk.D2gdgCWC.js";import"../vendors/vendor-swiper.DSkbGEu5.js";import"./1_PromoteChunk.D6eLHg8S.js";import"./1_MineChunk.BY1paOKb.js";import"./1_PromotionChunk.B9F99oTu.js";import"./1_SubGameChunk.BXLYQCx7.js";import"./1_SearchSubGameChunk.D4RsSZGz.js";import"./1_SearchGameChunk.PMSthjB4.js";const ve=t=>C.request({url:"/api/club/settleOrder/detail",method:"POST",data:{billNo:t}},{crypto:{enable:!0}}),ge=t=>C.request({url:"/api/club/settleOrder/settle",method:"POST",data:t},{crypto:{enable:!0}}),ye=t=>C.request({url:"/api/club/margin/dealTypeList",method:"POST",data:t},{crypto:{enable:!0},cache:{useCache:"fresh",setCache:!0}}),he=()=>C.request({url:"/api/club/settleOrder/waitingCount",method:"post"},{crypto:{enable:!0}}),we=be("club-bill",()=>{const{t}=T(),{data:c,execute:v}=S((i=0)=>ye({origin:2,marginType:i}),{immediate:!0}),{data:g,execute:f}=S(he,{immediate:!0}),a=d(()=>{if(!c.value)return[];const i=c.value.map(m=>{var o,k;return{key:(o=m.dealType)!=null?o:"",content:(k=m.dealTypeDesc)!=null?k:""}});return[{key:0,content:t("lobby.club.allBillChangeType")},...i]});return{billChangeType:a,getBillChangeType:v,getBillChangeTypeContent:i=>{if(!i||!a.value.length)return;const m=a.value.find(o=>o.key===i);return m==null?void 0:m.content},pendingCount:g,getPendingCount:f}}),u={"bill-popover":"_bill-popover_j20pf_91","bill-popover-item":"_bill-popover-item_j20pf_96","bill-popover-label":"_bill-popover-label_j20pf_103","bill-popover-value":"_bill-popover-value_j20pf_107","wh-icon":"_wh-icon_j20pf_112"},ke=j({props:{data:{type:Object,required:!0},placement:{type:String,default:"top-start"}},setup(t){const{t:c}=T(),v=d(()=>{const g=parseFloat(getComputedStyle(document.documentElement).fontSize)||37.5,f=i=>i/37.5*g,a=f(8),b=f(6);return t.placement.endsWith("-end")?[a,b]:t.placement.endsWith("-start")?[-a,b]:[0,b]});return()=>e(ie,{trigger:"click",placement:t.placement,offset:v.value,showArrow:!0,closeOnClickOutside:!0},{reference:()=>e("div",{class:u["wh-icon"]},[e(q,{type:"?",size:16,color:"white"},null)]),default:()=>e("div",{class:u["bill-popover"]},[e("div",{class:u["bill-popover-item"]},[e("span",{class:u["bill-popover-label"]},[c("lobby.club.clubGameBillTotal"),_(":")]),e("span",{class:u["bill-popover-value"]},[p(t.data.battleBill)])]),e("div",{class:u["bill-popover-item"]},[e("span",{class:u["bill-popover-label"]},[c("lobby.club.nativeGameBill"),_(":")]),e("span",{class:u["bill-popover-value"]},[p(t.data.wgBill)])]),e("div",{class:u["bill-popover-item"]},[e("span",{class:u["bill-popover-label"]},[c("lobby.club.thirdPartyGameBill"),_(":")]),e("span",{class:u["bill-popover-value"]},[p(t.data.thirdBill)])])])})}}),Se="_left_1oenb_104",Ce="_number_1oenb_133",l={"info-section":"_info-section_1oenb_91","info-row":"_info-row_1oenb_96",left:Se,"info-label":"_info-label_1oenb_110","info-value":"_info-value_1oenb_121","info-bill-no":"_info-bill-no_1oenb_126",number:Ce,"info-date":"_info-date_1oenb_140","info-date-range":"_info-date-range_1oenb_149","info-date-cycle":"_info-date-cycle_1
1oenb_153","info-pending":"_info-pending_1oenb_161","info-current-bill":"_info-current-bill_1oenb_169","info-bottom-row":"_info-bottom-row_1oenb_177","info-bottom-left":"_info-bottom-left_1oenb_184","info-bottom-right":"_info-bottom-right_1oenb_192","settle-header":"_settle-header_1oenb_198","settle-title":"_settle-title_1oenb_205","settle-input-wrap":"_settle-input-wrap_1oenb_210","settle-input-value":"_settle-input-value_1oenb_214","settle-input-max":"_settle-input-max_1oenb_219","settle-meta":"_settle-meta_1oenb_226","settle-meta-left":"_settle-meta-left_1oenb_234","settle-meta-right":"_settle-meta-right_1oenb_240","settle-meta-label":"_settle-meta-label_1oenb_246","settle-meta-value":"_settle-meta-value_1oenb_250","settle-meta-available":"_settle-meta-available_1oenb_254","pwd-header":"_pwd-header_1oenb_259","pwd-label":"_pwd-label_1oenb_266","pwd-toggle":"_pwd-toggle_1oenb_271","pwd-input":"_pwd-input_1oenb_277","remark-section":"_remark-section_1oenb_281","remark-label":"_remark-label_1oenb_285","remark-textarea":"_remark-textarea_1oenb_290","remark-input":"_remark-input_1oenb_295","remark-paste-btn":"_remark-paste-btn_1oenb_301"};function Be(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!de(t)}const Ge=j({setup(){const{t}=T(),c=J(),v=we(),g=K("Lv1"),f=R(),a=pe({settleAmount:"",remark:"",passwd:""}),{visible:b,openOptions:i,onDialogOpen:m}=Q("clubSettlementStatus"),{data:o,placeholderType:k,execute:L}=S(ve),{isLoading:U,error:W,execute:G}=S(ge),y=R(!0),z=1,x=d(()=>{var s;return((s=o.value)==null?void 0:s.settleStatus)===z}),A=d(()=>x.value?t("lobby.club.earlySettlement"):t("lobby.club.settlement")),V=d(()=>x.value?t("lobby.club.earlySettleRemark"):t("lobby.club.settleRemark")),h=d(()=>o.value?new E(o.value.currentBill||0).minus(o.value.currentSettleBill||0).plus(o.value.lastUnsettleBill||0).toString():"0"),P=d(()=>!N(h.value).isLessThan(0)),$=d(()=>!o.value||!o.value.totalMargin?"0":new E(o.value.availableMargin||0).div(o.value.totalMargin).times(100).toFixed(0)),B=()=>{var s;b.value&&((s=i.value)!=null&&s.billNo)&&L(i.value.billNo)};m(B);const H=async()=>{const s=P.value?Number(a.settleAmount):void 0;await G({billNo:o.value.billNo,passwd:a.passwd,remark:a.remark||void 0,settleAmount:s}),W.value||(re({type:"success",message:t("lobby.club.actionSucessTips.base")}),c.needReloadTabMap[Z.Tab.Management]=!0,v.getPendingCount(),b.value=!1)},Y=s=>{s&&(a.remark=(a.remark||"")+s)};return O.on(I.PAY_ORDER_SUCCESS_NOTICE,B),O.on(I.WITHDRAW_ORDER_SUCCESS_NOTICE,B),()=>{let s;const r=o.value;return e(_e,{show:b.value,"onUpdate:show":n=>b.value=n,loading:U.value,onClose:()=>{a.settleAmount="",a.remark="",a.passwd="",y.value=!0},title:A.value,buttons:r?[{text:t("lobby.club.cancel"),plain:!0},{text:t("lobby.club.confirm"),closeModalOnClick:!1,onClick:()=>{var n;return(n=f.value)==null?void 0:n.submit()}}]:void 0},{default:()=>[e(X,{type:k.value,empty:{text:t("lobby.event.luckyWheel.tabs.noData")}},{default:()=>[r&&e(ue,{ref:f,onSubmit:H,layout:"vertical"},{default:()=>[e("div",{class:l["info-section"]},[e("div",{class:l["info-row"]},[e("span",{class:l["info-bill-no"]},[e("span",{class:l.number},[r.billNo]),e(q,{type:"copy",text:r.billNo,size:24},null)]),e("span",{class:l["info-date"]},[e("span",{class:l["info-date-range"]},[M(r.settleStartTime,!1),_(" -")," ",M(r.settleEndTime,!1)]),e("span",{class:l["info-date-cycle"]},[_("("),ee().getContent(r.settlePeriod),_(")")])])]),e("div",{class:l["info-row"]},[e("span",{class:l.left},[e("span",{class:l["info-label"]},[t("lobby.club.pendingSettlement")]),e("span",{class:l["info-pending"]},[p(h.value)])]),e("span",{class:l["info-current-bill"]},[e("span",{class:l["info-label"]},[t("lobby.club.currentBill")]),e("span",{class:l["info-value"]},[p(r.currentBill)]),e(ke,{data:r,placement:"top-end"},null)])]),e("div",{class:l["info-bottom-row"]},[e("span",{class:l["info-bottom-left"]},[e("span",{class:l["info-label"]},[t("lobby.club.currentSettled")]),e("span",{class:l["info-value"]},[p(r.currentSettleBill)])]),e("span",{class:l["info-bottom-right"]},[e("span",{class:l["info-label"]},[t("lobby.club.lastUnsettled")]),e("span",{class:l["info-value"]},[p(r.lastUnsettleBill)])])])]),P.value&&e(me,null,[e("div",{class:l["settle-header"]},[e("span",{class:l["settle-title"]},[A.value]),g.value&&c.isMarginMode&&e(te,{class:ae("base/button"),size:"small",onClick:()=>
1le({openType:"overlay",options:{payEntryId:ne.CLUB_MANAGEMENT}})},Be(s=t("lobby.club.recharge"))?s:{default:()=>[s]})]),e("div",{class:l["settle-input-wrap"]},[e(F,{name:"settleAmount",required:!0,noStyle:!0,rules:[n=>n?Number(n)<=0?t("lobby.club.errorTips.settlementAmountBelowZero"):!0:`${t("lobby.club.settlementAmount")}${t("lobby.common.formRules.requiredWithoutItem")}`]},{default:()=>[e(D,{inputClass:l["settle-input-value"],value:a.settleAmount,"onUpdate:value":n=>a.settleAmount=n,type:"number",ignores:["+","-","e"],placeholder:t("lobby.club.placeholder.settlementAmount"),onBlur:()=>{var w;let n=a.settleAmount;n&&N(n).isGreaterThan(h.value)&&(n=h.value),a.settleAmount=(w=oe(n))!=null?w:""}},{suffix:()=>e("span",{class:l["settle-input-max"],onClick:()=>{a.settleAmount=h.value}},[t("lobby.club.max")])})]})]),e("div",{class:l["settle-meta"]},[e("span",{class:l["settle-meta-left"]},[e("span",{class:l["settle-meta-label"]},[c.isMarginMode?t("lobby.club.depositText"):t("lobby.club.creditLimit")]),e("span",{class:l["settle-meta-value"]},[p(r.totalMargin)])]),e("span",{class:l["settle-meta-right"]},[e("span",{class:l["settle-meta-label"]},[t("lobby.club.availableProportion")]),e("span",{class:l["settle-meta-available"]},[p(r.availableMargin)]),e("span",{class:l["settle-meta-label"]},[_("("),$.value,_("%)")])])])]),e("div",{class:l["pwd-header"]},[e("span",{class:l["pwd-label"]},[t("lobby.common.components.auth.withdrawal.label")]),e(se,{onClick:()=>{y.value=!y.value},src:y.value?"/lobby_asset/common/web/common/comm_icon_hide.svg":"/lobby_asset/common/web/common/comm_icon_show.svg",class:l["pwd-toggle"]},null)]),e("div",{class:l["pwd-input"]},[e(F,{name:"passwd",required:!0,noStyle:!0,rules:n=>!n||n.length<6?t("lobby.club.placeholder.managerWithdrawPass"):!0,validateTrigger:"onBlur"},{default:()=>[e(fe,{length:"6",modelValue:a.passwd,"onUpdate:modelValue":n=>a.passwd=n,mask:y.value},null)]})]),e("div",{class:l["remark-section"]},[e("span",{class:l["remark-label"]},[V.value]),e("div",{class:l["remark-textarea"]},[e(D,{type:"textarea",value:a.remark,"onUpdate:value":n=>a.remark=n,maxlength:255,placeholder:t("lobby.club.placeholder.remark"),inputClass:l["remark-input"],onBlur:()=>{var n,w;a.remark=(w=(n=a.remark)==null?void 0:n.trim())!=null?w:""}},null),e(ce,{tag:"span",class:l["remark-paste-btn"],onPaste:Y},null)])])]})]})]})}}});export{Ge as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.