diff --git a/src/views/goods/Index.vue b/src/views/goods/Index.vue
index 99aa82e..d8f33f5 100644
--- a/src/views/goods/Index.vue
+++ b/src/views/goods/Index.vue
@@ -156,7 +156,7 @@
删除
-
+
@@ -401,6 +401,9 @@ export default {
})
},
+ refreshParentMethod(){
+ this.handleRefresh(true)
+ },
// 重置搜索表单
handleReset () {
this.searchForm.resetFields()
@@ -489,4 +492,8 @@ export default {
.goodsWidth {
min-width: 220px;
}
+.ant-table .actions a {
+ padding: 20px 4px;
+ margin: 0;
+}
diff --git a/src/views/goods/filter/Index.vue b/src/views/goods/filter/Index.vue
index 665fd4b..2ce2bab 100644
--- a/src/views/goods/filter/Index.vue
+++ b/src/views/goods/filter/Index.vue
@@ -247,7 +247,6 @@ export default {
onFormSubmit(values) {
const params = {}
params.fliter_condition = values.fliter_condition.map((x, i) => {
- console.log(i)
return {
category: values[`category${i}`],
profit: values[`profit${i}`],
@@ -289,7 +288,6 @@ export default {
.fan {
display: flex;
align-items: top;
- height: 40px;
}
.fan /deep/ .ant-form-item {
margin-bottom: 0;
diff --git a/src/views/goods/modules/Update.vue b/src/views/goods/modules/Update.vue
index deb99ab..2e58077 100644
--- a/src/views/goods/modules/Update.vue
+++ b/src/views/goods/modules/Update.vue
@@ -753,9 +753,10 @@ export default {
.then((result) => {
// 显示提示信息
this.$message.success(result.message, 1.5)
+ this.$emit('refresh');
setTimeout(() => {
this.handleCancel()
- }, 1500)
+ }, 500)
})
.catch(() => {
this.isBtnLoading = false