engineering/public/admin/assets/DailyReimbursement.c7a314a2.js
2023-12-13 19:41:40 +08:00

2 lines
6.9 KiB
JavaScript

import{G as h,B as U,H as E,I as F,y as k,A as v,w as x,L as B,M as C,N as z,C as M}from"./element-plus.b8743002.js";import{_ as R}from"./index.c58396e2.js";import{o as n,c as s,U as e,L as l,V as q,a7 as L,S as p,K as A}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.92e7f918.js";import"./dayjs.79cf08f3.js";import"./axios.77c85d3e.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.3080e53f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.54284180.js";import"./color.1c59b943.js";import"./clone.0c702ab2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.66e2071a.js";import"./ms.a9ae1d6d.js";import"./nprogress.81114d43.js";import"./vue-clipboard3.f3fb4eed.js";import"./clipboard.c973b911.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const I={components:{},props:[],data(){return{formData:{field101:void 0,field102:null,field103:void 0,field106:void 0,field107:void 0,field108:void 0,field109:void 0,field110:void 0,field111:void 0,field112:void 0,field113:null},rules:{field101:[],field102:[{required:!0,message:"\u8BF7\u9009\u62E9\u62A5\u9500\u65E5\u671F",trigger:"change"}],field103:[],field106:[{required:!0,message:"\u8BF7\u9009\u62E9\u4ED8\u6B3E\u65B9\u5F0F",trigger:"change"}],field107:[],field108:[],field109:[{required:!0,message:"\u8BF7\u8F93\u5165\u6536\u6B3E\u4EBA\u59D3\u540D",trigger:"blur"}],field110:[{required:!0,message:"\u8BF7\u8F93\u5165\u6536\u6B3E\u94F6\u884C",trigger:"blur"}],field111:[{required:!0,message:"\u8BF7\u8F93\u5165\u6536\u6B3E\u8D26\u53F7",trigger:"blur"}],field112:[]},field113Action:"https://jsonplaceholder.typicode.com/posts/",field113fileList:[],field106Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}]}},computed:{},watch:{},created(){},mounted(){},methods:{submitForm(){this.$refs.elForm.validate(f=>{})},resetForm(){this.$refs.elForm.resetFields()},field113BeforeUpload(f){let t=f.size/1024/1024<2;return t||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),t}}},N=p("\u70B9\u51FB\u4E0A\u4F20"),O=p("\u63D0\u4EA4"),S=p("\u91CD\u7F6E");function j(f,t,G,H,o,m){const a=h,r=U,i=E,_=F,c=k,b=v,u=x,V=B,y=C,D=z,g=M;return n(),s("div",null,[e(g,null,{default:l(()=>[e(D,{ref:"elForm",model:o.formData,rules:o.rules,size:"medium","label-width":"120px","label-position":"left"},{default:l(()=>[e(y,{gutter:10},{default:l(()=>[e(i,{span:12},{default:l(()=>[e(r,{label:"\u62A5\u9500\u4EBA",prop:"field101"},{default:l(()=>[e(a,{modelValue:o.formData.field101,"onUpdate:modelValue":t[0]||(t[0]=d=>o.formData.field101=d),placeholder:"\u8BF7\u8F93\u5165\u62A5\u9500\u4EBA",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(r,{label:"\u62A5\u9500\u65E5\u671F",prop:"field102"},{default:l(()=>[e(_,{modelValue:o.formData.field102,"onUpdate:modelValue":t[1]||(t[1]=d=>o.formData.field102=d),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u62A5\u9500\u65E5\u671F",clearable:"",disabled:!0},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(r,{label:"\u5BA2\u6237\u540D\u79F0",prop:"field103"},{default:l(()=>[e(a,{modelValue:o.formData.field103,"onUpdate:modelValue":t[2]||(t[2]=d=>o.formData.field103=d),placeholder:"\u70B9\u51FB\u9009\u62E9\u5BA2\u6237",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(r,{label:"\u4ED8\u6B3E\u65B9\u5F0F",prop:"field106"},{default:l(()=>[e(b,{modelValue:o.formData.field106,"onUpdate:modelValue":t[3]||(t[3]=d=>o.formData.field106=d),placeholder:"\u8BF7\u9009\u62E9\u4ED8\u6B3E\u65B9\u5F0F",clearable:"",style:{width:"100%"}},{default:l(()=>[(n(!0),s(q,null,L(o.field106Options,(d,w)=>(n(),A(c,{key:w,label:d.label,value:d.value,disabled:d.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(r,{label:"\u62A5\u9500\u91D1\u989D",prop:"field107"},{default:l(()=>[e(a,{modelValue:o.formData.field107,"onUpdate:modelValue":t[4]||(t[4]=d=>o.formData.field107=d),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u8BA1\u7B97",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(r,{label:"\u62A5\u9500\u91D1\u989D\u5927\u5199",prop:"field108"},{default:l(()=>[e(a,{modelValue:o.formData.field108,"onUpdate:modelValue":t[5]||(t[5]=d=>o.formData.field108=d),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u8BA1\u7B97",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(r,{label:"\u6536\u6B3E\u4EBA\u59D3\u540D",prop:"field109"},{default:l(()=>[e(a,{modelValue:o.formData.field109,"onUpdate:modelValue":t[6]||(t[6]=d=>o.formData.field109=d),placeholder:"\u8BF7\u8F93\u5165\u6536\u6B3E\u4EBA\u59D3\u540D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:12},{default:l(()=>[e(r,{label:"\u6536\u6B3E\u94F6\u884C",prop:"field110"},{default:l(()=>[e(a,{modelValue:o.formData.field110,"onUpdate:modelValue":t[7]||(t[7]=d=>o.formData.field110=d),placeholder:"\u8BF7\u8F93\u5165\u6536\u6B3E\u94F6\u884C",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(r,{label:"\u6536\u6B3E\u8D26\u53F7",prop:"field111"},{default:l(()=>[e(a,{modelValue:o.formData.field111,"onUpdate:modelValue":t[8]||(t[8]=d=>o.formData.field111=d),placeholder:"\u8BF7\u8F93\u5165\u6536\u6B3E\u8D26\u53F7",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(r,{label:"\u5907\u6CE8",prop:"field112"},{default:l(()=>[e(a,{modelValue:o.formData.field112,"onUpdate:modelValue":t[9]||(t[9]=d=>o.formData.field112=d),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",autosize:{minRows:4,maxRows:4},style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(r,{label:"\u9644\u4EF6",prop:"field113"},{default:l(()=>[e(V,{ref:"field113","file-list":o.field113fileList,action:o.field113Action,"before-upload":m.field113BeforeUpload},{default:l(()=>[e(u,{size:"small",type:"primary",icon:"el-icon-upload"},{default:l(()=>[N]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1})]),_:1}),e(i,{span:24},{default:l(()=>[e(r,{size:"large"},{default:l(()=>[e(u,{type:"primary",onClick:m.submitForm},{default:l(()=>[O]),_:1},8,["onClick"]),e(u,{onClick:m.resetForm},{default:l(()=>[S]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}const Ee=R(I,[["render",j]]);export{Ee as default};