sf_web_dist/js/supplier-info.1758794293670DCnI0jqM.js

2 lines
13 KiB
JavaScript
Raw Normal View History

2025-09-25 17:59:26 +08:00
import{b2 as e,bt as a,r as l,ag as t,b4 as o,dj as r,c as n,e as s,N as i,w as p,l as u,dl as c,an as d,O as m,t as _,bb as g,g as y,c9 as h,aX as w,aO as v,a_ as f,ai as b,ds as D,dt as F}from"./index.1758794293670DRca_LNe.js";import{_ as k}from"./index.1758794293670DsvQaTdZ.js";/* empty css */import C from"./merge-list.1758794293670CeLKwD_Y.js";import j from"./bind-aircraft.1758794293670Bfa44HMO.js";import P from"./add-reduce-prepayment.1758794293670yfWCPJeR.js";import x from"./prepayment-log.1758794293670B7-qdfm-.js";import R from"./deposit-channels-set.1758794293670CbRLdw5v.js";import{g as S,c as B,e as U,a as A}from"./payee-suppiler.1758794293670DBSBmv7V.js";import{b as L}from"./payee-order.1758794293670D0KCBXIG.js";import{p as V}from"./common.1758794293670CCwWzMi9.js";/* empty css */import"./el-col.1758794293670DfZGrFW1.js";import"./el-text.1758794293670Bjmzq1r-.js";import"./el-card.1758794293670DvASFxV7.js";import"./settlement-log.1758794293670CWP7RSDs.js";import"./payee-count.1758794293670RfqJAmBX.js";import"./add-channel.1758794293670NxrjjxtK.js";import"./channel-code.1758794293670DgdC0NsJ.js";import"./single_fee.1758794293670CE_r8W7K.js";import"./test_channel.1758794293670B0aMCbsI.js";import"./el-link.1758794293670zWIYavYw.js";import"./fee-risk.1758794293670C4wVFpdS.js";import"./el-time-select.1758794293670Ci990YHz.js";import"./copy-channel.1758794293670CzCd83jD.js";import"./sub-channel.1758794293670KJmSZTdC.js";import"./sub-channel-add.1758794293670D3r18i1Q.js";import"./sub-channel-fee.1758794293670DsyJqvim.js";import"./sub-channel-risk.1758794293670CpbqhNnN.js";import"./channel-fee.1758794293670DK6RX2pW.js";import"./channel-risk.1758794293670D7hny5Ik.js";import"./staticData.17587942936708wZxkmL4.js";const T={style:{"margin-bottom":"4px"}},I=e({__name:"supplier-info",setup(e){a({legacy:!0});let I=[],M=l("create_time"),z=l("DESC");const O=l("日切清账,关闭通道"),q=l("warning"),E=l("0"),N=t({columns:[{prop:"id",label:"ID",align:"center",width:"80"},{prop:"shop_id",label:"供应商编号",align:"center",width:"100"},{prop:"supplier_name",label:"供应商名称",align:"center"},{prop:"telegram_group",label:"飞机群ID",align:"center"},{prop:"warn_money",label:"预警金额",align:"center",formatter:V},{prop:"credit_money",label:"授信额度",align:"center",formatter:V},{prop:"prepay",label:"预付",align:"center",sortable:"custom",slot:"sum_money_slot"},{prop:"money",label:"跑量",align:"center",sortable:"custom",formatter:V},{prop:"prepay_money",label:"剩余预付",align:"center",slot:"prepay_money_slot",sortable:!0},{prop:"count_money",label:"应下发",align:"center",slot:"count_money_slot",sortable:!0},{prop:"status",label:"状态",align:"center",slot:"status_slot",width:"80"},{prop:"create_time",label:"注册时间",align:"center"},{prop:"ca",label:"操作",align:"center",slot:"operate_slot",width:"240px"}],tableData:[],searchFields:[{prop:"supplier_query",label:"供应商编号/名称",type:"input",value:""}],total:0,page:1,per_page:50,loading:!1,showAddSupplierDialog:!1,addForm:{title:"添加供应商",fields:[{label:"供应商名称",type:"input",prop:"supplier_name",value:""},{label:"预警金额",type:"input_num",prop:"warn_money",value:""},{label:"授信额度",type:"number",prop:"credit_money",value:""},{label:"网关地址",type:"input",prop:"gateway",value:""},{label:"页面通知",type:"input",prop:"notify_url",value:""},{label:"接口类名称",type:"input",prop:"class_name",value:""},{label:"商户id",type:"input",prop:"mer_id",value:""},{label:"密钥",type:"input",prop:"mer_key",value:""},{label:"回调IP白名单",type:"textarea",prop:"callback_white_ip",value:"",htmlTxt:"<el-text type='danger'>使用英文,分割</el-text>"},{label:"扩展字段",type:"input",prop:"extend",value:""}],rules:{},values:{supplier_name:"",warn_money:"",credit_money:"",gateway:"",notify_url:"",class_name:"",mer_id:"",mer_key:"",callback_white_ip:"",extend:"",id:""}},showMergeSupplierDialog:!1,mergeForm:{title:"合并供应商",fie