Commit cacc4d79 by crushh

Merge branch 'bugfix/待上架' into dev

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