Commit e15bbb2c by 吕明尚

更改退款订单驳回状态

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