2 lines
5.7 KiB
JavaScript
2 lines
5.7 KiB
JavaScript
import{D as E,B as V,w as g,L as W,C as x,O as y,P as A,Q as k}from"./element-plus.c5968462.js";import{_ as L}from"./index.vue_vue_type_script_setup_true_lang.963b6450.js";import{u as P}from"./usePaging.5a1a0ff2.js";import{u as U}from"./useDictOptions.65204acf.js";import{r as T}from"./index.9aa949ed.js";import"./lodash.f060c5ce.js";import{d as f,a0 as j,r as N,o as _,c as q,V as e,M as l,O as I,u as o,L as O,a as h,k as R,T as b}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"./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";function M(s){return T.get({url:"/cost_project.cost_approved_project/ledger",params:s})}const Q=b("\u67E5\u8BE2"),$=b("\u91CD\u7F6E"),z={class:"mt-4"},G={class:"flex mt-4 justify-end"},H=f({name:"financialRefundLists"}),ke=f({...H,setup(s){const a=j({contract_name:"",part_b:"",contract_type:""});N([]),U("cost_consultation_business_nature,cost_contract_type");const{pager:t,getLists:c,resetParams:D,resetPage:w}=P({fetchFun:M,params:a});return c(),(J,u)=>{const p=E,d=V,i=g,F=W,m=x,r=y,B=A,v=L,C=k;return _(),q("div",null,[e(m,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(F,{class:"mb-[-16px]",model:a,inline:""},{default:l(()=>[e(d,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name"},{default:l(()=>[e(p,{class:"w-[280px]",modelValue:a.contract_name,"onUpdate:modelValue":u[0]||(u[0]=n=>a.contract_name=n),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5408\u540C\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5408\u540C\u7F16\u53F7",prop:"contract_num"},{default:l(()=>[e(p,{class:"w-[280px]",modelValue:a.contract_num,"onUpdate:modelValue":u[1]||(u[1]=n=>a.contract_num=n),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5408\u540C\u7F16\u53F7"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u7532\u65B9\u5355\u4F4D",prop:"part_b"},{default:l(()=>[e(p,{class:"w-[280px]",modelValue:a.part_b,"onUpdate:modelValue":u[2]||(u[2]=n=>a.part_b=n),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7532\u65B9\u5355\u4F4D"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5408\u540C\u7C7B\u578B",prop:"contract_type"},{default:l(()=>[e(p,{class:"w-[280px]",modelValue:a.contract_type,"onUpdate:modelValue":u[3]||(u[3]=n=>a.contract_type=n),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5408\u540C\u7C7B\u578B"},null,8,["modelValue"])]),_:1}),e(d,null,{default:l(()=>[e(i,{type:"primary",onClick:o(w)},{default:l(()=>[Q]),_:1},8,["onClick"]),e(i,{onClick:o(D)},{default:l(()=>[$]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),I((_(),O(m,{class:"!border-none",shadow:"never"},{default:l(()=>[h("div",z,[e(B,{border:"",data:o(t).lists},{default:l(()=>[e(r,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_name","render-header":o(t).calcWidth},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u5408\u540C\u7F16\u53F7",prop:"contract_code"},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u5408\u540C\u7C7B\u578B",prop:"contract_type_text","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{label:"\u4E1A\u52A1\u6027\u8D28",prop:"business_nature_text","show-overflow-tooltip":""}),e(r,{"render-header":o(t).calcWidth,label:"\u7532\u65B9\u7B7E\u7EA6\u5355\u4F4D",prop:"part_a_name","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{label:"\u7B7E\u8BA2\u90E8\u95E8",prop:"signed_dept_name","show-overflow-tooltip":""}),e(r,{"render-header":o(t).calcWidth,label:"\u5408\u540C\u7B7E\u8BA2\u91D1\u989D",prop:"signed_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u5DF2\u5F00\u7968\u91D1\u989D",prop:"total_invoice_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u5DF2\u5230\u8D26\u91D1\u989D",prop:"total_refund_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u5DF2\u7ED3\u7B97\u91D1\u989D",prop:"total_settlement_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u672A\u5F00\u7968\u91D1\u989D",prop:"not_total_invoice_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u672A\u5230\u8D26\u91D1\u989D",prop:"not_total_refund_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u5F00\u7968\u672A\u56DE\u6B3E\u91D1\u989D",prop:"invoice_not_refund_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u56DE\u6B3E\u672A\u5F00\u7968\u91D1\u989D",prop:"refund_not_invoice_amount","show-overflow-tooltip":""},null,8,["render-header"]),e(r,{"render-header":o(t).calcWidth,label:"\u5408\u540C\u7ED3\u7B97\u65E5\u671F",prop:"settlement_date","show-overflow-tooltip":""},null,8,["render-header"])]),_:1},8,["data"])]),h("div",G,[e(v,{modelValue:o(t),"onUpdate:modelValue":u[4]||(u[4]=n=>R(t)?t.value=n:null),onChange:o(c)},null,8,["modelValue","onChange"])])]),_:1})),[[C,o(t).loading]])])}}});export{ke as default};
|