import{_ as h,d as g,n as o,r as l,o as C,A as D,y,h as c,i as p,cC as b}from"./index.js";import{k as F,l as x}from"./index.cfc78b88.js";import A from"./choose-modal.3d0e18.js";const k=[{type:"selection",width:40,align:"center",hide:({checkList:t})=>!t.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:t})=>!t.includes("\u5E8F\u53F7\u5217")},{label:"\u91C7\u8D2D\u5458",prop:"uname",width:120},{label:"\u6708\u4EFD",prop:"day_time",width:120},{label:"\u5F00\u7968\u91D1\u989D",prop:"inv_fee",minWidth:150},{label:"\u9000\u7968\u91D1\u989D",prop:"return_inv_fee",minWidth:130},{label:"\u5F00\u7968\u6210\u672C\u91D1\u989D",prop:"cost_fee",minWidth:110,align:"left"},{label:"\u9000\u7968\u6210\u672C\u91D1\u989D",prop:"return_cost_fee",minWidth:110},{label:"\u521B\u5EFA\u4EBA",prop:"creater",minWidth:110},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],E={columns:k,listNoRelation:!0,responseCode:1,apis:{httpList:t=>F(t),httpDelete:x,httpUpdate:!0,httpAdd:!0}},d={formItems:[{field:"day_time",type:"date_picker",otherOptions:{placeholder:"\u6708\u4EFD",valueFormat:"YYYY-MM",type:"month"}}]},P="managerSetting",W=g({__name:"index",setup(t){const n=o(!1),s=o(null),_={pageSearchHook:()=>b(void 0,void 0,d)},i=o(""),r=o({uid:"",inv_fee:"",day_time:"",return_inv_fee:"",cost_fee:"",return_cost_fee:""}),f={content:{create:()=>{i.value="create",n.value=!0,r.value={uid:"",day_time:"",cost_fee:"",inv_fee:"",return_inv_fee:"",return_cost_fee:""}},update:e=>{i.value="update",n.value=!0,r.value={id:e.id,uid:e.uid,inv_fee:e.inv_fee,day_time:e.day_time,cost_fee:e.cost_fee,return_inv_fee:e.return_inv_fee,return_cost_fee:e.return_cost_fee}}}};return(e,u)=>{const m=l("PageContainer"),v=l("PageAuth");return C(),D(v,{pageName:P},{default:y(()=>[c(m,{hooks:_,events:f,contentConfig:p(E),"search-config":p(d),"get-content-ref":a=>s.value=a},null,8,["contentConfig","search-config","get-content-ref"]),c(A,{visible:n.value,"onUpdate:visible":u[0]||(u[0]=a=>n.value=a),data:r.value,onRefresh:u[1]||(u[1]=a=>s.value.onSearch()),type:i.value},null,8,["visible","data","type"])]),_:1})}}});var Y=h(W,[["__file","D:/work/jiesuan/settle-vue3/src/views/system/managerSetting/index.vue"]]);export{Y as default};
