Files
aiot-platform-ui/apps/web-antd/dist/js/index-Bc5FAUmo.js

2 lines
7.9 KiB
JavaScript
Raw Normal View History

2026-03-25 16:05:53 +08:00
var V=Object.defineProperty,z=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var W=(t,e,a)=>e in t?V(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,k=(t,e)=>{for(var a in e||(e={}))K.call(e,a)&&W(t,a,e[a]);if(R)for(var a of R(e))M.call(e,a)&&W(t,a,e[a]);return t},A=(t,e)=>z(t,j(e));var d=(t,e,a)=>new Promise((b,c)=>{var u=l=>{try{p(a.next(l))}catch(x){c(x)}},S=l=>{try{p(a.throw(l))}catch(x){c(x)}},p=l=>l.done?b(l.value):Promise.resolve(l.value).then(u,S);p((a=a.apply(t,e)).next())});import{bv as Y,au as H,aC as J,az as Q,bt as X,a9 as g,$ as Z}from"./bootstrap-Cs_ukuUC.js";import"./vxe-table-DSSEYvYa.js";import{g as ee,a as ae,p as te}from"./index-JgsTtBzC.js";import{g as re}from"./index-Cgs1Skk9.js";import{g as le}from"./rangePickerProps-BemLOpVs.js";import{D as O}from"./dict-enum-CaHgMaDZ.js";import{b9 as h,m as oe,ab as B,b2 as _,bJ as w,j as m,u as i,ae as v,d1 as I,ad as C,I as $,bb as E,bp as P,ai as ie,L as ne}from"../jse/index-index-BQSou8bA.js";import{_ as N}from"./summary-card.vue_vue_type_script_setup_true_lang--5v6hvoI.js";import{_ as se}from"./table-action.vue_vue_type_script_setup_true_lang-COAg83TB.js";import{_ as ce}from"./page.vue_vue_type_script_setup_true_lang-DjQGJDx7.js";import{u as ue}from"./use-vxe-grid-CbSOYI0W.js";import{D as L}from"./biz-mall-enum-Bmxc7Ei7.js";import{b as pe}from"./AlertBuilder-Erio6wBA.js";import"./dict-tag.vue_vue_type_script_setup_true_lang-BW2Qx0j0.js";import"./count-to-animator.vue_vue_type_script_setup_true_lang-CYttPhZx.js";import"./index-CAZ1Z4wo.js";import"./circle-check-big-CWWAMhML.js";import"./x-D_RCjpXq.js";const D=Y(),y=h([]);re().then(t=>{var a;y.value=t;const e=(a=D==null?void 0:D.userInfo)==null?void 0:a.id;y.value=y.value.filter(b=>{var c;return(c=b.verifyUserIds)==null?void 0:c.includes(e)})});function de(){var t;return[{fieldName:"createTime",label:"创建时间",component:"RangePicker",componentProps:A(k({},le()),{allowClear:!0})},{fieldName:"pickUpStoreIds",label:"自提门店",component:"Select",componentProps:{options:y,labelField:"name",valueField:"id",placeholder:"请选择自提门店"},defaultValue:(t=y.value[0])==null?void 0:t.id},{fieldName:"no",label:"订单号",component:"Input",componentProps:{placeholder:"请输入订单号",allowClear:!0}},{fieldName:"userId",label:"用户 UID",component:"Input",componentProps:{placeholder:"请输入用户 UID",allowClear:!0}},{fieldName:"userNickname",label:"用户昵称",component:"Input",componentProps:{placeholder:"请输入用户昵称",allowClear:!0}},{fieldName:"userMobile",label:"用户电话",component:"Input",componentProps:{placeholder:"请输入用户电话",allowClear:!0}}]}function me(){return[{field:"no",title:"订单号",fixed:"left",minWidth:180},{field:"user.nickname",title:"用户信息",minWidth:100},{field:"brokerageUser.nickname",title:"推荐人信息",minWidth:100},{field:"spuName",title:"商品信息",minWidth:300,slots:{default:"spuName"}},{field:"payPrice",title:"实付金额(元)",formatter:"formatAmount2",minWidth:180},{field:"storeStaffName",title:"核销员",minWidth:160},{field:"pickUpStoreId",title:"核销门店",minWidth:160,formatter:({row:t})=>{var e;return((e=y.value.find(a=>a.id===t.pickUpStoreId))==null?void 0:e.name)||""}},{field:"payStatus",title:"支付状态",cellRender:{name:"CellDict",props:{type:O.INFRA_BOOLEAN_STRING}},minWidth:80},{field:"status",title:"订单状态",cellRender:{name:"CellDict",props:{type:O.TRADE_ORDER_STATUS}},minWidth:80},{field:"createTime",title:"下单时间",formatter:"formatDateTime",minWidth:160}]}const fe={class:"flex flex-row gap-4"},ge={class:"flex flex-col gap-2"},ve={class:"flex flex-1 flex-col gap-1"},he={class:"text-sm"},ye={class:"flex flex-wrap gap-1"},be={class:"text-xs text-gray-500"},Le=oe({__name:"index",setup(t){const e=h();function a(){T.query()}function b(){return d(this,null,function*(){const r=yield T.formApi.getValues();r.deliveryType=L.PICK_UP.type,e.value=yield ae(r)})}func