2025-10-17 15:16:42 +08:00
|
|
|
import{b3 as e,bu as a,r as l,ag as t,b5 as o,dm as r,c as n,e as s,N as i,w as p,l as u,dp as c,an as d,O as m,t as _,bc as g,g as y,ca as h,aX as w,aO as v,a$ as f,ai as b,dw as D,dx as F}from"./index.1760685172143ChvXXrGI.js";import{_ as k}from"./index.1760685172143Dni7r4WH.js";/* empty css */import C from"./merge-list.1760685172143p-_CeUDt.js";import j from"./bind-aircraft.1760685172143th8J4VUb.js";import P from"./add-reduce-prepayment.1760685172143BaOh0AsI.js";import x from"./prepayment-log.1760685172143CJ7SlfCI.js";import R from"./deposit-channels-set.1760685172143Cgcf_vtz.js";import{g as S,c as B,e as U,a as A}from"./payee-suppiler.1760685172143BcM-yu6o.js";import{b as L}from"./payee-order.1760685172143DETmi6OO.js";import{p as T}from"./common.1760685172143CCwWzMi9.js";/* empty css */import"./el-col.1760685172143CNfdOm1y.js";import"./el-text.1760685172143BWHdRXwV.js";import"./el-card.1760685172143C9ni9Ma5.js";import"./settlement-log.17606851721438nKPOY1K.js";import"./payee-count.1760685172143BSj-1vb_.js";import"./add-channel.1760685172143DskpMstp.js";import"./channel-code.1760685172143CvuMQSvc.js";import"./single_fee.1760685172143C2uaB8Ru.js";import"./test_channel.1760685172143vJ6IzQ6q.js";import"./el-link.1760685172143CAlom18E.js";import"./fee-risk.17606851721435Yb_WYlr.js";import"./el-time-select.1760685172143Swox6cQP.js";import"./copy-channel.1760685172143CHwgw0jO.js";import"./sub-channel.1760685172143vOdwpMi4.js";import"./sub-channel-add.1760685172143bcl0CJ67.js";import"./sub-channel-fee.1760685172143Ci9Izh3Z.js";import"./sub-channel-risk.1760685172143BU4ZYXy-.js";import"./channel-fee.1760685172143q42X0haj.js";import"./channel-risk.1760685172143BVN2mYri.js";import"./staticData.1760685172143ieVX5Cz9.js";const V={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("日切清账,关闭通道"),E=l("warning"),q=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:T},{prop:"credit_money",label:"授信额度",align:"center",formatter:T},{prop:"prepay",label:"预付",align:"center",sortable:"custom",slot:"sum_money_slot"},{prop:"money",label:"跑量",align:"center",sortable:"custom",formatter:T},{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
|