Commit 0e34ecd8 authored by daywrite's avatar daywrite

修改bug

parent c6342626
......@@ -11,10 +11,10 @@
<script src="./static/vupVueSdk.js"></script>
<link rel="stylesheet" href="./static/vupVueSdk.css">
<script src="https://code.highcharts.com.cn/highcharts/highcharts.js"></script>
<!-- <script src="https://code.highcharts.com.cn/highcharts/highcharts-more.js"></script> -->
<script src="https://code.highcharts.com.cn/highcharts/highcharts-more.js"></script>
<script src="https://code.highcharts.com.cn/highcharts/modules/exporting.js"></script>
<script src="https://code.highcharts.com.cn/highcharts/modules/drilldown.js">
// <script src="https://code.highcharts.com.cn/highcharts/modules/solid-gauge.js"></script>
<script src="https://code.highcharts.com.cn/highcharts/modules/drilldown.js"></script>
<script src="https://code.highcharts.com.cn/highcharts/modules/solid-gauge.js"></script>
<script src="https://code.highcharts.com.cn/highcharts/themes/grid-light.js"></script>
<script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
<script>
......
......@@ -14,7 +14,7 @@
{{item.name}}
</span>
</span>
<el-select v-model="clientForm[item.key]" placeholder="请选择" v-if="!item.itemKey && item.key !== 'Filter[sort]'">
<el-select v-model="clientForm[item.key]" placeholder="全部" clearable v-if="!item.itemKey && item.key !== 'Filter[sort]'">
<el-option v-for="(option, optKey) in item.value"
:key="optKey"
:label="option.name"
......
......@@ -52,11 +52,21 @@
v-model.trim="model.attachment_id">
</el-input>
</el-form-item>
<el-form-item label="文件名:" prop="attachment_id" class="ec-clear-left ec-form-item-lg">
<single-upload
label=""
:file-name="getFileName('receiptScan')"
tips="只能上传 jpg,png,pdf 类型文件, 文件不能超过50M"
:form-item="model.attachment_id"
@update:item="val => {model.attachment_id = val}">
</single-upload>
</el-form-item>
</el-form>
</section>
</template>
<script>
import singleRadio from '../common/singleRadio'
import singleUpload from '../common/singleUpload'
import settingMixin from '../common/settingMixin'
import {
requestAPI,
......@@ -72,7 +82,8 @@ export default {
},
components: {
singleRadio
singleRadio,
singleUpload
},
data () {
......@@ -140,6 +151,10 @@ export default {
}).then(res => {
this.options.documentTypeArray = res
})
},
getFileName (key) {
return ''
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment