diff --git a/src/views/marketing/compose/add.vue b/src/views/marketing/compose/add.vue index e3742d4..50f000a 100644 --- a/src/views/marketing/compose/add.vue +++ b/src/views/marketing/compose/add.vue @@ -158,7 +158,7 @@ - + />--> + @@ -193,6 +200,7 @@ export default { isVisible: false, // 选择商品弹窗 inputDiscountTableData: [], selectionKeys: [], + prodSearch: undefined } }, watch: { @@ -401,6 +409,12 @@ export default { numFilter(value) { const realVal = parseFloat(value).toFixed(2) return realVal + }, + searchProd() { + this.proOption.page = 1 + this.proOption.pageSize = 10 + this.proOption.searchContent = this.prodSearch + this.getProList() } } } @@ -410,7 +424,7 @@ export default { @import url("../../../styles/elDialog.scss"); .addGroupBuy { background: #FFFFFF; - + .formBox { margin-top: 20px; .flexBox { diff --git a/src/views/marketing/price/add.vue b/src/views/marketing/price/add.vue index 4125853..af24e7e 100644 --- a/src/views/marketing/price/add.vue +++ b/src/views/marketing/price/add.vue @@ -147,7 +147,7 @@ - + />--> +