shaogen1995 4 anni fa
parent
commit
98057c2903
2 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. 3 3
      src/views/collect/collect0.vue
  2. 3 3
      src/views/holding/holding3.vue

+ 3 - 3
src/views/collect/collect0.vue

@@ -84,7 +84,7 @@
               </el-table-column>
               <el-table-column prop="age" sortable label="年代" width="180">
               </el-table-column>
-              <el-table-column prop="textureType" sortable label="质地" width="220">
+              <el-table-column prop="texture" sortable label="质地" width="220">
               </el-table-column>
               <el-table-column prop="status" label="状态" width="130">
               </el-table-column>
@@ -218,8 +218,8 @@ export default {
       this.imgList = res.data.list
       this.tableData = res.data.list
       this.tableData.forEach(v => {
-        if (v.textureType === 0) v.textureType = '单一质地'
-        else if (v.textureType === 1) v.textureType = '复合质地'
+        // if (v.textureType === 0) v.textureType = '单一质地'
+        // else if (v.textureType === 1) v.textureType = '复合质地'
         if (v.status === 0) v.status = '保管中'
         else if (v.status === 1) v.status = '已提用'
         else v.status = '已注销'

+ 3 - 3
src/views/holding/holding3.vue

@@ -84,7 +84,7 @@
               </el-table-column>
               <el-table-column prop="age" sortable label="年代" width="180">
               </el-table-column>
-              <el-table-column prop="textureType" sortable label="质地" width="220">
+              <el-table-column prop="texture" sortable label="质地" width="220">
               </el-table-column>
               <el-table-column prop="status" label="状态" width="130">
               </el-table-column>
@@ -219,8 +219,8 @@ export default {
       this.imgList = res.data.list
       this.tableData = res.data.list
       this.tableData.forEach(v => {
-        if (v.textureType === 0) v.textureType = '单一质地'
-        else if (v.textureType === 1) v.textureType = '复合质地'
+        // if (v.textureType === 0) v.textureType = '单一质地'
+        // else if (v.textureType === 1) v.textureType = '复合质地'
         if (v.status === 0) v.status = '待入库'
         else if (v.status === 1) v.status = '已入库'
         else v.status = '已出库'