傅行帆 преди 6 години
родител
ревизия
dc212d4d81
променени са 2 файла, в които са добавени 10 реда и са изтрити 4 реда
  1. 7
    1
      VUECODE/smart-property-manage/src/views/bill/add/index.vue
  2. 3
    3
      文档/MYSQL/smartCommunity.pdm

+ 7
- 1
VUECODE/smart-property-manage/src/views/bill/add/index.vue Целия файл

@@ -15,7 +15,13 @@
15 15
             placeholder="选择日期"/>
16 16
       </el-form-item>
17 17
       <div>
18
-        <span>如果还未制作账单,请先下载账单模板,按规则填写费用后再上传<el-button type="primary" size="small" icon="el-icon-download" @click="submitForm('ruleForm')">下载模板</el-button></span>
18
+        <span>
19
+          <el-upload :on-preview="handlePreview" :on-change="handleChange" :before-upload="beforeUpload" :limit="1" :on-exceed="handleExceed" class="upload-demo" action="" multiple>
20
+            <el-button slot="trigger" size="large" type="primary">选取文件并预览</el-button>
21
+          </el-upload>
22
+          如果还未制作账单,请先下载账单模板,按规则填写费用后再上传
23
+          <el-button type="primary" size="small" icon="el-icon-download" @click="submitForm('ruleForm')">下载模板</el-button>
24
+          </span>
19 25
       </div>
20 26
       <el-form-item>
21 27
         <el-button type="primary" @click="submitForm('ruleForm')">立即创建</el-button>

+ 3
- 3
文档/MYSQL/smartCommunity.pdm Целия файл

@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2
-<?PowerDesigner AppLocale="UTF16" ID="{1EFA7B8F-E5BE-422B-A0AE-B907AA87924F}" Label="" LastModificationDate="1550193707" Name="smartCommunity" Objects="732" Symbols="84" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
2
+<?PowerDesigner AppLocale="UTF16" ID="{1EFA7B8F-E5BE-422B-A0AE-B907AA87924F}" Label="" LastModificationDate="1550194873" Name="smartCommunity" Objects="732" Symbols="84" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
3 3
 <!-- do not edit this file -->
4 4
 
5 5
 <Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
@@ -10266,9 +10266,9 @@ LABL 0 新宋体,8,N</a:FontList>
10266 10266
 <a:Code>status</a:Code>
10267 10267
 <a:CreationDate>1550193639</a:CreationDate>
10268 10268
 <a:Creator>szc</a:Creator>
10269
-<a:ModificationDate>1550193707</a:ModificationDate>
10269
+<a:ModificationDate>1550194873</a:ModificationDate>
10270 10270
 <a:Modifier>szc</a:Modifier>
10271
-<a:Comment>状态 0 是已作废 1 是已发布</a:Comment>
10271
+<a:Comment>状态 0 是失效 1 是有效</a:Comment>
10272 10272
 <a:DataType>char(1)</a:DataType>
10273 10273
 <a:Length>1</a:Length>
10274 10274
 </o:Column>