Commit ea646d6d authored by 吴春's avatar 吴春
parents 6f05f31d 6a5e15de
...@@ -647,22 +647,25 @@ ...@@ -647,22 +647,25 @@
<div class="row" style="justify-content: space-between"> <div class="row" style="justify-content: space-between">
<div class="col row justify-between"> <div class="col row justify-between">
<span>收款单据:</span> <span>收款单据:</span>
<span v-if="AuthorityObj.Finance_RefundCreate&&item.Income>0"
style="color: #2961FE;cursor: pointer;" @click="clickRefund(1)">原路退款</span>
</div> </div>
<q-btn flat size="xs" icon="edit" v-if=" <div class="row justify-end">
AuthorityObj.isShowFinanceBtn && <q-btn flat size="xs" icon="" v-if="type&&AuthorityObj.Finance_RefundCreate&&item.Income>0"
AuthorityObj.isShowEdit && style="font-weight:400;color: #2961FE" label="原路退款" @click="clickRefund(1)" />
item.OrderType == 2 <q-btn flat size="xs" icon="edit" v-if="
" style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item, 1)" /> AuthorityObj.isShowFinanceBtn &&
<template v-if=" AuthorityObj.isShowEdit &&
AuthorityObj.isShowFinanceBtn && item.OrderType == 2
AuthorityObj.isShowEdit && " style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item, 1)" />
item.OrderType == 1 <template v-if="
"> AuthorityObj.isShowFinanceBtn &&
<q-btn flat size="xs" icon="edit" style="font-weight:400;color: #02C499" label="修改" AuthorityObj.isShowEdit &&
@click="showChooseStudent = true" /> item.OrderType == 1
</template> ">
<q-btn flat size="xs" icon="edit" style="font-weight:400;color: #02C499" label="修改"
@click="showChooseStudent = true" />
</template>
</div>
<q-popup-proxy v-if="showChooseStudent"> <q-popup-proxy v-if="showChooseStudent">
<q-banner> <q-banner>
<div style="width:500px;max-height:400px;overflow-y:auto;"> <div style="width:500px;max-height:400px;overflow-y:auto;">
...@@ -716,22 +719,25 @@ ...@@ -716,22 +719,25 @@
<div class="row" style="justify-content: space-between"> <div class="row" style="justify-content: space-between">
<div class="col row justify-between"> <div class="col row justify-between">
<span>付款单据:</span> <span>付款单据:</span>
<span v-if="AuthorityObj.Finance_RefundCreate&&item.Income>0"
style="color: #2961FE;cursor: pointer;" @click="clickRefund(2)">转账退款</span> </div>
<div class="row justify-end">
<q-btn flat size="xs" icon="" v-if="type&&AuthorityObj.Finance_RefundCreate&&item.Income>0"
style="font-weight:400;color: #2961FE" label="转账退款" @click="clickRefund(2)" />
<q-btn flat size="xs" icon="edit" v-if="
AuthorityObj.isShowFinanceBtn &&
AuthorityObj.isShowEdit &&
item.OrderType == 2
" style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item, 2)" />
<template v-if="
AuthorityObj.isShowFinanceBtn &&
AuthorityObj.isShowEdit &&
item.OrderType == 1
">
<q-btn flat size="xs" icon="edit" style="font-weight:400;color: #02C499" label="修改"
@click="showChooseStudent = true" />
</template>
</div> </div>
<q-btn flat size="xs" icon="edit" v-if="
AuthorityObj.isShowFinanceBtn &&
AuthorityObj.isShowEdit &&
item.OrderType == 2
" style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item, 2)" />
<template v-if="
AuthorityObj.isShowFinanceBtn &&
AuthorityObj.isShowEdit &&
item.OrderType == 1
">
<q-btn flat size="xs" icon="edit" style="font-weight:400;color: #02C499" label="修改"
@click="showChooseStudent = true" />
</template>
<q-popup-proxy v-if="showChooseStudent"> <q-popup-proxy v-if="showChooseStudent">
<q-banner> <q-banner>
<div style="width:500px;max-height:400px;overflow-y:auto;"> <div style="width:500px;max-height:400px;overflow-y:auto;">
...@@ -1316,7 +1322,12 @@ ...@@ -1316,7 +1322,12 @@
loading: { loading: {
type: Boolean, type: Boolean,
default: false, default: false,
} },
type: {
// 1 显示原路退回 转账退款
type: Number,
default: 0
},
}, },
data() { data() {
return { return {
......
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
</div> </div>
<div class="page-content"> <div class="page-content">
<orderlist :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="3" ref="orderL" <orderlist :dataList="data.List" :authObj="authObj" @success="refreshClassOrder" :modityOrderType="3" ref="orderL"
:loading="loading"> :loading="loading" :type="1">
</orderlist> </orderlist>
<div class="row" style="justify-content: flex-end;padding: 5px 20px"> <div class="row" style="justify-content: flex-end;padding: 5px 20px">
<q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end" <q-pagination v-model="msg.pageIndex" :max="pageCount" @input="changePage" class="full-width justify-end"
...@@ -551,4 +551,4 @@ ...@@ -551,4 +551,4 @@
border: none !important; border: none !important;
background: transparent !important; background: transparent !important;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment