yumeng 2 år sedan
förälder
incheckning
c763952a39
1 ändrade filer med 11 tillägg och 11 borttagningar
  1. 11 11
      src/views/goodsManagement/samplingList.vue

+ 11 - 11
src/views/goodsManagement/samplingList.vue

@@ -133,7 +133,7 @@
 
       <el-form-item
         label="单号"
-        prop="consignee"
+        prop="courierNumber"
         v-if="queryParams.collectSampleStatus == '4'"
       >
         <el-input
@@ -145,7 +145,7 @@
       </el-form-item>
 
 
-      <el-form-item label="物流状态" >
+      <el-form-item v-if="queryParams.collectSampleStatus == '4'" label="物流状态" prop="collectSampleDesc">
         <el-select
           filterable
           v-model="queryParams.collectSampleDesc"
@@ -475,11 +475,11 @@
             v-if="queryParams.collectSampleStatus == '4'"
           >
             <template slot-scope="scope">
-              <div v-if="!!scope.row.courierNumber" >
-                <div v-if="scope.row.collectSampleDesc== '单号异常'" >
-                 <span style="color: red">{{ scope.row.courierNumber }}</span>
+              <div v-if="!!scope.row.courierNumber">
+                <div v-if="scope.row.collectSampleDesc== '单号异常'">
+                  <span style="color: red">{{ scope.row.courierNumber }}</span>
                 </div>
-                <div v-else>  {{ scope.row.courierNumber }}</div>
+                <div v-else> {{ scope.row.courierNumber }}</div>
               </div>
               <div v-else>-</div>
             </template>
@@ -1296,11 +1296,11 @@
     },
     activated() {
       this.$nextTick(() => {
-        if (this.$route && this.$route.query.promoterId) {
-          this.$set(this.queryParams, "promoterId", this.$route.query.promoterId);
-        } else {
-          this.$set(this.queryParams, "promoterId", undefined);
-        }
+        // if (this.$route && this.$route.query.promoterId) {
+        //   this.$set(this.queryParams, "promoterId", this.$route.query.promoterId);
+        // } else {
+        //   this.$set(this.queryParams, "promoterId", undefined);
+        // }
         this.getPersonList();
         if (localStorage.getItem("samplingType")) {
           this.$set(