zhaolf 3 lat temu
rodzic
commit
1ba08983f6

+ 2 - 2
src/pages/brand/components/showtable.vue

@@ -128,7 +128,7 @@
                         B: "否",
                         C: "是",
                         D: "否",
-                        E: "商标有效期,yyyy-MM-dd HH:mm:ss"
+                        E: "商标有效期,yyyy-MM-dd"
                     },
                     {
                         A: "否",
@@ -149,7 +149,7 @@
                         B: "是",
                         C: "否",
                         D: "是",
-                        E: "商标申请时间, yyyy-MM-dd HH:mm:ss"
+                        E: "商标申请时间, yyyy-MM-dd"
                     },
                     {
                         A: "否",

+ 2 - 2
src/pages/goods/addGoods/index.vue

@@ -213,7 +213,7 @@
                             add(params).then(() => {
                                 this.$message.success('添加成功');
                                 store.commit('SET_TABINDEX', 0)
-                                this.$router.push('/goods')
+                                this.$router.push({name:'goods',params:{checking:true}})
                                 store.commit('REMOVETAB', '商品信息')
                             }).catch(() => {
                                 this.loading = false
@@ -223,7 +223,7 @@
                             edit(params).then(() => {
                                 this.$message.success('修改成功');
                                 store.commit('SET_TABINDEX', 0)
-                                this.$router.push('/goods')
+                                this.$router.push({name:'goods',params:{checking:true}})
                                 store.commit('REMOVETAB', '商品信息')
                                 store.commit('REMOVETAB', '商品详情')
                             }).catch(() => {

+ 7 - 0
src/pages/goods/index.vue

@@ -190,9 +190,16 @@
           });
         })
       },
+      initPage(){
+        if(this.$route.params.checking){
+          this.searchForm.type='3'
+          this.getPageList()
+        }
+      }
     },
     activated() {
       this.getPageList()
+      this.initPage()
     },
     mounted() {
     }