sf_web_dist/js/single_fee_set.NaLvohUU.js
2025-08-06 17:52:35 +08:00

2 lines
1.7 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{D as e,ag as a,r as l,m as t,e as o,w as s,l as n,N as r,g as i,am as d,t as p,an as m,O as u,aX as c}from"./index.CcfFPdCK.js";import{_ as h}from"./index.CYCFCxoG.js";/* empty css */import"./el-col.eZKfrsN2.js";const g={class:"dialog-footer"},_={__name:"single_fee_set",props:{showSingleFeeSet:{type:Boolean,default:!1}},emits:["update:showSingleFeeSet"],setup(_,{emit:S}){const w=_;e(()=>w.showSingleFeeSet,e=>{});const F=a({columns:[{label:"接口名称",prop:"pay_type",slot:"name_slot"},{label:"批量费率",prop:"rate"},{label:"定制费率",prop:"rate",slot:"rate_slot"}],searchFields:[],tableData:[],loading:!1,selectData:[]});l([]);const f=S,b=()=>{f("update:showSingleFeeSet",!1)},y=()=>{f("update:showSingleFeeSet",!1)},v=()=>{};return(e,a)=>{const l=d,S=h,w=m,f=c;return o(),t(f,{"model-value":_.showSingleFeeSet,title:"费率设置",width:"60vw",onClose:b},{footer:s(()=>[n("div",g,[r(w,{type:"primary",onClick:y},{default:s(()=>a[1]||(a[1]=[u(" 提交保存 ")])),_:1,__:[1]})])]),default:s(()=>[a[2]||(a[2]=n("div",null,"注费率为千分位例如千分之一则填0.001",-1)),r(S,{type:"export",columns:i(F).columns,searchFields:i(F).searchFields,"onUpdate:searchFields":a[0]||(a[0]=e=>i(F).searchFields=e),data:i(F).tableData,onGetTableData:v,loading:i(F).loading,showSelection:!1,showRightRefreshSlot:!1,paginationSlot:!1},{name_slot:s(({row:e})=>[n("span",null,p(e.name),1)]),rate_slot:s(({row:e})=>[r(l,{modelValue:e.rate,"onUpdate:modelValue":a=>e.rate=a,placeholder:"请输入费率"},null,8,["modelValue","onUpdate:modelValue"])]),_:1},8,["columns","searchFields","data","loading"])]),_:1,__:[2]},8,["model-value"])}}};export{_ as default};