zhongtianhaoyuan před 2 roky
rodič
revize
71fb3f2dff
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/views/orderManagement/orderAudit.vue

+ 2 - 2
src/views/orderManagement/orderAudit.vue

@@ -91,7 +91,7 @@
         <el-table-column prop="invoicing" label="发票"></el-table-column>
         <el-table-column prop="driverContractUrl" label="合同">
           <template scope="scope">
-          <span @click="contract(scope.row)" class="btn_css">查看</span>
+          <span @click="contract(scope.row)" class="btn_css" v-if="scope.row.orderStatusKey>3 && scope.row.cargoOwnerStatus != '已终止'">查看</span>
          </template>
         </el-table-column>
         <el-table-column prop="updateDate" label="更新时间" min-width="160"></el-table-column>
@@ -458,7 +458,7 @@
         this.getList()
       },
       contract(row) {
-        window.open(row.ownerContractUrl)
+        window.open(row.driverContractUrl)
         // this.userInfo = true;
       },
       userClose() {