| | |
| | | <div class="col-sm-10"> |
| | | <select class="custom-select" v-model="importMeterWaterFeeInfo.configId"> |
| | | <option selected disabled value=""> |
| | | {{vc.i18n('必填,请选择收费项目','importMeterWaterFee')}} |
| | | {{vc.i18n('非必填,请选择收费项目','importMeterWaterFee')}} |
| | | </option> |
| | | <option v-for="(item,index) in importMeterWaterFeeInfo.feeConfigs" :key="index" |
| | | v-bind:value="item.configId">{{item.feeName}} |
| | |
| | | <div class="col-sm-10"> |
| | | <select class="custom-select" v-model="importMeterWaterFeeInfo.meterType"> |
| | | <option selected disabled value=""> |
| | | {{vc.i18n('必填,请选择抄表类型','importMeterWaterFee')}} |
| | | {{vc.i18n('非必填,请选择抄表类型','importMeterWaterFee')}} |
| | | </option> |
| | | <option v-for="(item,index) in importMeterWaterFeeInfo.meterTypes" :key="index" |
| | | v-bind:value="item.typeId">{{item.typeName}} |
| | |
| | | <vc:i18n name="选择文件" namespace="importMeterWaterFee"></vc:i18n> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <div class="custom-file"> |
| | | <div class="input-group"> |
| | | <input type="text" class="form-control" |
| | | :value="importMeterWaterFeeInfo.excelTemplate==''?'必填,请选择数据文件':importMeterWaterFeeInfo.excelTemplate.name" |
| | | readonly> |
| | | <div class="input-group-append"> |
| | | <button class="btn btn-outline-secondary" type="button" |
| | | onclick="document.getElementById('excelTemplate').click()"> |
| | | 文件 |
| | | </button> |
| | | </div> |
| | | <input id="excelTemplate" ref="excelTemplate" type="file" |
| | | class="custom-file-input form-control" name="excelTemplate" |
| | | class="form-control d-none" name="excelTemplate" |
| | | v-on:change="getExcelTemplate($event)" accept=".xls,.xlsx"> |
| | | <label for="excelTemplate" class="custom-file-label"> |
| | | {{importMeterWaterFeeInfo.excelTemplate==''?'必填,请选择数据文件':importMeterWaterFeeInfo.excelTemplate.name}} |
| | | </label> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="col-sm-10"> |
| | | 请先下载 |
| | | <a href="javascript:void(0)" @click="_exportMeterWaterFeeTemplate()"> |
| | | <vc:i18n name="导入模板" namespace="importMeterWaterFee"></vc:i18n> |
| | | <span> |
| | | {{ importMeterWaterFeeInfo.feeTypeCd === '630000017' ? '水费流水模板' : |
| | | importMeterWaterFeeInfo.feeTypeCd === '630000007' ? '电费流水模板' : |
| | | vc.i18n('导入模板', 'importMeterWaterFee') }} |
| | | </span> |
| | | </a> |
| | | 准备数据后,上传导入 |
| | | <div class="mt-2 text-muted" v-if="!importMeterWaterFeeInfo.feeTypeCd"> |
| | | <small> |
| | | 提示:请先选择费用类型,系统会自动提供对应模板<br> |
| | | - 水费:对应模板包含 "水费流水模板" sheet<br> |
| | | - 电费:对应模板包含 "电费流水模版" sheet |
| | | </small> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="ibox-content"> |