From c0abf1b8be71aef5089151ca8601a3b69b21a09d Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期二, 01 四月 2025 18:10:10 +0800
Subject: [PATCH] 惠民卡代码
---
cloud-server-management/src/main/webapp/static/modular/system/ticket/ticket.js | 23 +++++++----------------
1 files changed, 7 insertions(+), 16 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 5d64418..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',
@@ -164,11 +164,6 @@
*/
TPointProducts.openEditPage = function () {
if (this.check()) {
- let size = TPointProducts.seItem.size
- if(size>0){
- Feng.info("没有操作权限");
- return;
- }
var index = layer.open({
type: 2,
title:'编辑',
@@ -187,11 +182,7 @@
*/
TPointProducts.onShelf = function () {
if (this.check()){
- let size = TPointProducts.seItem.size
- if(size>0){
- Feng.info("没有操作权限");
- return;
- }
+
var selected = $('#' + this.id).bootstrapTable('getSelections');
const data1 = {
ids:[],
@@ -225,11 +216,11 @@
*/
TPointProducts.offShelf = function () {
if (this.check()){
- let size = TPointProducts.seItem.size
- if(size>0){
- Feng.info("没有操作权限");
- return;
- }
+ // let size = TPointProducts.seItem.size
+ // if(size>0){
+ // Feng.info("没有操作权限");
+ // return;
+ // }
var selected = $('#' + this.id).bootstrapTable('getSelections');
const data1 = {
ids:[],
--
Gitblit v1.7.1