From ef80d35cdbabf2ac5fd83f84714b4254e6444fef Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 28 九月 2021 14:22:27 +0800
Subject: [PATCH] 通讯录,账号密码

---
 zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Edit.cshtml |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Edit.cshtml b/zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Edit.cshtml
index 32c82aa..86850ac 100644
--- a/zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Edit.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/AdmGoodsManage/Edit.cshtml
@@ -10,6 +10,8 @@
 
     List<SysCodeDtl> shifou = ViewData["shifou"] as List<SysCodeDtl>; //鐗╁搧鐘舵�� 
 
+    string ClassifyIds = ViewData["ClassifyIds"] as string; //鐗╁搧绫诲瀷
+
 }
 @{
     Layout = null;
@@ -304,7 +306,11 @@
              }
              else {
                  $("#GoodsStatus").val("A");
+                  $("#ClassifyId").val("@ClassifyIds");
              }
+
+
+
 
             });
 
@@ -377,7 +383,7 @@
                 toastr.warning("鏄惁鑰楁潗涓嶈兘涓虹┖");
                 return;
             }
-            
+
 
 
 
@@ -398,7 +404,7 @@
                         if (data.Result) {
                             //  parent._afterSave(true);
                             parent.layer.msg('鎴愬姛淇濆瓨', { icon: 6 });
-                            window.location = "/AdmGoodsManage/Edit";
+                            window.location = "/AdmGoodsManage/Edit?ClassifyIds=" + $("#ClassifyId").val();
 
 
                             //try {

--
Gitblit v1.9.1