Explorar el Código

新品上线信息

chenrui hace 1 año
padre
commit
4b4113dc0a
Se han modificado 1 ficheros con 11 adiciones y 11 borrados
  1. 11 11
      src/views/Home.vue

+ 11 - 11
src/views/Home.vue

@@ -83,7 +83,7 @@ export default {
     // 查看更多产品
     seeMore () {
       this.openNewProduct = false
-      this.$router.push({ name: this.onlineFalg == 1 ? 'newProductList' : 'oldProductList', params: { onlineFalg: this.onlineFalg } })
+      this.$router.push({ name: this.onlineFalg == 1 ? 'newProductList' : 'oldProductList', params: { onlineFalg: this.onlineFalg, type: 'newProduct' } })
     },
     // 关闭弹框
     cancelProductTips () {
@@ -108,16 +108,16 @@ export default {
         vm.openResetPwd = true
       }
       // 退货原因列表
-        vm.getLookUpDataByCode({
-          code: 'GOOD_PRODUCT_RETURN',
-          key: 'goodReturnReason',
-          isEnable: 1
-        })
-        vm.getLookUpDataByCode({
-          code: 'DEFECTIVE_PRODUCT_RETURN',
-          key: 'defectiveReturnReason',
-          isEnable: 1
-        })
+      vm.getLookUpDataByCode({
+        code: 'GOOD_PRODUCT_RETURN',
+        key: 'goodReturnReason',
+        isEnable: 1
+      })
+      vm.getLookUpDataByCode({
+        code: 'DEFECTIVE_PRODUCT_RETURN',
+        key: 'defectiveReturnReason',
+        isEnable: 1
+      })
       // 菜单数据
       vm.getYyMenuList()
       vm.$store.state.app.priceAuthOptions = [