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

2 lines
8.2 KiB
JavaScript
Raw Normal View History

2025-08-12 15:35:38 +08:00
import{_ as e}from"./index.adeDTf70.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 i,e as p,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,cB as w,bu as j,b0 as k}from"./index.CmGrdvAP.js";import{T as S,E as x}from"./taobao-order-operate-template.XbIjQdj6.js";import F from"./order-taobao-top-info.C1zoO4kI.js";import{q as C,r as N}from"./account.CMX6ddUr.js";import{e as T,f as D,g as E,h as R,i as A}from"./commonOptions.shv58xqW.js";import"./el-col.JOk_BvTM.js";import"./el-card.CmSQpdPS.js";import"./el-tab-pane.7luWZy1M.js";import"./service.CiffTCuB.js";import"./dropdown.Bbzak-os.js";import"./deposit.BG6BWPvN.js";import"./merchant.BtK5Obkl.js";const I={key:0},z={key:1},B={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}),G=a(null);let K=[],W=[],P=[],X=[],H=[];const J=U,L=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:K},{label:"商户名称",type:"select",prop:"merchant_id",value:"",options:W},{label:"服务商名称",type:"select",prop:"service_id",value:"",options:P},{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:X},{label:"通知状态",type:"select",prop:"notify_status",value:"",options:H},{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(()=>J.channel_id,e=>{const t=L.searchFields.findIndex(e=>"channel_name"==e.prop);-1!==t&&(L.searchFields[t].value=e)},{immediate:!0});const M=e=>{L.seletedCloums=e},Q=()=>{k.confirm("是否确认批量补发通知?","系统提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{L.loading=!0;cons