2 lines
4.0 KiB
JavaScript
2 lines
4.0 KiB
JavaScript
import{L as y,M as f,O as j}from"./element-plus.258bf9e7.js";import{a as w}from"./contract.4f8a540d.js";import{d as x}from"./contract_negotiation.1907410e.js";import{r as l,a0 as b,o as S,c as L,a as p,V as t,M as h,W as N}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";const E=p("div",{class:"tit"},"\u4E3B\u5408\u540C",-1),U={style:{margin:"10px 0"}},B=p("div",{class:"tit",style:{margin:"20px 0"}},"\u5408\u540C\u6D3D\u5546",-1),V={style:{margin:"10px 0"}},ut={__name:"contract",props:{project_id:Number},setup(z){const s=z,m=l([]),_=l([]),c=l(0),g=l(0);l(0);const r=b({page_size:10,page_no:1,project_id:s.project_id}),i=b({page_size:10,page_no:1,project_id:s.project_id}),C=()=>{w(r).then(o=>{m.value=o.lists,c.value=o.count})},v=()=>{x(i).then(o=>{_.value=o.lists,g.value=o.count})};return C(),v(),(o,a)=>{const e=y,u=f,d=j;return S(),L(N,null,[E,p("div",null,[t(u,{data:m.value,stripe:"",style:{width:"100%"}},{default:h(()=>[t(e,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_name",width:"180"}),t(e,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_code",width:"180"}),t(e,{label:"\u5408\u540C\u7C7B\u578B",prop:"contract_type_text"}),t(e,{label:"\u8D1F\u8D23\u4EBA",prop:"business_director_name"}),t(e,{label:"\u7B7E\u7EA6\u65E5\u671F",prop:"contract_date"}),t(e,{label:"\u5408\u540C\u91D1\u989D",prop:"amount"}),t(e,{label:"\u6D3D\u5546\u91D1\u989D",prop:"negotiation_amount"}),t(e,{label:"\u5B9E\u9645\u5408\u540C\u91D1\u989D",prop:"reality_contract_amount"}),t(e,{label:"\u5DF2\u56DE\u6B3E",prop:"returned_amount"}),t(e,{label:"\u672A\u56DE\u6B3E",prop:"not_returned_amount"}),t(e,{label:"\u5DF2\u5F00\u7968",prop:"invoicing_amount"}),t(e,{label:"\u672A\u5F00\u7968",prop:"not_invoicing_amount"})]),_:1},8,["data"])]),p("div",U,[t(d,{"current-page":r.page_no,"onUpdate:current-page":a[0]||(a[0]=n=>r.page_no=n),"page-size":r.page_size,"onUpdate:page-size":a[1]||(a[1]=n=>r.page_size=n),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:c.value,onSizeChange:o.handleSizeChange19,onCurrentChange:o.handleCurrentChange19},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])]),B,p("div",null,[t(u,{data:_.value,stripe:"",style:{width:"100%"}},{default:h(()=>[t(e,{label:"\u6D3D\u5546\u7F16\u53F7",prop:"negotiation_no",width:"180"}),t(e,{label:"\u6D3D\u5546\u5355\u540D\u79F0",prop:"negotiation_name",width:"180"}),t(e,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_code"}),t(e,{label:"\u6D3D\u5546\u7C7B\u522B",prop:"negotiation_type"}),t(e,{label:"\u7B7E\u7EA6\u65E5\u671F",prop:"contract_date"}),t(e,{label:"\u4E1A\u52A1\u8D1F\u8D23\u4EBA",prop:"business_director"}),t(e,{label:"\u6D3D\u5546\u91D1\u989D",prop:"negotiation_amount"})]),_:1},8,["data"])]),p("div",V,[t(d,{"current-page":i.page_no,"onUpdate:current-page":a[2]||(a[2]=n=>i.page_no=n),"page-size":i.page_size,"onUpdate:page-size":a[3]||(a[3]=n=>i.page_size=n),"page-sizes":[10,20,30,40],layout:"total, sizes, prev, pager, next, jumper",total:g.value,onSizeChange:o.handleSizeChange20,onCurrentChange:o.handleCurrentChange20},null,8,["current-page","page-size","total","onSizeChange","onCurrentChange"])])],64)}}};export{ut as default};
|