engineering/public/admin/assets/adjustmentdetails.05ddc957.js
2024-02-27 10:28:16 +08:00

2 lines
5.6 KiB
JavaScript

import{G as R,H as T,y as I,w as M,D as O,C as U,L as $,M as q,N as z}from"./element-plus.517d4382.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang.5ae95555.js";import{u as H}from"./usePaging.f6660143.js";import{u as W}from"./useDictOptions.b5854a9e.js";import{f as J}from"./cost_budget_adjust.b820e85d.js";import"./lodash.1d82ee7c.js";import"./index.8b1962e9.js";import K from"./editcost.8d695974.js";import{a as Q}from"./cost_subject.956fa2c4.js";import{d as B,s as X,r as m,a0 as b,o as i,c as v,V as o,M as e,O as Y,u,L as c,S as Z,W as oo,a8 as to,a as C,k as eo,T as A}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";import"./cost_budget.f56437aa.js";import"./index.fc916ebb.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang.72fae613.js";import"./department.b8dec04d.js";import"./organization.5e75830a.js";const lo=A("\u67E5\u8BE2"),uo=A("\u91CD\u7F6E"),ao={class:"mt-4"},so={class:"flex justify-end mt-4"},io=B({name:"customLists"}),lt=B({...io,setup(ro){const D=X(),d=m(!1),_=m([]);b([{name:"\u5168\u90E8\u5BA2\u6237",count:1e3},{name:"\u516C\u6D77\u5BA2\u6237",count:1e3},{name:"\u79C1\u6709\u5BA2\u6237",count:1e3},{name:"\u4ECA\u65E5\u65B0\u589E",count:1e3},{name:"\u4ECA\u65E5\u5206\u914D\u516C\u6D77\u5BA2\u6237",count:1e3},{name:"\u4ECA\u65E5\u5E94\u8054\u7CFB",count:1e3},{name:"\u4ECA\u65E5\u672A\u8054\u7CFB",count:1e3},{name:"\u4ECA\u65E5\u5DF2\u8054\u7CFB",count:1e3}]);const r=b({cost_subject_id:"",cost_budget_id:""}),g=m([]),F=n=>{g.value=n.map(({id:l})=>l)},{dictData:k}=W(""),{pager:s,getLists:p,resetParams:V,resetPage:j}=H({fetchFun:J,params:r});return(()=>{Q({page_no:1,page_size:120}).then(n=>{_.value=n.lists})})(),p(),(n,l)=>{const w=R,y=T,f=I,h=M,x=O,E=U,t=$,L=q,S=G,N=z;return i(),v("div",null,[o(E,{class:"!border-none mb-4",shadow:"never"},{default:e(()=>[o(x,{class:"mb-[-16px]",model:r,inline:""},{default:e(()=>[o(f,{label:"\u8D39\u7528\u79D1\u76EE",prop:"cost_subject_id"},{default:e(()=>[o(y,{class:"w-[280px]",modelValue:r.cost_subject_ide,"onUpdate:modelValue":l[0]||(l[0]=a=>r.cost_subject_ide=a),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u8D39\u7528\u79D1\u76EE"},{default:e(()=>[o(w,{label:"\u5168\u90E8",value:""}),(i(!0),v(oo,null,to(_.value,(a,P)=>(i(),c(w,{key:P,label:a.sn,value:a.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),o(f,null,{default:e(()=>[o(h,{type:"primary",onClick:u(j)},{default:e(()=>[lo]),_:1},8,["onClick"]),o(h,{onClick:u(V)},{default:e(()=>[uo]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),Y((i(),c(E,{class:"!border-none",shadow:"never"},{default:e(()=>[C("div",ao,[o(L,{data:u(s).lists,onSelectionChange:F},{default:e(()=>[o(t,{label:"\u5E8F\u53F7",type:"index","show-overflow-tooltip":"",width:"65"}),o(t,{label:"\u9884\u7B97\u660E\u7EC6ID",prop:"id","show-overflow-tooltip":"",width:"100"}),o(t,{label:"\u5236\u5355\u65F6\u95F4",prop:"document_preparation_time",width:"155","show-overflow-tooltip":""}),o(t,{label:"\u5E74\u4EFD",prop:"years","show-overflow-tooltip":"",width:"155"}),o(t,{label:"\u4E00\u7EA7\u79D1\u76EE",prop:"subject1","show-overflow-tooltip":"",width:"155"}),o(t,{label:"\u4E8C\u7EA7\u79D1\u76EE",prop:"subject2","show-overflow-tooltip":"",width:"155"}),o(t,{label:"1\u6708\u5408\u8BA1",prop:"month1","show-overflow-tooltip":""}),o(t,{label:"2\u6708\u5408\u8BA1",prop:"month2","show-overflow-tooltip":""}),o(t,{label:"3\u6708\u5408\u8BA1",prop:"month3","show-overflow-tooltip":""}),o(t,{label:"4\u6708\u5408\u8BA1",prop:"month4","show-overflow-tooltip":""}),o(t,{label:"5\u6708\u5408\u8BA1",prop:"month5","show-overflow-tooltip":""}),o(t,{label:"6\u6708\u5408\u8BA1",prop:"month6","show-overflow-tooltip":""}),o(t,{label:"7\u6708\u5408\u8BA1",prop:"month7","show-overflow-tooltip":""}),o(t,{label:"7\u6708\u5DF2\u53D1\u751F","show-overflow-tooltip":"",width:"100"}),o(t,{label:"7\u6708\u5269\u4F59","show-overflow-tooltip":""}),o(t,{label:"8\u6708\u5408\u8BA1",prop:"month8","show-overflow-tooltip":""}),o(t,{label:"9\u6708\u5408\u8BA1",prop:"month9","show-overflow-tooltip":"",width:"100"}),o(t,{label:"10\u6708\u5408\u8BA1",prop:"month10","show-overflow-tooltip":"",width:"100"}),o(t,{label:"11\u6708\u5408\u8BA1",prop:"month11","show-overflow-tooltip":"",width:"100"}),o(t,{label:"12\u6708\u5408\u8BA1",prop:"month12","show-overflow-tooltip":"",width:"100"})]),_:1},8,["data"])]),C("div",so,[o(S,{modelValue:u(s),"onUpdate:modelValue":l[1]||(l[1]=a=>eo(s)?s.value=a:null),onChange:u(p)},null,8,["modelValue","onChange"])])]),_:1})),[[N,u(s).loading]]),d.value?(i(),c(K,{key:0,ref_key:"editRef",ref:D,"dict-data":u(k),onSuccess:u(p),onClose:l[2]||(l[2]=a=>d.value=!1)},null,8,["dict-data","onSuccess"])):Z("",!0)])}}});export{lt as default};