sf_web_dist/js/supplier-info.1759069352542amdJT2Oe.js

2 lines
13 KiB
JavaScript
Raw Normal View History

2025-09-28 22:23:46 +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,dt as D,du as F}from"./index.1759069352542Bij64OaO.js";import{_ as k}from"./index.1759069352542D3JwrnmU.js";/* empty css */import C from"./merge-list.1759069352542DlpDQqdm.js";import j from"./bind-aircraft.1759069352542BRBQJMqa.js";import P from"./add-reduce-prepayment.17590693525423N7-BsOp.js";import R from"./prepayment-log.1759069352542BL76aA1p.js";import x from"./deposit-channels-set.1759069352542DOFRedDe.js";import{g as S,c as B,e as U,a as A}from"./payee-suppiler.1759069352542DT1dqhMH.js";import{b as L}from"./payee-order.1759069352542D2DJQT3W.js";import{p as V}from"./common.1759069352542CCwWzMi9.js";/* empty css */import"./el-col.1759069352542D9VM-Ys4.js";import"./el-text.1759069352542DlSNHOjR.js";import"./el-card.1759069352542DoRgbiNx.js";import"./settlement-log.1759069352542ewuuoOfq.js";import"./payee-count.1759069352542DlXLNf4j.js";import"./add-channel.1759069352542Ce6iT-LI.js";import"./channel-code.1759069352542CYzSd2cL.js";import"./single_fee.1759069352542BIk7Mcmx.js";import"./test_channel.1759069352542CfgAwCj2.js";import"./el-link.1759069352542v5AJKrqz.js";import"./fee-risk.1759069352542Ckf9WZUx.js";import"./el-time-select.1759069352542d6QJuTHj.js";import"./copy-channel.1759069352542-MagbLks.js";import"./sub-channel.1759069352542CIoMH42Z.js";import"./sub-channel-add.1759069352542C_t6oZDI.js";import"./sub-channel-fee.1759069352542nzRMHy1W.js";import"./sub-channel-risk.1759069352542CBoe8CWC.js";import"./channel-fee.1759069352542CO3j-9ts.js";import"./channel-risk.1759069352542Dxrs6gCQ.js";import"./staticData.17590693525428wZxkmL4.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