Commit b8ce5f77 authored by 我在何方's avatar 我在何方

订单异常处理优化

parent 191c8a4a
...@@ -345,7 +345,7 @@ ...@@ -345,7 +345,7 @@
</el-form-item> </el-form-item>
</el-row> </el-row>
<!--预付异常的备选需要根据接口数据过滤--> <!--预付异常的备选需要根据接口数据过滤-->
<el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'||orderExceptionData.orderExceptionType=='not_customer_service_exception'"> <el-row v-if="orderExceptionData.orderExceptionType=='order_pay_exception'">
<el-form-item :label="$t('处理结果')+':'" required> <el-form-item :label="$t('处理结果')+':'" required>
<el-select v-model="handlerParams.orderExceptionHandlerResult" :placeholder="$t('请选择')" clearable :disabled="orderExceptionData.orderExceptionStatus==2"> <el-select v-model="handlerParams.orderExceptionHandlerResult" :placeholder="$t('请选择')" clearable :disabled="orderExceptionData.orderExceptionStatus==2">
<template v-for="dict in getDictDatas(orderExceptionData.orderExceptionType+'_result')"> <template v-for="dict in getDictDatas(orderExceptionData.orderExceptionType+'_result')">
...@@ -754,7 +754,11 @@ ...@@ -754,7 +754,11 @@
}; };
}, },
activated(){ activated(){
console.log(111) this.handlerParams = {
orderExceptionId:0,
orderExceptionStatus:"1",
orderExceptionHandlerResult:''
}
if(this.$route.query.id){ if(this.$route.query.id){
console.log(this.$route.query.id) console.log(this.$route.query.id)
this.orderExceptionId = this.$route.query.id this.orderExceptionId = this.$route.query.id
...@@ -919,7 +923,6 @@ ...@@ -919,7 +923,6 @@
// if(response.data.hasOwnProperty('orderItemId')){ // if(response.data.hasOwnProperty('orderItemId')){
// that.getShopData(response.data.orderItemId) // that.getShopData(response.data.orderItemId)
// } // }
if(that.orderExceptionData.orderExceptionType == 'order_pay_exception'){ if(that.orderExceptionData.orderExceptionType == 'order_pay_exception'){
that.getOrderFeeByIdData() that.getOrderFeeByIdData()
that.getPreExceptionData() that.getPreExceptionData()
......
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