diff --git a/.gitignore b/.gitignore index 7264b59..aece0c9 100644 --- a/.gitignore +++ b/.gitignore @@ -109,3 +109,4 @@ epick/obj/ /WindowsServiceOut/obj/x86/Release /WindowsServiceOut/publish /winform/lng/zh-Hans +*.rar diff --git a/App1/obj/Release/120/App1.csproj.AssemblyReference.cache b/App1/obj/Release/120/App1.csproj.AssemblyReference.cache index 867f9c4..c70140a 100644 Binary files a/App1/obj/Release/120/App1.csproj.AssemblyReference.cache and b/App1/obj/Release/120/App1.csproj.AssemblyReference.cache differ diff --git a/App1/obj/Release/120/designtime/build.props b/App1/obj/Release/120/designtime/build.props index a250d89..85f22b6 100644 --- a/App1/obj/Release/120/designtime/build.props +++ b/App1/obj/Release/120/designtime/build.props @@ -25,7 +25,7 @@ androidgeneratejnimarshalmethods=false os=windows_nt androidincludedebugsymbols=false androidpackagenamingpolicy=lowercasecrc64 -_nugetassetstimestamp=637939215822520618 +_nugetassetstimestamp=638428470221573048 typemapkind=mvid androidsupportedabis=armeabi-v7a arm64-v8a diff --git a/App1/obj/Release/120/flat/drawable_ic_dashboard_black_24dp.xml.flat b/App1/obj/Release/120/flat/drawable_ic_dashboard_black_24dp.xml.flat index c1e3c8f..d6e39f1 100644 Binary files a/App1/obj/Release/120/flat/drawable_ic_dashboard_black_24dp.xml.flat and b/App1/obj/Release/120/flat/drawable_ic_dashboard_black_24dp.xml.flat differ diff --git a/App1/obj/Release/120/flat/drawable_ic_home_black_24dp.xml.flat b/App1/obj/Release/120/flat/drawable_ic_home_black_24dp.xml.flat index ac9de2b..dce2854 100644 Binary files a/App1/obj/Release/120/flat/drawable_ic_home_black_24dp.xml.flat and b/App1/obj/Release/120/flat/drawable_ic_home_black_24dp.xml.flat differ diff --git a/App1/obj/Release/120/flat/drawable_ic_notifications_black_24dp.xml.flat b/App1/obj/Release/120/flat/drawable_ic_notifications_black_24dp.xml.flat index 383bb87..fecc3d4 100644 Binary files a/App1/obj/Release/120/flat/drawable_ic_notifications_black_24dp.xml.flat and b/App1/obj/Release/120/flat/drawable_ic_notifications_black_24dp.xml.flat differ diff --git a/App1/obj/Release/120/flat/layout_activity_main.xml.flat b/App1/obj/Release/120/flat/layout_activity_main.xml.flat index a5f7800..5b76a1e 100644 Binary files a/App1/obj/Release/120/flat/layout_activity_main.xml.flat and b/App1/obj/Release/120/flat/layout_activity_main.xml.flat differ diff --git a/App1/obj/Release/120/flat/menu_navigation.xml.flat b/App1/obj/Release/120/flat/menu_navigation.xml.flat index 6c9b84c..d63da7d 100644 Binary files a/App1/obj/Release/120/flat/menu_navigation.xml.flat and b/App1/obj/Release/120/flat/menu_navigation.xml.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-anydpi-v26_ic_launcher.xml.flat b/App1/obj/Release/120/flat/mipmap-anydpi-v26_ic_launcher.xml.flat index 08d4f0c..c458365 100644 Binary files a/App1/obj/Release/120/flat/mipmap-anydpi-v26_ic_launcher.xml.flat and b/App1/obj/Release/120/flat/mipmap-anydpi-v26_ic_launcher.xml.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-anydpi-v26_ic_launcher_round.xml.flat b/App1/obj/Release/120/flat/mipmap-anydpi-v26_ic_launcher_round.xml.flat index 72139cb..3904624 100644 Binary files a/App1/obj/Release/120/flat/mipmap-anydpi-v26_ic_launcher_round.xml.flat and b/App1/obj/Release/120/flat/mipmap-anydpi-v26_ic_launcher_round.xml.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher.png.flat b/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher.png.flat index 20d4d03..46fd4ba 100644 Binary files a/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher.png.flat and b/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher_foreground.png.flat b/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher_foreground.png.flat index 6b89ab2..997a074 100644 Binary files a/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher_foreground.png.flat and b/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher_foreground.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher_round.png.flat b/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher_round.png.flat index 6a305a2..1074dd0 100644 Binary files a/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher_round.png.flat and b/App1/obj/Release/120/flat/mipmap-hdpi_ic_launcher_round.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher.png.flat b/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher.png.flat index a09245f..1fda1e2 100644 Binary files a/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher.png.flat and b/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher_foreground.png.flat b/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher_foreground.png.flat index 32d17fe..e6e2bc6 100644 Binary files a/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher_foreground.png.flat and b/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher_foreground.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher_round.png.flat b/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher_round.png.flat index 9970fea..8731bb1 100644 Binary files a/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher_round.png.flat and b/App1/obj/Release/120/flat/mipmap-mdpi_ic_launcher_round.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher.png.flat b/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher.png.flat index 05dba64..deca7a1 100644 Binary files a/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher.png.flat and b/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher_foreground.png.flat b/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher_foreground.png.flat index 354b9dd..4a62418 100644 Binary files a/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher_foreground.png.flat and b/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher_foreground.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher_round.png.flat b/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher_round.png.flat index c0bfde9..4a3cd98 100644 Binary files a/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher_round.png.flat and b/App1/obj/Release/120/flat/mipmap-xhdpi_ic_launcher_round.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher.png.flat b/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher.png.flat index c148601..7dc9200 100644 Binary files a/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher.png.flat and b/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher_foreground.png.flat b/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher_foreground.png.flat index d676842..b83183d 100644 Binary files a/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher_foreground.png.flat and b/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher_foreground.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher_round.png.flat b/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher_round.png.flat index 702c568..3b8425f 100644 Binary files a/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher_round.png.flat and b/App1/obj/Release/120/flat/mipmap-xxhdpi_ic_launcher_round.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher.png.flat b/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher.png.flat index 0abc610..97f6826 100644 Binary files a/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher.png.flat and b/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher_foreground.png.flat b/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher_foreground.png.flat index 94e5350..bb22d44 100644 Binary files a/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher_foreground.png.flat and b/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher_foreground.png.flat differ diff --git a/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher_round.png.flat b/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher_round.png.flat index 0112e71..16c9a6e 100644 Binary files a/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher_round.png.flat and b/App1/obj/Release/120/flat/mipmap-xxxhdpi_ic_launcher_round.png.flat differ diff --git a/App1/obj/Release/120/flat/values_colors.arsc.flat b/App1/obj/Release/120/flat/values_colors.arsc.flat index 11841c9..ba3b080 100644 Binary files a/App1/obj/Release/120/flat/values_colors.arsc.flat and b/App1/obj/Release/120/flat/values_colors.arsc.flat differ diff --git a/App1/obj/Release/120/flat/values_dimens.arsc.flat b/App1/obj/Release/120/flat/values_dimens.arsc.flat index bc0e59c..7bf64d2 100644 Binary files a/App1/obj/Release/120/flat/values_dimens.arsc.flat and b/App1/obj/Release/120/flat/values_dimens.arsc.flat differ diff --git a/App1/obj/Release/120/flat/values_ic_launcher_background.arsc.flat b/App1/obj/Release/120/flat/values_ic_launcher_background.arsc.flat index 3ecf688..a4fa6f8 100644 Binary files a/App1/obj/Release/120/flat/values_ic_launcher_background.arsc.flat and b/App1/obj/Release/120/flat/values_ic_launcher_background.arsc.flat differ diff --git a/App1/obj/Release/120/flat/values_strings.arsc.flat b/App1/obj/Release/120/flat/values_strings.arsc.flat index e4196a7..9daea79 100644 Binary files a/App1/obj/Release/120/flat/values_strings.arsc.flat and b/App1/obj/Release/120/flat/values_strings.arsc.flat differ diff --git a/App1/obj/Release/120/flat/values_styles.arsc.flat b/App1/obj/Release/120/flat/values_styles.arsc.flat index 447a5eb..053cf38 100644 Binary files a/App1/obj/Release/120/flat/values_styles.arsc.flat and b/App1/obj/Release/120/flat/values_styles.arsc.flat differ diff --git a/App1/obj/Release/120/libraryprojectimports.cache b/App1/obj/Release/120/libraryprojectimports.cache index 6a0e5a0..394d416 100644 --- a/App1/obj/Release/120/libraryprojectimports.cache +++ b/App1/obj/Release/120/libraryprojectimports.cache @@ -1 +1 @@ -E:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\41\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\42\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\43\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\44\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\45\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\46\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\47\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\48\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\49\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\50\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\51\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\52\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\53\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\54\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\55\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\56\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\57\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\58\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\59\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\60\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\61\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\62\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\63\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\64\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\65\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\66\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\67\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\68\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\69\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\70\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\71\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\72\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\73\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\74\jl\classes.jarE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\38\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\43\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\49\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\56\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\57\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\60\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\65\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\67\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\70\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\71\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\72\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\73\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\74\jl\resE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\38.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\43.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\49.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\56.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\57.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\60.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\65.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\67.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\70.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\71.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\72.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\73.stampE:\win10e\wms\vsprojectOwen3\vsprojectOwen\App1\obj\Release\120\lp\74.stamp \ No newline at end of file +E:\ldj\source\vs\App1\obj\Release\120\lp\41\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\42\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\43\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\44\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\45\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\46\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\47\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\48\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\49\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\50\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\51\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\52\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\53\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\54\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\55\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\56\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\57\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\58\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\59\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\60\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\61\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\62\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\63\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\64\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\65\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\66\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\67\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\68\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\69\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\70\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\71\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\72\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\73\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\74\jl\classes.jarE:\ldj\source\vs\App1\obj\Release\120\lp\38\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\43\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\49\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\56\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\57\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\60\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\65\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\67\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\70\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\71\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\72\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\73\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\74\jl\resE:\ldj\source\vs\App1\obj\Release\120\lp\38.stampE:\ldj\source\vs\App1\obj\Release\120\lp\43.stampE:\ldj\source\vs\App1\obj\Release\120\lp\49.stampE:\ldj\source\vs\App1\obj\Release\120\lp\56.stampE:\ldj\source\vs\App1\obj\Release\120\lp\57.stampE:\ldj\source\vs\App1\obj\Release\120\lp\60.stampE:\ldj\source\vs\App1\obj\Release\120\lp\65.stampE:\ldj\source\vs\App1\obj\Release\120\lp\67.stampE:\ldj\source\vs\App1\obj\Release\120\lp\70.stampE:\ldj\source\vs\App1\obj\Release\120\lp\71.stampE:\ldj\source\vs\App1\obj\Release\120\lp\72.stampE:\ldj\source\vs\App1\obj\Release\120\lp\73.stampE:\ldj\source\vs\App1\obj\Release\120\lp\74.stamp \ No newline at end of file diff --git a/Model/base/BaseModel.cs b/Model/base/BaseModel.cs index f96ad36..a87412a 100644 --- a/Model/base/BaseModel.cs +++ b/Model/base/BaseModel.cs @@ -178,7 +178,7 @@ namespace DeiNiu.Data.BaseObject public int getNextSeq(enumCreateOrderType orderType) { string seq = "seq" + Utils.Util.getPrefix(orderType); - LogHelper.debug(GetType(), " seq name is " + seq); + // LogHelper.debug(GetType(), " seq name is " + seq); return model_imp.getSequence("seq" + Utils.Util.getPrefix(orderType) ); } public int getNextSeq(string seqName) diff --git a/Model/wms/data/Erp_purch_Imp.cs b/Model/wms/data/Erp_purch_Imp.cs index 7935a17..91660e2 100644 --- a/Model/wms/data/Erp_purch_Imp.cs +++ b/Model/wms/data/Erp_purch_Imp.cs @@ -186,7 +186,13 @@ namespace DeiNiu.wms.Data.Model _strSql += " and preInOrderNo is not null and [newCount4Valid]>0"; sqlCmd.CommandText = _strSql; sqlCmd.Parameters.AddWithValue("@venderId", mObj.CmdParameters[0]); - break; + break; + case 640: //get detail by orderno + + _strSql = "SELECT * FROM v_purch_valid_log WHERE pur_order = @pur_order"; + sqlCmd.CommandText = _strSql; + sqlCmd.Parameters.AddWithValue("@pur_order", mObj.CmdParameters[0]); + break; case 700: //get requst in order _strSql = "SELECT * FROM v_stockInRequest WHERE orderNo = @orderNo"; diff --git a/Model/wms/data/TmsTranRequest_Imp.cs b/Model/wms/data/TmsTranRequest_Imp.cs index 87620a1..e40064d 100644 --- a/Model/wms/data/TmsTranRequest_Imp.cs +++ b/Model/wms/data/TmsTranRequest_Imp.cs @@ -120,7 +120,7 @@ namespace DeiNiu.wms.Data.Model case 900: //取最新的装车订单 _strSql = "select * from [v_tmsPickRequest] t where exists(" + - " select 1 from (SELECT top 1 * FROM [t_tmsTranRequest] where viechleNo = '001' order by createtime desc) a where a.transNo = t.transNo " + + " select 1 from (SELECT top 1 * FROM [t_tmsTranRequest] where viechleNo = @plateid order by createtime desc) a where a.transNo = t.transNo " + ") order by lineorder "; sqlCmd.CommandText = _strSql; sqlCmd.Parameters.AddWithValue("@plateid", mObj.CmdParameters[0]); diff --git a/Model/wms/data/WmsOutPickPort_Imp.cs b/Model/wms/data/WmsOutPickPort_Imp.cs index afb1ac1..bf4ae51 100644 --- a/Model/wms/data/WmsOutPickPort_Imp.cs +++ b/Model/wms/data/WmsOutPickPort_Imp.cs @@ -30,7 +30,7 @@ namespace DeiNiu.wms.Data.Model { case 99: //query with dic - if (1==1 || mObj.CmdParameters[0].ToString().Contains("saleOrder =")) + if (/*1==1 ||*/ mObj.CmdParameters[0].ToString().Contains("saleOrder =")) { _strSql = "SELECT *,ROW_NUMBER() OVER (ORDER BY ID DESC) as sortNo FROM [v_stockOutBatchPickDetailWithSaleOrder] WHERE 1 = 1 " + mObj.CmdParameters[0].ToString(); _strSql = "SELECT * FROM (" + _strSql + " )AS SORTEDTB WHERE sortNo BETWEEN @START AND @END" + " ORDER BY pickpriority ,channel,shelf,layer"; @@ -441,7 +441,7 @@ namespace DeiNiu.wms.Data.Model } - LogHelper.debug(GetType(), _strSql); + // LogHelper.debug(GetType(), _strSql); sqlCmd.Parameters.AddWithValue("@cnt", WmsConstants.MAX_JOBS_IN_A_WAVE); sqlCmd.CommandText = _strSql; @@ -530,7 +530,7 @@ namespace DeiNiu.wms.Data.Model } - LogHelper.debug(GetType(), _strSql); + // LogHelper.debug(GetType(), _strSql); sqlCmd.Parameters.AddWithValue("@state", mObj.CmdParameters[10]); // _strSql += " order by priority desc,customerid,locationid"; diff --git a/Model/wms/data/WmsOutRequest_Imp.cs b/Model/wms/data/WmsOutRequest_Imp.cs index 94b23c2..042eca4 100644 --- a/Model/wms/data/WmsOutRequest_Imp.cs +++ b/Model/wms/data/WmsOutRequest_Imp.cs @@ -263,7 +263,22 @@ namespace DeiNiu.wms.Data.Model sqlCmd.Parameters.AddWithValue("@state", mObj.CmdParameters[1]); sqlCmd.Parameters.AddWithValue("@stateOld", mObj.CmdParameters[2]); sqlCmd.Parameters.AddWithValue("@operId", mObj.CmdParameters[3]); - break; + break; + + case 1212: // update order status with pickorderno and new status + + _strSql = " update t_wmsOutRequest set state =@state " + + ",operater =@operId,lastmodified = getdate() " + + " where pickOrderNo =@pickOrderNo "; + + sqlCmd.CommandText = _strSql; + + sqlCmd.Parameters.AddWithValue("@pickOrderNo", mObj.CmdParameters[0]); + sqlCmd.Parameters.AddWithValue("@state", mObj.CmdParameters[1]); + sqlCmd.Parameters.AddWithValue("@operId", mObj.CmdParameters[2]); + break; + + case 1300: //prepare the out request orders for pick diff --git a/Model/wms/data/WmsStockPandian_Imp.cs b/Model/wms/data/WmsStockPandian_Imp.cs index 833285c..7ea6b0f 100644 --- a/Model/wms/data/WmsStockPandian_Imp.cs +++ b/Model/wms/data/WmsStockPandian_Imp.cs @@ -255,6 +255,15 @@ namespace DeiNiu.wms.Data.Model break; + case 1700: + _strSql = " select * from [t_wmsStockPandian] where status > @statusStart and status< @statusEnd "; + sqlCmd.Parameters.AddWithValue("@statusStart", (int) enumPandianStatus.未开始); + sqlCmd.Parameters.AddWithValue("@statusEnd", (int)enumPandianStatus.盘点结束); + sqlCmd.CommandText = _strSql; + + break; + + } } } diff --git a/Model/wms/tables/Erp_purch.cs b/Model/wms/tables/Erp_purch.cs index a232b10..dc76813 100644 --- a/Model/wms/tables/Erp_purch.cs +++ b/Model/wms/tables/Erp_purch.cs @@ -118,6 +118,17 @@ namespace DeiNiu.wms.Data.Model return CustQuery(600).Tables[0]; } + /// + /// 根据计划单号,验收记录 + /// + /// + /// + public DataTable getReceiveMuiltiHistory(string orderNo) + { + cmdParameters[0] = orderNo; + return CustQuery(640).Tables[0]; + } + public DataTable getReceivePreSumByVender(string venderId) { cmdParameters[0] = venderId; diff --git a/Model/wms/tables/Erp_sale.cs b/Model/wms/tables/Erp_sale.cs index 64f9c99..6989707 100644 --- a/Model/wms/tables/Erp_sale.cs +++ b/Model/wms/tables/Erp_sale.cs @@ -128,6 +128,8 @@ namespace DeiNiu.wms.Data.Model foreach (DataRow dr in dt.Rows) { wor = new WmsOutRequest(dr); + + saleOrders +="'"+ wor.orderNo + "',"; } LogHelper.debug(typeof(Erp_sale), " try updatePickStatus , saleOrders: " + saleOrders); diff --git a/Model/wms/tables/WmsGoods.cs b/Model/wms/tables/WmsGoods.cs index 809b9db..e1ddb2f 100644 --- a/Model/wms/tables/WmsGoods.cs +++ b/Model/wms/tables/WmsGoods.cs @@ -123,7 +123,7 @@ namespace DeiNiu.wms.Data.Model public bool isZhitong { - get { return _canZhitong || !String.IsNullOrEmpty(_isZhitong) &&_isZhitong.Equals("1"); } + get { return /*_canZhitong || */!String.IsNullOrEmpty(_isZhitong) &&_isZhitong.Equals("1"); } } public bool isZhitongFromStore { diff --git a/Model/wms/tables/WmsOutRequest.cs b/Model/wms/tables/WmsOutRequest.cs index 46028cd..fccfb10 100644 --- a/Model/wms/tables/WmsOutRequest.cs +++ b/Model/wms/tables/WmsOutRequest.cs @@ -276,6 +276,16 @@ namespace DeiNiu.wms.Data.Model cmdParameters[3] = operater; CustOper(1211); } + + public void updatePickState(string pickOrderNo, Utils.enumOutStockRequestStatus stateNew) + { + + cmdParameters[0] = pickOrderNo; + cmdParameters[1] = (int)stateNew; + cmdParameters[2] = operater; + CustOper(1212); + } + /// /// prepare the out request orders for pick /// diff --git a/Model/wms/tables/WmsPlate.cs b/Model/wms/tables/WmsPlate.cs index 6c6f588..12a7f1b 100644 --- a/Model/wms/tables/WmsPlate.cs +++ b/Model/wms/tables/WmsPlate.cs @@ -205,7 +205,13 @@ namespace DeiNiu.wms.Data.Model foreach (string p in subPlate) { - // dts.Concat(getPlateJobsDts(dts,obj.plateId, showSub)); + LogHelper.debug(this.GetType(), string.Format("2 subplate size {2}, plateId {0},sub plate id {1}", plateId, p, subPlate.Count)); + // dts.Concat(getPlateJobsDts(dts,obj.plateId, showSub)); + if (p.Equals(plateId)) + { + + continue; + } dts=(getPlateJobsDts(dts, p, showSub)); } diff --git a/Model/wms/tables/WmsPlateStock_tmp.cs b/Model/wms/tables/WmsPlateStock_tmp.cs index c4cd1ba..d5deaeb 100644 --- a/Model/wms/tables/WmsPlateStock_tmp.cs +++ b/Model/wms/tables/WmsPlateStock_tmp.cs @@ -166,7 +166,7 @@ namespace DeiNiu.wms.Data.Model { WmsPlateStock_tmp ptmp = new WmsPlateStock_tmp(dr); string c = ptmp.customerId; - LogHelper.debug(GetType(), " plate stock customer id is" + c); + LogHelper.debug(GetType(), " plate stock customer id is " + c); if (!string.IsNullOrEmpty(ptmp.customerId)) @@ -187,11 +187,11 @@ namespace DeiNiu.wms.Data.Model return custId; } - public DataTable getUnLoadTruckStks(string toPlate, int cnt) + public DataTable getUnLoadTruckStks(string transNo, int cnt) { - WmsPlate toP = new WmsPlate(toPlate); + - cmdParameters[0] = toP.transNo; + cmdParameters[0] = transNo; cmdParameters[1] = cnt; return CustQuery(1300).Tables[0]; diff --git a/Model/wms/tables/WmsStock.cs b/Model/wms/tables/WmsStock.cs index ca5c400..3c774a4 100644 --- a/Model/wms/tables/WmsStock.cs +++ b/Model/wms/tables/WmsStock.cs @@ -268,7 +268,7 @@ public WmsStock( string locationId) && count - countOut == 0 //架上库存 && adjustingCnt == 0 && countOuting == 0 - && plateCount == 0 + && plateCount <= 0 && virtialCount == 0; } diff --git a/Model/wms/tables/WmsStockPandian.cs b/Model/wms/tables/WmsStockPandian.cs index 275d78f..ba8f9e8 100644 --- a/Model/wms/tables/WmsStockPandian.cs +++ b/Model/wms/tables/WmsStockPandian.cs @@ -234,6 +234,7 @@ namespace DeiNiu.wms.Data.Model wor.operater = operater; wor.requestBy = operater; wor.approvedBy = operater; + wor.approveDate = wor.getDateTime(); wor.description = String.Format("盘点单号:{0}, 类型:{1},结束时间:{2}, 过滤条件:{3}", orderNo, ((enumPandianType)type).ToString(), endTime, condition); wor.Add(); @@ -250,6 +251,20 @@ namespace DeiNiu.wms.Data.Model cmdParameters[0] = part; return CustQuery(1600).Tables[0]; } + + public string getCurrentPandian() + { + + DataTable dt = CustQuery(1700).Tables[0]; + + foreach(DataRow dr in dt.Rows) + { + return dr["orderNo"].ToString(); + } + + return ""; + } + } } \ No newline at end of file diff --git a/Model/wms/tables/Wmslocation.cs b/Model/wms/tables/Wmslocation.cs index 2ab8b07..9a9ee17 100644 --- a/Model/wms/tables/Wmslocation.cs +++ b/Model/wms/tables/Wmslocation.cs @@ -117,7 +117,9 @@ namespace DeiNiu.wms.Data.Model } else { - throw new Exception( string .Format("没有库位,请创建库位,库位类型 {0}, part {1}, abc {abc} ", volType.ToString(),part,abc)); + // throw new Exception( string .Format("没有库位,请创建库位,库位类型 {0}, part {1}, abc {2} ", volType.ToString(),part,abc)); + + return new WmsLocation("11.01.01.11"); } @@ -156,6 +158,7 @@ namespace DeiNiu.wms.Data.Model LogHelper.debug(this.GetType(), "0 to free location in stock , whLocVol? " + whLocVol); freeLocations(); string error = string.Format("空货位不足,需要{0}个,找到{1}个。", count, locations.Count); + // throw new DeiNiuNoFreeLocationkException(error); } diff --git a/Utils/ThoughtWorks.QRCode.dll b/Utils/ThoughtWorks.QRCode.dll new file mode 100644 index 0000000..45b1b52 Binary files /dev/null and b/Utils/ThoughtWorks.QRCode.dll differ diff --git a/Utils/Utils.cs b/Utils/Utils.cs index b04b873..0158b87 100644 --- a/Utils/Utils.cs +++ b/Utils/Utils.cs @@ -645,7 +645,7 @@ namespace DeiNiu.Utils string orderno = string.Format("{0}{1:D2}{2:D2}{6}{3:D2}{4}{5:D6}", prefix, DateTime.Now.Year - 2000, DateTime.Now.Month, DateTime.Now.Day, GenerateRandomNumber(2), seq, GenerateRandomNumber(1)); - LogHelper.debug("Utils", string.Format( "create order no ,seq is {0}, orderno is {1}", seq,orderno)); + //LogHelper.debug("Utils", string.Format( "create order no ,seq is {0}, orderno is {1}", seq,orderno)); return orderno; } public static enumStockRecordType getStockRecordType(int outStoretype) diff --git a/Utils/Utils.csproj b/Utils/Utils.csproj index 5da96f6..dab2d37 100644 --- a/Utils/Utils.csproj +++ b/Utils/Utils.csproj @@ -126,6 +126,9 @@ Settings.Designer.cs + + + + + + MSDeploy + true + Release + Any CPU + + false + localhost + restService + + true + InProc + false + false + + <_SavePWD>false + + \ No newline at end of file diff --git a/WcfService1/Properties/PublishProfiles/IISProfile1.pubxml.user b/WcfService1/Properties/PublishProfiles/IISProfile1.pubxml.user new file mode 100644 index 0000000..b5108ad --- /dev/null +++ b/WcfService1/Properties/PublishProfiles/IISProfile1.pubxml.user @@ -0,0 +1,12 @@ + + + + + + + True|2024-03-20T00:55:54.5146171Z;True|2024-03-19T19:43:40.4120707+08:00;True|2024-03-19T18:44:16.3121326+08:00;True|2024-03-19T13:39:00.7981191+08:00;True|2024-03-19T13:35:01.7794426+08:00;True|2024-03-19T11:32:08.9351827+08:00;False|2024-03-19T11:31:34.3574177+08:00;True|2024-03-15T22:20:49.9543261+08:00;True|2024-03-14T18:05:27.5226179+08:00;True|2024-03-14T18:04:22.9552845+08:00;True|2024-03-13T21:12:28.9157626+08:00;True|2024-03-10T19:33:40.9271322+08:00;True|2024-03-06T18:49:41.0345462+08:00;True|2024-03-06T18:17:41.7374273+08:00;True|2024-03-06T18:12:23.8953777+08:00;True|2024-03-05T14:41:43.0493268+08:00;True|2024-03-05T10:34:01.8181582+08:00;True|2024-03-05T10:33:41.6827293+08:00;True|2024-03-04T21:44:07.3387316+08:00;True|2024-03-04T21:15:19.6954718+08:00;True|2024-03-04T21:14:57.9591923+08:00;True|2024-03-04T19:47:10.4489216+08:00;True|2024-03-03T09:25:24.1437972+08:00;True|2024-03-02T16:10:09.9360774+08:00;True|2024-03-02T12:39:56.7993047+08:00;True|2024-03-01T17:51:52.7749703+08:00;True|2024-03-01T17:44:53.9566064+08:00;True|2024-03-01T17:39:23.0891734+08:00;True|2024-03-01T14:27:56.7473404+08:00;True|2024-03-01T13:32:26.9532310+08:00;True|2024-03-01T09:46:11.9247046+08:00;True|2024-02-28T21:56:14.6129398+08:00;True|2024-02-27T10:15:36.1332202+08:00;True|2024-02-27T10:14:34.9579768+08:00;True|2024-02-27T09:57:11.5785797+08:00;True|2024-02-21T12:58:18.0087896+08:00;True|2024-02-19T12:47:50.8170331+08:00;True|2024-02-19T12:14:18.6431662+08:00;True|2024-02-19T12:11:35.2671748+08:00;True|2024-02-06T21:10:42.6568450+08:00; + + \ No newline at end of file diff --git a/WcfService1/ScheduledService.svc.cs b/WcfService1/ScheduledService.svc.cs index f1f754a..d8e43e9 100644 --- a/WcfService1/ScheduledService.svc.cs +++ b/WcfService1/ScheduledService.svc.cs @@ -183,7 +183,10 @@ namespace DeiNiu.Wcf return "ERP transfering data to wms, sleep a while..."; } - + if (!String.IsNullOrEmpty(WmsConstants.CURRENT_PANDIAN_ORDER)) + { + return "盘点进行中。。。。" + WmsConstants.CURRENT_PANDIAN_ORDER; + } log.Debug("start sync and create pickoutrequest ,status " +status); @@ -363,6 +366,11 @@ namespace DeiNiu.Wcf try { + if (WmsConstants.ERP_NOTICE_STOCK_OUT_DOING) + { + log.Debug(" 正在同步工作中,稍后再试"); + return " 正在同步工作中,稍后再试"; + } lop.retryNoticeErp(); } diff --git a/WcfService1/WmsInRequestService.svc.cs b/WcfService1/WmsInRequestService.svc.cs index 5b0ab26..3eb8a73 100644 --- a/WcfService1/WmsInRequestService.svc.cs +++ b/WcfService1/WmsInRequestService.svc.cs @@ -155,6 +155,14 @@ namespace DeiNiu.Wcf { return lir.getReceiveHistory(orderNo); } + + public DataTable getReceiveMuiltiHistory(string orderNo) + { + return lir.getReceiveMuiltiHistory(orderNo); + } + + + public DataTable getReceivePreTmpSumByVender(string venderId) { return lir.getReceivePreSumByVender(venderId); diff --git a/WcfService1/WmsWcfService.csproj b/WcfService1/WmsWcfService.csproj index a13d0a8..6a6c81b 100644 --- a/WcfService1/WmsWcfService.csproj +++ b/WcfService1/WmsWcfService.csproj @@ -59,7 +59,7 @@ False - ..\winform\bin\Debug\log4net.dll + .\log4net.dll @@ -93,8 +93,11 @@ + + + @@ -314,6 +317,7 @@ + 10.0 diff --git a/WcfService1/WmsWcfService.csproj.user b/WcfService1/WmsWcfService.csproj.user index bf86b35..eb78be7 100644 --- a/WcfService1/WmsWcfService.csproj.user +++ b/WcfService1/WmsWcfService.csproj.user @@ -1,7 +1,7 @@  - Debug|Any CPU + Release|Any CPU true @@ -9,7 +9,7 @@ - E:\win10e\wms\vsprojectOwen3\vsprojectOwen\WcfService1\Properties\PublishProfiles\IISProfile.pubxml + E:\ldj\source\vs\WcfService1\Properties\PublishProfiles\IISProfile1.pubxml ShowAllFiles diff --git a/WcfService1/log4net.dll b/WcfService1/log4net.dll new file mode 100644 index 0000000..a4af9d6 Binary files /dev/null and b/WcfService1/log4net.dll differ diff --git a/WcfService1/log4net.pdb b/WcfService1/log4net.pdb new file mode 100644 index 0000000..4ec3e46 Binary files /dev/null and b/WcfService1/log4net.pdb differ diff --git a/WcfService2/WcfService2.csproj.user b/WcfService2/WcfService2.csproj.user index c41d0f2..7199c13 100644 --- a/WcfService2/WcfService2.csproj.user +++ b/WcfService2/WcfService2.csproj.user @@ -1,7 +1,7 @@  - Debug|Any CPU + Release|Any CPU false diff --git a/WcfServiceAuthentication/AuthenticationInspector.cs b/WcfServiceAuthentication/AuthenticationInspector.cs index 36c4ea1..c9f2682 100644 --- a/WcfServiceAuthentication/AuthenticationInspector.cs +++ b/WcfServiceAuthentication/AuthenticationInspector.cs @@ -103,7 +103,7 @@ namespace WcfServiceAuthentication // if (authCach.ContainsKey(userId)) //检查内存 { - LogHelper.debug("AuthenticationInspector", string.Format("get userId {0} in the cache checking token {1},token match? {2}", userId, token, authCach[userId].Equals(token))); + // LogHelper.debug("AuthenticationInspector", string.Format("get userId {0} in the cache checking token {1},token match? {2}", userId, token, authCach[userId].Equals(token))); #if DEBUG if (!authCach[userId].Equals(token)) diff --git a/WcfServiceErp/T_ERP_PURCH.svc.cs b/WcfServiceErp/T_ERP_PURCH.svc.cs index cf8aa9e..06c6eef 100644 --- a/WcfServiceErp/T_ERP_PURCH.svc.cs +++ b/WcfServiceErp/T_ERP_PURCH.svc.cs @@ -37,7 +37,7 @@ namespace DeiNiu.Wcf public Result add(ErpPurch obj) { - log.Debug("add called --->" + obj.pur_order); + log.Debug("add called --->" + obj); using (TransactionScope scope = new TransactionScope()) { diff --git a/WcfServiceErp/WcfServiceErp.csproj.user b/WcfServiceErp/WcfServiceErp.csproj.user index 4ff0f21..6ff4aa4 100644 --- a/WcfServiceErp/WcfServiceErp.csproj.user +++ b/WcfServiceErp/WcfServiceErp.csproj.user @@ -8,7 +8,7 @@ - Debug|Any CPU + Release|Any CPU E:\win10e\wms\vsprojectOwen3\vsprojectOwen\WcfServiceErp\Properties\PublishProfiles\IISProfile.pubxml diff --git a/WcfServicePortal/WcfServicePortal.csproj b/WcfServicePortal/WcfServicePortal.csproj index a07e5d5..0e95b09 100644 --- a/WcfServicePortal/WcfServicePortal.csproj +++ b/WcfServicePortal/WcfServicePortal.csproj @@ -140,12 +140,12 @@ - + 这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/view/index.aspx b/view/index.aspx index b7b0fd1..940afc3 100644 --- a/view/index.aspx +++ b/view/index.aspx @@ -1,4 +1,6 @@ <%@ Page Language="C#" MasterPageFile="~/masterPage.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %> + + @@ -56,16 +58,13 @@ + + + +   - - - - +
- windows客户端 - -
- Wince客户端
diff --git a/view/index.aspx.cs b/view/index.aspx.cs index 06b3591..ddcd9da 100644 --- a/view/index.aspx.cs +++ b/view/index.aspx.cs @@ -12,8 +12,12 @@ public partial class index : Page { // if(!IsPostBack) // Session[appScope.PagelevelObj] = this; - if (!IsPostBack) - bindData(); + + // if (!IsPostBack) + // bindData(); + + Response.Redirect("login.aspx"); + } private void InitializeComponent() diff --git a/view/licenses.licx b/view/licenses.licx index 4e6ad92..f853b11 100644 --- a/view/licenses.licx +++ b/view/licenses.licx @@ -1,2 +1,4 @@ +DevExpress.Patch.InMemoryPatch, DevExpress.Patch.Common, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7fc7bfca2443de66 +DevExpress.XtraCharts.Web.WebChartControl, DevExpress.XtraCharts.v16.2.Web, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a DevExpress.Web.ASPxPageControl, DevExpress.Web.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a DevExpress.Web.ASPxGridView, DevExpress.Web.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a diff --git a/view/masterPage.master b/view/masterPage.master index 5472585..cdcc3eb 100644 --- a/view/masterPage.master +++ b/view/masterPage.master @@ -124,7 +124,7 @@ + OnClick="ImageButton1_Click" ToolTip="ʾĵ" Width="32px" Visible="False" /> @@ -139,8 +139,10 @@   - ҳ  + ҳ     +      @@ -198,7 +200,7 @@ { now = new Date() ; document.aspnetForm.thetime.value =now.toLocaleString() ; - + setTimeout("showDate()",1000); } showDate(); diff --git a/view/masterPage.master.cs b/view/masterPage.master.cs index dca0761..adef8bd 100644 --- a/view/masterPage.master.cs +++ b/view/masterPage.master.cs @@ -57,10 +57,11 @@ namespace ajax // login.Visible = lem == null; lbWelcome.Text = lem != null ? "ӭ" + lem.GetEmployee.em_name +",": ""; lkbtnLogin.Text = lem != null ? "˳" : "¼"; - lkIndex.Visible = lem != null; + // lkIndex.Visible = lem != null; divAuhtority.Visible = lem != null; lkDesktop.Visible = lem != null; leftMenu.Visible = lem!=null; + lkkanban.Visible = lem != null; ImageBtnHelp.Visible = leftMenu.Visible; } @@ -294,5 +295,9 @@ namespace ajax string newWindow = "openwin('" + helpDoc + "');"; ScriptManager.RegisterStartupScript(UpdatePanel1, typeof(UpdatePanel), "alert", newWindow, true); } + protected void lkkanban_Click(object sender, EventArgs e) + { + Response.Redirect("~/wms/Charts.aspx"); + } } } \ No newline at end of file diff --git a/view/wms/Charts - 副本 (2).aspx.exclude b/view/wms/Charts - 副本 (2).aspx.exclude new file mode 100644 index 0000000..3da484a --- /dev/null +++ b/view/wms/Charts - 副本 (2).aspx.exclude @@ -0,0 +1,577 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Charts.aspx.cs" Inherits="wms_Charts" %> + +<%@ Register assembly="DevExpress.XtraCharts.v16.2.Web, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dx" %> +<%@ Register assembly="DevExpress.XtraCharts.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="dx" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ 辣得叫库房任务看板 +

+ + + +   + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+ + +
+ +
+
+ + + +
+
+ + + diff --git a/view/wms/Charts - 副本 (3).aspx.exclude b/view/wms/Charts - 副本 (3).aspx.exclude new file mode 100644 index 0000000..909f848 --- /dev/null +++ b/view/wms/Charts - 副本 (3).aspx.exclude @@ -0,0 +1,652 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Charts.aspx.cs" Inherits="wms_Charts" %> + +<%@ Register assembly="DevExpress.XtraCharts.v16.2.Web, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dx" %> +<%@ Register assembly="DevExpress.XtraCharts.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="dx" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ 辣得叫库房任务看板 +
+
+

+ + + +   + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +   + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + +
+ + +
+ +
+
+ + + +
+
+ + + diff --git a/view/wms/Charts - 副本 (4).aspx.exclude b/view/wms/Charts - 副本 (4).aspx.exclude new file mode 100644 index 0000000..a50e432 --- /dev/null +++ b/view/wms/Charts - 副本 (4).aspx.exclude @@ -0,0 +1,727 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Charts.aspx.cs" Inherits="wms_Charts" %> + +<%@ Register assembly="DevExpress.XtraCharts.v16.2.Web, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dx" %> +<%@ Register assembly="DevExpress.XtraCharts.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="dx" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ 辣得叫库房任务看板 +
+
+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +   + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + +
+ + +
+ +
+
+ + + +
+
+ + + diff --git a/view/wms/Charts - 副本.aspx.exclude b/view/wms/Charts - 副本.aspx.exclude new file mode 100644 index 0000000..990a37b --- /dev/null +++ b/view/wms/Charts - 副本.aspx.exclude @@ -0,0 +1,389 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Charts.aspx.cs" Inherits="wms_Charts" %> + +<%@ Register assembly="DevExpress.XtraCharts.v16.2.Web, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dx" %> +<%@ Register assembly="DevExpress.XtraCharts.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="dx" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + +
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + +

+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+ + +
+ +
+
+ + + +
+
+ + + diff --git a/view/wms/Charts.aspx b/view/wms/Charts.aspx new file mode 100644 index 0000000..b85a779 --- /dev/null +++ b/view/wms/Charts.aspx @@ -0,0 +1,751 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Charts.aspx.cs" Inherits="wms_Charts" %> + +<%@ Register assembly="DevExpress.XtraCharts.v16.2.Web, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dx" %> +<%@ Register assembly="DevExpress.XtraCharts.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="dx" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+
+ 得牛WMS任务看板 + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + <Margins Bottom="0" Left="0" Right="0" Top="0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <Margins Bottom="0" Left="0" Right="0" Top="0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <Margins Bottom="0" Left="0" Right="0" Top="0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <Margins Bottom="0" Left="0" Right="0" Top="0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <Margins Bottom="0" Left="0" Right="0" Top="0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + +
+
+ + + diff --git a/view/wms/Charts.aspx - 副本.cs b/view/wms/Charts.aspx - 副本.cs new file mode 100644 index 0000000..1f9d4cd --- /dev/null +++ b/view/wms/Charts.aspx - 副本.cs @@ -0,0 +1,108 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.Security; + +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +using DeiNiu.Utils; +using DeiNiu.wms.Logical; +using DevExpress.XtraCharts; +using System.Data; + + +public partial class wms_Charts : System.Web.UI.Page +{ + DataSet ds; + lCharts lchart = new lCharts(); + protected void Page_Load(object sender, EventArgs e) + { + loadData(); + } + + void loadData() + { + ds = lchart.getDailyKanBanData(); + setTasks(); + setLocs(); + setUserTasks(); + } + + + void setLocs() + { + + + DataTable dt = ds.Tables[2]; + + Series taskSeries = this.webChartLocs.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["volType"].ToString(), Convert.ToInt32(dr["totalCnt"].ToString()))); + + } + Series finishedSeries = webChartLocs.SeriesSerializable[1]; + + finishedSeries.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + finishedSeries.Points.Add(new SeriesPoint(dr["volType"].ToString(), Convert.ToInt32(dr["usedCnt"].ToString()))); + + } + + } + void setUserTasks() + { + + DataTable dt = ds.Tables[1]; + + Series taskSeries = this.webChartEmpTasks.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["emName"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + + } + void setTasks() + { + DataTable dt = ds.Tables[0]; + + Series taskSeries = this.WebChartTasks.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["typeName"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + Series finishedSeries = WebChartTasks.SeriesSerializable[1]; + + finishedSeries.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + finishedSeries.Points.Add(new SeriesPoint(dr["typeName"].ToString(), Convert.ToInt32(dr["finishedCnt"].ToString()))); + + } + + + + } + protected void btnSubmit_Click(object sender, EventArgs e) + { + // loadData();// Page_Load(sender, e); + } +} \ No newline at end of file diff --git a/view/wms/Charts.aspx.cs b/view/wms/Charts.aspx.cs new file mode 100644 index 0000000..e188ed1 --- /dev/null +++ b/view/wms/Charts.aspx.cs @@ -0,0 +1,245 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.Security; + +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +using DeiNiu.Utils; +using DeiNiu.wms.Logical; +using DevExpress.XtraCharts; +using System.Data; + + +public partial class wms_Charts : System.Web.UI.Page +{ + DataSet dsDaily; + DataSet dsErpOrders; + lCharts lchart = new lCharts(); + protected void Page_Load(object sender, EventArgs e) + { + loadDailyData(); + + loadErpData(); + } + + private void loadErpData() + { + dsErpOrders = lchart.getErpOderData(); + + //set erp in orders pie + + DataTable dt = dsErpOrders.Tables[0]; + + Series taskSeries = WebChartInOrders.SeriesSerializable[0]; + + //Series taskSeries2 = this.WebChartErpOrders.SeriesSerializable[0]; + //taskSeries2.Points.Clear(); + + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + // taskSeries2.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["orderCnt"].ToString()))); + taskSeries.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["orderCnt"].ToString()))); + + } + //set erp out orders pie + dt = dsErpOrders.Tables[1]; + + taskSeries = WebChartOutOrders.SeriesSerializable[0]; + // taskSeries2 = this.WebChartErpOrders.SeriesSerializable[1]; + taskSeries.Points.Clear(); + //taskSeries2.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["orderCnt"].ToString()))); + // taskSeries2.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["orderCnt"].ToString()))); + } + + + + + // in out line counts + + string day = ""; + dt = dsErpOrders.Tables[2]; + + taskSeries = WebChartInOutLines.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + day = string.Format("{0}-{1}-{2}", dr["year"].ToString(), dr["month"].ToString(), dr["day"].ToString()); + taskSeries.Points.Add(new SeriesPoint(day, Convert.ToInt32(dr["cnt"].ToString()))); + + } + + + + dt = dsErpOrders.Tables[3]; + + taskSeries = WebChartInOutLines.SeriesSerializable[1]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + day = string.Format("{0}-{1}-{2}", dr["year"].ToString(), dr["month"].ToString(), dr["day"].ToString()); + taskSeries.Points.Add(new SeriesPoint(day, Convert.ToInt32(dr["cnt"].ToString()))); + + } + + + + } + + void loadDailyData() + { + dsDaily = lchart.getDailyKanBanData(); + setTasks(); + setLocs(); + setUserTasks(); + setTasksSumByStatePie(); + setPartTasks(); + } + + private void setTasksSumByStatePie() + { + + + DataTable dt = dsDaily.Tables[3]; + + Series taskSeries = WebChartStatePie.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + } + + + void setLocs() + { + + + DataTable dt = dsDaily.Tables[2]; + + Series taskSeries = WebChartLocs.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + // taskSeries.Points.Add(new SeriesPoint(dr["volType"].ToString(), Convert.ToInt32(dr["totalCnt"].ToString()))); + taskSeries.Points.Add(new SeriesPoint(dr["volType"].ToString(), dr["usedPercent"].ToString()) ); + + } + /* + Series finishedSeries = this.WebChartLocs.SeriesSerializable[1]; + + finishedSeries.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + finishedSeries.Points.Add(new SeriesPoint(dr["volType"].ToString(), Convert.ToInt32(dr["usedCnt"].ToString()))); + + } + */ + + + } + void setUserTasks() + { + + DataTable dt = dsDaily.Tables[1]; + + Series taskSeries = WebChartEmpTasks.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["emName"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + + } + void setTasks() + { + DataTable dt = dsDaily.Tables[0]; + + Series taskSeries = this.WebChartTasks.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["typeName"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + Series finishedSeries = WebChartTasks.SeriesSerializable[1]; + + finishedSeries.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + finishedSeries.Points.Add(new SeriesPoint(dr["typeName"].ToString(), Convert.ToInt32(dr["finishedCnt"].ToString()))); + + } + + + + } + void setPartTasks() + { + DataTable dt = dsDaily.Tables[4]; + + Series taskSeries = this.WebChartPartTasks .SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["partName"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + Series finishedSeries = WebChartPartTasks.SeriesSerializable[1]; + + finishedSeries.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + finishedSeries.Points.Add(new SeriesPoint(dr["partName"].ToString(), Convert.ToInt32(dr["finishedCnt"].ToString()))); + + } + + + + } + protected void btnSubmit_Click(object sender, EventArgs e) + { + // loadData();// Page_Load(sender, e); + } + protected void WebChartEmpTasks_ObjectSelected(object sender, HotTrackEventArgs e) + { + + } + protected void Button1_Click(object sender, EventArgs e) + { + + loadDailyData(); + + loadErpData(); + } +} \ No newline at end of file diff --git a/view/wms/ChartsNew.aspx b/view/wms/ChartsNew.aspx new file mode 100644 index 0000000..65dd6b3 --- /dev/null +++ b/view/wms/ChartsNew.aspx @@ -0,0 +1,749 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ChartsNew.aspx.cs" Inherits="wms_Charts" %> + +<%@ Register assembly="DevExpress.XtraCharts.v16.2.Web, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dx" %> +<%@ Register assembly="DevExpress.XtraCharts.v16.2, Version=16.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="dx" %> +<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+
+ 得牛WMS任务看板 + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + <Margins Bottom="0" Left="0" Right="0" Top="0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <Margins Bottom="0" Left="0" Right="0" Top="0" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + +
+
+ + + diff --git a/view/wms/ChartsNew.aspx.cs b/view/wms/ChartsNew.aspx.cs new file mode 100644 index 0000000..c2b44f2 --- /dev/null +++ b/view/wms/ChartsNew.aspx.cs @@ -0,0 +1,238 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.Security; + +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +using DeiNiu.Utils; +using DeiNiu.wms.Logical; +using DevExpress.XtraCharts; +using System.Data; + + +public partial class wms_Charts : System.Web.UI.Page +{ + DataSet dsDaily; + DataSet dsErpOrders; + lCharts lchart = new lCharts(); + protected void Page_Load(object sender, EventArgs e) + { + loadDailyData(); + + loadErpData(); + } + + private void loadErpData() + { + dsErpOrders = lchart.getErpOderData(); + + //set erp in orders pie + + DataTable dt = dsErpOrders.Tables[0]; + + Series taskSeries = WebChartInOrders.SeriesSerializable[0]; + + //Series taskSeries2 = this.WebChartErpOrders.SeriesSerializable[0]; + //taskSeries2.Points.Clear(); + + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + // taskSeries2.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["orderCnt"].ToString()))); + taskSeries.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["orderCnt"].ToString()))); + + } + //set erp out orders pie + dt = dsErpOrders.Tables[1]; + + taskSeries = WebChartOutOrders.SeriesSerializable[0]; + // taskSeries2 = this.WebChartErpOrders.SeriesSerializable[1]; + taskSeries.Points.Clear(); + //taskSeries2.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["orderCnt"].ToString()))); + // taskSeries2.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["orderCnt"].ToString()))); + } + + + + + // in out line counts + + string day = ""; + dt = dsErpOrders.Tables[2]; + + taskSeries = WebChartInOutLines.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + day = string.Format("{0}-{1}-{2}", dr["year"].ToString(), dr["month"].ToString(), dr["day"].ToString()); + taskSeries.Points.Add(new SeriesPoint(day, Convert.ToInt32(dr["cnt"].ToString()))); + + } + + + + dt = dsErpOrders.Tables[3]; + + taskSeries = WebChartInOutLines.SeriesSerializable[1]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + day = string.Format("{0}-{1}-{2}", dr["year"].ToString(), dr["month"].ToString(), dr["day"].ToString()); + taskSeries.Points.Add(new SeriesPoint(day, Convert.ToInt32(dr["cnt"].ToString()))); + + } + + + + } + + void loadDailyData() + { + dsDaily = lchart.getDailyKanBanData(); + setTasks(); + setLocs(); + setUserTasks(); + setTasksSumByStatePie(); + setPartTasks(); + } + + private void setTasksSumByStatePie() + { + + + DataTable dt = dsDaily.Tables[3]; + + Series taskSeries = WebChartStatePie.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["state"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + } + + + void setLocs() + { + + + DataTable dt = dsDaily.Tables[2]; + + Series taskSeries = WebChartLocs.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + // taskSeries.Points.Add(new SeriesPoint(dr["volType"].ToString(), Convert.ToInt32(dr["totalCnt"].ToString()))); + taskSeries.Points.Add(new SeriesPoint(dr["volType"].ToString(), dr["usedPercent"].ToString()) ); + + } + /* + Series finishedSeries = this.WebChartLocs.SeriesSerializable[1]; + + finishedSeries.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + finishedSeries.Points.Add(new SeriesPoint(dr["volType"].ToString(), Convert.ToInt32(dr["usedCnt"].ToString()))); + + } + */ + + + } + void setUserTasks() + { + + DataTable dt = dsDaily.Tables[1]; + + Series taskSeries = WebChartEmpTasks.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["emName"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + + } + void setTasks() + { + DataTable dt = dsDaily.Tables[0]; + + Series taskSeries = this.WebChartTasks.SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["typeName"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + Series finishedSeries = WebChartTasks.SeriesSerializable[1]; + + finishedSeries.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + finishedSeries.Points.Add(new SeriesPoint(dr["typeName"].ToString(), Convert.ToInt32(dr["finishedCnt"].ToString()))); + + } + + + + } + void setPartTasks() + { + DataTable dt = dsDaily.Tables[4]; + + Series taskSeries = this.WebChartPartTasks .SeriesSerializable[0]; + + taskSeries.Points.Clear(); + + foreach (DataRow dr in dt.Rows) + { + taskSeries.Points.Add(new SeriesPoint(dr["partName"].ToString(), Convert.ToInt32(dr["taskCnt"].ToString()))); + + } + + Series finishedSeries = WebChartPartTasks.SeriesSerializable[1]; + + finishedSeries.Points.Clear(); + foreach (DataRow dr in dt.Rows) + { + finishedSeries.Points.Add(new SeriesPoint(dr["partName"].ToString(), Convert.ToInt32(dr["finishedCnt"].ToString()))); + + } + + + + } + protected void btnSubmit_Click(object sender, EventArgs e) + { + // loadData();// Page_Load(sender, e); + } + protected void WebChartEmpTasks_ObjectSelected(object sender, HotTrackEventArgs e) + { + + } +} \ No newline at end of file diff --git a/winform/Login.cs b/winform/Login.cs index 4658440..2a36166 100644 --- a/winform/Login.cs +++ b/winform/Login.cs @@ -1,24 +1,17 @@ using System; using System.Collections.Generic; -using System.ComponentModel; using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; using System.Windows.Forms; //using DeiNiu.wms.Logical; -using Microsoft.Data.ConnectionUI; using System.Data.SqlClient; using DeiNiu.Utils; using System.Configuration; using DeiNiu.wms.win.utils; -using DeiNiu.Data.DataAccess; -using DeiNiu.wms.win.portalService; using System.ServiceModel.Configuration; using System.Text.RegularExpressions; -using DeiNiu.wms.win.ServiceReferenceConfiguration; +using Microsoft.Data.ConnectionUI; //using WcfClientAuthentication; -namespace DeiNiu.wms.win +namespace DeiNiu.wms.win { public partial class Login : BasicRibbonForm { diff --git a/winform/Service References/ServiceReferenceStockInRequest/Reference.cs b/winform/Service References/ServiceReferenceStockInRequest/Reference.cs index d69da72..0a6fb6e 100644 --- a/winform/Service References/ServiceReferenceStockInRequest/Reference.cs +++ b/winform/Service References/ServiceReferenceStockInRequest/Reference.cs @@ -81,6 +81,9 @@ namespace DeiNiu.wms.win.ServiceReferenceStockInRequest { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsInRequest/getReceiveHistory", ReplyAction="http://tempuri.org/IWmsInRequest/getReceiveHistoryResponse")] System.Data.DataTable getReceiveHistory(string orderNo); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsInRequest/getReceiveMuiltiHistory", ReplyAction="http://tempuri.org/IWmsInRequest/getReceiveMuiltiHistoryResponse")] + System.Data.DataTable getReceiveMuiltiHistory(string orderNo); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsInRequest/getShipRecs", ReplyAction="http://tempuri.org/IWmsInRequest/getShipRecsResponse")] System.Data.DataSet getShipRecs(string querystr, int rownumStart, int rownumEnd); @@ -272,6 +275,10 @@ namespace DeiNiu.wms.win.ServiceReferenceStockInRequest { return base.Channel.getReceiveHistory(orderNo); } + public System.Data.DataTable getReceiveMuiltiHistory(string orderNo) { + return base.Channel.getReceiveMuiltiHistory(orderNo); + } + public System.Data.DataSet getShipRecs(string querystr, int rownumStart, int rownumEnd) { return base.Channel.getShipRecs(querystr, rownumStart, rownumEnd); } diff --git a/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService1.wsdl b/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService1.wsdl index c532284..7d96a00 100644 --- a/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService1.wsdl +++ b/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService1.wsdl @@ -142,6 +142,12 @@ + + + + + + @@ -381,6 +387,10 @@ + + + + @@ -682,6 +692,15 @@ + + + + + + + + + diff --git a/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService2.xsd b/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService2.xsd index 28beb48..6132c8d 100644 --- a/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService2.xsd +++ b/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService2.xsd @@ -14,6 +14,7 @@ + diff --git a/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService5.xsd b/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService5.xsd index 241dcdf..1eaf725 100644 --- a/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService5.xsd +++ b/winform/Service References/ServiceReferenceStockInRequest/WmsInRequestService5.xsd @@ -512,6 +512,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/winform/TMS/PrintTrans.cs b/winform/TMS/PrintTrans.cs index aced14b..129cbe0 100644 --- a/winform/TMS/PrintTrans.cs +++ b/winform/TMS/PrintTrans.cs @@ -1253,7 +1253,7 @@ namespace DeiNiu.wms.win foreach (DataRow dr in dtResult.Rows) //设置发票 { wpr = new WmsOutPickRequest(dr); - doPrintTran(wpr); + doPrintEachTran(wpr);// doPrintTran(wpr); } closeClient(); diff --git a/winform/utils/ConfigPrint.Designer.cs b/winform/utils/ConfigPrint.Designer.cs index e731c53..fb882b9 100644 --- a/winform/utils/ConfigPrint.Designer.cs +++ b/winform/utils/ConfigPrint.Designer.cs @@ -34,6 +34,10 @@ this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + this.label3 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.lbCode2 = new System.Windows.Forms.Label(); + this.lbInfo = new System.Windows.Forms.Label(); this.btnPrint = new DevExpress.XtraEditors.SimpleButton(); this.txtPandian = new DevExpress.XtraEditors.TextEdit(); this.btnReceive = new DevExpress.XtraEditors.SimpleButton(); @@ -45,8 +49,8 @@ this.btnPrintflow = new DevExpress.XtraEditors.SimpleButton(); this.txtflowcnt = new DevExpress.XtraEditors.TextEdit(); this.btnBatch = new DevExpress.XtraEditors.SimpleButton(); - this.lbPin = new System.Windows.Forms.Label(); this.lbCode = new System.Windows.Forms.Label(); + this.lbPin = new System.Windows.Forms.Label(); this.lbA4 = new System.Windows.Forms.Label(); this.comPrinters = new DevExpress.XtraEditors.ComboBoxEdit(); this.btnA4 = new DevExpress.XtraEditors.SimpleButton(); @@ -59,34 +63,23 @@ this.txtPreIn = new DevExpress.XtraEditors.TextEdit(); this.txtSimpleCode = new DevExpress.XtraEditors.TextEdit(); this.txtSimpleDesc = new DevExpress.XtraEditors.TextEdit(); + this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.tabbedControlGroup1 = new DevExpress.XtraLayout.TabbedControlGroup(); - this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); - this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); - this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); - this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); - this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); - this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); - this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.tabbedControlGroup2 = new DevExpress.XtraLayout.TabbedControlGroup(); - this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); - this.emptySpaceItem7 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup6 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem12 = new DevExpress.XtraLayout.EmptySpaceItem(); + this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); + this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); + this.emptySpaceItem7 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -109,15 +102,22 @@ this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem9 = new DevExpress.XtraLayout.EmptySpaceItem(); - this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); - this.lbInfo = new System.Windows.Forms.Label(); + this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); + this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); + this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); + this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem(); - this.lbCode2 = new System.Windows.Forms.Label(); - this.layoutControlItem28 = new DevExpress.XtraLayout.LayoutControlItem(); - this.label2 = new System.Windows.Forms.Label(); this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem(); - this.label3 = new System.Windows.Forms.Label(); + this.layoutControlItem28 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem30 = new DevExpress.XtraLayout.LayoutControlItem(); + this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); + this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); + this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); @@ -132,34 +132,23 @@ ((System.ComponentModel.ISupportInitialize)(this.txtPreIn.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSimpleCode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSimpleDesc.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem12)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); @@ -182,10 +171,21 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); this.SuspendLayout(); // // ribbon @@ -228,7 +228,6 @@ this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.Size = new System.Drawing.Size(1639, 694); this.reportViewer1.TabIndex = 6; - this.reportViewer1.Visible = false; this.reportViewer1.Load += new System.EventHandler(this.reportViewer1_Load); // // layoutControl1 @@ -249,8 +248,8 @@ this.layoutControl1.Controls.Add(this.txtflowcnt); this.layoutControl1.Controls.Add(this.btnBatch); this.layoutControl1.Controls.Add(this.reportViewer1); - this.layoutControl1.Controls.Add(this.lbPin); this.layoutControl1.Controls.Add(this.lbCode); + this.layoutControl1.Controls.Add(this.lbPin); this.layoutControl1.Controls.Add(this.lbA4); this.layoutControl1.Controls.Add(this.comPrinters); this.layoutControl1.Controls.Add(this.btnA4); @@ -274,6 +273,50 @@ this.layoutControl1.TabIndex = 9; this.layoutControl1.Text = "layoutControl1"; // + // label3 + // + this.label3.Font = new System.Drawing.Font("Tahoma", 10F); + this.label3.Location = new System.Drawing.Point(37, 202); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(154, 32); + this.label3.TabIndex = 106; + this.label3.Text = "设置多联打印机"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // label2 + // + this.label2.Font = new System.Drawing.Font("Tahoma", 10F); + this.label2.Location = new System.Drawing.Point(37, 154); + this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(154, 32); + this.label2.TabIndex = 105; + this.label2.Text = "设置条码打印机"; + this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // lbCode2 + // + this.lbCode2.Font = new System.Drawing.Font("Tahoma", 10F); + this.lbCode2.Location = new System.Drawing.Point(197, 154); + this.lbCode2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbCode2.Name = "lbCode2"; + this.lbCode2.Size = new System.Drawing.Size(278, 32); + this.lbCode2.TabIndex = 104; + this.lbCode2.Text = "条码打印机"; + this.lbCode2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // lbInfo + // + this.lbInfo.Font = new System.Drawing.Font("Tahoma", 10F); + this.lbInfo.Location = new System.Drawing.Point(37, 106); + this.lbInfo.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbInfo.Name = "lbInfo"; + this.lbInfo.Size = new System.Drawing.Size(154, 32); + this.lbInfo.TabIndex = 103; + this.lbInfo.Text = "设置A4打印机"; + this.lbInfo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // // btnPrint // this.btnPrint.Location = new System.Drawing.Point(578, 126); @@ -388,17 +431,6 @@ this.btnBatch.Text = "亮灯拣货"; this.btnBatch.Click += new System.EventHandler(this.btnBatch_Click); // - // lbPin - // - this.lbPin.Font = new System.Drawing.Font("Tahoma", 10F); - this.lbPin.Location = new System.Drawing.Point(197, 202); - this.lbPin.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lbPin.Name = "lbPin"; - this.lbPin.Size = new System.Drawing.Size(278, 32); - this.lbPin.TabIndex = 78; - this.lbPin.Text = "默认多联打印机"; - this.lbPin.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // // lbCode // this.lbCode.Font = new System.Drawing.Font("Tahoma", 10F); @@ -410,6 +442,17 @@ this.lbCode.Text = "默认条码打印机"; this.lbCode.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // + // lbPin + // + this.lbPin.Font = new System.Drawing.Font("Tahoma", 10F); + this.lbPin.Location = new System.Drawing.Point(197, 202); + this.lbPin.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbPin.Name = "lbPin"; + this.lbPin.Size = new System.Drawing.Size(278, 32); + this.lbPin.TabIndex = 78; + this.lbPin.Text = "默认多联打印机"; + this.lbPin.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // // lbA4 // this.lbA4.Font = new System.Drawing.Font("Tahoma", 10F); @@ -534,6 +577,16 @@ this.txtSimpleDesc.StyleController = this.layoutControl1; this.txtSimpleDesc.TabIndex = 82; // + // layoutControlItem7 + // + this.layoutControlItem7.Control = this.lbCode; + this.layoutControlItem7.Location = new System.Drawing.Point(222, 86); + this.layoutControlItem7.Name = "layoutControlItem7"; + this.layoutControlItem7.Size = new System.Drawing.Size(222, 42); + this.layoutControlItem7.Text = "条码打印机"; + this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem7.TextVisible = false; + // // layoutControlGroup1 // this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; @@ -549,147 +602,13 @@ // this.tabbedControlGroup1.Location = new System.Drawing.Point(0, 0); this.tabbedControlGroup1.Name = "tabbedControlGroup1"; - this.tabbedControlGroup1.SelectedTabPage = this.layoutControlGroup2; - this.tabbedControlGroup1.SelectedTabPageIndex = 0; + this.tabbedControlGroup1.SelectedTabPage = this.layoutControlGroup3; + this.tabbedControlGroup1.SelectedTabPageIndex = 1; this.tabbedControlGroup1.Size = new System.Drawing.Size(1684, 886); this.tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup2, this.layoutControlGroup3}); // - // layoutControlGroup2 - // - this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem1, - this.layoutControlItem3, - this.layoutControlItem2, - this.emptySpaceItem4, - this.emptySpaceItem2, - this.emptySpaceItem3, - this.layoutControlItem27, - this.layoutControlItem29, - this.layoutControlItem28, - this.layoutControlItem8, - this.layoutControlItem30, - this.emptySpaceItem5, - this.layoutControlItem5, - this.layoutControlItem6}); - this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); - this.layoutControlGroup2.Name = "layoutControlGroup2"; - this.layoutControlGroup2.Size = new System.Drawing.Size(1645, 812); - this.layoutControlGroup2.Text = "本机打印机设置"; - // - // layoutControlItem1 - // - this.layoutControlItem1.Control = this.comPrinters; - this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem1.Name = "layoutControlItem1"; - this.layoutControlItem1.Size = new System.Drawing.Size(510, 34); - this.layoutControlItem1.Text = "打印机列表"; - this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem1.TextVisible = false; - // - // layoutControlItem3 - // - this.layoutControlItem3.Control = this.lbA4; - this.layoutControlItem3.Location = new System.Drawing.Point(160, 34); - this.layoutControlItem3.Name = "layoutControlItem3"; - this.layoutControlItem3.Size = new System.Drawing.Size(284, 38); - this.layoutControlItem3.Text = "A4打印机"; - this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem3.TextVisible = false; - // - // layoutControlItem2 - // - this.layoutControlItem2.Control = this.btnA4; - this.layoutControlItem2.Location = new System.Drawing.Point(444, 34); - this.layoutControlItem2.MinSize = new System.Drawing.Size(53, 38); - this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.Size = new System.Drawing.Size(66, 38); - this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem2.TextVisible = false; - // - // emptySpaceItem4 - // - this.emptySpaceItem4.AllowHotTrack = false; - this.emptySpaceItem4.Location = new System.Drawing.Point(0, 72); - this.emptySpaceItem4.MaxSize = new System.Drawing.Size(510, 10); - this.emptySpaceItem4.MinSize = new System.Drawing.Size(510, 10); - this.emptySpaceItem4.Name = "emptySpaceItem4"; - this.emptySpaceItem4.Size = new System.Drawing.Size(510, 10); - this.emptySpaceItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); - // - // layoutControlItem7 - // - this.layoutControlItem7.Control = this.lbCode; - this.layoutControlItem7.Location = new System.Drawing.Point(222, 86); - this.layoutControlItem7.Name = "layoutControlItem7"; - this.layoutControlItem7.Size = new System.Drawing.Size(222, 42); - this.layoutControlItem7.Text = "条码打印机"; - this.layoutControlItem7.TextSize = new System.Drawing.Size(90, 20); - // - // layoutControlItem5 - // - this.layoutControlItem5.Control = this.btnCode; - this.layoutControlItem5.Location = new System.Drawing.Point(444, 82); - this.layoutControlItem5.MinSize = new System.Drawing.Size(53, 38); - this.layoutControlItem5.Name = "layoutControlItem5"; - this.layoutControlItem5.Size = new System.Drawing.Size(66, 38); - this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem5.TextVisible = false; - // - // emptySpaceItem5 - // - this.emptySpaceItem5.AllowHotTrack = false; - this.emptySpaceItem5.CustomizationFormText = "emptySpaceItem4"; - this.emptySpaceItem5.Location = new System.Drawing.Point(0, 120); - this.emptySpaceItem5.MaxSize = new System.Drawing.Size(510, 10); - this.emptySpaceItem5.MinSize = new System.Drawing.Size(510, 10); - this.emptySpaceItem5.Name = "emptySpaceItem5"; - this.emptySpaceItem5.Size = new System.Drawing.Size(510, 10); - this.emptySpaceItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.emptySpaceItem5.Text = "emptySpaceItem4"; - this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); - // - // layoutControlItem8 - // - this.layoutControlItem8.Control = this.lbPin; - this.layoutControlItem8.Location = new System.Drawing.Point(160, 130); - this.layoutControlItem8.Name = "layoutControlItem8"; - this.layoutControlItem8.Size = new System.Drawing.Size(284, 38); - this.layoutControlItem8.Text = "多联打印机"; - this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem8.TextVisible = false; - // - // layoutControlItem6 - // - this.layoutControlItem6.Control = this.btnPin; - this.layoutControlItem6.Location = new System.Drawing.Point(444, 130); - this.layoutControlItem6.MinSize = new System.Drawing.Size(53, 38); - this.layoutControlItem6.Name = "layoutControlItem6"; - this.layoutControlItem6.Size = new System.Drawing.Size(66, 38); - this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem6.TextVisible = false; - // - // emptySpaceItem2 - // - this.emptySpaceItem2.AllowHotTrack = false; - this.emptySpaceItem2.Location = new System.Drawing.Point(510, 0); - this.emptySpaceItem2.Name = "emptySpaceItem2"; - this.emptySpaceItem2.Size = new System.Drawing.Size(1135, 812); - this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); - // - // emptySpaceItem3 - // - this.emptySpaceItem3.AllowHotTrack = false; - this.emptySpaceItem3.Location = new System.Drawing.Point(0, 168); - this.emptySpaceItem3.Name = "emptySpaceItem3"; - this.emptySpaceItem3.Size = new System.Drawing.Size(510, 644); - this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); - // // layoutControlGroup3 // this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { @@ -722,8 +641,8 @@ // this.tabbedControlGroup2.Location = new System.Drawing.Point(0, 0); this.tabbedControlGroup2.Name = "tabbedControlGroup2"; - this.tabbedControlGroup2.SelectedTabPage = this.layoutControlGroup5; - this.tabbedControlGroup2.SelectedTabPageIndex = 0; + this.tabbedControlGroup2.SelectedTabPage = this.layoutControlGroup6; + this.tabbedControlGroup2.SelectedTabPageIndex = 1; this.tabbedControlGroup2.Size = new System.Drawing.Size(1124, 112); this.tabbedControlGroup2.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup5, @@ -734,62 +653,6 @@ this.layoutControlGroup8, this.layoutControlGroup10}); // - // layoutControlGroup5 - // - this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem12, - this.layoutControlItem13, - this.layoutControlItem14, - this.emptySpaceItem7}); - this.layoutControlGroup5.Location = new System.Drawing.Point(0, 0); - this.layoutControlGroup5.Name = "layoutControlGroup5"; - this.layoutControlGroup5.Size = new System.Drawing.Size(1085, 38); - this.layoutControlGroup5.Text = "流水号打印"; - // - // layoutControlItem12 - // - this.layoutControlItem12.Control = this.txtflowcnt; - this.layoutControlItem12.Location = new System.Drawing.Point(214, 0); - this.layoutControlItem12.MaxSize = new System.Drawing.Size(133, 26); - this.layoutControlItem12.MinSize = new System.Drawing.Size(133, 26); - this.layoutControlItem12.Name = "layoutControlItem12"; - this.layoutControlItem12.Size = new System.Drawing.Size(133, 38); - this.layoutControlItem12.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem12.Text = "打印数量"; - this.layoutControlItem12.TextSize = new System.Drawing.Size(90, 22); - // - // layoutControlItem13 - // - this.layoutControlItem13.Control = this.btnPrintflow; - this.layoutControlItem13.Location = new System.Drawing.Point(347, 0); - this.layoutControlItem13.MinSize = new System.Drawing.Size(53, 38); - this.layoutControlItem13.Name = "layoutControlItem13"; - this.layoutControlItem13.Size = new System.Drawing.Size(67, 38); - this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem13.TextVisible = false; - // - // layoutControlItem14 - // - this.layoutControlItem14.Control = this.txtflowName; - this.layoutControlItem14.CustomizationFormText = "打印数量"; - this.layoutControlItem14.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem14.MaxSize = new System.Drawing.Size(214, 26); - this.layoutControlItem14.MinSize = new System.Drawing.Size(214, 26); - this.layoutControlItem14.Name = "layoutControlItem14"; - this.layoutControlItem14.Size = new System.Drawing.Size(214, 38); - this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem14.Text = "流水名称"; - this.layoutControlItem14.TextSize = new System.Drawing.Size(90, 22); - // - // emptySpaceItem7 - // - this.emptySpaceItem7.AllowHotTrack = false; - this.emptySpaceItem7.Location = new System.Drawing.Point(414, 0); - this.emptySpaceItem7.Name = "emptySpaceItem7"; - this.emptySpaceItem7.Size = new System.Drawing.Size(671, 38); - this.emptySpaceItem7.TextSize = new System.Drawing.Size(0, 0); - // // layoutControlGroup6 // this.layoutControlGroup6.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { @@ -848,6 +711,62 @@ this.emptySpaceItem12.Size = new System.Drawing.Size(511, 38); this.emptySpaceItem12.TextSize = new System.Drawing.Size(0, 0); // + // layoutControlGroup5 + // + this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem12, + this.layoutControlItem13, + this.layoutControlItem14, + this.emptySpaceItem7}); + this.layoutControlGroup5.Location = new System.Drawing.Point(0, 0); + this.layoutControlGroup5.Name = "layoutControlGroup5"; + this.layoutControlGroup5.Size = new System.Drawing.Size(1085, 38); + this.layoutControlGroup5.Text = "流水号打印"; + // + // layoutControlItem12 + // + this.layoutControlItem12.Control = this.txtflowcnt; + this.layoutControlItem12.Location = new System.Drawing.Point(214, 0); + this.layoutControlItem12.MaxSize = new System.Drawing.Size(133, 26); + this.layoutControlItem12.MinSize = new System.Drawing.Size(133, 26); + this.layoutControlItem12.Name = "layoutControlItem12"; + this.layoutControlItem12.Size = new System.Drawing.Size(133, 38); + this.layoutControlItem12.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem12.Text = "打印数量"; + this.layoutControlItem12.TextSize = new System.Drawing.Size(90, 22); + // + // layoutControlItem13 + // + this.layoutControlItem13.Control = this.btnPrintflow; + this.layoutControlItem13.Location = new System.Drawing.Point(347, 0); + this.layoutControlItem13.MinSize = new System.Drawing.Size(53, 38); + this.layoutControlItem13.Name = "layoutControlItem13"; + this.layoutControlItem13.Size = new System.Drawing.Size(67, 38); + this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem13.TextVisible = false; + // + // layoutControlItem14 + // + this.layoutControlItem14.Control = this.txtflowName; + this.layoutControlItem14.CustomizationFormText = "打印数量"; + this.layoutControlItem14.Location = new System.Drawing.Point(0, 0); + this.layoutControlItem14.MaxSize = new System.Drawing.Size(214, 26); + this.layoutControlItem14.MinSize = new System.Drawing.Size(214, 26); + this.layoutControlItem14.Name = "layoutControlItem14"; + this.layoutControlItem14.Size = new System.Drawing.Size(214, 38); + this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem14.Text = "流水名称"; + this.layoutControlItem14.TextSize = new System.Drawing.Size(90, 22); + // + // emptySpaceItem7 + // + this.emptySpaceItem7.AllowHotTrack = false; + this.emptySpaceItem7.Location = new System.Drawing.Point(414, 0); + this.emptySpaceItem7.Name = "emptySpaceItem7"; + this.emptySpaceItem7.Size = new System.Drawing.Size(671, 38); + this.emptySpaceItem7.TextSize = new System.Drawing.Size(0, 0); + // // layoutControlGroup4 // this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { @@ -1075,24 +994,85 @@ this.emptySpaceItem9.Size = new System.Drawing.Size(447, 38); this.emptySpaceItem9.TextSize = new System.Drawing.Size(0, 0); // - // simpleButton1 + // layoutControlGroup2 // - this.simpleButton1.Location = new System.Drawing.Point(383, 82); - this.simpleButton1.Name = "simpleButton1"; - this.simpleButton1.Size = new System.Drawing.Size(63, 22); - this.simpleButton1.TabIndex = 83; - this.simpleButton1.Text = "打印"; + this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem1, + this.layoutControlItem3, + this.layoutControlItem2, + this.emptySpaceItem4, + this.emptySpaceItem2, + this.emptySpaceItem3, + this.layoutControlItem27, + this.layoutControlItem29, + this.layoutControlItem28, + this.layoutControlItem8, + this.layoutControlItem30, + this.emptySpaceItem5, + this.layoutControlItem5, + this.layoutControlItem6}); + this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); + this.layoutControlGroup2.Name = "layoutControlGroup2"; + this.layoutControlGroup2.Size = new System.Drawing.Size(1645, 812); + this.layoutControlGroup2.Text = "本机打印机设置"; // - // lbInfo + // layoutControlItem1 // - this.lbInfo.Font = new System.Drawing.Font("Tahoma", 10F); - this.lbInfo.Location = new System.Drawing.Point(37, 106); - this.lbInfo.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lbInfo.Name = "lbInfo"; - this.lbInfo.Size = new System.Drawing.Size(154, 32); - this.lbInfo.TabIndex = 103; - this.lbInfo.Text = "设置A4打印机"; - this.lbInfo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.layoutControlItem1.Control = this.comPrinters; + this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); + this.layoutControlItem1.Name = "layoutControlItem1"; + this.layoutControlItem1.Size = new System.Drawing.Size(510, 34); + this.layoutControlItem1.Text = "打印机列表"; + this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem1.TextVisible = false; + // + // layoutControlItem3 + // + this.layoutControlItem3.Control = this.lbA4; + this.layoutControlItem3.Location = new System.Drawing.Point(160, 34); + this.layoutControlItem3.Name = "layoutControlItem3"; + this.layoutControlItem3.Size = new System.Drawing.Size(284, 38); + this.layoutControlItem3.Text = "A4打印机"; + this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem3.TextVisible = false; + // + // layoutControlItem2 + // + this.layoutControlItem2.Control = this.btnA4; + this.layoutControlItem2.Location = new System.Drawing.Point(444, 34); + this.layoutControlItem2.MinSize = new System.Drawing.Size(53, 38); + this.layoutControlItem2.Name = "layoutControlItem2"; + this.layoutControlItem2.Size = new System.Drawing.Size(66, 38); + this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem2.TextVisible = false; + // + // emptySpaceItem4 + // + this.emptySpaceItem4.AllowHotTrack = false; + this.emptySpaceItem4.Location = new System.Drawing.Point(0, 72); + this.emptySpaceItem4.MaxSize = new System.Drawing.Size(510, 10); + this.emptySpaceItem4.MinSize = new System.Drawing.Size(510, 10); + this.emptySpaceItem4.Name = "emptySpaceItem4"; + this.emptySpaceItem4.Size = new System.Drawing.Size(510, 10); + this.emptySpaceItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); + // + // emptySpaceItem2 + // + this.emptySpaceItem2.AllowHotTrack = false; + this.emptySpaceItem2.Location = new System.Drawing.Point(510, 0); + this.emptySpaceItem2.Name = "emptySpaceItem2"; + this.emptySpaceItem2.Size = new System.Drawing.Size(1135, 812); + this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); + // + // emptySpaceItem3 + // + this.emptySpaceItem3.AllowHotTrack = false; + this.emptySpaceItem3.Location = new System.Drawing.Point(0, 168); + this.emptySpaceItem3.Name = "emptySpaceItem3"; + this.emptySpaceItem3.Size = new System.Drawing.Size(510, 644); + this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem27 // @@ -1106,37 +1086,6 @@ this.layoutControlItem27.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem27.TextVisible = false; // - // lbCode2 - // - this.lbCode2.Font = new System.Drawing.Font("Tahoma", 10F); - this.lbCode2.Location = new System.Drawing.Point(197, 154); - this.lbCode2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lbCode2.Name = "lbCode2"; - this.lbCode2.Size = new System.Drawing.Size(278, 32); - this.lbCode2.TabIndex = 104; - this.lbCode2.Text = "条码打印机"; - this.lbCode2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // layoutControlItem28 - // - this.layoutControlItem28.Control = this.lbCode2; - this.layoutControlItem28.Location = new System.Drawing.Point(160, 82); - this.layoutControlItem28.Name = "layoutControlItem28"; - this.layoutControlItem28.Size = new System.Drawing.Size(284, 38); - this.layoutControlItem28.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem28.TextVisible = false; - // - // label2 - // - this.label2.Font = new System.Drawing.Font("Tahoma", 10F); - this.label2.Location = new System.Drawing.Point(37, 154); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(154, 32); - this.label2.TabIndex = 105; - this.label2.Text = "设置条码打印机"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // // layoutControlItem29 // this.layoutControlItem29.Control = this.label2; @@ -1149,16 +1098,24 @@ this.layoutControlItem29.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem29.TextVisible = false; // - // label3 + // layoutControlItem28 // - this.label3.Font = new System.Drawing.Font("Tahoma", 10F); - this.label3.Location = new System.Drawing.Point(37, 202); - this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(154, 32); - this.label3.TabIndex = 106; - this.label3.Text = "设置多联打印机"; - this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.layoutControlItem28.Control = this.lbCode2; + this.layoutControlItem28.Location = new System.Drawing.Point(160, 82); + this.layoutControlItem28.Name = "layoutControlItem28"; + this.layoutControlItem28.Size = new System.Drawing.Size(284, 38); + this.layoutControlItem28.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem28.TextVisible = false; + // + // layoutControlItem8 + // + this.layoutControlItem8.Control = this.lbPin; + this.layoutControlItem8.Location = new System.Drawing.Point(160, 130); + this.layoutControlItem8.Name = "layoutControlItem8"; + this.layoutControlItem8.Size = new System.Drawing.Size(284, 38); + this.layoutControlItem8.Text = "多联打印机"; + this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem8.TextVisible = false; // // layoutControlItem30 // @@ -1172,6 +1129,49 @@ this.layoutControlItem30.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem30.TextVisible = false; // + // emptySpaceItem5 + // + this.emptySpaceItem5.AllowHotTrack = false; + this.emptySpaceItem5.CustomizationFormText = "emptySpaceItem4"; + this.emptySpaceItem5.Location = new System.Drawing.Point(0, 120); + this.emptySpaceItem5.MaxSize = new System.Drawing.Size(510, 10); + this.emptySpaceItem5.MinSize = new System.Drawing.Size(510, 10); + this.emptySpaceItem5.Name = "emptySpaceItem5"; + this.emptySpaceItem5.Size = new System.Drawing.Size(510, 10); + this.emptySpaceItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.emptySpaceItem5.Text = "emptySpaceItem4"; + this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); + // + // layoutControlItem5 + // + this.layoutControlItem5.Control = this.btnCode; + this.layoutControlItem5.Location = new System.Drawing.Point(444, 82); + this.layoutControlItem5.MinSize = new System.Drawing.Size(53, 38); + this.layoutControlItem5.Name = "layoutControlItem5"; + this.layoutControlItem5.Size = new System.Drawing.Size(66, 38); + this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem5.TextVisible = false; + // + // layoutControlItem6 + // + this.layoutControlItem6.Control = this.btnPin; + this.layoutControlItem6.Location = new System.Drawing.Point(444, 130); + this.layoutControlItem6.MinSize = new System.Drawing.Size(53, 38); + this.layoutControlItem6.Name = "layoutControlItem6"; + this.layoutControlItem6.Size = new System.Drawing.Size(66, 38); + this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem6.TextVisible = false; + // + // simpleButton1 + // + this.simpleButton1.Location = new System.Drawing.Point(383, 82); + this.simpleButton1.Name = "simpleButton1"; + this.simpleButton1.Size = new System.Drawing.Size(63, 22); + this.simpleButton1.TabIndex = 83; + this.simpleButton1.Text = "打印"; + // // ConfigPrint // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F); @@ -1197,34 +1197,23 @@ ((System.ComponentModel.ISupportInitialize)(this.txtPreIn.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSimpleCode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSimpleDesc.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem12)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); @@ -1247,10 +1236,21 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem28)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); diff --git a/winform/utils/ConfigPrint.cs b/winform/utils/ConfigPrint.cs index 7f51d2d..854a0e7 100644 --- a/winform/utils/ConfigPrint.cs +++ b/winform/utils/ConfigPrint.cs @@ -16,6 +16,7 @@ using DeiNiu.wms.win.utils.print; using System.Drawing.Printing; using DeiNiu.wms.Data.Model; using System.IO; +using DeiNiu.wms.win.ServiceCustomer; namespace DeiNiu.wms.win { @@ -549,24 +550,43 @@ namespace DeiNiu.wms.win { try { - this.reportViewer1.LocalReport.DataSources.Clear(); + + DataTable dt = null; + using (ServiceCustomer.CustomerClient client = + new CustomerClient("BasicHttpBinding_ICustomer", + buildSvrAddress("CustomerService.svc"))) + { + //dt = client.getPickVolInfo(waveNo, 1);// client.getPickInfo(waveNo); + // string query = (string.Format("takeBy = #{0};partion = #{1};isnull(lineId,0) = #{2};orderType = #{3};" , 282, 0, 0, 0)); + + string query = ""; + + // query = (string.Format("take = #'{0}'", waveNo)); + dt = client.query(query, 0, 100).Tables[0]; + } + + DataView dv = dt.DefaultView; + dv.RowFilter = "custId like '130%' "; + + + + foreach (DataRowView drv in dv) + { this.reportViewer1.LocalReport.DataSources.Clear(); this.reportViewer1.RefreshReport(); //int num = Convert.ToInt32(txtflowcnt.Text.Trim()); Microsoft.Reporting.WinForms.ReportParameter[] parameters = new Microsoft.Reporting.WinForms.ReportParameter[3]; - this.reportViewer1.LocalReport.ReportPath = getReportPath("simpleCode.rdlc") ;// "DeiNiu.wms.Logical.reports.code_print.rdlc"; - // for (int i = 0; i < num; i++) - { - string code128 = txtSimpleCode.Text; - string code = txtSimpleDesc.Text; + this.reportViewer1.LocalReport.ReportPath = getReportPath("singleSimpleCode128.rdlc") ; + Customer customer = new Customer(drv.Row); + string code = customer.customerId; + string name = drv["custName"].ToString(); - parameters[0] = new ReportParameter("flowCode", Util.CreateQRcode(code128)); - parameters[1] = new ReportParameter("flowNo", code128); - parameters[2] = new ReportParameter("flowName", code); + parameters[0] = new ReportParameter("flowNo",code ); + parameters[1] = new ReportParameter("flowNo128", Util.getCode128(code)); + parameters[2] = new ReportParameter("flowName", name); - //BillPrint.Run(new DataTable("tmp"), "simpleCode.rdlc", PrinterType.code, parameters); - + reportViewer1.LocalReport.SetParameters(parameters); reportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local; reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("DataSet1", new DataTable("table1"))); @@ -576,6 +596,32 @@ namespace DeiNiu.wms.win // printIn.printFlowNos(txtflowName.Text, num); + /* + this.reportViewer1.LocalReport.DataSources.Clear(); + this.reportViewer1.RefreshReport(); + //int num = Convert.ToInt32(txtflowcnt.Text.Trim()); + Microsoft.Reporting.WinForms.ReportParameter[] parameters + = new Microsoft.Reporting.WinForms.ReportParameter[3]; + this.reportViewer1.LocalReport.ReportPath = getReportPath("singleSimpleCode128.rdlc") ; + string code128 = txtSimpleCode.Text; + string code = txtSimpleDesc.Text; + + parameters[0] = new ReportParameter("flowCode", Util.CreateQRcode(code128)); + parameters[1] = new ReportParameter("flowNo", code128); + parameters[2] = new ReportParameter("flowName", code); + + + //BillPrint.Run(new DataTable("tmp"), "simpleCode.rdlc", PrinterType.code, parameters); + + reportViewer1.LocalReport.SetParameters(parameters); + reportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local; + reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("DataSet1", new DataTable("table1"))); + this.reportViewer1.RefreshReport(); + + */ + + + } catch (Exception er) { diff --git a/winform/wms.csproj b/winform/wms.csproj index 16e5be2..074cb4f 100644 --- a/winform/wms.csproj +++ b/winform/wms.csproj @@ -29,7 +29,7 @@ 得牛软件 publish.htm false - 315 + 319 1.0.0.%2a false true @@ -120,7 +120,7 @@ True
- ..\..\..\..\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.Data.ConnectionUI.Dialog.dll + D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.Data.ConnectionUI.Dialog.dll False @@ -621,11 +621,6 @@ WaitingForm.cs - - True - True - v_stockInRequestDetail4wince1.xsd - Form @@ -1837,17 +1832,6 @@ PreserveNewest - - v_stockInRequestDetail4wince1.xsd - - - MSDataSetGenerator - v_stockInRequestDetail4wince1.Designer.cs - Designer - - - v_stockInRequestDetail4wince1.xsd - v_stockoutportsum.xsd @@ -1870,7 +1854,6 @@ wmsuzhou2DataSet.xsd - 随货同行5.xsd diff --git a/winform/入库/GoodsPreReceiveMultiDetails.cs b/winform/入库/GoodsPreReceiveMultiDetails.cs index fa2cec8..64b4d4a 100644 --- a/winform/入库/GoodsPreReceiveMultiDetails.cs +++ b/winform/入库/GoodsPreReceiveMultiDetails.cs @@ -198,6 +198,9 @@ namespace DeiNiu.wms.win // initialGridView2Columns(); // gridControl2.DataSource = null; } + + + private void initialGridView2Columns(GridView gridview) { setupGridView(gridview, false, true, false); @@ -230,8 +233,8 @@ namespace DeiNiu.wms.win GridColumn myCol1342= new GridColumn() { Caption = "条码", Visible = true, FieldName = "barCode" }; GridColumn myCol1341 = new GridColumn() { Caption = "到货数量", Visible = true, FieldName = "newArriveCount" }; GridColumn myCol1343 = new GridColumn() { Caption = "收货数量", Visible = true, FieldName = "newReceiveCount" }; - GridColumn myCol1344 = new GridColumn() { Caption = "验收数量", Visible = true, FieldName = "newValidCount" }; - GridColumn myCol1345= new GridColumn() { Caption = "上架数量", Visible = true, FieldName = "newOnShelfCount" }; + GridColumn myCol1344 = new GridColumn() { Caption = "验收数量", Visible = true, FieldName = "valid_count" }; + GridColumn myCol1345= new GridColumn() { Caption = "上架数量", Visible = true, FieldName = "upShelfCount" }; @@ -250,8 +253,8 @@ namespace DeiNiu.wms.win // GridColumn myCol22 = new GridColumn() { Caption = "上架说明", Visible = true, FieldName = WmsInUpPort.fields.description.ToString() }; // GridColumn myCol23 = new GridColumn() { Caption = "ABC", Visible = true, FieldName = "goodsABC" }; // GridColumn myCol24 = new GridColumn() { Caption = "箱", Visible = true, FieldName = "box" }; - GridColumn myCol25 = new GridColumn() { Caption = "操作人", Visible = true, FieldName = "em_name" }; - GridColumn myCol26 = new GridColumn() { Caption = "到货时间", Visible = true, FieldName = "createtime" }; + GridColumn myCol25 = new GridColumn() { Caption = "操作人", Visible = true, FieldName = "validByName" }; + GridColumn myCol26 = new GridColumn() { Caption = "到货时间", Visible = true, FieldName = "validbyTime" ,MinWidth=120}; GridColumn myCol27 = new GridColumn() { Caption = "需质检", Visible = true, FieldName = WmsGoods.exfields.isQc.ToString() }; GridColumn myCol28 = new GridColumn() { Caption = "直通商品", Visible = true, FieldName = WmsGoods.exfields.isZhitong.ToString() }; GridColumn myCol29 = new GridColumn() { Caption = "销售订单", Visible = true, FieldName = Erp_purch_d.fields.custPoNo.ToString() }; @@ -267,15 +270,18 @@ namespace DeiNiu.wms.win if (gridview == gridviewRecs) - { - gridview.Columns.Add(myCol32); - + { gridview.Columns.Add(myCol2); + gridview.Columns.Add(myCol25); + gridview.Columns.Add(myCol26); + + + gridview.Columns.Add(myCol34); gridview.Columns.Add(myCol1); - gridview.Columns.Add(myCol1341); - gridview.Columns.Add(myCol1343); + // gridview.Columns.Add(myCol1341); + // gridview.Columns.Add(myCol1343); gridview.Columns.Add(myCol1344); gridview.Columns.Add(myCol1345); @@ -287,8 +293,7 @@ namespace DeiNiu.wms.win gridview.Columns.Add(myCol7); gridview.Columns.Add(myCol12); gridview.Columns.Add(myCol18); - // gridview.Columns.Add(myCol25); - gridview.Columns.Add(myCol26); + gridview.Columns.Add(myCol32); } else if (gridview == gridView3) @@ -846,8 +851,8 @@ namespace DeiNiu.wms.win this.gridviewRecs.IndicatorWidth = 40; this.gridviewRecs.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(gridView_CustomDrawRowIndicator); - + gridviewRecs.CustomColumnDisplayText += gridView2_CustomColumnDisplayText; } @@ -888,7 +893,7 @@ namespace DeiNiu.wms.win return; // e.DisplayText = stockInLocationStatus.ContainsKey(display) ? stockInLocationStatus[display] : display+""; - } + }else @@ -911,10 +916,28 @@ namespace DeiNiu.wms.win return; } } - - - - + else + if (e.Column.FieldName == "validbyTime") + { + e.Column.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; + } + else if (e.Column.FieldName == "createtime") + { + e.Column.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; + } + else if (e.Column.FieldName == "lastmodified") + { + e.Column.DisplayFormat.FormatString = "yyyy-MM-dd HH:mm:ss"; + } + + else if (e.Column.FieldName.Contains("数量")) + { + e.Column.DisplayFormat.FormatString = "{0:N0}"; ; + } + + + + } } void gridView_CustomDrawCell(object sender, DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventArgs e) @@ -1030,7 +1053,7 @@ namespace DeiNiu.wms.win txtPreInNo.Text = ""; isShowingInRequest = true; - DataTable dtLog = inClient.getReceiveHistory(selectedRequest.pur_order); + DataTable dtLog = inClient.getReceiveMuiltiHistory(selectedRequest.pur_order); closeClient(); DataView dv = dtLog.DefaultView; @@ -2248,7 +2271,14 @@ namespace DeiNiu.wms.win private void GoodsPreReceiveMultiDetails_FormClosing(object sender, FormClosingEventArgs e) { - host.Close(); + try + { + host.Close(); + }catch(Exception er) + { + + } + } private void btnPrintMuiti_Click(object sender, EventArgs e) diff --git a/winform/入库/GoodsPreReceiveMultiDetails.designer.cs b/winform/入库/GoodsPreReceiveMultiDetails.designer.cs index f97df8b..f5a11b5 100644 --- a/winform/入库/GoodsPreReceiveMultiDetails.designer.cs +++ b/winform/入库/GoodsPreReceiveMultiDetails.designer.cs @@ -157,8 +157,6 @@ this.emptySpaceItem9 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem11 = new DevExpress.XtraLayout.EmptySpaceItem(); this.tabbedControlGroup1 = new DevExpress.XtraLayout.TabbedControlGroup(); - this.layoutControlGroup15 = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup12 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem32 = new DevExpress.XtraLayout.LayoutControlItem(); this.tabbedControlGroup2 = new DevExpress.XtraLayout.TabbedControlGroup(); @@ -181,6 +179,8 @@ this.layoutControlItem40 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlGroup15 = new DevExpress.XtraLayout.LayoutControlGroup(); + this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem(); this.layoutControlItem57 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem56 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -275,8 +275,6 @@ ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup15)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup2)).BeginInit(); @@ -299,6 +297,8 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem40)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup15)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem57)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem56)).BeginInit(); @@ -1794,26 +1794,6 @@ this.layoutControlGroup15, this.layoutControlGroup12}); // - // layoutControlGroup15 - // - this.layoutControlGroup15.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem8}); - this.layoutControlGroup15.Location = new System.Drawing.Point(0, 0); - this.layoutControlGroup15.Name = "layoutControlGroup15"; - this.layoutControlGroup15.Size = new System.Drawing.Size(836, 468); - this.layoutControlGroup15.Text = "订单明细"; - // - // layoutControlItem8 - // - this.layoutControlItem8.Control = this.gridControl2; - this.layoutControlItem8.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem8.Name = "layoutControlItem8"; - this.layoutControlItem8.Size = new System.Drawing.Size(836, 468); - this.layoutControlItem8.Text = "订单明细"; - this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Top; - this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem8.TextVisible = false; - // // layoutControlGroup12 // this.layoutControlGroup12.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { @@ -2082,6 +2062,26 @@ this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem9.TextVisible = false; // + // layoutControlGroup15 + // + this.layoutControlGroup15.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem8}); + this.layoutControlGroup15.Location = new System.Drawing.Point(0, 0); + this.layoutControlGroup15.Name = "layoutControlGroup15"; + this.layoutControlGroup15.Size = new System.Drawing.Size(836, 468); + this.layoutControlGroup15.Text = "订单明细"; + // + // layoutControlItem8 + // + this.layoutControlItem8.Control = this.gridControl2; + this.layoutControlItem8.Location = new System.Drawing.Point(0, 0); + this.layoutControlItem8.Name = "layoutControlItem8"; + this.layoutControlItem8.Size = new System.Drawing.Size(836, 468); + this.layoutControlItem8.Text = "订单明细"; + this.layoutControlItem8.TextLocation = DevExpress.Utils.Locations.Top; + this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem8.TextVisible = false; + // // splitterItem1 // this.splitterItem1.AllowHotTrack = true; @@ -2233,8 +2233,6 @@ ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup15)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem32)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabbedControlGroup2)).EndInit(); @@ -2257,6 +2255,8 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem40)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup15)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem57)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem56)).EndInit(); diff --git a/winform/入库/GoodsValidationRecs.cs b/winform/入库/GoodsValidationRecs.cs index 14de1b3..cd4d5b5 100644 --- a/winform/入库/GoodsValidationRecs.cs +++ b/winform/入库/GoodsValidationRecs.cs @@ -204,12 +204,17 @@ namespace DeiNiu.wms.win GridColumn myCol27 = new GridColumn() { Caption = "验收时间", Visible = true, FieldName = "validbyTime" }; GridColumn myCol28 = new GridColumn() { Caption = "验收时间", Visible = true, FieldName = "validbyTime1" }; + GridColumn myCol30 = new GridColumn() { Caption = "上架数量", Visible = true, FieldName = "upShelfCount" }; + + GridColumn myCol31 = new GridColumn() { Caption = "容器号码", Visible = true, FieldName = "flowNo" }; + if (chkGoodsSum.Checked) { gridview.Columns.Add(myCol2); gridview.Columns.Add(myCol1); gridview.Columns.Add(myCol135); + gridview.Columns.Add(myCol5); gridview.Columns.Add(myCol4); @@ -229,7 +234,8 @@ namespace DeiNiu.wms.win myCol4 = new GridColumn() { Caption = "货主", Visible = true, FieldName = WmsInRequest.fields.owner.ToString() }; gridview.Columns.Add(myCol2); gridview.Columns.Add(myCol135); - + gridview.Columns.Add(myCol30); + gridview.Columns.Add(myCol31); gridview.Columns.Add(myCol5); gridview.Columns.Add(myCol14); gridview.Columns.Add(myCol15); @@ -309,9 +315,19 @@ namespace DeiNiu.wms.win + (this.txtvenderId.Text.Trim().Length == 0 ? "" : string.Format("{0} = # '{1}';", "vender", filtRiskChar(txtvenderId.Text.Trim()))) + (this.txtVender.Text.Trim().Length == 0 ? "" : string.Format("{0} like # '%{1}%' or pinyin like # '%{2}%';", "venderName", filtRiskChar(txtVender.Text.Trim()), filtRiskChar(txtVender.Text.Trim()))) + (this.txtValidBy.Text.Trim().Length == 0 ? "" : string.Format("{0} like # '%{1}%' or isnull({2},'') like # '%{3}%';", "validByName", filtRiskChar(txtValidBy.Text.Trim()), "validByName1",filtRiskChar(txtValidBy.Text.Trim()))) + ; + + if(chkOnShelf.Checked) + { + + query += " isZhitong=0 and validCount!=upShelfCount "; + } + + + // + (this.comboState.SelectedIndex < 0 ? "" : string.Format("{0} = #{1};", Erp_purch.fields.wms_state.ToString(),(int)enumInStockOrderStatus.待验收 ));// ((Colitem)this.comboState.SelectedItem).key)); - // 、、 + (this.txtGoodName.Text.Trim().Length == 0 ? "" : string.Format("{0} like # '%{1}%';", WmsInRequest.exfields.goodName.ToString(), txtGoodName.Text)) + // 、、 + (this.txtGoodName.Text.Trim().Length == 0 ? "" : string.Format("{0} like # '%{1}%';", WmsInRequest.exfields.goodName.ToString(), txtGoodName.Text)) bool isQueryNotChanged = lastQuery.Equals(query); this.pager1.PageCurrent = isQueryNotChanged ? this.pager1.PageCurrent : 1; //根据查询条件的变化给pager赋值 int start = (pager1.PageSize * (pager1.PageCurrent - 1) + 1); @@ -760,5 +776,21 @@ namespace DeiNiu.wms.win { exportExcel(gridView1); } + + private void chkGoodsSum_CheckedChanged(object sender, EventArgs e) + { + if (chkGoodsSum.Checked) + { + chkOnShelf.Checked = false; + } + } + + private void chkOnShelf_CheckedChanged(object sender, EventArgs e) + { + if (chkOnShelf.Checked) + { + chkGoodsSum.Checked = false; + } + } } } \ No newline at end of file diff --git a/winform/入库/GoodsValidationRecs.designer.cs b/winform/入库/GoodsValidationRecs.designer.cs index a776c20..6a48947 100644 --- a/winform/入库/GoodsValidationRecs.designer.cs +++ b/winform/入库/GoodsValidationRecs.designer.cs @@ -55,10 +55,10 @@ this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup6 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -66,6 +66,8 @@ this.behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(this.components); this.bbiExport = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); + this.chkOnShelf = new DevExpress.XtraEditors.CheckEdit(); + this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); @@ -89,15 +91,17 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.chkOnShelf.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); this.SuspendLayout(); // // ribbon @@ -148,6 +152,7 @@ // // layoutControl1 // + this.layoutControl1.Controls.Add(this.chkOnShelf); this.layoutControl1.Controls.Add(this.txtvenderId); this.layoutControl1.Controls.Add(this.gridControl1); this.layoutControl1.Controls.Add(this.pager1); @@ -183,12 +188,12 @@ // gridControl1 // this.gridControl1.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(6, 8, 6, 8); - this.gridControl1.Location = new System.Drawing.Point(3, 144); + this.gridControl1.Location = new System.Drawing.Point(3, 146); this.gridControl1.MainView = this.gridView1; this.gridControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.gridControl1.MenuManager = this.ribbon; this.gridControl1.Name = "gridControl1"; - this.gridControl1.Size = new System.Drawing.Size(1760, 840); + this.gridControl1.Size = new System.Drawing.Size(1760, 854); this.gridControl1.TabIndex = 46; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); @@ -200,14 +205,14 @@ // // pager1 // - this.pager1.Location = new System.Drawing.Point(3, 990); + this.pager1.Location = new System.Drawing.Point(3, 1006); this.pager1.Margin = new System.Windows.Forms.Padding(6); this.pager1.Name = "pager1"; this.pager1.NMax = 0; this.pager1.PageCount = 0; this.pager1.PageCurrent = 0; this.pager1.PageSize = 100; - this.pager1.Size = new System.Drawing.Size(1760, 38); + this.pager1.Size = new System.Drawing.Size(1760, 22); this.pager1.TabIndex = 22; // // txtOrderNo @@ -302,6 +307,7 @@ this.chkGoodsSum.Size = new System.Drawing.Size(140, 28); this.chkGoodsSum.StyleController = this.layoutControl1; this.chkGoodsSum.TabIndex = 48; + this.chkGoodsSum.CheckedChanged += new System.EventHandler(this.chkGoodsSum_CheckedChanged); // // layoutControlGroup10 // @@ -335,10 +341,11 @@ this.layoutControlItem3, this.layoutControlItem4, this.layoutControlItem12, - this.layoutControlItem13}); + this.layoutControlItem13, + this.layoutControlItem5}); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "layoutControlGroup2"; - this.layoutControlGroup2.Size = new System.Drawing.Size(1766, 141); + this.layoutControlGroup2.Size = new System.Drawing.Size(1766, 143); this.layoutControlGroup2.Text = "入库查询"; // // layoutControlItem6 @@ -361,7 +368,7 @@ this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.Location = new System.Drawing.Point(991, 0); this.emptySpaceItem1.Name = "emptySpaceItem1"; - this.emptySpaceItem1.Size = new System.Drawing.Size(737, 66); + this.emptySpaceItem1.Size = new System.Drawing.Size(737, 68); this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem7 @@ -371,7 +378,7 @@ this.layoutControlItem7.MaxSize = new System.Drawing.Size(106, 66); this.layoutControlItem7.MinSize = new System.Drawing.Size(106, 66); this.layoutControlItem7.Name = "layoutControlItem7"; - this.layoutControlItem7.Size = new System.Drawing.Size(106, 66); + this.layoutControlItem7.Size = new System.Drawing.Size(106, 68); this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem7.TextVisible = false; @@ -384,7 +391,7 @@ this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.OptionsTableLayoutItem.ColumnIndex = 1; this.layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 10, 2, 2); - this.layoutControlItem1.Size = new System.Drawing.Size(239, 32); + this.layoutControlItem1.Size = new System.Drawing.Size(239, 34); this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem1.Text = "收货单号"; this.layoutControlItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; @@ -400,13 +407,38 @@ this.layoutControlItem2.MinSize = new System.Drawing.Size(272, 32); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 10, 2, 2); - this.layoutControlItem2.Size = new System.Drawing.Size(272, 32); + this.layoutControlItem2.Size = new System.Drawing.Size(272, 34); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.Text = "验收人员"; this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem2.TextSize = new System.Drawing.Size(72, 22); this.layoutControlItem2.TextToControlDistance = 5; // + // layoutControlItem3 + // + this.layoutControlItem3.Control = this.txtvenderId; + this.layoutControlItem3.Location = new System.Drawing.Point(228, 0); + this.layoutControlItem3.MaxSize = new System.Drawing.Size(239, 34); + this.layoutControlItem3.MinSize = new System.Drawing.Size(239, 34); + this.layoutControlItem3.Name = "layoutControlItem3"; + this.layoutControlItem3.Size = new System.Drawing.Size(239, 34); + this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem3.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 10, 0, 0); + this.layoutControlItem3.Text = "供应商ID"; + this.layoutControlItem3.TextSize = new System.Drawing.Size(73, 22); + // + // layoutControlItem4 + // + this.layoutControlItem4.Control = this.chkGoodsSum; + this.layoutControlItem4.Location = new System.Drawing.Point(739, 0); + this.layoutControlItem4.MinSize = new System.Drawing.Size(128, 34); + this.layoutControlItem4.Name = "layoutControlItem4"; + this.layoutControlItem4.Size = new System.Drawing.Size(146, 34); + this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem4.Text = "按商品汇总"; + this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem4.TextVisible = false; + // // layoutControlItem12 // this.layoutControlItem12.Control = this.dateEditFrom; @@ -430,56 +462,30 @@ this.layoutControlItem13.MinSize = new System.Drawing.Size(228, 32); this.layoutControlItem13.Name = "layoutControlItem13"; this.layoutControlItem13.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 10, 2, 2); - this.layoutControlItem13.Size = new System.Drawing.Size(228, 32); + this.layoutControlItem13.Size = new System.Drawing.Size(228, 34); this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem13.Text = "截止时间"; this.layoutControlItem13.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem13.TextSize = new System.Drawing.Size(72, 22); this.layoutControlItem13.TextToControlDistance = 5; // - // layoutControlItem3 - // - this.layoutControlItem3.Control = this.txtvenderId; - this.layoutControlItem3.Location = new System.Drawing.Point(228, 0); - this.layoutControlItem3.MaxSize = new System.Drawing.Size(239, 34); - this.layoutControlItem3.MinSize = new System.Drawing.Size(239, 34); - this.layoutControlItem3.Name = "layoutControlItem3"; - this.layoutControlItem3.Size = new System.Drawing.Size(239, 34); - this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem3.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 10, 0, 0); - this.layoutControlItem3.Text = "供应商ID"; - this.layoutControlItem3.TextSize = new System.Drawing.Size(73, 22); - // - // layoutControlItem4 - // - this.layoutControlItem4.Control = this.chkGoodsSum; - this.layoutControlItem4.Location = new System.Drawing.Point(739, 0); - this.layoutControlItem4.MaxSize = new System.Drawing.Size(146, 66); - this.layoutControlItem4.MinSize = new System.Drawing.Size(146, 66); - this.layoutControlItem4.Name = "layoutControlItem4"; - this.layoutControlItem4.Size = new System.Drawing.Size(146, 66); - this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; - this.layoutControlItem4.Text = "按商品汇总"; - this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem4.TextVisible = false; - // // layoutControlGroup6 // this.layoutControlGroup6.GroupBordersVisible = false; this.layoutControlGroup6.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem19, this.layoutControlItem14}); - this.layoutControlGroup6.Location = new System.Drawing.Point(0, 141); + this.layoutControlGroup6.Location = new System.Drawing.Point(0, 143); this.layoutControlGroup6.Name = "layoutControlGroup6"; - this.layoutControlGroup6.Size = new System.Drawing.Size(1766, 890); + this.layoutControlGroup6.Size = new System.Drawing.Size(1766, 888); this.layoutControlGroup6.TextVisible = false; // // layoutControlItem19 // this.layoutControlItem19.Control = this.pager1; - this.layoutControlItem19.Location = new System.Drawing.Point(0, 846); + this.layoutControlItem19.Location = new System.Drawing.Point(0, 860); this.layoutControlItem19.Name = "layoutControlItem19"; - this.layoutControlItem19.Size = new System.Drawing.Size(1766, 44); + this.layoutControlItem19.Size = new System.Drawing.Size(1766, 28); this.layoutControlItem19.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem19.TextVisible = false; // @@ -488,7 +494,7 @@ this.layoutControlItem14.Control = this.gridControl1; this.layoutControlItem14.Location = new System.Drawing.Point(0, 0); this.layoutControlItem14.Name = "layoutControlItem14"; - this.layoutControlItem14.Size = new System.Drawing.Size(1766, 846); + this.layoutControlItem14.Size = new System.Drawing.Size(1766, 860); this.layoutControlItem14.Text = "已验收"; this.layoutControlItem14.TextLocation = DevExpress.Utils.Locations.Top; this.layoutControlItem14.TextSize = new System.Drawing.Size(0, 0); @@ -517,6 +523,35 @@ this.barButtonItem1.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.ImageOptions.LargeImage"))); this.barButtonItem1.Name = "barButtonItem1"; // + // chkOnShelf + // + this.chkOnShelf.EditValue = null; + this.chkOnShelf.Location = new System.Drawing.Point(761, 93); + this.chkOnShelf.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.chkOnShelf.MenuManager = this.ribbon; + this.chkOnShelf.Name = "chkOnShelf"; + this.chkOnShelf.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.chkOnShelf.Properties.Appearance.Options.UseFont = true; + this.chkOnShelf.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default; + this.chkOnShelf.Properties.Caption = "上架异常"; + this.chkOnShelf.Properties.DisplayFormat.FormatString = "d"; + this.chkOnShelf.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.chkOnShelf.Properties.EditFormat.FormatString = "d"; + this.chkOnShelf.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; + this.chkOnShelf.Size = new System.Drawing.Size(140, 28); + this.chkOnShelf.StyleController = this.layoutControl1; + this.chkOnShelf.TabIndex = 49; + this.chkOnShelf.CheckedChanged += new System.EventHandler(this.chkOnShelf_CheckedChanged); + // + // layoutControlItem5 + // + this.layoutControlItem5.Control = this.chkOnShelf; + this.layoutControlItem5.Location = new System.Drawing.Point(739, 34); + this.layoutControlItem5.Name = "layoutControlItem5"; + this.layoutControlItem5.Size = new System.Drawing.Size(146, 34); + this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem5.TextVisible = false; + // // GoodsValidationRecs // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F); @@ -552,15 +587,17 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleSeparator1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.chkOnShelf.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -604,5 +641,7 @@ private DevExpress.XtraBars.BarButtonItem barButtonItem1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; private DevExpress.XtraEditors.CheckEdit chkGoodsSum; + private DevExpress.XtraEditors.CheckEdit chkOnShelf; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; } } \ No newline at end of file diff --git a/winform/出库/GoodsOutTasks.Designer.cs b/winform/出库/GoodsOutTasks.Designer.cs index 698bbd5..a7876fd 100644 --- a/winform/出库/GoodsOutTasks.Designer.cs +++ b/winform/出库/GoodsOutTasks.Designer.cs @@ -65,6 +65,7 @@ this.comPartion = new DevExpress.XtraEditors.ComboBoxEdit(); this.comLine = new DevExpress.XtraEditors.ComboBoxEdit(); this.comAssigned = new DevExpress.XtraEditors.ComboBoxEdit(); + this.chkDiff = new DevExpress.XtraEditors.CheckEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup11 = new DevExpress.XtraLayout.LayoutControlGroup(); @@ -97,11 +98,11 @@ this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem6 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem27 = new DevExpress.XtraLayout.LayoutControlItem(); - this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem29 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem30 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem(); @@ -138,6 +139,7 @@ ((System.ComponentModel.ISupportInitialize)(this.comPartion.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comLine.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comAssigned.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.chkDiff.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).BeginInit(); @@ -170,11 +172,11 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit(); @@ -261,6 +263,7 @@ this.layoutControl1.Controls.Add(this.comPartion); this.layoutControl1.Controls.Add(this.comLine); this.layoutControl1.Controls.Add(this.comAssigned); + this.layoutControl1.Controls.Add(this.chkDiff); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 225); this.layoutControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); @@ -640,6 +643,16 @@ this.comAssigned.StyleController = this.layoutControl1; this.comAssigned.TabIndex = 26; // + // chkDiff + // + this.chkDiff.Location = new System.Drawing.Point(797, 159); + this.chkDiff.MenuManager = this.ribbon; + this.chkDiff.Name = "chkDiff"; + this.chkDiff.Properties.Caption = "发货差异"; + this.chkDiff.Size = new System.Drawing.Size(469, 26); + this.chkDiff.StyleController = this.layoutControl1; + this.chkDiff.TabIndex = 95; + // // layoutControlGroup1 // this.layoutControlGroup1.GroupBordersVisible = false; @@ -841,11 +854,11 @@ this.layoutControlItem12, this.emptySpaceItem6, this.layoutControlItem27, - this.emptySpaceItem4, this.layoutControlItem29, this.layoutControlItem10, this.layoutControlItem4, - this.layoutControlItem13}); + this.layoutControlItem13, + this.layoutControlItem30}); this.layoutControlGroup10.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup10.Name = "layoutControlGroup10"; this.layoutControlGroup10.Size = new System.Drawing.Size(1775, 136); @@ -934,7 +947,7 @@ this.layoutControlItem19.Size = new System.Drawing.Size(262, 34); this.layoutControlItem19.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem19.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 10, 0, 0); - this.layoutControlItem19.Text = "分配人"; + this.layoutControlItem19.Text = "分拣员"; this.layoutControlItem19.TextSize = new System.Drawing.Size(72, 22); // // layoutControlItem1 @@ -1054,14 +1067,6 @@ this.layoutControlItem27.Text = "客户名称"; this.layoutControlItem27.TextSize = new System.Drawing.Size(72, 22); // - // emptySpaceItem4 - // - this.emptySpaceItem4.AllowHotTrack = false; - this.emptySpaceItem4.Location = new System.Drawing.Point(775, 102); - this.emptySpaceItem4.Name = "emptySpaceItem4"; - this.emptySpaceItem4.Size = new System.Drawing.Size(475, 34); - this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); - // // layoutControlItem29 // this.layoutControlItem29.Control = this.comWarehouse; @@ -1121,6 +1126,15 @@ this.layoutControlItem13.TextSize = new System.Drawing.Size(72, 22); this.layoutControlItem13.TextToControlDistance = 5; // + // layoutControlItem30 + // + this.layoutControlItem30.Control = this.chkDiff; + this.layoutControlItem30.Location = new System.Drawing.Point(775, 102); + this.layoutControlItem30.Name = "layoutControlItem30"; + this.layoutControlItem30.Size = new System.Drawing.Size(475, 34); + this.layoutControlItem30.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem30.TextVisible = false; + // // layoutControlGroup2 // this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { @@ -1242,6 +1256,7 @@ ((System.ComponentModel.ISupportInitialize)(this.comPartion.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comLine.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comAssigned.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.chkDiff.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup11)).EndInit(); @@ -1274,11 +1289,11 @@ ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem27)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem29)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem30)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit(); @@ -1371,8 +1386,9 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12; private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem6; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem27; - private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem4; private DevExpress.XtraEditors.ComboBoxEdit comWarehouse; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem29; + private DevExpress.XtraEditors.CheckEdit chkDiff; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem30; } } \ No newline at end of file diff --git a/winform/出库/GoodsOutTasks.cs b/winform/出库/GoodsOutTasks.cs index 4cc7b5c..44259ee 100644 --- a/winform/出库/GoodsOutTasks.cs +++ b/winform/出库/GoodsOutTasks.cs @@ -407,7 +407,7 @@ namespace DeiNiu.wms.win query += (this.comboState.SelectedIndex <= 0 ? "" : string.Format("{0} = #{1};", "state", ((Colitem)this.comboState.SelectedItem).key)) + (this.comRecType.SelectedIndex <= 0 ? "" : string.Format("{0} = #{1};", "recType", ((Colitem)this.comRecType.SelectedItem).key)) + (this.comWarehouse.SelectedIndex <= 0 ? "" : string.Format("{0} = #{1};", "warehouse", ((Node)this.comWarehouse.SelectedItem).ID)) - + (this.txtTaskBy.Text.Trim().Length == 0 ? "" : string.Format("{0} like # '%{1}%';", "分配人", filtRiskChar(txtTaskBy.Text.Trim()))) + + (this.txtTaskBy.Text.Trim().Length == 0 ? "" : string.Format("{0} like # '%{1}%';", "pickByName", filtRiskChar(txtTaskBy.Text.Trim()))) + (this.comLine.SelectedIndex <= 0 ? "" : string.Format("{0} = #{1};", "lineId", ((Node)this.comLine.SelectedItem).ID )) + (this.txtGoodsName.Text.Trim().Length == 0 ? "" : string.Format("{0} like # '%{1}%';", "goodsName", filtRiskChar(txtGoodsName.Text.Trim()))) + (this.txtcustname.Text.Trim().Length == 0 ? "" : string.Format("{0} like # '%{1}%';", "customerName", filtRiskChar(txtcustname.Text.Trim()))) @@ -420,7 +420,8 @@ namespace DeiNiu.wms.win + (this.txtPickorder.Text.Trim().Length == 0 ? "" : string.Format("{0} = # '{1}';", "pickOrderNo", filtRiskChar(txtPickorder.Text.Trim()))) + (this.txtJobNo.Text.Trim().Length == 0 ? "" : string.Format("{0} = # '{1}';", "jobNo", filtRiskChar(txtJobNo.Text.Trim()))) + (this.txtPortId.Text.Trim().Length == 0 ? "" : string.Format("{0} = # {1};", "ID", filtRiskChar(txtPortId.Text.Trim()))) - ; + + (this.chkDiff.Checked ? string.Format("{0} <> #{1};", "count","pickCount" ):"" ) + ; bool isQueryNotChanged = lastQuery.Equals(query); diff --git a/winform/在库/StockPandianNewForm.cs b/winform/在库/StockPandianNewForm.cs index bcedb7c..da360a1 100644 --- a/winform/在库/StockPandianNewForm.cs +++ b/winform/在库/StockPandianNewForm.cs @@ -105,6 +105,7 @@ namespace DeiNiu.wms.win initialComboBoxs(this.comboStkType, whType, false); initialComboBoxs(this.comTypeQ, enumPandianType); initialComboBoxs(this.comPType, enumPandianType, false); + comPType.SelectedIndex = enumPandianType.Count - 1; } diff --git a/winform/在库/StockPandianNewForm.designer.cs b/winform/在库/StockPandianNewForm.designer.cs index 7f716aa..9cd9c2d 100644 --- a/winform/在库/StockPandianNewForm.designer.cs +++ b/winform/在库/StockPandianNewForm.designer.cs @@ -878,7 +878,8 @@ this.layoutControlItem23.Control = this.comPType; this.layoutControlItem23.CustomizationFormText = "库存状态"; this.layoutControlItem23.Location = new System.Drawing.Point(0, 882); - this.layoutControlItem23.MinSize = new System.Drawing.Size(143, 34); + this.layoutControlItem23.MaxSize = new System.Drawing.Size(185, 34); + this.layoutControlItem23.MinSize = new System.Drawing.Size(185, 34); this.layoutControlItem23.Name = "layoutControlItem23"; this.layoutControlItem23.Size = new System.Drawing.Size(185, 34); this.layoutControlItem23.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; @@ -893,7 +894,8 @@ this.layoutControlItem6.Control = this.comboBoGoodsType; this.layoutControlItem6.CustomizationFormText = "layoutControlItem5"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 916); - this.layoutControlItem6.MinSize = new System.Drawing.Size(143, 34); + this.layoutControlItem6.MaxSize = new System.Drawing.Size(370, 34); + this.layoutControlItem6.MinSize = new System.Drawing.Size(370, 34); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(370, 34); this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; @@ -907,7 +909,8 @@ // this.layoutControlItem8.Control = this.comboBoPart; this.layoutControlItem8.Location = new System.Drawing.Point(185, 882); - this.layoutControlItem8.MinSize = new System.Drawing.Size(143, 34); + this.layoutControlItem8.MaxSize = new System.Drawing.Size(185, 34); + this.layoutControlItem8.MinSize = new System.Drawing.Size(185, 34); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(185, 34); this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; @@ -1088,6 +1091,7 @@ // this.layoutControlItem7.Control = this.combNotice; this.layoutControlItem7.Location = new System.Drawing.Point(626, 882); + this.layoutControlItem7.MaxSize = new System.Drawing.Size(141, 34); this.layoutControlItem7.MinSize = new System.Drawing.Size(141, 34); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(141, 34); diff --git a/winform/基础资料/GoodsForm.designer.cs b/winform/基础资料/GoodsForm.designer.cs index 58a03dc..28a2051 100644 --- a/winform/基础资料/GoodsForm.designer.cs +++ b/winform/基础资料/GoodsForm.designer.cs @@ -1037,8 +1037,8 @@ // this.tabbedControlGroup2.Location = new System.Drawing.Point(0, 0); this.tabbedControlGroup2.Name = "tabbedControlGroup2"; - this.tabbedControlGroup2.SelectedTabPage = this.layoutControlGroup2; - this.tabbedControlGroup2.SelectedTabPageIndex = 0; + this.tabbedControlGroup2.SelectedTabPage = this.layoutControlGroup8; + this.tabbedControlGroup2.SelectedTabPageIndex = 1; this.tabbedControlGroup2.Size = new System.Drawing.Size(1924, 186); this.tabbedControlGroup2.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup2, @@ -1334,8 +1334,8 @@ // this.tabbedControlGroup1.Location = new System.Drawing.Point(0, 0); this.tabbedControlGroup1.Name = "tabbedControlGroup1"; - this.tabbedControlGroup1.SelectedTabPage = this.layoutControlGroup6; - this.tabbedControlGroup1.SelectedTabPageIndex = 0; + this.tabbedControlGroup1.SelectedTabPage = this.layoutControlGroup11; + this.tabbedControlGroup1.SelectedTabPageIndex = 5; this.tabbedControlGroup1.Size = new System.Drawing.Size(1753, 112); this.tabbedControlGroup1.TabPages.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup6, diff --git a/winform/基础资料/GoodsForm.resx b/winform/基础资料/GoodsForm.resx index f767c83..8b700b3 100644 --- a/winform/基础资料/GoodsForm.resx +++ b/winform/基础资料/GoodsForm.resx @@ -121,7 +121,7 @@ 17, 17 - 17, 64 + 275, 17