问题描述:
在商品列表“仓库中”下,选择“所有页”,点击“强制下架”。

解决方法:
admin端
修改文件:src/pages/product/productList/index.vue。搜索“forcedRemovalSave”修改如下。

forcedRemovalSave() {
let data = {
data: this.forcedRemovalForm,
type: 13,
ids: this.checkUidList,
all: this.isAll,
};
if (this.isAll == 1) {
data.where = this.artFrom;
}
batchProcess(data)
.then((res) => {
this.forcedRemovalShow = false;
this.$Message.success(res.msg);
this.getDataList();
})
.catch((res) => {
this.$Message.error(res.msg);
});
},修改完成后需要重新打包,打包教程: https://doc.crmeb.com/pro/crmebprov3_4/30878

