Commit 948d3668 by liangjianmin

fix(putaway): 扩展库存类型红色标识范围

- 将库存类型红色标识从仅类型3扩展到类型2和3
- 使用includes方法判断库存类型,提升代码可读性
parent 02616cf2
Showing with 1 additions and 1 deletions
......@@ -101,7 +101,7 @@
</view>
<view class="text-item row">
<text class="label">库存类型:</text>
<text class="tt" :style="{ color: item.stock_type === 3 ? '#f00' : '' }">{{ item.stock_type_val }}</text>
<text class="tt" :style="{ color: [2, 3].includes(item.stock_type) ? '#f00' : '' }">{{ item.stock_type_val }}</text>
</view>
<view class="text-item row">
<text class="label">明细备注:</text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment