engineering/public/admin/assets/index.a0c0f79b.js
2024-04-19 12:13:39 +08:00

2 lines
7.9 KiB
JavaScript

import{G as I,B as Q,w as z,L as H,C as J,O as K,P as W,Q as X}from"./element-plus.c5968462.js";import{_ as Z}from"./index.e9056132.js";import{_ as ee}from"./index.vue_vue_type_script_setup_true_lang.963b6450.js";import{f as oe,a as ae}from"./index.9aa949ed.js";import{u as te}from"./usePaging.5a1a0ff2.js";import{u as le}from"./useDictOptions.65204acf.js";import{_ as ne,a as ie,b as x,c as pe}from"./edit.vue_vue_type_script_setup_true_name_financialPerformanceMoneyApplyEdit_lang.0df631aa.js";import"./lodash.f060c5ce.js";import{d as A,s as re,r as C,a0 as ue,ai as se,o as i,c as me,V as e,M as a,O as _,u as p,L as u,S as P,a as V,k as ce,T as c,n as k}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.9bff6341.js";import"./dayjs.920ed704.js";import"./axios.fd7895df.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.4450cf90.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.89a2cd6d.js";import"./color.f7f12e1b.js";import"./clone.3f99ce25.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.7ca60bdd.js";import"./ms.a9ae1d6d.js";import"./nprogress.2d805d1c.js";import"./vue-clipboard3.f9b015dd.js";import"./clipboard.84da4513.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.d693a0d8.js";import"./index.vue_vue_type_style_index_0_lang.cda5de72.js";import"./common.dbc22d71.js";import"./dialogTableConfig.39c0aff5.js";import"./supervision_project.6b1210a3.js";import"./manage_project.9d7ac6d8.js";import"./cost_approved_project.d1646aac.js";import"./task_type.c1bd483f.js";import"./consult_project.6aa0bc96.js";import"./subcontracting_contract.06fd0a4a.js";import"./suppler_list.7f44b8ca.js";import"./procurement_contract.20d7590f.js";import"./paymentplan.be0b26b3.js";import"./bank_account.3765577e.js";import"./financial_fee_application.4a308c0e.js";import"./financial_borrow_money.fdcba2cf.js";import"./marketing_custom_return_visit_template.4310bc92.js";import"./marketing_custom_return_visit.b564e531.js";import"./marketing_custom.7ccd0379.js";import"./project_attendance_record.93303a4a.js";import"./marketing_contract.20350977.js";import"./marketing_competitor.47f2b8b7.js";import"./index.vue_vue_type_script_setup_true_name_createUserLable_lang.412b36c1.js";import"./index.vue_vue_type_script_setup_true_lang.fb3c6a1b.js";const _e={title:"\u8D22\u52A1\u7BA1\u7406--\u5C65\u7EA6\u91D1\u7533\u8BF7",config:[{label:"\u5408\u540C\u540D\u79F0",value:"contract_name"},{label:"\u652F\u4ED8\u65B9\u5F0F",value:"pay_type_text"},{label:"\u8981\u6C42\u4EA4\u6B3E\u65E5\u671F",value:"payment_date"},{label:"\u7533\u8BF7\u91D1\u989D",value:"apply_amount"},{label:"\u6536\u6B3E\u5355\u4F4D",value:"collection_account"},{label:"\u6536\u6B3E\u94F6\u884C",value:"collection_bank"},{label:"\u6536\u6B3E\u5F00\u6237\u884C",value:"collection_open_bank"},{label:"\u5F00\u6237\u7701\u4EFD",value:"province_name"},{label:"\u5F00\u6237\u5E02\u533A",value:"city_name"},{label:"\u652F\u4ED8\u4EBA",value:"pay_user_name"},{label:"\u4ED8\u6B3E\u8D26\u53F7",value:"pay_account"},{label:"\u652F\u4ED8\u91D1\u989D",value:"pay_amount"},{label:"\u652F\u4ED8\u65E5\u671F",value:"pay_date"},{label:"\u5907\u6CE8",value:"remark",column:1},{label:"\u9644\u4EF6",value:"annex",column:1},{label:"\u521B\u5EFA\u4EBA",value:"create_user"},{label:"\u521B\u5EFA\u65F6\u95F4",value:"create_time"}]},de=c("\u67E5\u8BE2"),fe=c("\u91CD\u7F6E"),ve=c(" \u65B0\u589E "),ye=c(" \u5220\u9664 "),be={class:"mt-4"},we=c(" \u7F16\u8F91 "),Ce=c(" \u5220\u9664 "),Ee=c(" \u8BE6\u60C5 "),he={class:"flex mt-4 justify-end"},Fe=A({name:"financialPerformanceMoneyApplyLists"}),Lo=A({...Fe,setup(ke){const v=re(),E=C(""),y=C(!1),h=C(!1),b=ue({payment_date:""}),F=C([]),$=l=>{F.value=l.map(({id:o})=>o)},{dictData:M}=le("financial_pay_type"),{pager:d,getLists:w,resetParams:L,resetPage:R}=te({fetchFun:ie,params:b}),S=async()=>{var l;y.value=!0,await k(),(l=v.value)==null||l.open("add")},T=async l=>{var s,r;let o=await x({id:l.id});y.value=!0,await k(),(s=v.value)==null||s.open("edit"),(r=v.value)==null||r.setFormData(o)},D=async l=>{await oe.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await pe({id:l}),w()},N=async l=>{var s,r;let o=await x({id:l});h.value=!0,await k(),(s=E.value)==null||s.open(),(r=E.value)==null||r.setFormData(o)};return w(),(l,o)=>{const s=I,r=Q,m=z,Y=H,g=J,O=ae,t=K,U=W,j=ee,q=Z,f=se("perms"),G=X;return i(),me("div",null,[e(g,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[e(Y,{class:"mb-[-16px]",model:b,inline:""},{default:a(()=>[e(r,{label:"\u8981\u6C42\u4EA4\u6B3E\u65E5\u671F",prop:"payment_date"},{default:a(()=>[e(s,{class:"flex-1 !flex",modelValue:b.payment_date,"onUpdate:modelValue":o[0]||(o[0]=n=>b.payment_date=n),clearable:"","value-format":"YYYY-MM-DD",placeholder:"\u9009\u62E9\u8981\u6C42\u4EA4\u6B3E\u65E5\u671F"},null,8,["modelValue"])]),_:1}),e(r,null,{default:a(()=>[e(m,{type:"primary",onClick:p(R)},{default:a(()=>[de]),_:1},8,["onClick"]),e(m,{onClick:p(L)},{default:a(()=>[fe]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),_((i(),u(g,{class:"!border-none",shadow:"never"},{default:a(()=>[_((i(),u(m,{type:"primary",onClick:S},{icon:a(()=>[e(O,{name:"el-icon-Plus"})]),default:a(()=>[ve]),_:1})),[[f,["financial.financial_performance_money_apply/add"]]]),_((i(),u(m,{disabled:!F.value.length,onClick:o[1]||(o[1]=n=>D(F.value))},{default:a(()=>[ye]),_:1},8,["disabled"])),[[f,["financial.financial_performance_money_apply/delete"]]]),V("div",be,[e(U,{data:p(d).lists,onSelectionChange:$},{default:a(()=>[e(t,{type:"selection",width:"55"}),e(t,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name","show-overflow-tooltip":""}),e(t,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"pay_type_text","show-overflow-tooltip":""}),e(t,{label:"\u8981\u6C42\u4EA4\u6B3E\u65E5\u671F",prop:"payment_date","show-overflow-tooltip":""}),e(t,{label:"\u7533\u8BF7\u91D1\u989D",prop:"apply_amount","show-overflow-tooltip":""}),e(t,{label:"\u6536\u6B3E\u5355\u4F4D",prop:"collection_company","show-overflow-tooltip":""}),e(t,{label:"\u6536\u6B3E\u8D26\u53F7",prop:"collection_account","show-overflow-tooltip":""}),e(t,{label:"\u6536\u6B3E\u94F6\u884C",prop:"collection_bank","show-overflow-tooltip":""}),e(t,{label:"\u6536\u6B3E\u5F00\u6237\u884C",prop:"collection_open_bank","show-overflow-tooltip":""}),e(t,{label:"\u652F\u4ED8\u91D1\u989D",prop:"pay_amount","show-overflow-tooltip":""}),e(t,{label:"\u652F\u4ED8\u65E5\u671F",prop:"pay_date","show-overflow-tooltip":""}),e(t,{label:"\u7533\u8BF7\u4EBA",prop:"create_user","show-overflow-tooltip":""}),e(t,{label:"\u7533\u8BF7\u65E5\u671F",prop:"create_time","show-overflow-tooltip":""}),e(t,{label:"\u64CD\u4F5C",width:"170",fixed:"right"},{default:a(({row:n})=>[_((i(),u(m,{type:"primary",link:"",onClick:B=>T(n)},{default:a(()=>[we]),_:2},1032,["onClick"])),[[f,["financial.financial_performance_money_apply/edit"]]]),_((i(),u(m,{type:"danger",link:"",onClick:B=>D(n.id)},{default:a(()=>[Ce]),_:2},1032,["onClick"])),[[f,["financial.financial_performance_money_apply/delete"]]]),_((i(),u(m,{link:"",onClick:B=>N(n.id)},{default:a(()=>[Ee]),_:2},1032,["onClick"])),[[f,["financial.financial_performance_money_apply/detail"]]])]),_:1})]),_:1},8,["data"])]),V("div",he,[e(j,{modelValue:p(d),"onUpdate:modelValue":o[2]||(o[2]=n=>ce(d)?d.value=n:null),onChange:p(w)},null,8,["modelValue","onChange"])])]),_:1})),[[G,p(d).loading]]),y.value?(i(),u(ne,{key:0,ref_key:"editRef",ref:v,"dict-data":p(M),onSuccess:p(w),onClose:o[3]||(o[3]=n=>y.value=!1)},null,8,["dict-data","onSuccess"])):P("",!0),h.value?(i(),u(q,{key:1,ref_key:"detailRef",ref:E,onClose:o[4]||(o[4]=n=>h.value=!1),detailConfig:p(_e)},null,8,["detailConfig"])):P("",!0)])}}});export{Lo as default};