Commit fcaebbfc by chenwq

格式化代码

1 parent 671afa6c
<!-- 标记退款 -->
<template>
<baseDialog
:dialog-config="dialogConfig"
:is-show.sync="visible"
:btn-loding="btnLoding"
class="accountDailog"
@handleClick="handleAddConfirm"
>
<baseDialog :dialog-config="dialogConfig" :is-show.sync="visible" :btn-loding="btnLoding" class="accountDailog" @handleClick="handleAddConfirm">
<div class="refund-dialog">
<p class="title">业务信息</p>
<el-form class="edit-sub-block" label-width="100px" :inline="true">
......@@ -18,57 +12,20 @@
</template>
</el-form>
<p class="title">退款信息</p>
<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"
>
<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">
<div slot="expenseTypeHtml" slot-scope="scope">
<el-checkbox-group
v-model="infoForm.expenseType"
@change="handleCheckChange"
>
<el-checkbox
v-for="(item, index) in baseData.expenseTypes"
:key="index"
:label="item.confId"
>{{ item.confValue }}</el-checkbox
>
<el-checkbox-group v-model="infoForm.expenseType" @change="handleCheckChange">
<el-checkbox v-for="(item, index) in baseData.expenseTypes" :key="index" :label="item.confId">{{ item.confValue }}</el-checkbox>
</el-checkbox-group>
</div>
<div slot="payAmountHtml">
<el-input
placeholder="请输入付款金额"
v-model="infoForm.payAmount"
style="width: 370px"
clearable
@input="handleUpgradeNum"
>
<el-input placeholder="请输入付款金额" v-model="infoForm.payAmount" style="width: 370px" clearable @input="handleUpgradeNum">
</el-input>
</div>
<template slot="attachmentListHtml" slot-scope="scope">
<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="
<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="
(file, fileList) => handleFileChange(file, fileList, scope.scope)
"
:on-exceed="hanldeOnExceed"
multiple
>
" :on-exceed="hanldeOnExceed" multiple>
<i class="el-icon-upload"></i>
<div class="el-upload__text">点击或将文件拖拽到此区域上传</div>
<div class="item-tips text-tips">
......@@ -78,36 +35,14 @@
</el-upload>
<!-- 文件列表区域 -->
<div class="file-box">
<div
v-for="(subItem, subIndex) in infoForm.attachmentList"
:key="subIndex"
>
<div
class="file-item"
v-if="!filterEmpty(subItem.uploadProgress) || subItem.fileUrl"
>
<div v-for="(subItem, subIndex) in infoForm.attachmentList" :key="subIndex">
<div class="file-item" v-if="!filterEmpty(subItem.uploadProgress) || subItem.fileUrl">
<div class="file-content" @click="handleFileView(subItem)">
<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>
<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>
<i
v-if="!subItem.fileUrl"
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>
<i v-if="!subItem.fileUrl" 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>
......@@ -300,7 +235,7 @@ export default {
},
orderList: {
type: Array,
default: () => {}
default: () => { }
}
},
watch: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!