|
|
@@ -21,7 +21,7 @@
|
|
|
<!-- :tabs="['经销商团队','代理区域','营销类别','账户余额']" -->
|
|
|
</div>
|
|
|
<div slot="customOperation">
|
|
|
- <customBtn
|
|
|
+ <customBtn
|
|
|
btnName="一键核销"
|
|
|
message="确认核销当前收入凭证吗?"
|
|
|
idName="20230224183304"
|
|
|
@@ -32,7 +32,7 @@
|
|
|
v-if="mainData.status == '审核' && tool.checkAuth($route.name,'writeoff') && mainData.unwriteoffamount > 0"
|
|
|
/>
|
|
|
<examine class="inline-16" v-if="tool.checkAuth($route.name,'check')" :data="mainData" @examineSuccess="onSuccess"></examine>
|
|
|
- <customBtn
|
|
|
+ <customBtn
|
|
|
btnName="对冲"
|
|
|
message="确认对冲当前收入凭证吗?"
|
|
|
idName="20230306102904"
|
|
|
@@ -103,7 +103,7 @@ export default {
|
|
|
})
|
|
|
this.mainData = res.data
|
|
|
console.log(this.mainData);
|
|
|
-
|
|
|
+
|
|
|
this.changeDataStructure()
|
|
|
},
|
|
|
duichong (data) {
|
|
|
@@ -112,18 +112,18 @@ export default {
|
|
|
this.$router.replace({
|
|
|
path:'/recvoucherDetails',
|
|
|
query:{
|
|
|
- id:data.sa_cashbillid,
|
|
|
+ id:data.sa_cashbillid,
|
|
|
}
|
|
|
})
|
|
|
setTimeout(() => {
|
|
|
- this.$router.replace({
|
|
|
+ /* this.$router.replace({
|
|
|
path:'/recvoucherDetails',
|
|
|
query:{
|
|
|
id:data.sa_cashbillid,
|
|
|
}
|
|
|
- })
|
|
|
+ })*/
|
|
|
this.$store.dispatch('changeDetailDrawer',true)
|
|
|
- this.queryMainData(this.$route.query.id)
|
|
|
+ /*this.queryMainData(this.$route.query.id)*/
|
|
|
})
|
|
|
|
|
|
},
|
|
|
@@ -194,7 +194,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: '核销金额',
|
|
|
- value: this.tool.formatAmount(this.mainData.amount, 2)
|
|
|
+ value: this.tool.formatAmount(this.mainData.writeoffamount, 2)
|
|
|
},
|
|
|
{
|
|
|
label:'未核销金额',
|
|
|
@@ -220,4 +220,4 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
-</style>
|
|
|
+</style>
|