|
|
@@ -148,8 +148,9 @@
|
|
|
<el-button size="small" v-else>更多<i class="el-icon-arrow-down el-icon--right"></i></el-button>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
<el-dropdown-item command="printPin">打多联</el-dropdown-item>
|
|
|
- <el-dropdown-item command="refundRecord">售后记录</el-dropdown-item>
|
|
|
- <el-dropdown-item command="cancel">取消</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="refundShowRecord">售后记录</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="downExcel">下载excel</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="cancelCurrentOrder">取消</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
|
|
|
@@ -454,16 +455,25 @@ export default {
|
|
|
});
|
|
|
|
|
|
}
|
|
|
- if(cmd == 'cancel'){
|
|
|
+ if(cmd == 'cancelCurrentOrder'){
|
|
|
this.$message.error('开发中')
|
|
|
return false
|
|
|
}
|
|
|
- if(cmd == 'refundRecord'){
|
|
|
+ if(cmd == 'refundShowRecord'){
|
|
|
this.refundRecordData = info
|
|
|
setTimeout(() => {
|
|
|
this.$refs.refundRecordRef.init()
|
|
|
})
|
|
|
}
|
|
|
+ if(cmd == 'downExcel'){
|
|
|
+ this.$message.error('开发中')
|
|
|
+ return false
|
|
|
+ this.$service.customBalanceChange.getChangeList({searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime,customId:this.customId,pageSize:9999999,export:1}).then(res => {
|
|
|
+ if(res.file){
|
|
|
+ window.location.href = res.file
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
goRefund(data){
|
|
|
this.currentRefundData = data
|