Переглянути джерело

Merge branch 'linwenxin_dev' of https://gogs.zfire.top/zfire-front/zfire-newmall-admin into develop

linwenxin 1 рік тому
батько
коміт
e3cbbf300f
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      src/views/mallManagement/setActivity/index.vue

+ 3 - 0
src/views/mallManagement/setActivity/index.vue

@@ -545,6 +545,9 @@ export default {
           }
           }
         },
         },
         createActivity: {
         createActivity: {
+          conditions: ({ row, index, column }) => {
+            return !!~[0, 2].indexOf(row.status) || !!~['待生效','生效中'].indexOf(row.statusText)
+          },
           click: ({ row, index, column }) => {
           click: ({ row, index, column }) => {
             this.$router.push({
             this.$router.push({
               name: "activityOrder",
               name: "activityOrder",