From a93d4f40f35ad4464ec1d5602262a1d8d8407ece Mon Sep 17 00:00:00 2001 From: lisy <linlangsur163@163.com> Date: 星期二, 08 八月 2023 21:04:12 +0800 Subject: [PATCH] app端口:积分商品详情的字段处理 --- cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js index 92d6406..87a8a3e 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShop.js @@ -8,16 +8,17 @@ layerIndex: -1 }; var language =1 +var role =$("#role").val() /** * 初始化表格的列 */ TCompetition.initColumn = function () { return [ {field: 'selectItem', radio: true}, - {title: '省', field: 'province', visible: true, align: 'center', valign: 'middle' + {title: '省', field: 'province', visible: role==1?true:false, align: 'center', valign: 'middle' }, - {title: '市', field: 'city', visible: true, align: 'center', valign: 'middle'}, - {title: '所属账号', field: 'account', visible: true, align: 'center', valign: 'middle' + {title: '市', field: 'city', visible: role==1?true:false, align: 'center', valign: 'middle'}, + {title: '所属账号', field: 'account', visible: role==1?true:false, align: 'center', valign: 'middle' }, {title: '门店名称', field: 'name', visible: true, align: 'center', valign: 'middle' }, -- Gitblit v1.7.1