Browse Source

查看驳回

lihuilin/feature-20251104102812-现金二期
ZhangYong 2 weeks ago
parent
commit
4fc8a9cadf
  1. 49
      src/views/moneyManage/receiveDetail/receiveService.vue

49
src/views/moneyManage/receiveDetail/receiveService.vue

@ -212,13 +212,15 @@
<div style=" display: flex; "> <div style=" display: flex; ">
<span <span
style="color: #999999; display: flex; white-space: nowrap;align-items: center;">永久金币</span> style="color: #999999; display: flex; white-space: nowrap;align-items: center;">永久金币</span>
<el-input placeholder="0" style="padding-right: 10px; padding-left: 10px; height: 30px; width: 110px;"
<el-input placeholder="0"
style="padding-right: 10px; padding-left: 10px; height: 30px; width: 110px;"
v-model="addFormData.permanentGold" /> v-model="addFormData.permanentGold" />
</div> </div>
<div style="padding-right: 5px; display: flex;"> <div style="padding-right: 5px; display: flex;">
<span <span
style="color: #999999; display: flex; white-space: nowrap;align-items: center;">免费金币</span> style="color: #999999; display: flex; white-space: nowrap;align-items: center;">免费金币</span>
<el-input placeholder="0" style="padding-right: 10px; padding-left: 10px; height: 30px; width: 110px;"
<el-input placeholder="0"
style="padding-right: 10px; padding-left: 10px; height: 30px; width: 110px;"
v-model="addFormData.freeGold" /> v-model="addFormData.freeGold" />
</div> </div>
</div> </div>
@ -386,6 +388,16 @@
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<!-- 查看驳回理由 -->
<el-dialog title="驳回理由" v-model="rejectReasonVisible" width="50%" top="30vh" style="min-width: 200px; max-width: 500px;" :before-close="closeRejectForm">
<div class="reject-reason-box">
{{ rejectReason }}
</div>
<div class="rejectBtn">
<el-button type="primary" @click="closeRejectForm">确定</el-button>
</div>
</el-dialog>
</div> </div>
</template> </template>
@ -441,6 +453,16 @@ const reset = () => {
getlist() getlist()
} }
const rejectReasonVisible = ref(false)
const rejectReason = ref('')
const closeRejectForm = () => {
rejectReasonVisible.value = false
}
const openRejectReason = (reason) => {
rejectReason.value = reason
rejectReasonVisible.value = true
}
// //
const handleDatePickerChange = () => { } const handleDatePickerChange = () => { }
// //
@ -614,10 +636,10 @@ const closeAddForm = () => {
const testGold = () => { const testGold = () => {
// //
if(addFormData.value.permanentGold == null){
if (addFormData.value.permanentGold == null) {
addFormData.value.permanentGold = 0 addFormData.value.permanentGold = 0
} }
if(addFormData.value.freeGold == null){
if (addFormData.value.freeGold == null) {
addFormData.value.freeGold = 0 addFormData.value.freeGold = 0
} }
const permanentGold = Number(addFormData.value.permanentGold); const permanentGold = Number(addFormData.value.permanentGold);
@ -905,13 +927,6 @@ const submitRefund = async () => {
} }
} }
//
const openRejectReason = (reason) => {
ElMessageBox.alert(reason, '驳回理由', {
confirmButtonText: '确认',
customClass: 'reject-reason-box',
})
}
// ===================== ===================== // ===================== =====================
// //
@ -1218,14 +1233,14 @@ onMounted(async () => {
background-color: #E5EBFE !important; background-color: #E5EBFE !important;
} }
//
.reject-reason-box { .reject-reason-box {
--el-message-box-height: 500px;
width: 80%;
padding: 20px;
} }
.reject-reason-box .el-message-box__content {
max-height: 350px;
overflow-y: auto;
white-space: pre-wrap;
.rejectBtn {
margin-top: 20px;
display: flex;
justify-content: flex-end;
} }
</style> </style>
Loading…
Cancel
Save