Browse Source

将链接放在资产编码上

LinWuTai 11 months ago
parent
commit
961a44156e
1 changed files with 3 additions and 3 deletions
  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 v-loading="loading" :data="assetList" @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
       <el-table-column type="selection" width="55" align="center" />
       <el-table-column label="编号" align="center" prop="id" />
       <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">
         <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>
         </template>
       </el-table-column>
       </el-table-column>
-      <el-table-column label="资产编号" align="center" prop="number" />
       <el-table-column label="资产图片" align="center" prop="img" width="90">
       <el-table-column label="资产图片" align="center" prop="img" width="90">
         <template slot-scope="scope">
         <template slot-scope="scope">
           <image-preview :src="scope.row.img" :width="80" :height="80" v-show="!(scope.row.img===''||scope.row.img==null)"/>
           <image-preview :src="scope.row.img" :width="80" :height="80" v-show="!(scope.row.img===''||scope.row.img==null)"/>