TmallWeb-dist/js/order-taobao-list.CGFUUmBL.js

2 lines
8.2 KiB
JavaScript
Raw Normal View History

2025-08-12 19:25:40 +08:00
import{_ as e}from"./index.jIRxhgtO.js";import{bI as t,r as a,ag as l,bW as o,D as r,b6 as n,be as s,c as p,e as i,N as c,w as d,l as u,n as _,t as m,E as h,al as g,O as v,an as b,g as f,bX as y,bu as w,b0 as j}from"./index.B15cfAC-.js";import{T as k,E as S}from"./taobao-order-operate-template.DnCeFXFE.js";import x from"./order-taobao-top-info.bWMgMAgF.js";import{q as F,r as C}from"./account.CkkGrZ3x.js";import{e as N,f as T,g as D,h as E,i as R}from"./commonOptions.Bg5eYzS6.js";import"./el-col.BihFfJBL.js";import"./el-card.BP-nyCiW.js";import"./el-tab-pane.D0NkwZcG.js";import"./service.C5-0HxTQ.js";import"./dropdown.C3slpOpD.js";import"./deposit.DtrRvojR.js";import"./merchant.EQxlzML3.js";const A={key:0},I={key:1},z={key:0},O={style:{display:"flex","align-items":"center","justify-content":"center"}},U={__name:"order-taobao-list",props:{channel_id:{type:[Number,String],default:""}},setup(U){const{copy:q}=t({legacy:!0}),B=a(null);let G=[],K=[],W=[],P=[],X=[];const H=U,J=l({seletedCloums:[],columns:[{prop:"channel",label:"通道名称",width:100,align:"center",slot:"channelNameSolt"},{prop:"taobao_id",label:"淘宝单号",width:260,align:"center"},{prop:"recharge_account",label:"充值账号",align:"center"},{prop:"order_no",label:"系统单号/商户单号",width:320,align:"center",slot:"order_no_slot"},{prop:"merchant",label:"商户名称",width:100,align:"center",slot:"merchantNameSolt"},{prop:"service",label:"服务商名称",width:100,align:"center",slot:"serviceNameSolt"},{prop:"product_name",label:"商品名称",width:100,align:"center"},{prop:"sku_id",label:"商品编码",width:110,align:"center"},{prop:"order_amount",label:"订单金额",width:90,align:"center"},{prop:"actual_amount",label:"实收金额",width:90,align:"center"},{prop:"status",label:"订单状态",width:100,align:"center",slot:"status_slot"},{prop:"notify_status",label:"通知状态",width:100,align:"center",slot:"notify_status_slot"},{prop:"created_at",label:"下单时间",width:150,align:"center"},{prop:"completed_at",label:"完成时间",width:150,align:"center"},{prop:"notify_time",label:"通知时间",width:150,align:"center"},{prop:"remark",label:"备注",width:100,align:"center"},{prop:"merchant_fee",label:"商户手续费",width:100,align:"center"},{prop:"merchant_actual",label:"商户实收",width:90,align:"center"},{prop:"shop",label:"收款店铺",width:100,align:"center",slot:"shop_name_slot"},{prop:"recharge_account_remark",label:"收款账号备注",width:120,align:"center"},{prop:"service",label:"上级服务商",width:100,align:"center",slot:"parent_service_name_slot"},{prop:"user_ip",label:"用户IP",width:100,align:"center"},{prop:"payment_link",label:"付款链接",align:"center"},{prop:"operate",label:"操作",width:440,align:"center",slot:"operate",fixed:"right"}],tableData:[],searchFields:[{label:"通道名称",type:"select",prop:"channel_name",value:"",options:G},{label:"商户名称",type:"select",prop:"merchant_id",value:"",options:K},{label:"服务商名称",type:"select",prop:"service_id",value:"",options:W},{prop:"created_at",label:"下单时间",type:"date",dateType:"datetimerange",value:o()},{prop:"completed_at",label:"完成时间",type:"date",dateType:"datetimerange",value:[]},{label:"订单状态",type:"select",prop:"status",value:"",options:P},{label:"通知状态",type:"select",prop:"notify_status",value:"",options:X},{label:"系统单号",prop:"order_no",type:"input",value:""},{label:"商户单号",prop:"merchant_order_no",type:"input",value:""},{label:"淘宝单号",prop:"taobao_id",type:"input",value:""},{label:"商品名称",prop:"product_name",type:"input",value:""},{label:"充值账号",prop:"recharge_account",type:"input",value:""}],total:0,page:1,per_page:10,loading:!1});r(()=>H.channel_id,e=>{const t=J.searchFields.findIndex(e=>"channel_name"==e.prop);-1!==t&&(J.searchFields[t].value=e)},{immediate:!0});const L=e=>{J.seletedCloums=e},M=()=>{j.confirm("是否确认批量补发通知?","系统提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{J.loading=!0;const e=J.se