Ver código fonte

feat: 物流信息只能物流快递能看

zh 2 anos atrás
pai
commit
0a983f2fb4

+ 1 - 1
src/views/supply/pickup/components/pickup_form.vue

@@ -332,7 +332,7 @@
             min-width="100"
             show-overflow-tooltip
           ></el-table-column>
-          <el-table-column fixed="right" label="操作" width="100" v-if="flag">
+          <el-table-column fixed="right" label="操作" width="100" v-if="flag && mainForm.pickupWay=='2'">
             <template slot-scope="scope">
               <el-button @click="handLogistics(scope.row)" type="text" size="small">物流信息</el-button>
             </template>

+ 1 - 1
src/views/supply/pickup/sum_list.vue

@@ -260,7 +260,7 @@
           <el-table-column align="left" label="备注" prop="remark" min-width="100" show-overflow-tooltip />
           <el-table-column fixed="right" label="操作" width="100" >
             <template slot-scope="scope">
-              <el-button @click="handLogistics(scope.row)" type="text" size="small">物流信息</el-button>
+              <el-button v-if="scope.row.pickType != '1' " @click="handLogistics(scope.row)" type="text" size="small">物流信息</el-button>
             </template>
           </el-table-column>
         </el-table>