From 5234b3a5f970969cc15b05c52ee9e31d6885d1d5 Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期三, 25 十月 2023 10:36:18 +0800
Subject: [PATCH] 门票 门店权限

---
 cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js b/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js
index 93e2e24..a0ed109 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tGoods/tGoods_info.js
@@ -624,7 +624,7 @@
 
 }
 TGoodsInfoDlg.addSubmit1 = function() {
-    let company = document.querySelector('input[name="company"]:checked').value;
+    let company = 3;
     this.clearData();
     this.collectData();
     if(!this.validate()){
@@ -770,7 +770,7 @@
 
 
     var stores = "";
-    if (company === '3'){
+    if (company === 3 && $("#userType").val()!="3"){
         console.log('3---this.storeIds',this.storeIds);
         if (TGoodsInfoDlg.storeIds.length === 0 ){
             return Feng.error('请至少选择一个门店');

--
Gitblit v1.7.1