Commit 7f7b0501 by crushh

fix: 待上架

parent bd791e19
...@@ -812,10 +812,10 @@ export default { ...@@ -812,10 +812,10 @@ export default {
let type = ''; let type = '';
let proId = ''; let proId = '';
for (const item of this.selectArr) { for (const item of this.selectArr) {
if (item.status === 1) { if (item.shelf === 1 || item.shelf === 3) {
// 下架状态(进行上架操作) // 下架状态(进行上架操作)
soldOutArr.push(item.integralMallProId); soldOutArr.push(item.integralMallProId);
} else if (item.status === 2) { } else if (item.shelf === 2) {
// 上架状态(进行下架操作) // 上架状态(进行下架操作)
shelfArr.push(item.integralMallProId); shelfArr.push(item.integralMallProId);
} }
......
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 to comment