Commit e15bbb2c by 吕明尚

更改退款订单驳回状态

parent fdf73390
...@@ -179,6 +179,8 @@ ...@@ -179,6 +179,8 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="退款金额" align="center" prop="refundPrice" /> <el-table-column label="退款金额" align="center" prop="refundPrice" />
<el-table-column label="退款状态" align="center" prop="refundStatus" />
<!-- <el-table-column label="消费描述" align="center" prop="description" />--> <!-- <el-table-column label="消费描述" align="center" prop="description" />-->
<!-- <el-table-column label="应付金额" align="center" prop="originalPrice" />--> <!-- <el-table-column label="应付金额" align="center" prop="originalPrice" />-->
<!-- <el-table-column label="实付金额" align="center" prop="realPrice" />--> <!-- <el-table-column label="实付金额" align="center" prop="realPrice" />-->
...@@ -221,8 +223,7 @@ ...@@ -221,8 +223,7 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
v-if="scope.row.refundStatus == '1'" v-if="scope.row.refundStatus === 1"
size="mini"
type="text" type="text"
icon="el-icon-s-check" icon="el-icon-s-check"
@click="onAudio(scope.row)" @click="onAudio(scope.row)"
...@@ -375,7 +376,7 @@ ...@@ -375,7 +376,7 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="onToAudio(0)"> </el-button> <el-button @click="onToAudio(4)"> </el-button>
<el-button type="primary" @click="onToAudio(2)"> </el-button> <el-button type="primary" @click="onToAudio(2)"> </el-button>
</span> </span>
</el-dialog> </el-dialog>
...@@ -488,11 +489,11 @@ export default { ...@@ -488,11 +489,11 @@ export default {
this.onAudioComfirm() this.onAudioComfirm()
}, },
onAudioComfirm(){ onAudioComfirm(){
if(this.audioForm.refundStatus == 0 && !this.audioForm.refundReason.length){ if(this.audioForm.refundStatus === 4 && !this.audioForm.refundReason.length){
this.$modal.msgWarning("请输入退款说明") this.$modal.msgWarning("请输入退款说明")
return return
} }
this.$modal.confirm(this.audioForm.refundStatus=="0"?"请确认驳回审核?":"请确认通过审核?").then((result) =>{ this.$modal.confirm(this.audioForm.refundStatus=== 4 ?"请确认驳回审核?":"请确认通过审核?").then((result) =>{
console.log(result,1111) console.log(result,1111)
if(result === "confirm"){ if(result === "confirm"){
updateOrder(this.audioForm).then(res =>{ updateOrder(this.audioForm).then(res =>{
......
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