WokerTask/public/admin/assets/depositList.078fea02.js

2 lines
4.1 KiB
JavaScript
Raw Normal View History

2024-01-12 13:48:06 +08:00
import{w as P,P as S,Q as $,J as N,R as q}from"./element-plus.ff90c99c.js";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{u as j}from"./vue-router.6d4cf914.js";import{u as A}from"./usePaging.bd7a7dec.js";import{u as I}from"./useDictOptions.e92d912f.js";import{a as Q}from"./index.000b0758.js";import{a as J,p as W}from"./company.e86935db.js";import{d as g,r as f,$ as y,o as v,c as z,R as G,u as a,P as w,Q as s,W as e,U as C,a as m,V as H,j as K,T as M,n as O}from"./@vue.f8dfc830.js";import"./lodash.3e731b89.js";import{d as X}from"./dict.20fb4260.js";import{_ as Y}from"./voucher.vue_vue_type_script_setup_true_name_withdrawEdit_lang.7af16a2c.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./axios.c2babb35.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";import"./index.37ed0e1b.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import"./useMenuOa.5a97be16.js";import"./wx_oa.03004836.js";const Z={class:"mt-4"},tt={style:{display:"flex"}},ot={class:"flex mt-4 justify-end"},et=g({name:"financeCompanyLists"}),oo=g({...et,setup(at){Q();const h=j(),u=f(!1),c=f(null),D=async o=>{var t,r;u.value=!0,await O(),(t=c.value)==null||t.open("edit"),(r=c.value)==null||r.setFormData(o)},l=y({id:"",company_name:"",master_name:"",master_phone:""}),b=()=>{J({id:d.company_id}).then(o=>{for(const t in l)o[t]!=null&&o[t]!=null&&(l[t]=o[t])})},B=o=>{window.open(o)},d=y({company_id:""});h.query.company_id&&(d.company_id=h.query.company_id,b());const E=y({dictTypeLists:[]});(async()=>{const o=await X({type_id:6});E.dictTypeLists=o.lists})();const F=f([]),k=o=>{F.value=o.map(({id:t})=>t)},{dictData:T}=I(""),{pager:n,getLists:_,resetParams:st,resetPage:nt}=A({fetchFun:W,params:d});return _(),(o,t)=>{const r=P,i=S,L=$,x=U,V=N,R=q;return v(),z("div",null,[G((v(),w(V,{class:"!border-none",shadow:"never"},{default:s(()=>[e(r,{type:"primary",onClick:t[0]||(t[0]=p=>D(a(l)))},{default:s(()=>[C("\u6DFB\u52A0\u51ED\u8BC1")]),_:1}),m("div",Z,[e(L,{data:a(n).lists,onSelectionChange:k},{default:s(()=>[e(i,{label:"ID",prop:"id","show-overflow-tooltip":"",width:"80"}),e(i,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_name",width:"300","show-overflow-tooltip":""},{default:s(()=>[m("span",null,H(a(l).company_name),1)]),_:1}),e(i,{label:"\u5145\u503C\u91D1\u989D",prop:"deposit",width:"180","show-overflow-tooltip":""}),e(i,{label:"\u51ED\u8BC1\u5730\u5740",prop:"voucher","show-overflow-tooltip":""}),e(i,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time",width:"200","show-overflow-tooltip":""}),e(i,{label:"\u66F4\u65B0\u65F6\u95F4",prop:"update_time",width:"200","show-overflow-tooltip":""}),e(i,{label:"\u64CD\u4F5C",align:"center",width:"100",fixed:"right"},{default:s(({row:p})=>[m("div",tt,[e(r,{type:"primary",link:"",onClick:rt=>B(p.voucher)},{default:s(()=>[C(" \u67E5\u770B\u51ED\u8BC1 ")]),_:2},1032,["onClick"])])]),_:1})]),_:1},8,["data"])]),m("div",ot,[e(x,{modelValue:a(n),"onUpdate:modelValue":t[1]||(t[1]=p=>K(n)?n.value=p:null),onChange:a(_)},null,8,["modelValue","onChange"])])]),_:1})),[[R,a(n).loading]]),a(u)?(v(),w(Y,{key:0,ref_key:"editRef",ref:c,"dict-data":a(T),onSuccess:a(_),onClose: