2 lines
3.9 KiB
JavaScript
2 lines
3.9 KiB
JavaScript
import{I as k,y as x,w as E,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{a as c}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 u}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=u("\u67E5\u8BE2"),R=u("\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_no:""}),{pager:l,getLists:i,resetParams:f,resetPage:w}=F({fetchFun:c,params:n});return i(),(K,r)=>{const h=k,s=x,m=E,g=z,b=B,t=L,v=T,C=P,y=j,V=N;return _(),M("div",null,[O((_(),U(y,{class:"!border-none",shadow:"never"},{default:a(()=>[o(b,{class:"mb-[-16px]",inline:""},{default:a(()=>[o(s,{label:"\u5408\u540C\u7F16\u7801",prop:"contract_no"},{default:a(()=>[o(h,{class:"w-[280px]",modelValue:n.contract_no,"onUpdate:modelValue":r[0]||(r[0]=p=>n.contract_no=p),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(s,null,{default:a(()=>[o(m,{type:"primary",onClick:e(w)},{default:a(()=>[q]),_:1},8,["onClick"]),o(m,{onClick:e(f)},{default:a(()=>[R]),_:1},8,["onClick"]),o(g,{class:"ml-2.5","fetch-fun":e(c),params:n,"page-size":e(l).size},null,8,["fetch-fun","params","page-size"])]),_:1})]),_:1}),d("div",A,[o(v,{data:e(l).lists,"default-sort":{prop:"create_time",order:"descending"}},{default:a(()=>[o(t,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_no","show-overflow-tooltip":""}),o(t,{label:"\u4F9B\u5E94\u5546\u7F16\u53F7",width:250,prop:"supplier_code","show-overflow-tooltip":""}),o(t,{label:"\u4F9B\u5E94\u5546\u540D\u79F0",prop:"supplier_name","show-overflow-tooltip":""}),o(t,{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u9879\u76EE\u7F16\u53F7",prop:"project_code",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u7B7E\u8BA2\u65E5\u671F",prop:"signing_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\u4ED8\u6B3E\u91D1\u989D",prop:"has_payment_amount",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u5DF2\u6536\u7968\u91D1\u989D",prop:"has_receipt_amount",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u5DF2\u6536\u7968\u672A\u4ED8\u6B3E\u91D1\u989D",prop:"has_receipt_not_payment_amount",align:"center","show-overflow-tooltip":""}),o(t,{label:"\u5DF2\u4ED8\u6B3E\u672A\u6536\u7968\u91D1\u989D",prop:"has_payment_not_receipt_amount",align:"center","show-overflow-tooltip":""})]),_:1},8,["data"])]),d("div",G,[o(C,{modelValue:e(l),"onUpdate:modelValue":r[1]||(r[1]=p=>$(l)?l.value=p:null),onChange:e(i)},null,8,["modelValue","onChange"])])]),_:1})),[[V,e(l).loading]])])}}});export{zo as default};
|