Browse Source

no message

linwenxin 6 months ago
parent
commit
573be45521

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

@@ -569,20 +569,20 @@
 
       <template slot="footer">
         <view class="bottom-container">
-          <view class="left" style="width: 100%" v-if="detail && !detail.isImportExcel">
+          <view class="left" style="width: 100%" v-if="detail">
             <!-- 待抢单 -->
-            <block v-if="orderStatus_v == 'DQD'">
+            <block v-if="orderStatus_v == 'DQD' && !detail.isImportExcel">
               <u-button type="primary" text="抢单" @tap="qdOrder(detail)"></u-button>
             </block>
           </view>
           <view class="right" v-if="detail">
             <!-- 待接单 -->
-            <block v-if="orderStatus_v == 'DJD' && !detail.isImportExcel">
+            <block v-if="orderStatus_v == 'DJD'">
               <u-button
                 plain
                 type="primary"
                 text="配件申请"
-                v-if="detail.orderType != 'INSTALL'"
+                v-if="detail.orderType != 'INSTALL' && !detail.isImportExcel"
                 @tap="toPartsApply()"
               ></u-button>
               <u-button

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

@@ -126,7 +126,7 @@
             </view>
             <view class="item-btn" @tap.stop>
               <!-- 待接单 -->
-              <block v-if="orderStatus_v(item.orderStatus) == 'DJD'">
+              <block v-if="orderStatus_v(item.orderStatus) == 'DJD' && !item.isImportExcel">
                 <u-button
                   plain
                   type="primary"