|
|
@@ -108,19 +108,17 @@ |
|
|
|
</view> |
|
|
|
<view v-if="state.orderInfo.orderStatus == 'NORMAL'"> |
|
|
|
<view class="btns"> |
|
|
|
<view v-if="state.orderInfo.orderSource == 'WECHAT'"> |
|
|
|
<view v-if=" state.orderInfo.orderStep=='ORDER_INIT'||state.orderInfo.orderStep=='CUSTOMER_UPLOAD' " class="btn btn-primary" |
|
|
|
@click.stop="gotoEditUserOrUnitInfo(state.orderInfo)">继续申请</view> |
|
|
|
<view v-if="state.orderInfo.orderStep=='WAITING_ACTIVE' && state.orderInfo.shippingStatus == 'RECEIVED'" class="btn btn-primary" @click.stop="gotoReturnOrder(state.orderInfo)">申请退货</view> |
|
|
|
<view v-if="state.orderInfo.orderStep=='WAITING_ACTIVE' && state.orderInfo.shippingStatus == 'RECEIVED'" class="btn btn-primary" @click.stop="gotoExchangeOrder(state.orderInfo)">申请换货</view> |
|
|
|
<view v-if="state.orderInfo.orderStep=='WAITING_RECEIVE' && state.orderInfo.shippingStatus=='WAIT_RECEIVING'" class="btn btn-primary" @click.stop="gotoConfirmReceipt(state.orderInfo)">确认收货</view> |
|
|
|
<view v-if="(state.orderInfo.orderStep=='WAITING_AUDIT' || state.orderInfo.orderStep=='WAITING_SEND') && state.orderInfo.shippingStatus=='WAIT_SHIPPING'" |
|
|
|
class="btn btn-primary" @click.stop="gotoEditAddressNew(state.orderInfo)">修改地址</view> |
|
|
|
<!--//评价暂不上线 |
|
|
|
<view v-if="state.orderInfo.canEvaluate== true" class="btn btn-primary" @click.stop="gotoEvaluateProduct(state.orderInfo)">去评价产品</view>--> |
|
|
|
<view v-if="(state.orderInfo.orderStep=='ORDER_INIT'||state.orderInfo.orderStep=='CUSTOMER_UPLOAD'||state.orderInfo.orderStep=='VEHICLE_UPLOAD'||state.orderInfo.orderStep=='ORDER_PAID'||state.orderInfo.orderStep=='ORDER_SIGNED'||state.orderInfo.orderStep=='WAITING_AUDIT'||state.orderInfo.orderStep=='AUDIT_FAIL'||state.orderInfo.orderStep=='WAITING_SEND')" |
|
|
|
class="btn btn-primary" @click.stop="gotoCancelOrder(state.orderInfo)">取消订单</view> |
|
|
|
</view> |
|
|
|
<view v-if=" state.orderInfo.orderSource == 'WECHAT' && (state.orderInfo.orderStep=='ORDER_INIT'||state.orderInfo.orderStep=='CUSTOMER_UPLOAD') " class="btn btn-primary" |
|
|
|
@click.stop="gotoEditUserOrUnitInfo(state.orderInfo)">继续申请</view> |
|
|
|
<view v-if="state.orderInfo.orderSource == 'WECHAT' && state.orderInfo.orderStep=='WAITING_ACTIVE' && state.orderInfo.shippingStatus == 'RECEIVED'" class="btn btn-primary" @click.stop="gotoReturnOrder(state.orderInfo)">申请退货</view> |
|
|
|
<view v-if="state.orderInfo.orderSource == 'WECHAT' && state.orderInfo.orderStep=='WAITING_ACTIVE' && state.orderInfo.shippingStatus == 'RECEIVED'" class="btn btn-primary" @click.stop="gotoExchangeOrder(state.orderInfo)">申请换货</view> |
|
|
|
<view v-if="state.orderInfo.orderSource == 'WECHAT' && state.orderInfo.orderStep=='WAITING_RECEIVE' && state.orderInfo.shippingStatus=='WAIT_RECEIVING'" class="btn btn-primary" @click.stop="gotoConfirmReceipt(state.orderInfo)">确认收货</view> |
|
|
|
<view v-if="state.orderInfo.orderSource == 'WECHAT' && (state.orderInfo.orderStep=='WAITING_AUDIT' || state.orderInfo.orderStep=='WAITING_SEND') && state.orderInfo.shippingStatus=='WAIT_SHIPPING'" |
|
|
|
class="btn btn-primary" @click.stop="gotoEditAddressNew(state.orderInfo)">修改地址</view> |
|
|
|
<!--//评价暂不上线 |
|
|
|
<view v-if="state.orderInfo.canEvaluate== true" class="btn btn-primary" @click.stop="gotoEvaluateProduct(state.orderInfo)">去评价产品</view>--> |
|
|
|
<view v-if="state.orderInfo.orderSource == 'WECHAT' && (state.orderInfo.orderStep=='ORDER_INIT'||state.orderInfo.orderStep=='CUSTOMER_UPLOAD'||state.orderInfo.orderStep=='VEHICLE_UPLOAD'||state.orderInfo.orderStep=='ORDER_PAID'||state.orderInfo.orderStep=='ORDER_SIGNED'||state.orderInfo.orderStep=='WAITING_AUDIT'||state.orderInfo.orderStep=='AUDIT_FAIL'||state.orderInfo.orderStep=='WAITING_SEND')" |
|
|
|
class="btn btn-primary" @click.stop="gotoCancelOrder(state.orderInfo)">取消订单</view> |
|
|
|
<view v-if="state.orderInfo.orderStep=='VEHICLE_UPLOAD'" class="btn btn-primary" @click.stop="gotoOrderDetailsPay(state.orderInfo)">支付</view> |
|
|
|
<view v-if="state.orderInfo.orderStep=='WAITING_ACTIVE'" class="btn btn-primary" @click.stop="gotoActiveOrder(state.orderInfo)">去激活</view> |
|
|
|
<view v-if="state.orderInfo.orderStep=='ORDER_PAID'" class="btn btn-primary" @click.stop="gotoOrderSign(state.orderInfo)">签约</view> |