Commit db7e0caa by liangjianmin

fix(tallyReceive): 更新自营商品检查逻辑

- 修改自营商品检查逻辑,仅检查新自营库存类型(stock_type=2)
- 优化提示信息,确保用户在提交理货任务时获得准确反馈
parent f9cd20b3
Showing with 2 additions and 2 deletions
......@@ -881,8 +881,8 @@
return false;
}
// 检查选中的理货任务是否包含自营商品(新自营stock_type=2 或 老自营stock_type=3
var selfOperatedItem = selectedIndexes.map(i => this.list[i]).find(item => item.stock_type == 2 || item.stock_type == 3);
// 检查选中的理货任务是否包含自营商品(新自营stock_type=2)
var selfOperatedItem = selectedIndexes.map(i => this.list[i]).find(item => item.stock_type == 2);
if (selfOperatedItem) {
uni.showToast({
title: '自营商品需要录入相关信息,请单个理货',
......
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