2 Commits e9544de270 ... bd4e7ceea7

Author SHA1 Message Date
  xieyong bd4e7ceea7 merge dev into test: 同步库存展示兜底逻辑 17 hours ago
  xieyong be817ce0e9 fix: 更新库存展示逻辑,支持物品维度和批次维度的兜底展示(同步调整) 17 hours ago
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/pick/pickApply/components/selfBuildPick.vue

+ 3 - 1
src/views/pick/pickApply/components/selfBuildPick.vue

@@ -123,7 +123,9 @@
 
           <el-table-column label="计量库存数量" prop="measureQuantity">
             <template slot-scope="{ row, $index }">
-              {{ row.measureQuantity }} {{ row.measuringUnit }}
+              <!--  物品维度后端回填的是 measureQuantity(物品聚合库存),
+               批次维度回填的是 stockCountBase(批次库存),两者兜底展示 -->
+              {{ row.stockCountBase ?? row.measureQuantity }} {{ row.measuringUnit }}
             </template>
           </el-table-column>