mayf
2024-09-22 ccd49727ee9faf36c004ce9460bd60bce758f017
积分变动时间筛选
还原积分优惠券库存
已修改4个文件
32 ■■■■■ 文件已修改
package.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/marketing/point-mall/coupon/_id.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/marketing/point-mall/coupon/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/marketing/point-mall/point-distribution.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json
@@ -3,7 +3,7 @@
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "start": "cross-env NODE_APP_INSTANCE=dev NODE_ENV=development nuxt",
    "start": "cross-env NODE_APP_INSTANCE=prod NODE_ENV=development nuxt",
    "build:dev": "cross-env NODE_APP_INSTANCE=dev NODE_ENV=production nuxt build",
    "build:prod": "cross-env NODE_APP_INSTANCE=prod NODE_ENV=production nuxt build",
    "launch": "nuxt start",
pages/marketing/point-mall/coupon/_id.vue
@@ -41,9 +41,7 @@
                return `${row.usageTimeNum}${row.usageTimeTypeName}`
              },
            },
            { label: '发放数量:', id: 'couponAmount' },
            { label: '已兑换:', id: 'getNum' },
            { label: '库存:', id: 'unGetNum' },
            { label: '库存:', id: 'couponAmount' },
            { label: '积分数量:', id: 'point' },
          ],
        },
pages/marketing/point-mall/coupon/index.vue
@@ -38,9 +38,7 @@
          },
          ...couponColumn(),
          { label: '状态', prop: 'statusName', minWidth: 120 },
          { label: '发放数量', prop: 'couponAmount', minWidth: 120 },
          { label: '已兑换', prop: 'getNum', minWidth: 120 },
          { label: '库存', prop: 'unGetNum', minWidth: 120 },
          { label: '库存', prop: 'couponAmount', minWidth: 120 },
          { label: '所需积分', prop: 'point', minWidth: 120 },
        ],
        searchForm: [
@@ -71,7 +69,7 @@
            },
          },
          {
            label: '发放数量:',
            label: '库存:',
            id: 'couponAmount',
            type: 'input-number',
            el: {
@@ -81,11 +79,11 @@
              controls: false,
            },
            rules: [
              { required: true, message: '请输入发放数量', trigger: 'blur' },
              { required: true, message: '请输入库存', trigger: 'blur' },
              {
                type: 'number',
                min: 1,
                message: '发放数量必须大于0',
                message: '库存必须大于0',
                trigger: 'blur',
              },
            ],
pages/marketing/point-mall/point-distribution.vue
@@ -193,7 +193,7 @@
          { label: '变动类型', prop: 'changeTypeStr' },
          { label: '变动积分', prop: 'point' },
          { label: '变动原因', prop: 'typeStr' },
          { label: '变动时间', prop: 'recordDate' },
          { label: '变动时间', prop: 'createTime' },
          { label: '备注', prop: 'remarks' },
        ],
        searchFormAttrs: {
@@ -217,6 +217,20 @@
                span: 24,
              },
              {
                label: '变动时间:',
                id: 'createTimeStartStr',
                component: 'el-bus-date-range',
                el: {
                  type: 'datetime',
                  format: 'yyyy-MM-dd HH:mm:ss',
                  valueFormat: 'yyyy-MM-dd HH:mm:ss',
                },
                commonFormat: true,
                commonFormatProps: ['createTimeStartStr', 'createTimeEndStr'],
                searchImmediately: true,
                span: 24,
              },
              {
                label: '备注:',
                id: 'remarks',
                type: 'input',