2 lines
7.6 KiB
JavaScript
2 lines
7.6 KiB
JavaScript
|
import{_ as e}from"./index.C0qNlhAg.js";import{bI as t,ag as a,bW as o,D as l,b6 as r,be as n,c as s,e as p,N as i,w as c,l as d,n as u,t as _,al as m,O as h,E as g,an as b,g as v,bX as f,bu as w,b0 as y}from"./index.CdJvoTx6.js";import j from"./taobao-order-operate-template.BiEdhkpA.js";import k from"./order-taobao-top-info.BjSMPIWd.js";import{q as F,r as S}from"./account.CfRjrgQr.js";import{e as C,f as x,g as N,h as T,i as D}from"./commonOptions.BXNQD0nW.js";import"./el-col.ClkmM6PT.js";import"./el-card.DAai3P6g.js";import"./el-tab-pane.BA0Jp1qS.js";import"./service.CV64Tgc4.js";import"./dropdown.DgrauNqp.js";import"./deposit.CTFjCmxZ.js";import"./merchant.Ddo0FO83.js";const E={key:0},A={key:1},z={__name:"order-taobao-list",props:{channel_id:{type:[Number,String],default:""}},setup(z){const{copy:I}=t({legacy:!0});let O=[],R=[],U=[],q=[],B=[];const G=z,K=a({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:O},{label:"商户名称",type:"select",prop:"merchant_id",value:"",options:R},{label:"服务商名称",type:"select",prop:"service_id",value:"",options:U},{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:q},{label:"通知状态",type:"select",prop:"notify_status",value:"",options:B},{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});l(()=>G.channel_id,e=>{const t=K.searchFields.findIndex(e=>"channel_name"==e.prop);-1!==t&&(K.searchFields[t].value=e)},{immediate:!0});const P=e=>{K.seletedCloums=e},W=()=>{y.confirm("是否确认批量补发通知?","系统提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{K.loading=!0;const e=K.seletedCloums.map(e=>e.id).filter(e=>void 0!==e);S({id:e}).then(()=>{w.success("批量补发通知成功"),L(),K.loadi
|