jialh
2025-07-31 232b6feb3348c153a16530724b731df7dbc709c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<div id="importRoomFeeModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <h3 class="m-t-none m-b ">
                    <vc:i18n name="费用导入" namespace="importRoomFee"></vc:i18n>
                </h3>
                <div class="ibox-content">
 
                    <!-- <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="费用类型" namespace="importRoomFee"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <select class="custom-select" v-model="importRoomFeeInfo.feeTypeCd"
                                @change="_changeFeeTypeCd(importRoomFeeInfo.feeTypeCd)">
                                <option selected disabled value="">{{vc.i18n('必填,请选择费用类型','importRoomFee')}}</option>
 
                                <option v-for="(item,index) in importRoomFeeInfo.feeTypeCds" :key="index"
                                    v-bind:value="item.statusCd">
                                    {{item.name}}
                                </option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="费用对象" namespace="importRoomFee"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <select class="custom-select" v-model="importRoomFeeInfo.objType">
                                <option selected disabled value="">{{vc.i18n('必填,请选择费用对象','importRoomFee')}}</option>
                                <option value="3333">{{vc.i18n('房屋','importRoomFee')}}</option>
                                <option value="6666">{{vc.i18n('车位车辆','importRoomFee')}}</option>
                            </select>
                        </div>
                    </div> -->
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="选择文件" namespace="importRoomFee"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <div class="custom-file">
                                <input id="excelTemplate" ref="excelTemplate" type="file"
                                    class="custom-file-input form-control" name="excelTemplate"
                                    v-on:change="getExcelTemplate($event)" accept=".xls,.xlsx">
                                <label for="excelTemplate" class="custom-file-label">
                                    {{importRoomFeeInfo.excelTemplate==''?'必填,请选择数据文件':importRoomFeeInfo.excelTemplate.name}}
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="下载模板" namespace="importRoomFee"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            请先下载
                            <!-- <a href="javascript:void(0)" @click="_downloadImportFeeTemplate()"
                               >
                                    <vc:i18n name="导入模板" namespace="importRoomFee"></vc:i18n>
                            </a> -->
                            <a href="/import/费用导入模板.xlsx" target="_blank">
                                <span><vc:i18n name="导入模板" namespace="importRoomFee"></vc:i18n></span>
                            </a>
                            准备数据后,上传导入
                        </div>
                    </div>
                    <div class="ibox-content">
                        <button class="btn btn-primary float-right" type="button" v-on:click="_importData()">
                            <i class="fa fa-check"></i>&nbsp;导入
                        </button>
                        <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                            data-dismiss="modal">
                            <i class="fa fa-close"></i>&nbsp;取消
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>