This commit is contained in:
pikachu1995@126.com
2026-07-07 09:40:52 +08:00
28 changed files with 689 additions and 259 deletions

View File

@@ -450,9 +450,14 @@ export default {
},
// 下架
lower() {
const reason = this.underForm.reason ? this.underForm.reason.trim() : "";
if (!reason) {
this.$Message.error("下架原因不能为空");
return;
}
let params = {
goodsId: this.id,
reason:this.underForm.reason
reason
};
lowGoods(params).then((res) => {
this.$Modal.remove();