sf_web_dist/js/pay-order.1760609072598C0C8nQlZ.js

2 lines
18 KiB
JavaScript
Raw Normal View History

2025-10-16 18:05:44 +08:00
import{b3 as e,bu as l,aP as t,ag as a,bU as i,bn as s,ce as n,a_ as d,c as o,e as r,N as c,w as u,l as v,al as p,O as m,E as _,t as f,m as b,g,n as h,R as y,ap as k,a7 as I,a8 as w,bw as L,bP as T,an as x,aX as C,bS as $,a$ as D,aO as F}from"./index.1760609072598q9Sy2noV.js";import{E as S}from"./el-drawer.1760609072598Bkl8muta.js";import{E as j}from"./el-popover.1760609072598cwwi7Qyw.js";import{_ as E}from"./index.17606090725985gYAagaP.js";import{g as U,c as V,r as B,e as q,s as z,h as O,f as P,b as R,i as N}from"./order.1760609072598ef0gG7JE.js";import"./dropdown.1760609072598C-aX3uW5.js";/* empty css */import"./el-col.1760609072598DqRLSgPN.js";const G={key:0},W={key:0},X={key:0},A={class:"cell-btn cl-3"},H={class:"cell-btn cl-3"},J={class:"cell-btn cl-3"},K={key:0,class:"cell-btn cl-3"},M={class:"green"},Q={class:"check"},Y=["src"],Z={class:"operate"},ee=["onClick"],le=["onClick"],te=["onClick"],ae=["onClick"],ie=["onClick"],se={class:"tab-content","element-loading-background":"rgba(122, 122, 122, 0.8)"},ne={class:"item"},de={class:"item"},oe={class:"item"},re={class:"item"},ce={class:"item"},ue={class:"item"},ve={class:"btn"},pe={key:0,class:"red"},me={class:"item"},_e={class:"item"},fe={class:"item"},be={class:"item"},ge={class:"item"},he={class:"item"},ye={class:"item"},ke={class:"item"},Ie={class:"btn"},we={class:"item"},Le={class:"btn"},Te={key:0,class:"green"},xe={key:0,class:"item"},Ce={class:"blue"},$e={class:"item"},De={class:"btn"},Fe={class:"item"},Se={class:"item"},je={class:"item"},Ee={class:"item"},Ue={class:"item"},Ve={class:"item max"},Be={class:"item"},qe={class:"tab-content"},ze={class:"item"},Oe={class:"item"},Pe={class:"item"},Re={class:"item"},Ne={class:"item"},Ge={class:"item"},We={class:"btn"},Xe={class:"red"},Ae={class:"item"},He={class:"btn"},Je={key:0,class:"red"},Ke={key:0,class:"item max"},Me={class:"dialog-footer"},Qe=e({__name:"pay-order",setup(e){const{copy:Qe}=l({legacy:!0}),Ye=e=>{Qe(e).then(()=>{F.success("复制成功")})},Ze=t(),el="/api";function ll(e){return $(1e3*e)}const tl=e=>e?`${Number(e).toFixed(2)}`:"0.00",al=(e,l)=>{let t="";return e.forEach(e=>{e.value==l&&(t=e.label)}),t},il=e=>e?e.split(","):[],sl=e=>e.startsWith("http"),nl=a({columns:[{prop:"id",label:"编号",width:60,align:"center"},{prop:"mer_order_sn",label:"商户订单号",slot:"mer_order_sn",width:262},{prop:"mer_name",label:"商户账号",width:100,align:"center",slot:"mer_name"},{prop:"ms_name",label:"代理账号",width:100,align:"center",slot:"ms_name"},{prop:"amount",label:"订单金额",width:120,align:"center",formatter:tl},{prop:"channel_name",label:"通道",width:100,align:"center"},{prop:"sk_payee",label:"收款人姓名",width:120,align:"center"},{prop:"sk_account",label:"收款账号",width:120,align:"center",slot:"sk_account"},{prop:"sk_bank",label:"收款银行",width:120,align:"center"},{prop:"status",label:"代付状态",width:120,align:"center",slot:"status"},{prop:"order_sn",label:"系统订单号",width:180,slot:"order_sn"},{prop:"is_settlement",label:"结算状态",width:120,align:"center",slot:"is_settlement"},{prop:"return_status",label:"回调状态",width:120,align:"center",slot:"return_status"},{prop:"return_type",label:"回调类型",width:120,align:"center",slot:"return_type"},{prop:"create_time",label:"创建时间",width:148,align:"center",fixed:"right",formatter:ll},{prop:"receive_time",label:"接单时间",width:148,align:"center",formatter:ll},{prop:"success_time",label:"成功时间",width:148,align:"center",formatter:ll},{prop:"operate",label:"操作",width:280,slot:"operate",align:"center",fixed:"right"}],tableData:[],searchFields:[{label:"系统订单号",type:"input",prop:"order_sn",value:""},{prop:"mer_order_sn",label:"商户订单号",type:"input",value:""},{prop:"mer_id",label:"商户号",type:"input",value:""},{prop:"mer_name",label:"商户账号",type:"input",value:""},{prop:"ms_id",label:"代理ID",type:"input",value:""},{prop:"ms_name",label:"代理账号",type:"input",value:""},{prop:"sk_payee",label:"收款人姓名",type:"input