sf_web_dist/js/channel-fee.1758536141893CRbfq-V0.js
2025-09-22 18:17:15 +08:00

2 lines
1.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{r as e,ag as a,m as l,e as t,w as o,N as n,bp as s,g as r,bq as p,am as d,O as m,l as u,an as f,aX as c}from"./index.1758536141893COfOBoB8.js";import{E as i}from"./el-card.1758536141893CS-CjjNF.js";import{E as h}from"./el-text.1758536141893BvF4YkE7.js";const b={class:"dialog-footer"},_={__name:"channel-fee",props:{showChannelFee:{type:Boolean,default:!1},currentRow:{type:Object,default:{}}},emits:["update:showChannelFee"],setup(_,{emit:y}){e([]),e([]),e([]);const w=a({mode:"single",type:["1","2"]});e([]),e([]),e([]),e([{label:"全部供应商",value:"all"}]),e(!1),a({payChannelId:"",costRate:.001,agentRate:0,agentChannel:""}),e(!1),e(!1),a({columns:[{label:"通道ID",prop:"ID"},{label:"通道名称",prop:"name"},{label:"成功率",prop:"name"},{label:"费率",prop:"name"},{label:"权重1-999999999",prop:"name"},{label:"通道ID",prop:"name"}],searchFields:[],tableData:[],selectData:[]});const g=e(),v=y,C=()=>{v("update:showChannelFee",!1)},R=()=>{g.value.validate(e=>{e&&v("confirm",g.value.model)})};return(e,a)=>{const y=d,v=p,x=h,D=i,F=s,j=f,I=c;return t(),l(I,{"model-value":_.showChannelFee,title:"费率",width:"600px","before-close":C,ref_key:"channelRef",ref:g},{footer:o(()=>[u("div",b,[n(j,{type:"primary",onClick:R},{default:o(()=>a[3]||(a[3]=[m(" 提交保存 ")])),_:1,__:[3]})])]),default:o(()=>[n(F,{model:r(w),"label-width":"auto"},{default:o(()=>[n(D,{style:{"margin-bottom":"12px"}},{header:o(()=>a[1]||(a[1]=[m(" T+0费率 ")])),default:o(()=>[n(v,{label:"成本费率"},{default:o(()=>[n(y,{modelValue:r(w).costRate,"onUpdate:modelValue":a[0]||(a[0]=e=>r(w).costRate=e),type:"number",placeholder:"请输入成本费率"},null,8,["modelValue"])]),_:1}),n(x,{type:"info"},{default:o(()=>a[2]||(a[2]=[m("单位:‰,渠道的成本费率千分之一填 0.001")])),_:1,__:[2]})]),_:1})]),_:1},8,["model"])]),_:1},8,["model-value"])}}};export{_ as default};