Commit fcaebbfc by chenwq

格式化代码

1 parent 671afa6c
<!-- 标记退款 --> <!-- 标记退款 -->
<template> <template>
<baseDialog <baseDialog :dialog-config="dialogConfig" :is-show.sync="visible" :btn-loding="btnLoding" class="accountDailog" @handleClick="handleAddConfirm">
:dialog-config="dialogConfig"
:is-show.sync="visible"
:btn-loding="btnLoding"
class="accountDailog"
@handleClick="handleAddConfirm"
>
<div class="refund-dialog"> <div class="refund-dialog">
<p class="title">业务信息</p> <p class="title">业务信息</p>
<el-form class="edit-sub-block" label-width="100px" :inline="true"> <el-form class="edit-sub-block" label-width="100px" :inline="true">
...@@ -18,57 +12,20 @@ ...@@ -18,57 +12,20 @@
</template> </template>
</el-form> </el-form>
<p class="title">退款信息</p> <p class="title">退款信息</p>
<glsx-combi-form <glsx-combi-form class="edit-form-container" ref="editFormRef" label-width="150px" default-width="370px" isEdit=true :form-ref="editChildRef" :form-obj="infoForm" :form-data="editFormData" :form-rules="formRules">
class="edit-form-container"
ref="editFormRef"
label-width="150px"
default-width="370px"
isEdit=true
:form-ref="editChildRef"
:form-obj="infoForm"
:form-data="editFormData"
:form-rules="formRules"
>
<div slot="expenseTypeHtml" slot-scope="scope"> <div slot="expenseTypeHtml" slot-scope="scope">
<el-checkbox-group <el-checkbox-group v-model="infoForm.expenseType" @change="handleCheckChange">
v-model="infoForm.expenseType" <el-checkbox v-for="(item, index) in baseData.expenseTypes" :key="index" :label="item.confId">{{ item.confValue }}</el-checkbox>
@change="handleCheckChange"
>
<el-checkbox
v-for="(item, index) in baseData.expenseTypes"
:key="index"
:label="item.confId"
>{{ item.confValue }}</el-checkbox
>
</el-checkbox-group> </el-checkbox-group>
</div> </div>
<div slot="payAmountHtml"> <div slot="payAmountHtml">
<el-input <el-input placeholder="请输入付款金额" v-model="infoForm.payAmount" style="width: 370px" clearable @input="handleUpgradeNum">
placeholder="请输入付款金额"
v-model="infoForm.payAmount"
style="width: 370px"
clearable
@input="handleUpgradeNum"
>
</el-input> </el-input>
</div> </div>
<template slot="attachmentListHtml" slot-scope="scope"> <template slot="attachmentListHtml" slot-scope="scope">
<el-upload <el-upload action="" accept=".xlsx,.xls,.doc,.pdf" class="upload-file" drag :show-file-list="false" :file-list="uploadFileList" :limit="5" :auto-upload="false" :on-remove="importFileChange" :on-change="
action=""
accept=".xlsx,.xls,.doc,.pdf"
class="upload-file"
drag
:show-file-list="false"
:file-list="uploadFileList"
:limit="5"
:auto-upload="false"
:on-remove="importFileChange"
:on-change="
(file, fileList) => handleFileChange(file, fileList, scope.scope) (file, fileList) => handleFileChange(file, fileList, scope.scope)
" " :on-exceed="hanldeOnExceed" multiple>
:on-exceed="hanldeOnExceed"
multiple
>
<i class="el-icon-upload"></i> <i class="el-icon-upload"></i>
<div class="el-upload__text">点击或将文件拖拽到此区域上传</div> <div class="el-upload__text">点击或将文件拖拽到此区域上传</div>
<div class="item-tips text-tips"> <div class="item-tips text-tips">
...@@ -78,36 +35,14 @@ ...@@ -78,36 +35,14 @@
</el-upload> </el-upload>
<!-- 文件列表区域 --> <!-- 文件列表区域 -->
<div class="file-box"> <div class="file-box">
<div <div v-for="(subItem, subIndex) in infoForm.attachmentList" :key="subIndex">
v-for="(subItem, subIndex) in infoForm.attachmentList" <div class="file-item" v-if="!filterEmpty(subItem.uploadProgress) || subItem.fileUrl">
:key="subIndex"
>
<div
class="file-item"
v-if="!filterEmpty(subItem.uploadProgress) || subItem.fileUrl"
>
<div class="file-content" @click="handleFileView(subItem)"> <div class="file-content" @click="handleFileView(subItem)">
<el-progress <el-progress define-back-color="#F5F7FA" :text-inside="true" text-color="#333333" :show-text="false" :stroke-width="26" stroke-linecap="butt" :percentage="subItem.uploadProgress"></el-progress>
define-back-color="#F5F7FA"
:text-inside="true"
text-color="#333333"
:show-text="false"
:stroke-width="26"
stroke-linecap="butt"
:percentage="subItem.uploadProgress"
></el-progress>
<div class="file-name">{{ subItem.fileName }}</div> <div class="file-name">{{ subItem.fileName }}</div>
</div> </div>
<i <i v-if="!subItem.fileUrl" class="el-icon-close del-icon" @click="doCancel(scope.scope, subIndex)"></i>
v-if="!subItem.fileUrl" <i v-if="subItem.fileUrl" class="el-icon-delete" @click="handleFileDelete(scope.scope, subIndex)"></i>
class="el-icon-close del-icon"
@click="doCancel(scope.scope, subIndex)"
></i>
<i
v-if="subItem.fileUrl"
class="el-icon-delete"
@click="handleFileDelete(scope.scope, subIndex)"
></i>
</div> </div>
</div> </div>
</div> </div>
...@@ -300,7 +235,7 @@ export default { ...@@ -300,7 +235,7 @@ export default {
}, },
orderList: { orderList: {
type: Array, type: Array,
default: () => {} default: () => { }
} }
}, },
watch: { watch: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!