Procházet zdrojové kódy

空盘头和0库存的不能点击

liling před 6 dny
rodič
revize
cb4544ae0f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/house/pantou/index.vue

+ 1 - 1
src/views/house/pantou/index.vue

@@ -18,7 +18,7 @@
                 <el-table-column label="种类" align="center" prop="name" fixed></el-table-column>
                 <el-table-column label="当前库存" align="center" prop="curr">
                     <template  #default="scope">
-                        <a javascript="void(0)" @click="currDetail(scope.row)" style="color: cornflowerblue;text-decoration: underline;">{{ scope.row.curr }}</a>
+                        <a v-if="scope.row.name.indexOf('空盘头')==-1&&scope.row.curr>0" javascript="void(0)" @click="currDetail(scope.row)" style="color: cornflowerblue;text-decoration: underline;">{{ scope.row.curr }}</a>
                     </template>
                 </el-table-column>
                 <el-table-column label="入库数量" align="center" prop="in"></el-table-column>