Commit 5ee53e11 by chenwq

style(financeManage): 调整退款订单样式并修复布局问题

- 在SystemBillDetailDialog.vue中添加.refund-txt样式
- 在SystemBillDialog.vue中修复退款标签的布局和边距
- 将el-drawer包裹在div中避免潜在布局问题
1 parent 0b2cca38
...@@ -631,6 +631,20 @@ export default { ...@@ -631,6 +631,20 @@ export default {
} }
} }
.refund-txt {
display: inline-block;
box-sizing: border-box;
width: 16px;
height: 16px;
line-height: 16px;
font-size: 8px;
padding: 2px;
border-radius: 3px;
color: #ffffff;
margin: 0 8px 0 20px;
background: linear-gradient(#ff8496 0%, #ff4e61 100%);
}
.select-input-container { .select-input-container {
position: relative; position: relative;
......
<template> <template>
<div>
<el-drawer title="系统对账单" :visible.sync="billVisible" size="100%" :before-close="handleClose"> <el-drawer title="系统对账单" :visible.sync="billVisible" size="100%" :before-close="handleClose">
<div class="privacyDrawer"> <div class="privacyDrawer">
<div class="flex"> <div class="flex">
...@@ -81,8 +82,10 @@ ...@@ -81,8 +82,10 @@
<!-- 普通文本显示 --> <!-- 普通文本显示 -->
<div v-else class="flex-center"> <div v-else class="flex-center">
<!-- {{subItem.extInfo.source || 'ORDER'}}{{subItem.fieldCode}} --> <!-- {{subItem.extInfo.source || 'ORDER'}}{{subItem.fieldCode}} -->
<div v-if="subItem.fieldCode == 'orderCode' && scope.row.ORDER.sourceType != 1" class="refund-txt">退</div> <div v-if="subItem.fieldCode == 'orderCode' && scope.row.ORDER.sourceType != 1">
<span v-if="subItem.fieldCode == 'tradeNo'" :class="['trade-no', scope.row.ORDER.payVoucherList && scope.row.ORDER.payVoucherList.length ? 'txt-blue': '' ]" @click="handleReviewImg(scope.row)"> <div class="refund-txt">退</div>{{ scope.row[subItem.extInfo.source || 'ORDER'][subItem.fieldCode] || '-' }}
</div>
<span v-else-if="subItem.fieldCode == 'tradeNo'" :class="['trade-no', scope.row.ORDER.payVoucherList && scope.row.ORDER.payVoucherList.length ? 'txt-blue': '' ]" @click="handleReviewImg(scope.row)">
<el-image v-if="scope.row.ORDER.payVoucherList && scope.row.ORDER.payVoucherList.length && isShowPayVoucher != 0" class="pay-voucher-img" :src="scope.row.ORDER.payVoucherList[0].payVoucher" :preview-src-list="srcList" @preview-close="handlePreviewClose"></el-image> <el-image v-if="scope.row.ORDER.payVoucherList && scope.row.ORDER.payVoucherList.length && isShowPayVoucher != 0" class="pay-voucher-img" :src="scope.row.ORDER.payVoucherList[0].payVoucher" :preview-src-list="srcList" @preview-close="handlePreviewClose"></el-image>
{{ scope.row[subItem.extInfo.source || 'ORDER'][subItem.fieldCode] || '-' }} {{ scope.row[subItem.extInfo.source || 'ORDER'][subItem.fieldCode] || '-' }}
</span> </span>
...@@ -116,6 +119,7 @@ ...@@ -116,6 +119,7 @@
<el-button @click="handleClose">取消</el-button> <el-button @click="handleClose">取消</el-button>
<el-button type="primary" :loading="loading" @click="handleConfirm">确定</el-button> <el-button type="primary" :loading="loading" @click="handleConfirm">确定</el-button>
</div> </div>
</el-drawer>
<!-- 批量輸入 --> <!-- 批量輸入 -->
<d2-dialog :title="headObj.fieldCode == 'payType' ? '备注' : ('批量设置' + headObj.fieldName)" :is-visible="batchVisible" class="privacyDailog" width="480px" @closeDialog="handleBatchClose" @confirmDialog="handleBatchConfirm"> <d2-dialog :title="headObj.fieldCode == 'payType' ? '备注' : ('批量设置' + headObj.fieldName)" :is-visible="batchVisible" class="privacyDailog" width="480px" @closeDialog="handleBatchClose" @confirmDialog="handleBatchConfirm">
...@@ -160,7 +164,8 @@ ...@@ -160,7 +164,8 @@
<tmpl-drawer v-if="tmplDrawerVisible" :tmplDrawerVisible="tmplDrawerVisible" :type="tmplInfo.type" :tmplSelectList="tmplInfo.tmplSelectList" @handleConfirm="handleCustConfirm" @handleClose="handleCustVisible"></tmpl-drawer> <tmpl-drawer v-if="tmplDrawerVisible" :tmplDrawerVisible="tmplDrawerVisible" :type="tmplInfo.type" :tmplSelectList="tmplInfo.tmplSelectList" @handleConfirm="handleCustConfirm" @handleClose="handleCustVisible"></tmpl-drawer>
<choose-refund-order-dialog v-if="chooseVisible" :chooseVisible="chooseVisible" :infoForm="refundInfo" @chooseOrderConfirm="chooseOrderConfirm" @dialogClose="changeChooseVisible"></choose-refund-order-dialog> <choose-refund-order-dialog v-if="chooseVisible" :chooseVisible="chooseVisible" :infoForm="refundInfo" @chooseOrderConfirm="chooseOrderConfirm" @dialogClose="changeChooseVisible"></choose-refund-order-dialog>
<glsk-form-dialog v-if="searchVisible" :selectVisible="searchVisible" :dialogConfig="searchDialogConfig" label-width="200px" :formRules="searchRules" :editData="searchForm" :editFormData="searchEditFormData" :baseData="baseData" @handleClose="searchDialogVisible" @handleConfirm="handleSearchConfirm"></glsk-form-dialog> <glsk-form-dialog v-if="searchVisible" :selectVisible="searchVisible" :dialogConfig="searchDialogConfig" label-width="200px" :formRules="searchRules" :editData="searchForm" :editFormData="searchEditFormData" :baseData="baseData" @handleClose="searchDialogVisible" @handleConfirm="handleSearchConfirm"></glsk-form-dialog>
</el-drawer>
</div>
</template> </template>
<script> <script>
...@@ -1812,7 +1817,7 @@ export default { ...@@ -1812,7 +1817,7 @@ export default {
padding: 2px; padding: 2px;
border-radius: 3px; border-radius: 3px;
color: #ffffff; color: #ffffff;
margin-right: 8px; margin: 0 8px 0 20px;
background: linear-gradient(#ff8496 0%, #ff4e61 100%); background: linear-gradient(#ff8496 0%, #ff4e61 100%);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!