Explorar el Código

将链接放在资产编码上

LinWuTai hace 11 meses
padre
commit
961a44156e
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      lab-ui/src/views/asset/asset/index.vue

+ 3 - 3
lab-ui/src/views/asset/asset/index.vue

@@ -210,12 +210,12 @@
     <el-table v-loading="loading" :data="assetList" @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
       <el-table-column label="编号" align="center" prop="id" />
-      <el-table-column label="条形码" align="center" prop="barCode" >
+      <el-table-column label="条形码" align="center" prop="barCode" />
+      <el-table-column label="资产编号" align="center" prop="number" >
         <template slot-scope="scope">
-          <a style="color: #409EFF" @click="openMore(scope.row)">{{scope.row.barCode}}</a>
+          <a style="color: #409EFF" @click="openMore(scope.row)">{{scope.row.number}}</a>
         </template>
       </el-table-column>
-      <el-table-column label="资产编号" align="center" prop="number" />
       <el-table-column label="资产图片" align="center" prop="img" width="90">
         <template slot-scope="scope">
           <image-preview :src="scope.row.img" :width="80" :height="80" v-show="!(scope.row.img===''||scope.row.img==null)"/>