From 47e23cf659d4cc58bc93b44b16e64e82efcfb08d Mon Sep 17 00:00:00 2001
From: zhibing.pu <393733352@qq.com>
Date: 星期三, 24 七月 2024 17:34:27 +0800
Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0

---
 cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js b/cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js
index f7e89af..93e8afe 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js
@@ -30,7 +30,7 @@
         },
         {title: '兑换地点', field: 'useScope', visible: true, align: 'center', valign: 'middle',
             formatter: function (value, row, index) {
-                return {1: "全国", 2: "指定城市", 3: "指定门店"}[value]
+                return {1: "全国", 2: "指定城市", 3: "指定门店",4:"指定场地"}[value]
             }
         },
         {title: '用户人群', field: 'userPopulation', visible: true, align: 'center', valign: 'middle',
@@ -57,6 +57,10 @@
                 return {1: "上架", 2: "下架"}[value]
             }
         },
+        {title: '审核状态', field: 'auditStatus', visible: true, align: 'center', valign: 'middle',
+            formatter: function (value, row, index) {
+                return {2: "待审核", 1: "已通过",3: "已拒绝"}[value]
+            }},
     ];
 };
 function currentTime(timestamp){
@@ -178,6 +182,7 @@
  */
 TPointProducts.onShelf = function () {
     if (this.check()){
+
         var selected = $('#' + this.id).bootstrapTable('getSelections');
         const data1 = {
             ids:[],
@@ -211,6 +216,11 @@
  */
 TPointProducts.offShelf = function () {
     if (this.check()){
+        // let size =  TPointProducts.seItem.size
+        // if(size>0){
+        //     Feng.info("没有操作权限");
+        //     return;
+        // }
         var selected = $('#' + this.id).bootstrapTable('getSelections');
         const data1 = {
             ids:[],

--
Gitblit v1.7.1