This commit is contained in:
@fawn-nine
2024-05-28 09:36:03 +08:00
parent a8f12d22ef
commit 58f03e6aae
2 changed files with 8 additions and 7 deletions

View File

@@ -143,12 +143,13 @@ export default {
this.getDataList(); this.getDataList();
}, },
submit() { submit() {
var ids = this.multipleSelection.map((e) => e.productId).toString(","); // var ids = this.multipleSelection.map((e) => e.productId).toString(",");
this.$emit("submit", ids); // this.$emit("submit", ids);
console.log( // console.log(
"🚀 ~ submit ~ this.multipleSelection:", // "🚀 ~ submit ~ this.multipleSelection:",
this.multipleSelection // this.multipleSelection
); // );
// this.drawer = false;
}, },
// 获取商品类型 // 获取商品类型

View File

@@ -483,7 +483,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.commonShop.clear(); this.$refs.commonShop.clear();
// this.$refs.commonShop.bookMarketId = null; // this.$refs.commonShop.bookMarketId = null;
this.$refs.commonShop.getDataList(type == "edit" ? form.id : ""); // this.$refs.commonShop.getDataList(type == "edit" ? form.id : "");
}); });
}, },
addOrUpdateHandle() { addOrUpdateHandle() {