engineering/public/admin/assets/index.c0ec6929.js
2024-02-27 10:28:16 +08:00

2 lines
4.4 KiB
JavaScript

import{I as j,y as N,G as P,H as T,w as U,D as I,C as S,L as M,M as O,N as q}from"./element-plus.517d4382.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang.5ae95555.js";import{u as H}from"./usePaging.f6660143.js";import{u as R}from"./useDictOptions.b5854a9e.js";import{d as W}from"./administrativePayments.5a7447d7.js";import"./lodash.1d82ee7c.js";import"./index.8b1962e9.js";import{d as w,a0 as $,r as z,o as i,c as f,V as o,M as t,O as J,u as n,L as v,W as K,a8 as Q,a as E,k as X,T as b}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const Y=b("\u67E5\u8BE2"),Z=b("\u91CD\u7F6E"),oo={class:"mt-4"},eo={class:"flex justify-end mt-4"},to=w({name:"projectLists"}),Go=w({...to,setup(lo){const u=$({commitor:"",invoice_no:"",invoice_type:""}),F=z([]),h=m=>{F.value=m.map(({id:l})=>l)},{dictData:D}=R("pay_type"),{pager:p,getLists:s,resetParams:B,resetPage:y}=H({fetchFun:W,params:u});return s(),(m,l)=>{const c=j,r=N,C=P,V=T,_=U,g=I,d=S,e=M,x=O,k=G,A=q;return i(),f("div",null,[o(d,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(g,{class:"mb-[-16px]",model:u,inline:""},{default:t(()=>[o(r,{label:"\u63D0\u4EA4\u4EBA",prop:"commitor"},{default:t(()=>[o(c,{class:"w-[280px]",modelValue:u.commitor,"onUpdate:modelValue":l[0]||(l[0]=a=>u.commitor=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u63D0\u4EA4\u4EBA"},null,8,["modelValue"])]),_:1}),o(r,{label:"\u53D1\u7968\u7F16\u53F7",prop:"invoice_no"},{default:t(()=>[o(c,{class:"w-[280px]",modelValue:u.invoice_no,"onUpdate:modelValue":l[1]||(l[1]=a=>u.invoice_no=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u53D1\u7968\u7F16\u53F7"},null,8,["modelValue"])]),_:1}),o(r,{label:"\u53D1\u7968\u7C7B\u578B",prop:"invoice_type"},{default:t(()=>[o(V,{class:"w-[280px]",modelValue:u.invoice_type,"onUpdate:modelValue":l[2]||(l[2]=a=>u.invoice_type=a),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u53D1\u7968\u7C7B\u578B"},{default:t(()=>[(i(!0),f(K,null,Q(n(D).invoice_type,(a,L)=>(i(),v(C,{key:L,label:a.name,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),o(r,null,{default:t(()=>[o(_,{type:"primary",onClick:n(y)},{default:t(()=>[Y]),_:1},8,["onClick"]),o(_,{onClick:n(B)},{default:t(()=>[Z]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),J((i(),v(d,{class:"!border-none",shadow:"never"},{default:t(()=>[E("div",oo,[o(x,{data:n(p).lists,onSelectionChange:h},{default:t(()=>[o(e,{type:"selection",width:"55"}),o(e,{label:"\u5E8F\u53F7",type:"index",width:"55"}),o(e,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_no","show-overflow-tooltip":""}),o(e,{label:"\u5BA2\u6237\u540D\u79F0",prop:"project_code","show-overflow-tooltip":""}),o(e,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),o(e,{label:"\u9879\u76EE\u7F16\u7801",prop:"project_code","show-overflow-tooltip":""}),o(e,{label:"\u7B7E\u7EA6\u65E5\u671F",prop:"contract_name","show-overflow-tooltip":""}),o(e,{label:"\u5B9E\u9645\u5408\u540C\u91D1\u989D",prop:"supplier_name","show-overflow-tooltip":""}),o(e,{label:"\u5DF2\u56DE\u6B3E",prop:"apply_date","show-overflow-tooltip":""}),o(e,{label:"\u5DF2\u5F00\u7968",prop:"applier","show-overflow-tooltip":""}),o(e,{label:"\u5F00\u7968\u672A\u56DE\u6B3E",prop:"payment_amount","show-overflow-tooltip":""}),o(e,{label:"\u56DE\u6B3E\u672A\u5F00\u7968",prop:"invoice_amount","show-overflow-tooltip":""})]),_:1},8,["data"])]),E("div",eo,[o(k,{modelValue:n(p),"onUpdate:modelValue":l[3]||(l[3]=a=>X(p)?p.value=a:null),onChange:n(s)},null,8,["modelValue","onChange"])])]),_:1})),[[A,n(p).loading]])])}}});export{Go as default};