linwenxin hai 3 meses
pai
achega
57b794ce97
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/packageWorkorder/pages/orderDetail.vue

+ 1 - 1
src/packageWorkorder/pages/orderDetail.vue

@@ -268,7 +268,7 @@
             <view class="mt30" v-if="!oldData">
               <u-button plain type="primary" text="申请难度费用" @tap="toNandufysq('sub')"></u-button>
             </view>
-            <view class="mt30" v-if="oldData.status == 2 || oldData.websitStatus == 2">
+            <view class="mt30" v-if="oldData && (oldData.status == 2 || oldData.websitStatus == 2)">
               <u-button plain type="primary" text="重新申请难度费用" @tap="toNandufysq('shenhe')"></u-button>
             </view>
             <view class="mt30" v-else-if="oldData">