linwenxin 5 mesi fa
parent
commit
3d7515767c
1 ha cambiato i file con 11 aggiunte e 6 eliminazioni
  1. 11 6
      src/packageWorkorder/pages/orderDetail.vue

+ 11 - 6
src/packageWorkorder/pages/orderDetail.vue

@@ -632,13 +632,18 @@
                 v-if="detail.pgOrderFlags && detail.pgOrderFlags.some(o => o.tag == 'JIA_JI')"
               ></u-button>
               <u-button plain type="primary" text="加急" @tap="actionUrgent(true)" v-else></u-button>
-              <u-button
-                v-if="detail.orderType == 'INSTALL' ? !!userInfo.workerNumber : true"
-                type="primary"
-                text="接单"
-                @tap="actionReceive()"
-              ></u-button>
             </block>
+
+            <u-button
+              v-if="
+                (orderStatus_v == 'DJD' || (detail.isImportExcel && !detail.isMeet)) &&
+                (detail.orderType == 'INSTALL' ? !!userInfo.workerNumber : true)
+              "
+              type="primary"
+              text="接单"
+              @tap="actionReceive()"
+            ></u-button>
+
             <!-- 服务中 -->
             <block v-if="orderStatus_v == 'FWZ' || orderStatus_v == 'YCD'">
               <u-button