2 lines
6.0 KiB
JavaScript
2 lines
6.0 KiB
JavaScript
import{w as z,y as R,D as M,C as q,L as I,M as O,N as U}from"./element-plus.517d4382.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang.5ae95555.js";import{f as H,a as J}from"./index.8b1962e9.js";import{u as K}from"./usePaging.f6660143.js";import{u as Q}from"./useDictOptions.b5854a9e.js";import{_ as W,a as X,b as Y}from"./edit.vue_vue_type_script_setup_true_name_projectProgressPaymentDetailEdit_lang.df9c29af.js";import"./lodash.1d82ee7c.js";import{d as D,s as Z,r as B,a0 as oo,ai as eo,o as s,c as to,V as o,M as t,O as _,u as r,L as p,S as ao,a as b,k as lo,T as n,n as C}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";import"./index.b17dae19.js";const uo=n("\u67E5\u8BE2"),ro=n("\u91CD\u7F6E"),so=n(" \u65B0\u589E "),io=n(" \u5220\u9664 "),po={class:"mt-4"},no=n(" \u7F16\u8F91 "),co=n(" \u5220\u9664 "),_o={class:"flex mt-4 justify-end"},mo=D({name:"projectProgressPaymentDetailLists"}),oe=D({...mo,setup(fo){const m=Z(),d=B(!1),h=oo({}),v=B([]),g=l=>{v.value=l.map(({id:a})=>a)},{dictData:y}=Q(""),{pager:c,getLists:f,resetParams:A,resetPage:j}=K({fetchFun:X,params:h}),k=async()=>{var l;d.value=!0,await C(),(l=m.value)==null||l.open("add")},P=async l=>{var a,u;d.value=!0,await C(),(a=m.value)==null||a.open("edit"),(u=m.value)==null||u.setFormData(l)},E=async l=>{await H.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await Y({id:l}),f()};return f(),(l,a)=>{const u=z,x=R,V=M,F=q,$=J,e=I,L=O,N=G,w=eo("perms"),S=U;return s(),to("div",null,[o(F,{class:"!border-none mb-4",shadow:"never"},{default:t(()=>[o(V,{class:"mb-[-16px]",model:h,inline:""},{default:t(()=>[o(x,null,{default:t(()=>[o(u,{type:"primary",onClick:r(j)},{default:t(()=>[uo]),_:1},8,["onClick"]),o(u,{onClick:r(A)},{default:t(()=>[ro]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),_((s(),p(F,{class:"!border-none",shadow:"never"},{default:t(()=>[_((s(),p(u,{type:"primary",onClick:k},{icon:t(()=>[o($,{name:"el-icon-Plus"})]),default:t(()=>[so]),_:1})),[[w,["project_process_management.project_progress_payment_detail/add"]]]),_((s(),p(u,{disabled:!v.value.length,onClick:a[0]||(a[0]=i=>E(v.value))},{default:t(()=>[io]),_:1},8,["disabled"])),[[w,["project_process_management.project_progress_payment_detail/delete"]]]),b("div",po,[o(L,{data:r(c).lists,onSelectionChange:g},{default:t(()=>[o(e,{type:"selection",width:"55"}),o(e,{label:"",prop:"project_progress_payment_id","show-overflow-tooltip":""}),o(e,{label:"\u6240\u5728\u76EE\u5F55",prop:"directory","show-overflow-tooltip":""}),o(e,{label:"\u5355\u4F4D\u5DE5\u7A0B\u540D\u79F0",prop:"unit_project_name","show-overflow-tooltip":""}),o(e,{label:"\u65F6\u95F4",prop:"time","show-overflow-tooltip":""}),o(e,{label:"\u5F62\u8C61\u8FDB\u5EA6",prop:"image_progress","show-overflow-tooltip":""}),o(e,{label:"\u7533\u62A5\u9020\u4EF7(\u571F\u5EFA)",prop:"declared_cost_tj","show-overflow-tooltip":""}),o(e,{label:"\u7533\u62A5\u9020\u4EF7(\u5B89\u88C5)",prop:"declared_cost_az","show-overflow-tooltip":""}),o(e,{label:"\u7533\u62A5\u9020\u4EF7(\u5176\u4ED6)",prop:"declared_cost_other","show-overflow-tooltip":""}),o(e,{label:"\u8FDB\u5EA6\u7533\u62A5\u9020\u4EF7\u5C0F\u8BA1",prop:"jdsbzj_xiaoji","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u6838\u9020\u4EF7(\u571F\u5EFA)",prop:"audit_cost_tj","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u6838\u9020\u4EF7(\u5B89\u88C5)",prop:"audit_cost_az","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u6838\u9020\u4EF7(\u5176\u4ED6)",prop:"audit_cost_other","show-overflow-tooltip":""}),o(e,{label:"\u8FDB\u5EA6\u5BA1\u6838\u9020\u4EF7\u5C0F\u8BA1",prop:"jdshzj_xiaoji","show-overflow-tooltip":""}),o(e,{label:"\u5BA1\u51CF\u989D(\u5143)",prop:"deduction_amount","show-overflow-tooltip":""}),o(e,{label:"\u5B8C\u6210\u4EA7\u503C\u6BD4\u4F8B(%)",prop:"completed_rate","show-overflow-tooltip":""}),o(e,{label:"\u5408\u540C\u5DE5\u7A0B\u6B3E\u603B\u989D",prop:"contract_total_amount","show-overflow-tooltip":""}),o(e,{label:"\u7D2F\u8BA1\u5B8C\u6210\u5DE5\u7A0B\u6B3E",prop:"ljwc_funds","show-overflow-tooltip":""}),o(e,{label:"\u5F53\u671F\u5E94\u4ED8\u5DE5\u7A0B\u6B3E(\u5143)",prop:"current_payable_funds","show-overflow-tooltip":""}),o(e,{label:"\u4ED8\u6B3E\u6BD4\u4F8B(%)",prop:"payment_rate","show-overflow-tooltip":""}),o(e,{label:"\u5408\u540C\u4ED8\u6B3E\u6BD4\u4F8B(%)",prop:"dcntract_payment_rate","show-overflow-tooltip":""}),o(e,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""}),o(e,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:t(({row:i})=>[_((s(),p(u,{type:"primary",link:"",onClick:T=>P(i)},{default:t(()=>[no]),_:2},1032,["onClick"])),[[w,["project_process_management.project_progress_payment_detail/edit"]]]),_((s(),p(u,{type:"danger",link:"",onClick:T=>E(i.id)},{default:t(()=>[co]),_:2},1032,["onClick"])),[[w,["project_process_management.project_progress_payment_detail/delete"]]])]),_:1})]),_:1},8,["data"])]),b("div",_o,[o(N,{modelValue:r(c),"onUpdate:modelValue":a[1]||(a[1]=i=>lo(c)?c.value=i:null),onChange:r(f)},null,8,["modelValue","onChange"])])]),_:1})),[[S,r(c).loading]]),d.value?(s(),p(W,{key:0,ref_key:"editRef",ref:m,"dict-data":r(y),onSuccess:r(f),onClose:a[2]||(a[2]=i=>d.value=!1)},null,8,["dict-data","onSuccess"])):ao("",!0)])}}});export{oe as default};
|