engineering/public/admin/assets/Remittance.43dc9e67.js
2024-01-12 16:37:09 +08:00

2 lines
6.2 KiB
JavaScript

import{I as E,y as k,G as F,H as x,J as B,R as C,S as z,w as M,K as R,D as q,C as O}from"./element-plus.25ac1d37.js";import{_ as L}from"./index.2456ddbc.js";import{o as a,c as s,V as e,M as i,W as _,a8 as b,T as m,L as c,U as S}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.5571e62a.js";import"./axios.9ce976cc.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.86334a69.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.156d1593.js";import"./color.4188bfef.js";import"./clone.a0efef30.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ca37accd.js";import"./ms.a9ae1d6d.js";import"./nprogress.30953505.js";import"./vue-clipboard3.4e4a29c9.js";import"./clipboard.1a812829.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const I={components:{},props:[],data(){return{formData:{field101:void 0,field102:void 0,field103:void 0,field106:void 0,field107:null,field108:void 0,field109:1,field110:void 0,field111:void 0,field112:null},rules:{field101:[{required:!0,message:"\u70B9\u51FB\u9009\u62E9\u5BA2\u6237",trigger:"blur"}],field102:[{required:!0,message:"\u70B9\u51FB\u9009\u62E9\u6237\u9500\u552E\u5408\u540C",trigger:"blur"}],field103:[],field106:[{required:!0,message:"\u8BF7\u9009\u62E9\u671F\u6B21",trigger:"change"}],field107:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BA1\u5212\u56DE\u6B3E\u65E5\u671F",trigger:"change"}],field108:[{required:!0,message:"\u8BF7\u8F93\u5165\u91D1\u989D",trigger:"blur"}],field109:[],field110:[],field111:[]},field112Action:"https://jsonplaceholder.typicode.com/posts/",field112fileList:[],field106Options:[{label:"\u9009\u9879\u4E00",value:1},{label:"\u9009\u9879\u4E8C",value:2}],field109Options:[{label:"\u5DF2\u56DE",value:1},{label:"\u672A\u56DE",value:2},{label:"\u90E8\u5206",value:3}]}},computed:{},watch:{},created(){},mounted(){},methods:{submitForm(){this.$refs.elForm.validate(f=>{})},resetForm(){this.$refs.elForm.resetFields()},field112BeforeUpload(f){let t=f.size/1024/1024<2;return t||this.$message.error("\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7 2MB"),t}}},A=m("\u70B9\u51FB\u4E0A\u4F20"),G=m("\u63D0\u4EA4"),N=m("\u91CD\u7F6E");function T(f,t,j,H,o,u){const d=E,r=k,V=F,y=x,g=B,D=C,h=z,n=M,v=R,U=q,w=O;return a(),s("div",null,[e(w,null,{default:i(()=>[e(U,{ref:"elForm",model:o.formData,rules:o.rules,size:"medium","label-width":"120px","label-position":"left"},{default:i(()=>[e(r,{label:"\u5BA2\u6237\u540D\u79F0",prop:"field101"},{default:i(()=>[e(d,{modelValue:o.formData.field101,"onUpdate:modelValue":t[0]||(t[0]=l=>o.formData.field101=l),placeholder:"\u70B9\u51FB\u9009\u62E9\u5BA2\u6237",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(r,{label:"\u5408\u540C\u7F16\u53F7",prop:"field102"},{default:i(()=>[e(d,{modelValue:o.formData.field102,"onUpdate:modelValue":t[1]||(t[1]=l=>o.formData.field102=l),placeholder:"\u9009\u62E9\u9500\u552E\u5408\u540C",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(r,{label:"\u5408\u540C\u540D\u79F0",prop:"field103"},{default:i(()=>[e(d,{modelValue:o.formData.field103,"onUpdate:modelValue":t[2]||(t[2]=l=>o.formData.field103=l),placeholder:"\u7CFB\u7EDF\u81EA\u52A8\u586B\u5199",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(r,{label:"\u671F\u6B21",prop:"field106"},{default:i(()=>[e(y,{modelValue:o.formData.field106,"onUpdate:modelValue":t[3]||(t[3]=l=>o.formData.field106=l),placeholder:"\u8BF7\u9009\u62E9\u671F\u6B21",clearable:"",style:{width:"100%"}},{default:i(()=>[(a(!0),s(_,null,b(o.field106Options,(l,p)=>(a(),c(V,{key:p,label:l.label,value:l.value,disabled:l.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"\u8BA1\u5212\u56DE\u6B3E\u65E5\u671F",prop:"field107"},{default:i(()=>[e(g,{modelValue:o.formData.field107,"onUpdate:modelValue":t[4]||(t[4]=l=>o.formData.field107=l),format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9\u8BA1\u5212\u56DE\u6B3E\u65E5\u671F",clearable:""},null,8,["modelValue"])]),_:1}),e(r,{label:"\u91D1\u989D",prop:"field108"},{default:i(()=>[e(d,{modelValue:o.formData.field108,"onUpdate:modelValue":t[5]||(t[5]=l=>o.formData.field108=l),placeholder:"\u8BF7\u8F93\u5165\u91D1\u989D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(r,{label:"\u662F\u5426\u56DE\u6B3E",prop:"field109"},{default:i(()=>[e(h,{modelValue:o.formData.field109,"onUpdate:modelValue":t[6]||(t[6]=l=>o.formData.field109=l),size:"medium"},{default:i(()=>[(a(!0),s(_,null,b(o.field109Options,(l,p)=>(a(),c(D,{key:p,label:l.value,disabled:l.disabled},{default:i(()=>[m(S(l.label),1)]),_:2},1032,["label","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(r,{label:"\u56DE\u6B3E\u8D23\u4EFB\u4EBA",prop:"field110"},{default:i(()=>[e(d,{modelValue:o.formData.field110,"onUpdate:modelValue":t[7]||(t[7]=l=>o.formData.field110=l),placeholder:"\u70B9\u51FB\u6307\u5B9A\u8D23\u4EFB\u4EBA",disabled:!0,clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(r,{label:"\u5907\u6CE8",prop:"field111"},{default:i(()=>[e(d,{modelValue:o.formData.field111,"onUpdate:modelValue":t[8]||(t[8]=l=>o.formData.field111=l),placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(r,{label:"\u9644\u4EF6",prop:"field112"},{default:i(()=>[e(v,{ref:"field112","file-list":o.field112fileList,action:o.field112Action,"before-upload":u.field112BeforeUpload},{default:i(()=>[e(n,{size:"small",type:"primary",icon:"el-icon-upload"},{default:i(()=>[A]),_:1})]),_:1},8,["file-list","action","before-upload"])]),_:1}),e(r,{size:"large"},{default:i(()=>[e(n,{type:"primary",onClick:u.submitForm},{default:i(()=>[G]),_:1},8,["onClick"]),e(n,{onClick:u.resetForm},{default:i(()=>[N]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model","rules"])]),_:1})])}const we=L(I,[["render",T]]);export{we as default};