|
@@ -199,11 +199,9 @@
|
|
|
this.receiptAmount = resData.order.receiptAmount
|
|
|
this.returnedPurchaseFee = resData.order.returnedPurchaseFee
|
|
|
this.ableUserMoney = resData.ableUserMoney
|
|
|
- if(resData.clause!=null){
|
|
|
- this.clauseData = resData.clause
|
|
|
- if(this.clauseData.name.length>10){
|
|
|
- this.clauseData.name = this.clauseData.name.substr(0,10)+'...'
|
|
|
- }
|
|
|
+ this.clauseData = resData.clause
|
|
|
+ if(this.clauseData && this.clauseData.name.length>10){
|
|
|
+ this.clauseData.name = this.clauseData.name.substr(0,10)+'...'
|
|
|
}
|
|
|
}).catch(error =>{
|
|
|
this.$util.modal('提示','订单查询失败,请稍后重试~','确定','',false,() =>{
|