Explorar el Código

修改CustomerDetail页面查询ExpType为等于(0)

klzhangweiya hace 2 meses
padre
commit
9a165d319e

+ 1 - 1
src_0nline/ShwasherSys/ShwasherSys.Web/Views/CustomerInfo/CustomerDetail.cshtml

@@ -431,7 +431,7 @@
 
         function GetSearchList() {
             window._searchList = [];
-            window._searchList.push({ KeyWords: "@Model.Id", KeyField: "CustomerId", FieldType: "0", ExpType: "6" });
+            window._searchList.push({ KeyWords: "@Model.Id", KeyField: "CustomerId", FieldType: "0", ExpType: "0" });
             if ($currentTab == '#defaultProduct') {
                 var count = $("#SearchForm").find(".KeyWords").length;
                 for (var i = 1; i <= count; i++) {

+ 2 - 2
src_0nline/ShwasherSys/ShwasherSys.Web/Web.config

@@ -9,7 +9,7 @@
     <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
   </configSections>
   <connectionStrings>
-    <add name="Default" connectionString="Server=.\SQLEXPRESS; Database=DBwasher2025; User Id=sa;Password=123456" providerName="System.Data.SqlClient" />
+    <add name="Default" connectionString="Server=localhost; Database=DBwasher2025; User Id=sa;Password=123456" providerName="System.Data.SqlClient" />
     <!-- <add name="Default" connectionString="Server=101.132.184.49; Database=DBwasher2020; User Id=sa;Password=Iwb2017;MultipleActiveResultSets=true;"  providerName="System.Data.SqlClient" /> -->
   </connectionStrings>
   <entityFramework>
@@ -46,7 +46,7 @@
     <globalization culture="auto" uiCulture="auto" />
     <compilation debug="true" targetFramework="4.6.1" />
     <httpRuntime targetFramework="4.5.1" maxRequestLength="204800" useFullyQualifiedRedirectUrl="true" executionTimeout="300" />
-    <customErrors mode="On" />
+    <customErrors mode="Off" />
   </system.web>
   <runtime>
     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">