sf_web_dist/js/pay-order-workinig.1756459140674CuX0CgeK.js

2 lines
14 KiB
JavaScript
Raw Normal View History

2025-08-29 17:20:14 +08:00
import{b2 as e,bs as l,ag as t,bS as a,bm as i,cc as s,aZ as n,c as d,e as o,N as r,w as c,l as u,O as v,E as m,t as _,m as p,al as b,g,n as f,R as h,bN as k,bW as y,a7 as I,a8 as w,bX as L,an as C,aX as T,bQ as $,a_ as D,aO as F}from"./index.17564591406745lmpCs6q.js";import{E as x}from"./el-drawer.1756459140674CTmvPSHw.js";import{E as j}from"./el-popover.1756459140674DJtqTLxn.js";import{_ as V}from"./index.17564591406749F8tamFh.js";import{g as E,c as U,r as S,a as q,b as N,f as O,d as W}from"./order.1756459140674q7BbbmZ9.js";import"./dropdown.1756459140674BNqM6PHN.js";/* empty css */import"./el-col.1756459140674Gn9OdUhz.js";const z={key:0},B={key:0},R={key:0},X={class:"cell-btn cl-3"},Z={class:"cell-btn cl-3"},G={key:0,class:"cell-btn cl-3"},P={class:"green"},Q={class:"check"},Y=["src"],A={class:"operate"},H=["onClick"],J=["onClick"],K=["onClick"],M={class:"tab-content","element-loading-background":"rgba(122, 122, 122, 0.8)"},ee={class:"item"},le={class:"item"},te={class:"item"},ae={class:"item"},ie={class:"item"},se={class:"btn"},ne={key:0,class:"red"},de={class:"item"},oe={class:"item"},re={class:"item"},ce={class:"item"},ue={class:"item"},ve={class:"item"},me={class:"item"},_e={class:"btn"},pe={key:0,class:"green"},be={class:"item"},ge={class:"btn"},fe={class:"item"},he={class:"item"},ke={class:"item"},ye={class:"item"},Ie={class:"item"},we={class:"tab-content"},Le={class:"item"},Ce={class:"item"},Te={class:"item"},$e={class:"btn"},De={class:"red"},Fe={class:"item"},xe={class:"btn"},je={key:0,class:"red"},Ve={class:"select"},Ee={class:"dialog-footer"},Ue=e({__name:"pay-order-workinig",setup(e){const{copy:Ue}=l({legacy:!0}),Se=e=>{Ue(e).then(()=>{F.success("复制成功")})},qe="/api";function Ne(e){return $(1e3*e)}const Oe=e=>e?`${Number(e).toFixed(2)}`:"0.00",We=(e,l)=>{let t="";return e.forEach(e=>{e.value==l&&(t=e.label)}),t},ze=e=>e.startsWith("http"),Be=t({columns:[{prop:"id",label:"编号",width:60,align:"center"},{prop:"mer_order_sn",label:"商户订单号",slot:"mer_order_sn",width:262},{prop:"order_sn",label:"系统订单号",width:220,slot:"order_sn"},{prop:"mer_name",label:"商户账号",width:100,align:"center",slot:"mer_name"},{prop:"amount",label:"订单金额",width:120,align:"center",formatter:Oe},{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:"create_time",label:"创建时间",width:148,align:"center",fixed:"right",formatter:Ne},{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",value:""},{prop:"sk_account",label:"收款账号",type:"input",value:""},{prop:"sk_bank",label:"收款银行",type:"input",value:""},{prop:"create_time",label:"创建时间",type:"date",dateType:"datetimerange",value:a()}],total:0,page:1,limit:10,amount:0,loading:!1,channelList:[],orderStatusList:[],orderCallbackStatusList:[{label:"未回调",value:1},{label:"回调成功",value:2},{label:"回调失败",value:3}],returnTypeList:[{label:"系统回调",value:1},{label:"平台补单",value:2},{label:"代理回调",value:3},{label:"上游回调",value:4},{label:"平台确认",value:5},{label:"商户确认",value:6}],drawer:!1,detailInfo:{},showDialog:!1,selectInfo:{},btnLoading:!1,detailLoading:!0,srcList:[],dialogTitle:"审核订单",dialogType:1,ms_id:null,msList:[]}),Re=()=>{Be.searchFields.forEach(e=>{"datetimer