2 lines
5.8 KiB
JavaScript
2 lines
5.8 KiB
JavaScript
|
import{B as M,C as j,Q as q,R as H,w as K,D as O,L as Q,M as z,I as G,N as J}from"./element-plus.44a1c90c.js";import{_ as W}from"./index.vue_vue_type_script_setup_true_lang.5dff64bd.js";import{u as X}from"./usePaging.160b82b8.js";import{a as Y}from"./useDictOptions.4f167d82.js";import{_ as Z,o as ee}from"./edit.vue_vue_type_style_index_0_lang.5616dbcc.js";import{d as C,s as oe,r as w,$ as B,af as te,o as i,c as b,M as h,u as r,K as d,L as l,R as le,U as e,V as ue,a7 as ae,a as E,k as re,S as D,n as se}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.d871e3e1.js";import"./axios.263e335e.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.600d25a3.js";import"./lodash.e8c2b926.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.49c13ae5.js";import"./color.6f36a052.js";import"./clone.0bac550d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.762f2b8b.js";import"./ms.a9ae1d6d.js";import"./nprogress.f7d60be2.js";import"./vue-clipboard3.536bdb56.js";import"./clipboard.cadf3e40.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";import"./index.92f6d7ca.js";const ne=D("\u67E5\u8BE2"),ie=D("\u91CD\u7F6E"),pe={class:"mt-4"},me=D("\u67E5\u770B"),de={class:"flex mt-4 justify-end"},ce=C({name:"flowTypeLists"}),Ze=C({...ce,setup(_e){const F=oe(),c=w(!1),u=B({order_sn:"",shop_name:"",user_name:"",shop_address:"",courier_name:"",status}),V=B([{name:"\u5F85\u63FD\u4EF6",id:0},{name:"\u914D\u9001\u4E2D",id:1},{name:"\u5DF2\u914D\u9001",id:2},{name:"\u5DF2\u5B8C\u6210",id:3},{name:"\u5DF2\u53D6\u6D88",id:4}]),g=w([]),x=s=>{g.value=s.map(({id:o})=>o)},y=(s,o,m)=>o.status==s;Y("");const{pager:p,getLists:_,resetParams:k,resetPage:A}=X({fetchFun:ee,params:u}),L=async s=>{var o;c.value=!0,await se(),(o=F.value)==null||o.open(s.id)};return _(),(s,o)=>{const m=M,n=j,U=q,R=H,f=K,S=O,a=Q,N=z,T=W,$=G,P=te("perms"),I=J;return i(),b("div",null,[h((i(),d($,{class:"!border-none",shadow:"never"},{default:l(()=>[e(S,{class:"mb-[-16px]",inline:""},{default:l(()=>[e(n,{label:"\u8BA2\u5355\u7F16\u53F7",prop:"company_id"},{default:l(()=>[e(m,{class:"w-[280px]",modelValue:u.order_sn,"onUpdate:modelValue":o[0]||(o[0]=t=>u.order_sn=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u7F16\u53F7"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u5546\u5BB6\u540D\u79F0",prop:"company_id"},{default:l(()=>[e(m,{class:"w-[280px]",modelValue:u.shop_name,"onUpdate:modelValue":o[1]||(o[1]=t=>u.shop_name=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u5BB6\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u4E0B\u5355\u7528\u6237\u540D\u79F0",prop:"company_id"},{default:l(()=>[e(m,{class:"w-[280px]",modelValue:u.user_name,"onUpdate:modelValue":o[2]||(o[2]=t=>u.user_name=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u5BB6\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u914D\u9001\u4EBA\u5458",prop:"company_id"},{default:l(()=>[e(m,{class:"w-[280px]",modelValue:u.courier_name,"onUpdate:modelValue":o[3]||(o[3]=t=>u.courier_name=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u914D\u9001\u4EBA\u5458\u59D3\u540D"},null,8,["modelValue"])]),_:1}),e(n,{label:"\u8BA2\u5355\u72B6\u6001",prop:"status"},{default:l(()=>[e(R,{class:"flex-1",modelValue:u.status,"onUpdate:modelValue":o[4]||(o[4]=t=>u.status=t),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u5C97\u4F4D"},{default:l(()=>[(i(!0),b(ue,null,ae(V,(t,v)=>(i(),d(U,{key:v,label:t.name,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(n,null,{default:l(()=>[e(f,{type:"primary",onClick:r(A)},{default:l(()=>[ne]),_:1},8,["onClick"]),e(f,{onClick:r(k)},{default:l(()=>[ie]),_:1},8,["onClic
|