zhongtianhaoyuan %!s(int64=3) %!d(string=hai) anos
pai
achega
acfd10a9fa
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      pages/order/orderDetails.vue

+ 2 - 1
pages/order/orderDetails.vue

@@ -17,7 +17,8 @@
 			<!-- flex flex-space-between -->
 			<view class="item2">
 				<u-button class="btn" text="查看合同" @click="lookContract"></u-button>
-				<u-button class="btn" text="签订合同" @click="signContract" ></u-button>
+				<!-- <u-button class="btn" text="签订合同" @click="signContract" ></u-button> -->
+			     <u-button class="btn" text="签订合同" @click="signContract" v-if="dataObj.cargoOwnerStatus=='未装车'&&dataObj.driverContract!='1'"></u-button>
 				<u-button class="btn" text="终止" @click="stop"  v-if="dataObj.orderStatus=='待货主确认'||dataObj.orderStatus=='未装车'"></u-button>
 				<!-- <u-button class="btn" text="联系客服"  @click="$helper.contactCustomerService"></u-button> -->
 				<!-- <u-button class="btn" text="确认装车" @click="confirmLoading" v-if="dataObj.orderStatus=='未装车'&&dataObj.driverContract=='1'"></u-button> -->