2 lines
3.7 KiB
JavaScript
2 lines
3.7 KiB
JavaScript
import{I as V,y as k,w as E,D as x,L as y,M as B,C as L,N as T}from"./element-plus.4ff6f47d.js";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang.7dabd2cb.js";import{u as N}from"./usePaging.f6660143.js";import{f as P}from"./contract_ticket_difference.542e618e.js";import{d as F,a0 as I,o as m,c as D,O as M,u as a,L as O,M as e,V as o,a as _,k as U,T as d}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.fc5568d8.js";import"./axios.5b893b79.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.aaca920c.js";import"./lodash.8ea2174a.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.4cbccc26.js";import"./color.033abf8c.js";import"./clone.a6258514.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7eedf28f.js";import"./ms.a9ae1d6d.js";import"./nprogress.93182424.js";import"./vue-clipboard3.6a55d49e.js";import"./clipboard.2986c82d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const q=d("\u67E5\u8BE2"),R=d("\u91CD\u7F6E"),$={class:"mt-4"},z={class:"flex justify-end mt-4"},A=F({name:"flowTypeLists"}),To=Object.assign(A,{setup(G){const n=I({contract_code:""}),{pager:l,getLists:p,resetParams:u,resetPage:f}=N({fetchFun:P,params:n});return p(),(H,r)=>{const w=V,s=k,c=E,h=x,t=y,v=B,b=j,g=L,C=T;return m(),D("div",null,[M((m(),O(g,{class:"!border-none",shadow:"never"},{default:e(()=>[o(h,{class:"mb-[-16px]",inline:""},{default:e(()=>[o(s,{label:"\u5408\u540C\u7F16\u7801",prop:"contract_code"},{default:e(()=>[o(w,{class:"w-[280px]",modelValue:n.contract_code,"onUpdate:modelValue":r[0]||(r[0]=i=>n.contract_code=i),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(s,null,{default:e(()=>[o(c,{type:"primary",onClick:a(f)},{default:e(()=>[q]),_:1},8,["onClick"]),o(c,{onClick:a(u)},{default:e(()=>[R]),_:1},8,["onClick"])]),_:1})]),_:1}),_("div",$,[o(v,{data:a(l).lists,"default-sort":{prop:"create_time",order:"descending"}},{default:e(()=>[o(t,{label:"\u5408\u540C\u7F16\u53F7",width:250,prop:"contract_code","show-overflow-tooltip":""}),o(t,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name","show-overflow-tooltip":""}),o(t,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name","show-overflow-tooltip":""}),o(t,{label:"\u9879\u76EE\u7F16\u53F7",prop:"project_code",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u5BA2\u6237\u540D\u79F0",prop:"custom_name",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u7B7E\u8BA2\u65E5\u671F",prop:"contract_date",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u5408\u540C\u91D1\u989D",prop:"contract_amount",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u5DF2\u56DE\u6B3E\u91D1\u989D",prop:"has_refund_amount",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u5DF2\u5F00\u7968\u91D1\u989D",prop:"has_invoice_amount",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u5F00\u7968\u672A\u56DE\u6B3E\u91D1\u989D",prop:"has_invoice_not_refund_amount",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u56DE\u6B3E\u672A\u5F00\u7968\u91D1\u989D",prop:"has_refund_not_invoice_amount",align:"center","show-overflow-tooltip":""})]),_:1},8,["data"])]),_("div",z,[o(b,{modelValue:a(l),"onUpdate:modelValue":r[1]||(r[1]=i=>U(l)?l.value=i:null),onChange:a(p)},null,8,["modelValue","onChange"])])]),_:1})),[[C,a(l).loading]])])}}});export{To as default};
|