2 lines
3.9 KiB
JavaScript
2 lines
3.9 KiB
JavaScript
import{I as x,y as E,w as y,D as B,L,M as T,C as j,N}from"./element-plus.258bf9e7.js";import{_ as P}from"./index.vue_vue_type_script_setup_true_lang.60e89e82.js";import{_ as z}from"./index.vue_vue_type_style_index_0_lang.e91ff55f.js";import{u as F}from"./usePaging.f6660143.js";import{f as m}from"./contract_ticket_difference.8f8b3305.js";import{d as I,a0 as D,o as _,c as M,O,u as e,L as U,M as a,V as o,a as d,k as $,T as f}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"./index.ec401e3b.js";import"./lodash.1d82ee7c.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.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";import"./index.9492d03b.js";const q=f("\u67E5\u8BE2"),R=f("\u91CD\u7F6E"),A={class:"mt-4"},G={class:"flex justify-end mt-4"},H=I({name:"flowTypeLists"}),zo=Object.assign(H,{setup(J){const n=D({contract_code:""}),{pager:l,getLists:p,resetParams:u,resetPage:w}=F({fetchFun:m,params:n});return p(),(K,r)=>{const h=x,s=E,c=y,v=z,g=B,t=L,b=T,C=P,V=j,k=N;return _(),M("div",null,[O((_(),U(V,{class:"!border-none",shadow:"never"},{default:a(()=>[o(g,{class:"mb-[-16px]",inline:""},{default:a(()=>[o(s,{label:"\u5408\u540C\u7F16\u7801",prop:"contract_code"},{default:a(()=>[o(h,{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:a(()=>[o(c,{type:"primary",onClick:e(w)},{default:a(()=>[q]),_:1},8,["onClick"]),o(c,{onClick:e(u)},{default:a(()=>[R]),_:1},8,["onClick"]),o(v,{class:"ml-2.5","fetch-fun":e(m),params:n,"page-size":e(l).size},null,8,["fetch-fun","params","page-size"])]),_:1})]),_:1}),d("div",A,[o(b,{data:e(l).lists,"default-sort":{prop:"create_time",order:"descending"}},{default:a(()=>[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"])]),d("div",G,[o(C,{modelValue:e(l),"onUpdate:modelValue":r[1]||(r[1]=i=>$(l)?l.value=i:null),onChange:e(p)},null,8,["modelValue","onChange"])])]),_:1})),[[k,e(l).loading]])])}}});export{zo as default};
|