From 0d8c9222155b431bc4c57132e47e14c6542ee4f2 Mon Sep 17 00:00:00 2001 From: chenwenkai <1084072318@qq.com> Date: Thu, 23 Jan 2025 09:34:11 +0800 Subject: [PATCH] =?UTF-8?q?sysmanage=20=E5=89=8D=E7=AB=AF=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TradeManageNew/SysManage/ApiImport.aspx | 206 + TradeManageNew/SysManage/ApiImport.aspx.cs | 17 + .../SysManage/ApiImport.aspx.designer.cs | 15 + TradeManageNew/SysManage/ApiImportForTM.aspx | 294 + .../SysManage/ApiImportForTM.aspx.cs | 17 + .../SysManage/ApiImportForTM.aspx.designer.cs | 15 + TradeManageNew/SysManage/ApiPrint.aspx | 1338 +++++ TradeManageNew/SysManage/ApiPrint.aspx.cs | 17 + .../SysManage/ApiPrint.aspx.designer.cs | 15 + TradeManageNew/SysManage/BaseCodeList.aspx | 480 ++ TradeManageNew/SysManage/BaseCodeList.aspx.cs | 17 + .../SysManage/BaseCodeList.aspx.designer.cs | 15 + TradeManageNew/SysManage/CDiscountImport.aspx | 37 + .../SysManage/CDiscountImport.aspx.cs | 305 ++ .../CDiscountImport.aspx.designer.cs | 96 + TradeManageNew/SysManage/CompanyEdit.aspx | 630 +++ TradeManageNew/SysManage/CompanyEdit.aspx.cs | 17 + .../SysManage/CompanyEdit.aspx.designer.cs | 15 + TradeManageNew/SysManage/CompanyFeeList.aspx | 373 ++ .../SysManage/CompanyFeeList.aspx.cs | 17 + .../SysManage/CompanyFeeList.aspx.designer.cs | 24 + TradeManageNew/SysManage/CompanyInfo.aspx | 321 ++ TradeManageNew/SysManage/CompanyInfo.aspx.cs | 17 + .../SysManage/CompanyInfo.aspx.designer.cs | 15 + TradeManageNew/SysManage/CompanyList.aspx | 692 +++ TradeManageNew/SysManage/CompanyList.aspx.cs | 17 + .../SysManage/CompanyList.aspx.designer.cs | 24 + TradeManageNew/SysManage/CompanyListNew.aspx | 474 ++ .../SysManage/CompanyListNew.aspx.cs | 17 + .../SysManage/CompanyListNew.aspx.designer.cs | 24 + TradeManageNew/SysManage/CountryList.aspx | 291 + TradeManageNew/SysManage/CountryList.aspx.cs | 17 + .../SysManage/CountryList.aspx.designer.cs | 15 + .../SysManage/DD_BackMoneyApply.aspx | 2222 ++++++++ .../SysManage/DD_BackMoneyApply.aspx.cs | 17 + .../DD_BackMoneyApply.aspx.designer.cs | 15 + .../SysManage/DD_BackMoneyApply2.aspx | 2361 ++++++++ .../SysManage/DD_BackMoneyApply2.aspx.cs | 17 + .../DD_BackMoneyApply2.aspx.designer.cs | 15 + .../SysManage/DD_BackMoneyApply3.aspx | 2063 +++++++ .../SysManage/DD_BackMoneyApply3.aspx.cs | 17 + .../DD_BackMoneyApply3.aspx.designer.cs | 15 + TradeManageNew/SysManage/DepartMentList.aspx | 390 ++ .../SysManage/DepartMentList.aspx.cs | 17 + .../SysManage/DepartMentList.aspx.designer.cs | 15 + .../SysManage/DepartMentListForTM.aspx | 423 ++ .../SysManage/DepartMentListForTM.aspx.cs | 17 + .../DepartMentListForTM.aspx.designer.cs | 15 + .../SysManage/ExpressCodeImport.aspx | 357 ++ .../SysManage/ExpressCodeImport.aspx.cs | 17 + .../ExpressCodeImport.aspx.designer.cs | 15 + TradeManageNew/SysManage/ExpressList.aspx | 590 ++ TradeManageNew/SysManage/ExpressList.aspx.cs | 17 + .../SysManage/ExpressList.aspx.designer.cs | 15 + TradeManageNew/SysManage/ExpressListNew.aspx | 601 ++ .../SysManage/ExpressListNew.aspx.cs | 17 + .../SysManage/ExpressListNew.aspx.designer.cs | 15 + TradeManageNew/SysManage/FriendCode.aspx | 375 ++ TradeManageNew/SysManage/FriendCode.aspx.cs | 17 + .../SysManage/FriendCode.aspx.designer.cs | 15 + TradeManageNew/SysManage/GG_NoticeAdd.aspx | 592 ++ TradeManageNew/SysManage/GG_NoticeAdd.aspx.cs | 17 + .../SysManage/GG_NoticeAdd.aspx.designer.cs | 15 + TradeManageNew/SysManage/GG_NoticeList.aspx | 236 + .../SysManage/GG_NoticeList.aspx.cs | 17 + .../SysManage/GG_NoticeList.aspx.designer.cs | 24 + TradeManageNew/SysManage/GG_NoticeLook.aspx | 170 + .../SysManage/GG_NoticeLook.aspx.cs | 17 + .../SysManage/GG_NoticeLook.aspx.designer.cs | 15 + TradeManageNew/SysManage/GZ_SalaryImport.aspx | 246 + .../SysManage/GZ_SalaryImport.aspx.cs | 17 + .../GZ_SalaryImport.aspx.designer.cs | 33 + TradeManageNew/SysManage/GZ_ShowAll.aspx | 163 + TradeManageNew/SysManage/GZ_ShowAll.aspx.cs | 17 + .../SysManage/GZ_ShowAll.aspx.designer.cs | 24 + TradeManageNew/SysManage/GZ_ShowUser.aspx | 168 + TradeManageNew/SysManage/GZ_ShowUser.aspx.cs | 17 + .../SysManage/GZ_ShowUser.aspx.designer.cs | 24 + .../SysManage/GetOrderList_Call_heegrand.xml | 34 + TradeManageNew/SysManage/JC_MoneyList.aspx | 234 + TradeManageNew/SysManage/JC_MoneyList.aspx.cs | 17 + .../SysManage/JC_MoneyList.aspx.designer.cs | 15 + .../SysManage/JC_MoneyListForTM.aspx | 275 + .../SysManage/JC_MoneyListForTM.aspx.cs | 17 + .../JC_MoneyListForTM.aspx.designer.cs | 15 + TradeManageNew/SysManage/JC_UserWork.aspx | 278 + TradeManageNew/SysManage/JC_UserWork.aspx.cs | 17 + .../SysManage/JC_UserWork.aspx.designer.cs | 15 + TradeManageNew/SysManage/LeaveApply.aspx | 525 ++ TradeManageNew/SysManage/LeaveApply.aspx.cs | 17 + .../SysManage/LeaveApply.aspx.designer.cs | 78 + TradeManageNew/SysManage/LeaveCount.aspx | 523 ++ TradeManageNew/SysManage/LeaveCount.aspx.cs | 17 + .../SysManage/LeaveCount.aspx.designer.cs | 24 + TradeManageNew/SysManage/LeaveList.aspx | 345 ++ TradeManageNew/SysManage/LeaveList.aspx.cs | 17 + .../SysManage/LeaveList.aspx.designer.cs | 24 + TradeManageNew/SysManage/LeaveLook.aspx | 781 +++ TradeManageNew/SysManage/LeaveLook.aspx.cs | 17 + .../SysManage/LeaveLook.aspx.designer.cs | 69 + TradeManageNew/SysManage/LeaveResq.aspx | 553 ++ TradeManageNew/SysManage/LeaveResq.aspx.cs | 17 + .../SysManage/LeaveResq.aspx.designer.cs | 24 + TradeManageNew/SysManage/LeaveTotalList.aspx | 305 ++ .../SysManage/LeaveTotalList.aspx.cs | 17 + .../SysManage/LeaveTotalList.aspx.designer.cs | 24 + TradeManageNew/SysManage/LeaveWord.aspx | 219 + TradeManageNew/SysManage/LeaveWord.aspx.cs | 17 + .../SysManage/LeaveWord.aspx.designer.cs | 24 + TradeManageNew/SysManage/LogList.aspx | 179 + TradeManageNew/SysManage/LogList.aspx.cs | 17 + .../SysManage/LogList.aspx.designer.cs | 24 + TradeManageNew/SysManage/NoticeAdd.aspx | 591 ++ TradeManageNew/SysManage/NoticeAdd.aspx.cs | 17 + .../SysManage/NoticeAdd.aspx.designer.cs | 15 + TradeManageNew/SysManage/NoticeList.aspx | 235 + TradeManageNew/SysManage/NoticeList.aspx.cs | 17 + .../SysManage/NoticeList.aspx.designer.cs | 24 + TradeManageNew/SysManage/NoticeLook.aspx | 171 + TradeManageNew/SysManage/NoticeLook.aspx.cs | 17 + .../SysManage/NoticeLook.aspx.designer.cs | 15 + TradeManageNew/SysManage/OA_Manage.asmx | 1 + TradeManageNew/SysManage/OA_Manage.asmx.cs | 1492 +++++ TradeManageNew/SysManage/OnlineTemp.aspx | 341 ++ TradeManageNew/SysManage/OnlineTemp.aspx.cs | 17 + .../SysManage/OnlineTemp.aspx.designer.cs | 15 + TradeManageNew/SysManage/PostAddress.aspx | 329 ++ TradeManageNew/SysManage/PostAddress.aspx.cs | 17 + .../SysManage/PostAddress.aspx.designer.cs | 15 + TradeManageNew/SysManage/PostFeeDetail.aspx | 666 +++ .../SysManage/PostFeeDetail.aspx.cs | 17 + .../SysManage/PostFeeDetail.aspx.designer.cs | 15 + TradeManageNew/SysManage/PostFeeList.aspx | 154 + TradeManageNew/SysManage/PostFeeList.aspx.cs | 17 + .../SysManage/PostFeeList.aspx.designer.cs | 15 + TradeManageNew/SysManage/PostInfoTemp.aspx | 579 ++ TradeManageNew/SysManage/PostInfoTemp.aspx.cs | 17 + .../SysManage/PostInfoTemp.aspx.designer.cs | 15 + TradeManageNew/SysManage/PrintDome.aspx | 209 + TradeManageNew/SysManage/PrintDome.aspx.cs | 17 + .../SysManage/PrintDome.aspx.designer.cs | 15 + TradeManageNew/SysManage/RoleInfoList.aspx | 338 ++ TradeManageNew/SysManage/RoleInfoList.aspx.cs | 17 + .../SysManage/RoleInfoList.aspx.designer.cs | 15 + TradeManageNew/SysManage/Room.aspx | 333 ++ TradeManageNew/SysManage/Room.aspx.cs | 17 + .../SysManage/Room.aspx.designer.cs | 24 + TradeManageNew/SysManage/ShopAdd.aspx | 1005 ++++ TradeManageNew/SysManage/ShopAdd.aspx.cs | 17 + .../SysManage/ShopAdd.aspx.designer.cs | 15 + TradeManageNew/SysManage/ShopAdd2.aspx | 2144 ++++++++ TradeManageNew/SysManage/ShopAdd2.aspx.cs | 17 + .../SysManage/ShopAdd2.aspx.designer.cs | 15 + TradeManageNew/SysManage/ShopData.aspx | 711 +++ TradeManageNew/SysManage/ShopData.aspx.cs | 17 + .../SysManage/ShopData.aspx.designer.cs | 15 + TradeManageNew/SysManage/ShopDesc1.aspx | 158 + TradeManageNew/SysManage/ShopDesc1.aspx.cs | 17 + .../SysManage/ShopDesc1.aspx.designer.cs | 15 + TradeManageNew/SysManage/ShopDesc2.aspx | 175 + TradeManageNew/SysManage/ShopDesc2.aspx.cs | 17 + .../SysManage/ShopDesc2.aspx.designer.cs | 15 + TradeManageNew/SysManage/ShopDesc3.aspx | 198 + TradeManageNew/SysManage/ShopDesc3.aspx.cs | 17 + .../SysManage/ShopDesc3.aspx.designer.cs | 15 + TradeManageNew/SysManage/ShopDesc4.aspx | 174 + TradeManageNew/SysManage/ShopDesc4.aspx.cs | 17 + .../SysManage/ShopDesc4.aspx.designer.cs | 15 + TradeManageNew/SysManage/ShopMoneyCount.aspx | 405 ++ .../SysManage/ShopMoneyCount.aspx.cs | 17 + .../SysManage/ShopMoneyCount.aspx.designer.cs | 15 + TradeManageNew/SysManage/StoreSetting.aspx | 1986 +++++++ TradeManageNew/SysManage/StoreSetting.aspx.cs | 17 + .../SysManage/StoreSetting.aspx.designer.cs | 15 + TradeManageNew/SysManage/Supplier.aspx | 788 +++ TradeManageNew/SysManage/Supplier.aspx.cs | 17 + .../SysManage/Supplier.aspx.designer.cs | 15 + .../SysManage/SysManageService.asmx | 1 + .../SysManage/SysManageService.asmx.cs | 4810 +++++++++++++++++ TradeManageNew/SysManage/UserInfoForTM.aspx | 1277 +++++ .../SysManage/UserInfoForTM.aspx.cs | 17 + .../SysManage/UserInfoForTM.aspx.designer.cs | 15 + TradeManageNew/SysManage/UserInfoList.aspx | 599 ++ TradeManageNew/SysManage/UserInfoList.aspx.cs | 17 + .../SysManage/UserInfoList.aspx.designer.cs | 15 + .../SysManage/ValidateOrderList.XML | 47 + TradeManageNew/SysManage/WorkAddApply.aspx | 343 ++ TradeManageNew/SysManage/WorkAddApply.aspx.cs | 17 + .../SysManage/WorkAddApply.aspx.designer.cs | 60 + TradeManageNew/SysManage/WorkAddCount.aspx | 452 ++ TradeManageNew/SysManage/WorkAddCount.aspx.cs | 17 + .../SysManage/WorkAddCount.aspx.designer.cs | 24 + TradeManageNew/SysManage/WorkAddList.aspx | 323 ++ TradeManageNew/SysManage/WorkAddList.aspx.cs | 17 + .../SysManage/WorkAddList.aspx.designer.cs | 24 + TradeManageNew/SysManage/WorkAddLook.aspx | 495 ++ TradeManageNew/SysManage/WorkAddLook.aspx.cs | 17 + .../SysManage/WorkAddLook.aspx.designer.cs | 60 + TradeManageNew/SysManage/XZJX.aspx | 469 ++ TradeManageNew/SysManage/XZJX.aspx.cs | 17 + .../SysManage/XZJX.aspx.designer.cs | 15 + 201 files changed, 45161 insertions(+) create mode 100644 TradeManageNew/SysManage/ApiImport.aspx create mode 100644 TradeManageNew/SysManage/ApiImport.aspx.cs create mode 100644 TradeManageNew/SysManage/ApiImport.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ApiImportForTM.aspx create mode 100644 TradeManageNew/SysManage/ApiImportForTM.aspx.cs create mode 100644 TradeManageNew/SysManage/ApiImportForTM.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ApiPrint.aspx create mode 100644 TradeManageNew/SysManage/ApiPrint.aspx.cs create mode 100644 TradeManageNew/SysManage/ApiPrint.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/BaseCodeList.aspx create mode 100644 TradeManageNew/SysManage/BaseCodeList.aspx.cs create mode 100644 TradeManageNew/SysManage/BaseCodeList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/CDiscountImport.aspx create mode 100644 TradeManageNew/SysManage/CDiscountImport.aspx.cs create mode 100644 TradeManageNew/SysManage/CDiscountImport.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/CompanyEdit.aspx create mode 100644 TradeManageNew/SysManage/CompanyEdit.aspx.cs create mode 100644 TradeManageNew/SysManage/CompanyEdit.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/CompanyFeeList.aspx create mode 100644 TradeManageNew/SysManage/CompanyFeeList.aspx.cs create mode 100644 TradeManageNew/SysManage/CompanyFeeList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/CompanyInfo.aspx create mode 100644 TradeManageNew/SysManage/CompanyInfo.aspx.cs create mode 100644 TradeManageNew/SysManage/CompanyInfo.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/CompanyList.aspx create mode 100644 TradeManageNew/SysManage/CompanyList.aspx.cs create mode 100644 TradeManageNew/SysManage/CompanyList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/CompanyListNew.aspx create mode 100644 TradeManageNew/SysManage/CompanyListNew.aspx.cs create mode 100644 TradeManageNew/SysManage/CompanyListNew.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/CountryList.aspx create mode 100644 TradeManageNew/SysManage/CountryList.aspx.cs create mode 100644 TradeManageNew/SysManage/CountryList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/DD_BackMoneyApply.aspx create mode 100644 TradeManageNew/SysManage/DD_BackMoneyApply.aspx.cs create mode 100644 TradeManageNew/SysManage/DD_BackMoneyApply.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/DD_BackMoneyApply2.aspx create mode 100644 TradeManageNew/SysManage/DD_BackMoneyApply2.aspx.cs create mode 100644 TradeManageNew/SysManage/DD_BackMoneyApply2.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/DD_BackMoneyApply3.aspx create mode 100644 TradeManageNew/SysManage/DD_BackMoneyApply3.aspx.cs create mode 100644 TradeManageNew/SysManage/DD_BackMoneyApply3.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/DepartMentList.aspx create mode 100644 TradeManageNew/SysManage/DepartMentList.aspx.cs create mode 100644 TradeManageNew/SysManage/DepartMentList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/DepartMentListForTM.aspx create mode 100644 TradeManageNew/SysManage/DepartMentListForTM.aspx.cs create mode 100644 TradeManageNew/SysManage/DepartMentListForTM.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ExpressCodeImport.aspx create mode 100644 TradeManageNew/SysManage/ExpressCodeImport.aspx.cs create mode 100644 TradeManageNew/SysManage/ExpressCodeImport.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ExpressList.aspx create mode 100644 TradeManageNew/SysManage/ExpressList.aspx.cs create mode 100644 TradeManageNew/SysManage/ExpressList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ExpressListNew.aspx create mode 100644 TradeManageNew/SysManage/ExpressListNew.aspx.cs create mode 100644 TradeManageNew/SysManage/ExpressListNew.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/FriendCode.aspx create mode 100644 TradeManageNew/SysManage/FriendCode.aspx.cs create mode 100644 TradeManageNew/SysManage/FriendCode.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/GG_NoticeAdd.aspx create mode 100644 TradeManageNew/SysManage/GG_NoticeAdd.aspx.cs create mode 100644 TradeManageNew/SysManage/GG_NoticeAdd.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/GG_NoticeList.aspx create mode 100644 TradeManageNew/SysManage/GG_NoticeList.aspx.cs create mode 100644 TradeManageNew/SysManage/GG_NoticeList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/GG_NoticeLook.aspx create mode 100644 TradeManageNew/SysManage/GG_NoticeLook.aspx.cs create mode 100644 TradeManageNew/SysManage/GG_NoticeLook.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/GZ_SalaryImport.aspx create mode 100644 TradeManageNew/SysManage/GZ_SalaryImport.aspx.cs create mode 100644 TradeManageNew/SysManage/GZ_SalaryImport.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/GZ_ShowAll.aspx create mode 100644 TradeManageNew/SysManage/GZ_ShowAll.aspx.cs create mode 100644 TradeManageNew/SysManage/GZ_ShowAll.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/GZ_ShowUser.aspx create mode 100644 TradeManageNew/SysManage/GZ_ShowUser.aspx.cs create mode 100644 TradeManageNew/SysManage/GZ_ShowUser.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/GetOrderList_Call_heegrand.xml create mode 100644 TradeManageNew/SysManage/JC_MoneyList.aspx create mode 100644 TradeManageNew/SysManage/JC_MoneyList.aspx.cs create mode 100644 TradeManageNew/SysManage/JC_MoneyList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/JC_MoneyListForTM.aspx create mode 100644 TradeManageNew/SysManage/JC_MoneyListForTM.aspx.cs create mode 100644 TradeManageNew/SysManage/JC_MoneyListForTM.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/JC_UserWork.aspx create mode 100644 TradeManageNew/SysManage/JC_UserWork.aspx.cs create mode 100644 TradeManageNew/SysManage/JC_UserWork.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/LeaveApply.aspx create mode 100644 TradeManageNew/SysManage/LeaveApply.aspx.cs create mode 100644 TradeManageNew/SysManage/LeaveApply.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/LeaveCount.aspx create mode 100644 TradeManageNew/SysManage/LeaveCount.aspx.cs create mode 100644 TradeManageNew/SysManage/LeaveCount.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/LeaveList.aspx create mode 100644 TradeManageNew/SysManage/LeaveList.aspx.cs create mode 100644 TradeManageNew/SysManage/LeaveList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/LeaveLook.aspx create mode 100644 TradeManageNew/SysManage/LeaveLook.aspx.cs create mode 100644 TradeManageNew/SysManage/LeaveLook.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/LeaveResq.aspx create mode 100644 TradeManageNew/SysManage/LeaveResq.aspx.cs create mode 100644 TradeManageNew/SysManage/LeaveResq.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/LeaveTotalList.aspx create mode 100644 TradeManageNew/SysManage/LeaveTotalList.aspx.cs create mode 100644 TradeManageNew/SysManage/LeaveTotalList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/LeaveWord.aspx create mode 100644 TradeManageNew/SysManage/LeaveWord.aspx.cs create mode 100644 TradeManageNew/SysManage/LeaveWord.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/LogList.aspx create mode 100644 TradeManageNew/SysManage/LogList.aspx.cs create mode 100644 TradeManageNew/SysManage/LogList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/NoticeAdd.aspx create mode 100644 TradeManageNew/SysManage/NoticeAdd.aspx.cs create mode 100644 TradeManageNew/SysManage/NoticeAdd.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/NoticeList.aspx create mode 100644 TradeManageNew/SysManage/NoticeList.aspx.cs create mode 100644 TradeManageNew/SysManage/NoticeList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/NoticeLook.aspx create mode 100644 TradeManageNew/SysManage/NoticeLook.aspx.cs create mode 100644 TradeManageNew/SysManage/NoticeLook.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/OA_Manage.asmx create mode 100644 TradeManageNew/SysManage/OA_Manage.asmx.cs create mode 100644 TradeManageNew/SysManage/OnlineTemp.aspx create mode 100644 TradeManageNew/SysManage/OnlineTemp.aspx.cs create mode 100644 TradeManageNew/SysManage/OnlineTemp.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/PostAddress.aspx create mode 100644 TradeManageNew/SysManage/PostAddress.aspx.cs create mode 100644 TradeManageNew/SysManage/PostAddress.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/PostFeeDetail.aspx create mode 100644 TradeManageNew/SysManage/PostFeeDetail.aspx.cs create mode 100644 TradeManageNew/SysManage/PostFeeDetail.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/PostFeeList.aspx create mode 100644 TradeManageNew/SysManage/PostFeeList.aspx.cs create mode 100644 TradeManageNew/SysManage/PostFeeList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/PostInfoTemp.aspx create mode 100644 TradeManageNew/SysManage/PostInfoTemp.aspx.cs create mode 100644 TradeManageNew/SysManage/PostInfoTemp.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/PrintDome.aspx create mode 100644 TradeManageNew/SysManage/PrintDome.aspx.cs create mode 100644 TradeManageNew/SysManage/PrintDome.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/RoleInfoList.aspx create mode 100644 TradeManageNew/SysManage/RoleInfoList.aspx.cs create mode 100644 TradeManageNew/SysManage/RoleInfoList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/Room.aspx create mode 100644 TradeManageNew/SysManage/Room.aspx.cs create mode 100644 TradeManageNew/SysManage/Room.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ShopAdd.aspx create mode 100644 TradeManageNew/SysManage/ShopAdd.aspx.cs create mode 100644 TradeManageNew/SysManage/ShopAdd.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ShopAdd2.aspx create mode 100644 TradeManageNew/SysManage/ShopAdd2.aspx.cs create mode 100644 TradeManageNew/SysManage/ShopAdd2.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ShopData.aspx create mode 100644 TradeManageNew/SysManage/ShopData.aspx.cs create mode 100644 TradeManageNew/SysManage/ShopData.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ShopDesc1.aspx create mode 100644 TradeManageNew/SysManage/ShopDesc1.aspx.cs create mode 100644 TradeManageNew/SysManage/ShopDesc1.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ShopDesc2.aspx create mode 100644 TradeManageNew/SysManage/ShopDesc2.aspx.cs create mode 100644 TradeManageNew/SysManage/ShopDesc2.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ShopDesc3.aspx create mode 100644 TradeManageNew/SysManage/ShopDesc3.aspx.cs create mode 100644 TradeManageNew/SysManage/ShopDesc3.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ShopDesc4.aspx create mode 100644 TradeManageNew/SysManage/ShopDesc4.aspx.cs create mode 100644 TradeManageNew/SysManage/ShopDesc4.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ShopMoneyCount.aspx create mode 100644 TradeManageNew/SysManage/ShopMoneyCount.aspx.cs create mode 100644 TradeManageNew/SysManage/ShopMoneyCount.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/StoreSetting.aspx create mode 100644 TradeManageNew/SysManage/StoreSetting.aspx.cs create mode 100644 TradeManageNew/SysManage/StoreSetting.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/Supplier.aspx create mode 100644 TradeManageNew/SysManage/Supplier.aspx.cs create mode 100644 TradeManageNew/SysManage/Supplier.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/SysManageService.asmx create mode 100644 TradeManageNew/SysManage/SysManageService.asmx.cs create mode 100644 TradeManageNew/SysManage/UserInfoForTM.aspx create mode 100644 TradeManageNew/SysManage/UserInfoForTM.aspx.cs create mode 100644 TradeManageNew/SysManage/UserInfoForTM.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/UserInfoList.aspx create mode 100644 TradeManageNew/SysManage/UserInfoList.aspx.cs create mode 100644 TradeManageNew/SysManage/UserInfoList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/ValidateOrderList.XML create mode 100644 TradeManageNew/SysManage/WorkAddApply.aspx create mode 100644 TradeManageNew/SysManage/WorkAddApply.aspx.cs create mode 100644 TradeManageNew/SysManage/WorkAddApply.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/WorkAddCount.aspx create mode 100644 TradeManageNew/SysManage/WorkAddCount.aspx.cs create mode 100644 TradeManageNew/SysManage/WorkAddCount.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/WorkAddList.aspx create mode 100644 TradeManageNew/SysManage/WorkAddList.aspx.cs create mode 100644 TradeManageNew/SysManage/WorkAddList.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/WorkAddLook.aspx create mode 100644 TradeManageNew/SysManage/WorkAddLook.aspx.cs create mode 100644 TradeManageNew/SysManage/WorkAddLook.aspx.designer.cs create mode 100644 TradeManageNew/SysManage/XZJX.aspx create mode 100644 TradeManageNew/SysManage/XZJX.aspx.cs create mode 100644 TradeManageNew/SysManage/XZJX.aspx.designer.cs diff --git a/TradeManageNew/SysManage/ApiImport.aspx b/TradeManageNew/SysManage/ApiImport.aspx new file mode 100644 index 0000000..801d4e7 --- /dev/null +++ b/TradeManageNew/SysManage/ApiImport.aspx @@ -0,0 +1,206 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ApiImport.aspx.cs" Inherits="TradeManage.SysManage.ApiImport" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 待发货订单导入 +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ 注:已经授权并允许每天自动导入的店铺订单每天凌晨4-5点会由程序自动导入订单
+ 如有发现未导入成功或者其他情况的话,可以在这边手动执行导入
+ 没有授权或者导入失败的请在系统管理下面的店铺管理里确认店铺是否授权成功 + +
平台 + + + +
导入日期范围: + + -注:日期范围不选,默认导入最近7天的订单
店铺 + + + +
+ +
+ + + + diff --git a/TradeManageNew/SysManage/ApiImport.aspx.cs b/TradeManageNew/SysManage/ApiImport.aspx.cs new file mode 100644 index 0000000..3e1aebd --- /dev/null +++ b/TradeManageNew/SysManage/ApiImport.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ApiImport : Pages + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ApiImport.aspx.designer.cs b/TradeManageNew/SysManage/ApiImport.aspx.designer.cs new file mode 100644 index 0000000..c1e360d --- /dev/null +++ b/TradeManageNew/SysManage/ApiImport.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ApiImport { + } +} diff --git a/TradeManageNew/SysManage/ApiImportForTM.aspx b/TradeManageNew/SysManage/ApiImportForTM.aspx new file mode 100644 index 0000000..acacd71 --- /dev/null +++ b/TradeManageNew/SysManage/ApiImportForTM.aspx @@ -0,0 +1,294 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ApiImportForTM.aspx.cs" Inherits="TradeManage.SysManage.ApiImportForTM" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 待发货订单导入 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 注:已经授权并允许每天自动导入的店铺订单每天凌晨4-5点会由程序自动导入订单
+ 如有发现未导入成功或者其他情况的话,可以在这边手动执行导入
+ 没有授权或者导入失败的请在系统管理下面的店铺管理里确认店铺是否授权成功 + +
平台 + + +    CDiscount导单 +
导入日期范围: + + -注:日期范围不选,默认导入最近15天的订单
店铺 + + + +
  + +
+ +
+ + + + + diff --git a/TradeManageNew/SysManage/ApiImportForTM.aspx.cs b/TradeManageNew/SysManage/ApiImportForTM.aspx.cs new file mode 100644 index 0000000..210658c --- /dev/null +++ b/TradeManageNew/SysManage/ApiImportForTM.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ApiImportForTM : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ApiImportForTM.aspx.designer.cs b/TradeManageNew/SysManage/ApiImportForTM.aspx.designer.cs new file mode 100644 index 0000000..b1e7f8e --- /dev/null +++ b/TradeManageNew/SysManage/ApiImportForTM.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ApiImportForTM { + } +} diff --git a/TradeManageNew/SysManage/ApiPrint.aspx b/TradeManageNew/SysManage/ApiPrint.aspx new file mode 100644 index 0000000..ab15488 --- /dev/null +++ b/TradeManageNew/SysManage/ApiPrint.aspx @@ -0,0 +1,1338 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ApiPrint.aspx.cs" Inherits="TradeManage.SysManage.ApiPrint" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 打印演示 +
+ + + + + + + +
+ +   + +
+
+
+
+
+ +
+ + + + diff --git a/TradeManageNew/SysManage/ApiPrint.aspx.cs b/TradeManageNew/SysManage/ApiPrint.aspx.cs new file mode 100644 index 0000000..441ff0d --- /dev/null +++ b/TradeManageNew/SysManage/ApiPrint.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ApiPrint : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ApiPrint.aspx.designer.cs b/TradeManageNew/SysManage/ApiPrint.aspx.designer.cs new file mode 100644 index 0000000..f073344 --- /dev/null +++ b/TradeManageNew/SysManage/ApiPrint.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ApiPrint { + } +} diff --git a/TradeManageNew/SysManage/BaseCodeList.aspx b/TradeManageNew/SysManage/BaseCodeList.aspx new file mode 100644 index 0000000..ddc7a14 --- /dev/null +++ b/TradeManageNew/SysManage/BaseCodeList.aspx @@ -0,0 +1,480 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BaseCodeList.aspx.cs" Inherits="TradeManage.SysManage.BaseCodeList" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 设置 +
+ + + + + + + + + + + + + + + + +
机构 + + +
+
+
+
+
+ + + + + + + + + + + +
+ +
+
+
+ +
+
+
+ + + + + + + + + +
+
+
+ +
+
+
+ + + + + + diff --git a/TradeManageNew/SysManage/BaseCodeList.aspx.cs b/TradeManageNew/SysManage/BaseCodeList.aspx.cs new file mode 100644 index 0000000..c19c7c4 --- /dev/null +++ b/TradeManageNew/SysManage/BaseCodeList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class BaseCodeList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/BaseCodeList.aspx.designer.cs b/TradeManageNew/SysManage/BaseCodeList.aspx.designer.cs new file mode 100644 index 0000000..c985ff9 --- /dev/null +++ b/TradeManageNew/SysManage/BaseCodeList.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class BaseCodeList { + } +} diff --git a/TradeManageNew/SysManage/CDiscountImport.aspx b/TradeManageNew/SysManage/CDiscountImport.aspx new file mode 100644 index 0000000..ac9c3dd --- /dev/null +++ b/TradeManageNew/SysManage/CDiscountImport.aspx @@ -0,0 +1,37 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CDiscountImport.aspx.cs" Inherits="TradeManage.SysManage.CDiscountImport" %> + + + + + + + + +
+
+ +   + + + + + +    + + +     + +     + +
+ +
+ + +
+
+ + diff --git a/TradeManageNew/SysManage/CDiscountImport.aspx.cs b/TradeManageNew/SysManage/CDiscountImport.aspx.cs new file mode 100644 index 0000000..71269f5 --- /dev/null +++ b/TradeManageNew/SysManage/CDiscountImport.aspx.cs @@ -0,0 +1,305 @@ +using NetLibrary.OnlineTrade; +using System; +using System.Collections.Generic; +using System.Data; +using System.IO; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using TradeData; +using TradeModel; + +namespace TradeManage.SysManage +{ + public partial class CDiscountImport : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + List ListModel = new List(); + protected void ImportOrders_Click(object sender, EventArgs e) + { + Pages.Login(this.Session); + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + + + try + { + bool bk = BaseService.SyncLock(Convert.ToInt32(grouplist.SelectedItem.Value), 1, UserId, DateTime.Now); + if (bk == false) + { + Page.ClientScript.RegisterClientScriptBlock(Page.ClientScript.GetType(), "myscripts", ""); + return; + } + + //判断是否存在对应的文件 + if (FileUploadImport.PostedFile.ContentLength != 0) + { + //产生随机文件名避免文件上载过程中重复 + System.Guid ro = Guid.NewGuid(); + var filename = ro + FileUploadImport.FileName; + //保存文件到 Pictures 目录下 + FileUploadImport.PostedFile.SaveAs(Server.MapPath("~\\csv\\") + filename); + + //处理上载的文件 + ImportOrderts(Server.MapPath("~\\csv\\"), filename); + File.Delete(filename); + + } + else + { + Page.ClientScript.RegisterClientScriptBlock(Page.ClientScript.GetType(), "myscripts", ""); + } + List ListOrder = API_OrderInfoService.GetListForShop2(Convert.ToInt32(grouplist.SelectedItem.Value)); + foreach (int OrderID in ListOrder) + { + BaseService.OrderAddForTM(CompanyID, OrderID, UserId); + } + + BaseService.UnSyncLock(Convert.ToInt32(grouplist.SelectedItem.Value), 1, DateTime.Now); + } + catch + { + BaseService.UnSyncLock(Convert.ToInt32(grouplist.SelectedItem.Value), 1, DateTime.Now); + } + } + + string successresult = ""; + int successnum = 0; + bool ordertypeflage = false; + + public void ImportOrderts(string serverpath, string filename) + { + TILabel.Text = "需要注意运输方式的订单:
"; + string result = ""; + DataTable dt; + + try + { + //读取对应的csv文件 + var readscv = new ICSVWriterReader.CSVHelper(serverpath + filename); + + readscv.Read(out result, out dt, "Amazon"); + + //OrdersAdd(dt); + + string ordernos = "";//用来保存导入的订单编号 + int i = 0; + foreach (DataRow dr in dt.Rows) + { + if (dr["SKU Cdiscount"].ToString() != "INTERETBCA") + { + i++; + try + { + insertToSql(dr); + ordernos = ordernos + " 订单编号:" + dr["Référence commande"].ToString() + "
"; + } + catch (Exception ex) + { + EndLabel.Text = ex + "导入失败!第" + i.ToString() + "行!"; + } + } + } + API_OrderInfoService aois = new API_OrderInfoService(); + aois.ImportCD(ListModel, grouplist.SelectedItem.Text, Convert.ToInt32(grouplist.SelectedItem.Value)); + + + EndLabel.Text = ""; + EndLabel.Text = EndLabel.Text + successresult.ToString(); + } + catch (Exception ex) + { + + throw ex; + } + finally + { + EndLabel.Text = EndLabel.Text + result; + + } + } + + public void insertToSql(DataRow dr) + { + OrderModel om = new OrderModel(); + string Country = ""; + var q = ListModel.Where(o => o.PlatOrderCode == dr["Référence commande"].ToString()); + //判断订单是否在neworders中已存在。存在则合并分配信息||新增一笔对应的订单 + if (q.Count() > 0) + { + //处理是否添加对应订单的分配型号,保留是否分配成功的标记ordertypeflage + string sku = ""; + Int32 buynums = Convert.ToInt32(dr["Quantité"].ToString()); + int PurchaseNum = Convert.ToInt32(dr["Quantité"].ToString());//购买数量 + sku = dr["Référence vendeur"].ToString(); + + + string pricestr = dr["Rémunération vendeur"].ToString().Replace("€", "").Replace("-", "").Trim(); + Decimal PaidPrice = 0; + if (pricestr != "") + PaidPrice = Convert.ToDecimal(pricestr); + q.First().TotalPrice += PaidPrice; + + var checkData = q.First().ListModel.Where(o => o.GoodsSKU == sku); + + if (checkData.Count() == 0) + { + //List odmlist = new List(); + + OrderDetailModel odm = new OrderDetailModel(); + + string[] goodlist = sku.Split('-'); + odm.GoodsSKU = sku; + odm.MoneyCode = "EUR"; + + odm.GoodsPrice = PaidPrice; + + odm.GoodsNum = Convert.ToInt32(dr["Quantité"].ToString()); + odm.GoodsName = goodlist[0]; + + //odmlist.Add(odm); + + //om.ListModel = odmlist; + q.First().ListModel.Add(odm); + + } + else + { + checkData.First().GoodsNum += buynums; //xyb 130302 + } + } + else + { + + //下单时间 + string timetemp = dr["Date de commande"].ToString().Replace("T", " "); + string[] timelist = timetemp.Split(' '); + string[] ttt = timelist[0].Split('/'); + string timestr = ttt[2] + "-" + ttt[1] + "-" + ttt[0] + " " + timelist[1]; + + string[] custmlist = dr["Nom et Adresse de livraison"].ToString().Split('-'); + + //客户地址 + string postcode = dr["Code postal de livraison"].ToString(); //邮编 + + + Country = "France"; + + //币种 + string bz = "EUR"; + + string adress = custmlist[1].Trim() + " ,"; + for (int i = 2; i < custmlist.Length; i++) + { + adress = adress + custmlist[i].Trim() + " ,"; + } + + + string sku = ""; + Int32 buynums = Convert.ToInt32(dr["Quantité"].ToString()); + + sku = dr["Référence vendeur"].ToString(); + + string pricestr = dr["Rémunération vendeur"].ToString().Replace("€", "").Replace("-", "").Trim(); + + om.OrderCode = dr["Référence commande"].ToString(); ; + om.PlatOrderCode = dr["Référence commande"].ToString(); ; + + om.BuyerName = custmlist[0].Trim(); ; + + om.BuyerPhone = dr["Téléphone livraison 2"].ToString(); + + om.BuyerMobile = dr["Téléphone livraison 1"].ToString(); + + om.BuyerAddr = adress ; + string City = " "; + if (dr["Ville de livraison"] != null) + { + if (dr["Ville de livraison"].ToString() != "") + City = dr["Ville de livraison"].ToString(); + } + om.BuyerCity = City; + string Region = " "; + + om.BuyerProvince = Region; + + om.BuyerZip = postcode; + + om.PostInfo = dr["Mode d'expédition"].ToString(); + + om.BuyerCountry = Country; + + om.OrderDate = DateTime.Now; + om.PayDate = Convert.ToDateTime(timestr); + + Decimal PaidPrice = 0; + if (pricestr != "") + PaidPrice = Convert.ToDecimal(pricestr); + + List odmlist = new List(); + + OrderDetailModel odm = new OrderDetailModel(); + + string[] goodlist = sku.Split('-'); + odm.GoodsSKU = sku; + odm.MoneyCode = bz; + + odm.GoodsPrice = PaidPrice; + + odm.GoodsNum = Convert.ToInt32(dr["Quantité"].ToString()); + odm.GoodsName = goodlist[0]; + + odmlist.Add(odm); + + om.ListModel = odmlist; + om.TotalPrice = PaidPrice; + om.MoneyCode = bz; + + + ListModel.Add(om); + + //记录成功导入的订单号和数量 + successnum++; + successresult = successresult + ""; + } + } + + protected void APIImport_Click(object sender, EventArgs e) + { + FileInfo fi = new FileInfo(Server.MapPath("GetOrderList_Call_heegrand.xml")); + StreamReader sr = fi.OpenText(); + string str = sr.ReadToEnd(); + CDiscountAPI cda = new CDiscountAPI(); + string errormess = ""; + JC_Shop ShopModel = JC_ShopService.GetModel(Convert.ToInt32(grouplist.SelectedItem.Value)); + ListModel = cda.GetOrders(ShopModel.Appkey, ShopModel.DeveKey, str, out errormess); + API_OrderInfoService aois = new API_OrderInfoService(); + aois.ImportCD(ListModel, grouplist.SelectedItem.Text, Convert.ToInt32(grouplist.SelectedItem.Value)); + EndLabel.Text = "
导入订单数:" + successnum.ToString() + "
" + om.OrderCode + "
"; + + List ListOrder = API_OrderInfoService.GetListForShop(1, grouplist.SelectedItem.Value); + foreach (int OrderID in ListOrder) + { + + BaseService.OrderAddForTM(1, OrderID, 1); + } + //EndLabel.Text = EndLabel.Text + successresult.ToString(); + } + + protected void test_Click(object sender, EventArgs e) + { + FileInfo fi = new FileInfo(Server.MapPath("ValidateOrderList.xml")); + StreamReader sr = fi.OpenText(); + string str = sr.ReadToEnd(); + CDiscountAPI cda = new CDiscountAPI(); + string errormess = ""; + JC_Shop ShopModel = JC_ShopService.GetModel(Convert.ToInt32(grouplist.SelectedItem.Value)); + EndLabel.Text = cda.SendTrack(ShopModel.Appkey, ShopModel.DeveKey, str); + } + + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/CDiscountImport.aspx.designer.cs b/TradeManageNew/SysManage/CDiscountImport.aspx.designer.cs new file mode 100644 index 0000000..b585081 --- /dev/null +++ b/TradeManageNew/SysManage/CDiscountImport.aspx.designer.cs @@ -0,0 +1,96 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class CDiscountImport { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// grouplist 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.DropDownList grouplist; + + /// + /// FileUploadImport 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.FileUpload FileUploadImport; + + /// + /// ImportOrders 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Button ImportOrders; + + /// + /// APIImport 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Button APIImport; + + /// + /// test 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Button test; + + /// + /// TILabel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label TILabel; + + /// + /// Errorlable 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Errorlable; + + /// + /// EndLabel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label EndLabel; + } +} diff --git a/TradeManageNew/SysManage/CompanyEdit.aspx b/TradeManageNew/SysManage/CompanyEdit.aspx new file mode 100644 index 0000000..75203ba --- /dev/null +++ b/TradeManageNew/SysManage/CompanyEdit.aspx @@ -0,0 +1,630 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CompanyEdit.aspx.cs" Inherits="TradeManage.SysManage.CompanyEdit" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
采集订单数:" + ListModel.Count().ToString() + "
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*地址(中文): + + +
*地址(英文): + + +
*发货人(中文): + + + *发货人(英文): + + +
*电话: + + + *邮编: + + +
省/市/区: + + 区 +
省/市/区(代码: + + 区 +
+    +
+ + +
机构信息
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*公司名称: + + +
*公司简称: + +
公司英文名: +
*代码: + + + *类型: + + + 电话: + +
负责人: + + 负责人(英文): + + 邮编: + +
*重量偏差校验比例: + % 注:这个用于发货扫描的时候验证货物重量的偏差比例
邮箱: + +
地址(中文): + + +
地址(英文): +
公司主页 + + +
*地区 + + + 省 + + 市 + + 区 +
省市区代码: + 省: 市:区:
公司介绍: + + +
发货地址: + + 注:加完地址后请去物流快递页面选择物流的发货地址
+
+
+ + +
+ + diff --git a/TradeManageNew/SysManage/CompanyEdit.aspx.cs b/TradeManageNew/SysManage/CompanyEdit.aspx.cs new file mode 100644 index 0000000..0a1140d --- /dev/null +++ b/TradeManageNew/SysManage/CompanyEdit.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class CompanyEdit : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/CompanyEdit.aspx.designer.cs b/TradeManageNew/SysManage/CompanyEdit.aspx.designer.cs new file mode 100644 index 0000000..67a41f4 --- /dev/null +++ b/TradeManageNew/SysManage/CompanyEdit.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class CompanyEdit { + } +} diff --git a/TradeManageNew/SysManage/CompanyFeeList.aspx b/TradeManageNew/SysManage/CompanyFeeList.aspx new file mode 100644 index 0000000..097eb6d --- /dev/null +++ b/TradeManageNew/SysManage/CompanyFeeList.aspx @@ -0,0 +1,373 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CompanyFeeList.aspx.cs" Inherits="TradeManage.SysManage.CompanyFeeList" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
客户单位 +    
充值日期-操作人
+
+
+
+
+ + + + + + + + + + + + + + + + + +
客户单位: + + +
充值金额: + + $ +
充值日期: + + +
+ +
+
+
+ + + + + + + diff --git a/TradeManageNew/SysManage/CompanyFeeList.aspx.cs b/TradeManageNew/SysManage/CompanyFeeList.aspx.cs new file mode 100644 index 0000000..b21e80b --- /dev/null +++ b/TradeManageNew/SysManage/CompanyFeeList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class CompanyFeeList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/CompanyFeeList.aspx.designer.cs b/TradeManageNew/SysManage/CompanyFeeList.aspx.designer.cs new file mode 100644 index 0000000..82514fc --- /dev/null +++ b/TradeManageNew/SysManage/CompanyFeeList.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class CompanyFeeList { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/CompanyInfo.aspx b/TradeManageNew/SysManage/CompanyInfo.aspx new file mode 100644 index 0000000..9930872 --- /dev/null +++ b/TradeManageNew/SysManage/CompanyInfo.aspx @@ -0,0 +1,321 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CompanyInfo.aspx.cs" Inherits="TradeManage.SysManage.CompanyInfo" %> + + + + + + + + + + + + + + + + + + + + + +
+ 发货信息设置 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*公司名称: + + +
公司简称: + +
*代码 + + + *类型 + + + 负责人 + +
发货人(中文): + 发货人(英文): + + 邮编 + +
邮箱 + +
发货地址(中文): + + +
发货地址(英文): +  
公司主页 + + +
*地区 + + + 省 + + 市 + + 区 +
公司介绍 + + +
+ + +
+ + + diff --git a/TradeManageNew/SysManage/CompanyInfo.aspx.cs b/TradeManageNew/SysManage/CompanyInfo.aspx.cs new file mode 100644 index 0000000..e8ac99e --- /dev/null +++ b/TradeManageNew/SysManage/CompanyInfo.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class CompanyInfo : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/CompanyInfo.aspx.designer.cs b/TradeManageNew/SysManage/CompanyInfo.aspx.designer.cs new file mode 100644 index 0000000..aec21a1 --- /dev/null +++ b/TradeManageNew/SysManage/CompanyInfo.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class CompanyInfo { + } +} diff --git a/TradeManageNew/SysManage/CompanyList.aspx b/TradeManageNew/SysManage/CompanyList.aspx new file mode 100644 index 0000000..7d6e700 --- /dev/null +++ b/TradeManageNew/SysManage/CompanyList.aspx @@ -0,0 +1,692 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CompanyList.aspx.cs" Inherits="TradeManage.SysManage.CompanyList" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 机构信息 +
+ + + + + + + + + + + + + + + + + + + + + + + +
地区 + + + 省 + + 市 + + 区 + 机构 + + + + +
+    +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*名称 + + +
*简称 + + +
*代码 + + + *类型 + + +
电话 + + 传真 + +
邮箱 + + + 负责人 + +
邮编 + +
发货地址 + + +
公司主页 + + +
*地区 + + + 省 + + 市 + + 区 + +
公司介绍 + + +
+ +
+
+ +
+ + + + + + + + + + + + + + +
+ * 用户名: + + +
+ *密码: +
+      +
+
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ 累计订单数: + + +
+ 最少订单数: + + + + 最多订单数: + + +
+ 开始使用时间: + + + + 登陆次数: + + +
+ 最近一次登陆日志: + + +
+ +
+
+
+ + + diff --git a/TradeManageNew/SysManage/CompanyList.aspx.cs b/TradeManageNew/SysManage/CompanyList.aspx.cs new file mode 100644 index 0000000..82968b7 --- /dev/null +++ b/TradeManageNew/SysManage/CompanyList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class CompanyList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/CompanyList.aspx.designer.cs b/TradeManageNew/SysManage/CompanyList.aspx.designer.cs new file mode 100644 index 0000000..fcec24f --- /dev/null +++ b/TradeManageNew/SysManage/CompanyList.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class CompanyList { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/CompanyListNew.aspx b/TradeManageNew/SysManage/CompanyListNew.aspx new file mode 100644 index 0000000..de03829 --- /dev/null +++ b/TradeManageNew/SysManage/CompanyListNew.aspx @@ -0,0 +1,474 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CompanyListNew.aspx.cs" Inherits="TradeManage.SysManage.CompanyListNew" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
公司名称 状态
+ +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
公司名称
电话
联系人
备注
状态
登录账号
登录密码
选择费用标准
API接口授权码
客户经理
+ + +
+
+
+ + + + + + + + + +
充值金额: + + $ +
+ +
+
+ +
+ + + + + + + + diff --git a/TradeManageNew/SysManage/CompanyListNew.aspx.cs b/TradeManageNew/SysManage/CompanyListNew.aspx.cs new file mode 100644 index 0000000..6275afe --- /dev/null +++ b/TradeManageNew/SysManage/CompanyListNew.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class CompanyListNew : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/CompanyListNew.aspx.designer.cs b/TradeManageNew/SysManage/CompanyListNew.aspx.designer.cs new file mode 100644 index 0000000..c20401b --- /dev/null +++ b/TradeManageNew/SysManage/CompanyListNew.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class CompanyListNew { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/CountryList.aspx b/TradeManageNew/SysManage/CountryList.aspx new file mode 100644 index 0000000..a5220e6 --- /dev/null +++ b/TradeManageNew/SysManage/CountryList.aspx @@ -0,0 +1,291 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CountryList.aspx.cs" Inherits="TradeManage.SysManage.CountryList" %> + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 国家 +
+ + + + + + + + + + +
中文名/简称/全称: + + + + + +
+ +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + +
*名称 + + +
*英文简称 + + +
*英文全称 + + +
+ +
+
+
+ + diff --git a/TradeManageNew/SysManage/CountryList.aspx.cs b/TradeManageNew/SysManage/CountryList.aspx.cs new file mode 100644 index 0000000..488d988 --- /dev/null +++ b/TradeManageNew/SysManage/CountryList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class CountryList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/CountryList.aspx.designer.cs b/TradeManageNew/SysManage/CountryList.aspx.designer.cs new file mode 100644 index 0000000..f3dfbee --- /dev/null +++ b/TradeManageNew/SysManage/CountryList.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class CountryList { + } +} diff --git a/TradeManageNew/SysManage/DD_BackMoneyApply.aspx b/TradeManageNew/SysManage/DD_BackMoneyApply.aspx new file mode 100644 index 0000000..733c90d --- /dev/null +++ b/TradeManageNew/SysManage/DD_BackMoneyApply.aspx @@ -0,0 +1,2222 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DD_BackMoneyApply.aspx.cs" Inherits="TradeManage.SysManage.DD_BackMoneyApply" %> + + + + + + 赔款申请 + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ *店铺: + + + +
+ * 订单号: + + + + + * 货物编号: + + + +
+ * 赔款原因: + 第一原因:
+ 第二原因:
+ 第三原因: + + +
+ 备注(解释): + + + +
图片: +
+
+
+ 订单金额: + + + + + 客人要求赔款金额: + + + +
+ 计划赔款金额: + + + + + 部门负责人: + + + +
+ 领导意见: +
+
+ 退货类型: + + + 订单状态: + +
+ 实际赔款金额: + + + 赔款日期: + +
+ 退货货物初步判断: + + + 退货运单号: + +
+ 退货我们承担运费: + 美元 + + 退货卖家承担运费: + 美元 +
+ 退货仓库验证: + + + + +
+      +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 店铺: + + + +
+ 订单号: + + + + + 货物编号: + + + +
+ * 赔款原因: + 第一原因: +
+ 第二原因:
+ 第三原因: + + +
+ 备注(解释): +
+ + +
图片: + +
+
+ 订单金额: + + + + + 客人要求赔款金额: + + + +
+ 计划赔款金额: + + + 实际赔偿: + + + +
+ 我们承担的运费: + + + 仓库验货: + + + +
+ 部门负责人: + + + + + + +
+ 领导意见: +
+
+ 审批意见: +
+ +
+      +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 店铺: + + + +
+ 订单号: + + + + + 货物编号: + + + +
+ * 赔款原因: + 第一原因: +
+ 第二原因:
+ 第三原因: + + +
+ 备注(解释): +
+ + +
图片: + +
+
+ 订单金额: + + + + + 客人要求赔款金额: + + + +
+ 计划赔款金额: + + + 部门负责人: + + + +
+ 领导意见: +
+
+ 实际赔款金额: + + + 赔款日期: + +
+      +
+
+
+ + + + + + +
+ +
+
+
+
+
+ + + + + + + + + + +
+ 第一原因筛选: + + + +
+ +
+
+
+
+
+
+ 赔款申请 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
部门: + 副总批注: + 总经理批注: + 日期: + - +
店铺: +
+
+
赔款原因: + 第一原因: + 第二原因: + 第三原因: + 操作人/订单号/货物编号: +
+                                         合计计划赔款:   
+ 注:赔款申请审批通过后才能填写实际赔款金额录入订单
+
+ +
+ + + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/DD_BackMoneyApply.aspx.cs b/TradeManageNew/SysManage/DD_BackMoneyApply.aspx.cs new file mode 100644 index 0000000..f96e8c5 --- /dev/null +++ b/TradeManageNew/SysManage/DD_BackMoneyApply.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class DD_BackMoneyApply : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/DD_BackMoneyApply.aspx.designer.cs b/TradeManageNew/SysManage/DD_BackMoneyApply.aspx.designer.cs new file mode 100644 index 0000000..7eea2f5 --- /dev/null +++ b/TradeManageNew/SysManage/DD_BackMoneyApply.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class DD_BackMoneyApply { + } +} diff --git a/TradeManageNew/SysManage/DD_BackMoneyApply2.aspx b/TradeManageNew/SysManage/DD_BackMoneyApply2.aspx new file mode 100644 index 0000000..8baa160 --- /dev/null +++ b/TradeManageNew/SysManage/DD_BackMoneyApply2.aspx @@ -0,0 +1,2361 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DD_BackMoneyApply2.aspx.cs" + Inherits="TradeManage.SysManage.DD_BackMoneyApply2" %> + + + + + + 赔款申请 + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + <%-- + + + + + + --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ * 订单号: + + + + + * 货物编号: + + +
+ *店铺: + + + + 订单金额 + + 美金 + <%-- --%> +
+ * 赔款原因: + + 第一原因:
+ 第二原因:
+ 第三原因: +
+ 图片: + +
+
+
+
+ 客人要求赔款金额: + + + + + 计划赔款金额: + + + +
+ *退货类型: + + + + *订单状态: + + +
+ * 退货货物初步判断: + + + + 退货运单号: + + +
+ 退货我们承担运费: + + 美元 + + 退货卖家承担运费: + + 美元 +
+ 退货仓库验证: + + + + +
+ 备注(解释): + + +
+      +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 店铺: + + +
+ 订单号: + + + + 货物编号: + + +
+ * 赔款原因: + + 第一原因: +
+ 第二原因:
+ 第三原因: +
+ 备注(解释): + +
+
+
+ 图片: + +
+
+
+ 订单金额: + + +
+ 退货赔款类型: + + + + 货物初步判断状态: + + +
+ 订单状态: + + +
+ 我们承担的运费: + + + + 顾客承担运费 + + +
+ 实际赔偿: + + + + 仓库验货: + + +
+ 部门负责人: + + + + +
+ 领导意见: + +
+
+
+ 审批意见: + +
+ +
+      +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 店铺: + + +
+ 订单号: + + + + 货物编号: + + +
+ * 赔款原因: + + 第一原因: +
+ 第二原因:
+ 第三原因: +
+ 备注(解释): + +
+
+
+ 图片: + +
+
+
+ 订单金额: + + + + 客人要求赔款金额: + + +
+ 计划赔款金额: + + + + 部门负责人: + + +
+ 领导意见: + +
+
+
+ 实际赔款金额: + + + + + 赔款日期: + + +
+      +
+
+
+ + + + +
+
+
+
+
+
+ + + + + + + + +
+ 第一原因筛选: + + +
+
+
+
+
+
+
+ 赔款申请 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 部门: + + + + 副总批注: + + + + 总经理批注: + + + + 日期: + + - + + +
+ 店铺: + +
+
+
+ 赔款原因: + + 第一原因: + 第二原因: + 第三原因: + + 操作人/订单号/货物编号: + + +
+                                         + 合计计划赔款: +    + +
+ 注:赔款申请审批通过后才能填写实际赔款金额录入订单 +
+
+
+
+ + diff --git a/TradeManageNew/SysManage/DD_BackMoneyApply2.aspx.cs b/TradeManageNew/SysManage/DD_BackMoneyApply2.aspx.cs new file mode 100644 index 0000000..cf7eee9 --- /dev/null +++ b/TradeManageNew/SysManage/DD_BackMoneyApply2.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class DD_BackMoneyApply2 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/DD_BackMoneyApply2.aspx.designer.cs b/TradeManageNew/SysManage/DD_BackMoneyApply2.aspx.designer.cs new file mode 100644 index 0000000..9620ecd --- /dev/null +++ b/TradeManageNew/SysManage/DD_BackMoneyApply2.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class DD_BackMoneyApply2 { + } +} diff --git a/TradeManageNew/SysManage/DD_BackMoneyApply3.aspx b/TradeManageNew/SysManage/DD_BackMoneyApply3.aspx new file mode 100644 index 0000000..63fdf18 --- /dev/null +++ b/TradeManageNew/SysManage/DD_BackMoneyApply3.aspx @@ -0,0 +1,2063 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DD_BackMoneyApply3.aspx.cs" Inherits="TradeManage.SysManage.DD_BackMoneyApply3" %> + + + + + + 赔款申请 + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 店铺: + + +
+ 订单号: + + + + 订单日期 + + +
+ * 赔款原因: + + + + + 货物编号: + + + +
+ 初步方案: + + + 领导意见: +
+
+ 最终方案: + + + 领导意见: +
+
+ 备注: + +
+
+
+ 图片: + +
+
+
+ 订单金额: + + +
+ 退货赔款类型: + + + + 货物初步判断状态: + + +
+ 订单状态: + + + + 实际赔偿: + + +
+ 我们承担的运费: + + 美元 无就填-1 + + 顾客承担运费 + + 美元 +
+ 退货运单号: + + + + 仓库验货: + + +
+ 处理状态: + + +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 店铺: + + +
+ 订单号: + + + + 订单日期 + + +
+ * 赔款原因: + + + + + 货物编号 + + +
+ 初步方案: + +
+
+
+ +
+ 最终方案: + +
+
+
+ +
+ 备注: + +
+
+
+ 图片: + +
+
+
+ 订单金额: + + +
+ 退货赔款类型: + + + + 货物初步判断状态: + + +
+ 订单状态: + + +
+ 我们承担的运费: + + + + 顾客承担运费 + + +
+ 实际赔偿: + + + + 仓库验货: + + +
+ 处理状态: + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 店铺: + + +
+ 订单号: + + + + 货物编号: + + +
+ * 赔款原因: + + 第一原因: +
+ 第二原因:
+ 第三原因: +
+ 备注(解释): + +
+
+
+ 图片: + +
+
+
+ 订单金额: + + + + 客人要求赔款金额: + + +
+ 计划赔款金额: + + + + 部门负责人: + + +
+ 领导意见: + +
+
+
+ 实际赔款金额: + + + + + 赔款日期: + + +
+      +
+
+
+ + + + +
+
+
+
+
+
+ + + + + + + + +
+ 第一原因筛选: + + +
+
+
+
+
+
+
+ 赔款申请 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 店铺 + + + 订单号/货物编号 + + 领导批注: + + + +     + +
+ 处理状态 + + 赔款原因: + + + 日期: + + - +  
+
+
+
+ + diff --git a/TradeManageNew/SysManage/DD_BackMoneyApply3.aspx.cs b/TradeManageNew/SysManage/DD_BackMoneyApply3.aspx.cs new file mode 100644 index 0000000..5afa7ff --- /dev/null +++ b/TradeManageNew/SysManage/DD_BackMoneyApply3.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class DD_BackMoneyApply3 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/DD_BackMoneyApply3.aspx.designer.cs b/TradeManageNew/SysManage/DD_BackMoneyApply3.aspx.designer.cs new file mode 100644 index 0000000..da1787c --- /dev/null +++ b/TradeManageNew/SysManage/DD_BackMoneyApply3.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class DD_BackMoneyApply3 { + } +} diff --git a/TradeManageNew/SysManage/DepartMentList.aspx b/TradeManageNew/SysManage/DepartMentList.aspx new file mode 100644 index 0000000..dbeed12 --- /dev/null +++ b/TradeManageNew/SysManage/DepartMentList.aspx @@ -0,0 +1,390 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DepartMentList.aspx.cs" Inherits="TradeManage.SysManage.DepartMentList" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 部门设置 +
+ + + + + + + + + + + + + + + + + + + + +
部门名称: + + + +
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
*部门名称 + + +
部门代码 + + +
电话 + +
传真 + +
+ +
+
+
+ + + + diff --git a/TradeManageNew/SysManage/DepartMentList.aspx.cs b/TradeManageNew/SysManage/DepartMentList.aspx.cs new file mode 100644 index 0000000..108fef0 --- /dev/null +++ b/TradeManageNew/SysManage/DepartMentList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class DepartMentList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/DepartMentList.aspx.designer.cs b/TradeManageNew/SysManage/DepartMentList.aspx.designer.cs new file mode 100644 index 0000000..42faf67 --- /dev/null +++ b/TradeManageNew/SysManage/DepartMentList.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class DepartMentList { + } +} diff --git a/TradeManageNew/SysManage/DepartMentListForTM.aspx b/TradeManageNew/SysManage/DepartMentListForTM.aspx new file mode 100644 index 0000000..d56b724 --- /dev/null +++ b/TradeManageNew/SysManage/DepartMentListForTM.aspx @@ -0,0 +1,423 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DepartMentListForTM.aspx.cs" Inherits="TradeManage.SysManage.DepartMentListForTM" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 部门设置 +
+ + + + + + + + + + + + + + + + + + + + +
部门名称: + + + +
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*部门类型 + + +
*部门名称 + + +
部门代码 + + +
电话 + +
传真 + +
负责人 +
(多个用空格隔开) +
+ +
+
+
+ + + + diff --git a/TradeManageNew/SysManage/DepartMentListForTM.aspx.cs b/TradeManageNew/SysManage/DepartMentListForTM.aspx.cs new file mode 100644 index 0000000..877c25f --- /dev/null +++ b/TradeManageNew/SysManage/DepartMentListForTM.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class DepartMentListForTM : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/DepartMentListForTM.aspx.designer.cs b/TradeManageNew/SysManage/DepartMentListForTM.aspx.designer.cs new file mode 100644 index 0000000..51b513d --- /dev/null +++ b/TradeManageNew/SysManage/DepartMentListForTM.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class DepartMentListForTM { + } +} diff --git a/TradeManageNew/SysManage/ExpressCodeImport.aspx b/TradeManageNew/SysManage/ExpressCodeImport.aspx new file mode 100644 index 0000000..a5ef851 --- /dev/null +++ b/TradeManageNew/SysManage/ExpressCodeImport.aspx @@ -0,0 +1,357 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpressCodeImport.aspx.cs" Inherits="TradeManage.SysManage.ExpressCodeImport" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 快递单号导入 +
+ + + + + + + + + + + + + + + + + + + + + + +
物流渠道: + + 是否使用: + 单号: + + +
+ + + +      + + +
+
+
+
+
+ + +
+
+ + + diff --git a/TradeManageNew/SysManage/ExpressCodeImport.aspx.cs b/TradeManageNew/SysManage/ExpressCodeImport.aspx.cs new file mode 100644 index 0000000..b3f656e --- /dev/null +++ b/TradeManageNew/SysManage/ExpressCodeImport.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ExpressCodeImport : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ExpressCodeImport.aspx.designer.cs b/TradeManageNew/SysManage/ExpressCodeImport.aspx.designer.cs new file mode 100644 index 0000000..d61c2bd --- /dev/null +++ b/TradeManageNew/SysManage/ExpressCodeImport.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ExpressCodeImport { + } +} diff --git a/TradeManageNew/SysManage/ExpressList.aspx b/TradeManageNew/SysManage/ExpressList.aspx new file mode 100644 index 0000000..eb6676b --- /dev/null +++ b/TradeManageNew/SysManage/ExpressList.aspx @@ -0,0 +1,590 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpressList.aspx.cs" Inherits="TradeManage.SysManage.ExpressList" %> + + + + + + + + + + + + + + + + + + + + + + + + + +
物流渠道信息
+ + + + + + + + + + +
物流: + + + + + 列出没设置过地址的渠道
+    +  
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*物流 + + +
*渠道名称 + + +
api账号 + + +
api密码(授权码) + + +
客户编号 + + +
客户编号2 + + +
是否使用 + + +
*发货地址 + + +
+
+
+ +
+
+
+ + diff --git a/TradeManageNew/SysManage/ExpressList.aspx.cs b/TradeManageNew/SysManage/ExpressList.aspx.cs new file mode 100644 index 0000000..cdc1130 --- /dev/null +++ b/TradeManageNew/SysManage/ExpressList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ExpressList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ExpressList.aspx.designer.cs b/TradeManageNew/SysManage/ExpressList.aspx.designer.cs new file mode 100644 index 0000000..f48250a --- /dev/null +++ b/TradeManageNew/SysManage/ExpressList.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ExpressList { + } +} diff --git a/TradeManageNew/SysManage/ExpressListNew.aspx b/TradeManageNew/SysManage/ExpressListNew.aspx new file mode 100644 index 0000000..114499a --- /dev/null +++ b/TradeManageNew/SysManage/ExpressListNew.aspx @@ -0,0 +1,601 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpressListNew.aspx.cs" Inherits="TradeManage.SysManage.ExpressListNew" %> + + + + + + + + + + + + + + + + + + + + + + + + + + +
物流渠道信息
+ + + + + + + + + + + + + +
  +   + +  
物流: + + + + + 列出没设置过地址的渠道
+    +  
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*物流 + + +
*渠道名称 + + +
打印面板 + + +
api接入码 + + +
api校验码 + + +
api客户编码 + + +
api大客户编码 + + +
是否使用 + + +
*发货地址 + + +
+
+
+ +
+
+
+ + + diff --git a/TradeManageNew/SysManage/ExpressListNew.aspx.cs b/TradeManageNew/SysManage/ExpressListNew.aspx.cs new file mode 100644 index 0000000..d6369bf --- /dev/null +++ b/TradeManageNew/SysManage/ExpressListNew.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ExpressListNew : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ExpressListNew.aspx.designer.cs b/TradeManageNew/SysManage/ExpressListNew.aspx.designer.cs new file mode 100644 index 0000000..6f0e649 --- /dev/null +++ b/TradeManageNew/SysManage/ExpressListNew.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ExpressListNew { + } +} diff --git a/TradeManageNew/SysManage/FriendCode.aspx b/TradeManageNew/SysManage/FriendCode.aspx new file mode 100644 index 0000000..fad3f39 --- /dev/null +++ b/TradeManageNew/SysManage/FriendCode.aspx @@ -0,0 +1,375 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FriendCode.aspx.cs" Inherits="TradeManage.SysManage.FriendCode" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 注册邀请码 +
+
+
+ + + + + + + + + + + + +
+ 备注: + + +
+      +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 生成个邀请码(FriendCode)每次最多生成100个 +
邀请码(FriendCode): + + + + 使用状态: + + + + + +
生成时间: + -
+
+
+
+ + + + + + + + + diff --git a/TradeManageNew/SysManage/FriendCode.aspx.cs b/TradeManageNew/SysManage/FriendCode.aspx.cs new file mode 100644 index 0000000..44e2b47 --- /dev/null +++ b/TradeManageNew/SysManage/FriendCode.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class FriendCode : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/FriendCode.aspx.designer.cs b/TradeManageNew/SysManage/FriendCode.aspx.designer.cs new file mode 100644 index 0000000..c86a1c9 --- /dev/null +++ b/TradeManageNew/SysManage/FriendCode.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class FriendCode { + } +} diff --git a/TradeManageNew/SysManage/GG_NoticeAdd.aspx b/TradeManageNew/SysManage/GG_NoticeAdd.aspx new file mode 100644 index 0000000..2aaccbd --- /dev/null +++ b/TradeManageNew/SysManage/GG_NoticeAdd.aspx @@ -0,0 +1,592 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GG_NoticeAdd.aspx.cs" Inherits="TradeManage.SysManage.GG_NoticeAdd" %> + + + + + + 公共信息栏 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + +
+ 公司名称: + + +
+ + + + + + + + + + + +
+ 公司 + + 操作 + + 已选公司 +
+ + + + 全选-->>
+
+ 选中-->
+
+ <--删除
+
+ <<--全删
+
+
+ +
+
+      +
+
+
+ + +
+ 公共信息发布
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ * 主题: + + +
+ * + 发布人(部门): + + * + 发布日期: + + +
+  首页显示时效: + -注:不填表示不限
+ 信息内容:
+ 首页显示内容概要:
+ 从内容同步
+
+ +   +
+ + + + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/GG_NoticeAdd.aspx.cs b/TradeManageNew/SysManage/GG_NoticeAdd.aspx.cs new file mode 100644 index 0000000..c792429 --- /dev/null +++ b/TradeManageNew/SysManage/GG_NoticeAdd.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class GG_NoticeAdd : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/GG_NoticeAdd.aspx.designer.cs b/TradeManageNew/SysManage/GG_NoticeAdd.aspx.designer.cs new file mode 100644 index 0000000..bd7896d --- /dev/null +++ b/TradeManageNew/SysManage/GG_NoticeAdd.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class GG_NoticeAdd { + } +} diff --git a/TradeManageNew/SysManage/GG_NoticeList.aspx b/TradeManageNew/SysManage/GG_NoticeList.aspx new file mode 100644 index 0000000..4aebf9e --- /dev/null +++ b/TradeManageNew/SysManage/GG_NoticeList.aspx @@ -0,0 +1,236 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GG_NoticeList.aspx.cs" Inherits="TradeManage.SysManage.GG_NoticeList" %> + + + + + + 公共信息栏 + + + + + + + + + + + + + + + + + + + + + + + +
+
+ 公共信息栏 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
主题: + + 发布人(部门): + + 发布日期: + -- +
+ 只显示我发布的通知
+ + +
+
+ +
+
+ + + + + + + + + diff --git a/TradeManageNew/SysManage/GG_NoticeList.aspx.cs b/TradeManageNew/SysManage/GG_NoticeList.aspx.cs new file mode 100644 index 0000000..719ec7a --- /dev/null +++ b/TradeManageNew/SysManage/GG_NoticeList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class GG_NoticeList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/GG_NoticeList.aspx.designer.cs b/TradeManageNew/SysManage/GG_NoticeList.aspx.designer.cs new file mode 100644 index 0000000..ca09b93 --- /dev/null +++ b/TradeManageNew/SysManage/GG_NoticeList.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class GG_NoticeList { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/TradeManageNew/SysManage/GG_NoticeLook.aspx b/TradeManageNew/SysManage/GG_NoticeLook.aspx new file mode 100644 index 0000000..00e8ac6 --- /dev/null +++ b/TradeManageNew/SysManage/GG_NoticeLook.aspx @@ -0,0 +1,170 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GG_NoticeLook.aspx.cs" Inherits="TradeManage.SysManage.GG_NoticeLook" %> + + + + + 通知公告 + + + + + + + + + + + + + + + + + + + + + + + + +
+ 公共信息发布
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ * 主题: + + +
+ * + 发布人(部门): + + * + 发布日期: + + +
+  首页显示时效: - +
+ 信息内容:
+ 首页显示内容概要: +
+
+ +   +
+ + + + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/GG_NoticeLook.aspx.cs b/TradeManageNew/SysManage/GG_NoticeLook.aspx.cs new file mode 100644 index 0000000..ed0c580 --- /dev/null +++ b/TradeManageNew/SysManage/GG_NoticeLook.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class GG_NoticeLook : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/GG_NoticeLook.aspx.designer.cs b/TradeManageNew/SysManage/GG_NoticeLook.aspx.designer.cs new file mode 100644 index 0000000..56533a0 --- /dev/null +++ b/TradeManageNew/SysManage/GG_NoticeLook.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class GG_NoticeLook { + } +} diff --git a/TradeManageNew/SysManage/GZ_SalaryImport.aspx b/TradeManageNew/SysManage/GZ_SalaryImport.aspx new file mode 100644 index 0000000..9445f5e --- /dev/null +++ b/TradeManageNew/SysManage/GZ_SalaryImport.aspx @@ -0,0 +1,246 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GZ_SalaryImport.aspx.cs" Inherits="TradeManage.SysManage.GZ_SalaryImport" %> + + + + + 导入 + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+
+
+
+ 工资单导入 +
+ + + + + + + + + + + + + + + + + + + +<%-- --%> + + + + +
+ 工资年月: + + +
+ 工资名称: + 注:例2014年6月工资,导入根据工资名称判断,同一个名称重复导入会覆盖原来数据
+    +    + 工资导入模板下载 + 注:请先下载模板,添加完数据再导入,模板第一列必须为姓名,其它列可以任意命名 +
+ 导入结果提示: + +
+
+
+  导入工资单时发送短信通知教师 +
+ +
+
+ + diff --git a/TradeManageNew/SysManage/GZ_SalaryImport.aspx.cs b/TradeManageNew/SysManage/GZ_SalaryImport.aspx.cs new file mode 100644 index 0000000..a1e5f85 --- /dev/null +++ b/TradeManageNew/SysManage/GZ_SalaryImport.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class GZ_SalaryImport : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/GZ_SalaryImport.aspx.designer.cs b/TradeManageNew/SysManage/GZ_SalaryImport.aspx.designer.cs new file mode 100644 index 0000000..e70ddda --- /dev/null +++ b/TradeManageNew/SysManage/GZ_SalaryImport.aspx.designer.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class GZ_SalaryImport { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/TradeManageNew/SysManage/GZ_ShowAll.aspx b/TradeManageNew/SysManage/GZ_ShowAll.aspx new file mode 100644 index 0000000..1c76367 --- /dev/null +++ b/TradeManageNew/SysManage/GZ_ShowAll.aspx @@ -0,0 +1,163 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GZ_ShowAll.aspx.cs" Inherits="TradeManage.SysManage.GZ_ShowAll" %> + + + + + + 导入 + + + + + + + + + + + + + + + + + + + + +
+ 工资 +
+ + + + + + + + + + +
+ 日期范围: + + +
+
+
2015年10月工资
基本工资2500基本工资2500基本工资2500
+
+ + diff --git a/TradeManageNew/SysManage/GZ_ShowAll.aspx.cs b/TradeManageNew/SysManage/GZ_ShowAll.aspx.cs new file mode 100644 index 0000000..56127b2 --- /dev/null +++ b/TradeManageNew/SysManage/GZ_ShowAll.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class GZ_ShowAll : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/GZ_ShowAll.aspx.designer.cs b/TradeManageNew/SysManage/GZ_ShowAll.aspx.designer.cs new file mode 100644 index 0000000..91eabe7 --- /dev/null +++ b/TradeManageNew/SysManage/GZ_ShowAll.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class GZ_ShowAll { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/GZ_ShowUser.aspx b/TradeManageNew/SysManage/GZ_ShowUser.aspx new file mode 100644 index 0000000..f53da47 --- /dev/null +++ b/TradeManageNew/SysManage/GZ_ShowUser.aspx @@ -0,0 +1,168 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GZ_ShowUser.aspx.cs" Inherits="TradeManage.SysManage.GZ_ShowUser" %> + + + + + 导入 + + + + + + + + + + + + + + + + + + + + +
+ 我的工资 +
+ + + + + + +
+ 日期范围: + + +    密码: +
+
+ <%--
2015年10月工资
基本工资2500基本工资2500基本工资2500
--%> +
+ + diff --git a/TradeManageNew/SysManage/GZ_ShowUser.aspx.cs b/TradeManageNew/SysManage/GZ_ShowUser.aspx.cs new file mode 100644 index 0000000..411b2d7 --- /dev/null +++ b/TradeManageNew/SysManage/GZ_ShowUser.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class GZ_ShowUser : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/GZ_ShowUser.aspx.designer.cs b/TradeManageNew/SysManage/GZ_ShowUser.aspx.designer.cs new file mode 100644 index 0000000..7708fdf --- /dev/null +++ b/TradeManageNew/SysManage/GZ_ShowUser.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class GZ_ShowUser { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/GetOrderList_Call_heegrand.xml b/TradeManageNew/SysManage/GetOrderList_Call_heegrand.xml new file mode 100644 index 0000000..f9bd5fb --- /dev/null +++ b/TradeManageNew/SysManage/GetOrderList_Call_heegrand.xml @@ -0,0 +1,34 @@ + + + + + + + 1 + 1 + 100 + + + Fr + Eur + 2 + Fr + + + + + + + @Token@ + + + 1.0 + + + 2016-01-24T00:00:00.00 2017-01-21T23:59:59.99 + true + WaitingForShipmentAcceptation + + + + \ No newline at end of file diff --git a/TradeManageNew/SysManage/JC_MoneyList.aspx b/TradeManageNew/SysManage/JC_MoneyList.aspx new file mode 100644 index 0000000..910829e --- /dev/null +++ b/TradeManageNew/SysManage/JC_MoneyList.aspx @@ -0,0 +1,234 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JC_MoneyList.aspx.cs" Inherits="TradeManage.SysManage.JC_MoneyList" %> + + + + + + + 仓库设置 + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 货币设置 +
+ + + + + + + + + + + + + + + + +
+ + +
+
+
+ + +
+ + + + + + + + diff --git a/TradeManageNew/SysManage/JC_MoneyList.aspx.cs b/TradeManageNew/SysManage/JC_MoneyList.aspx.cs new file mode 100644 index 0000000..0734c05 --- /dev/null +++ b/TradeManageNew/SysManage/JC_MoneyList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class JC_MoneyList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/JC_MoneyList.aspx.designer.cs b/TradeManageNew/SysManage/JC_MoneyList.aspx.designer.cs new file mode 100644 index 0000000..a540b77 --- /dev/null +++ b/TradeManageNew/SysManage/JC_MoneyList.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class JC_MoneyList { + } +} diff --git a/TradeManageNew/SysManage/JC_MoneyListForTM.aspx b/TradeManageNew/SysManage/JC_MoneyListForTM.aspx new file mode 100644 index 0000000..5ce962a --- /dev/null +++ b/TradeManageNew/SysManage/JC_MoneyListForTM.aspx @@ -0,0 +1,275 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JC_MoneyListForTM.aspx.cs" Inherits="TradeManage.SysManage.JC_MoneyListForTM" %> + + + + + + 仓库设置 + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 货币设置 +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ 平台:
+
+
+ + +
+ + + + + + + + + diff --git a/TradeManageNew/SysManage/JC_MoneyListForTM.aspx.cs b/TradeManageNew/SysManage/JC_MoneyListForTM.aspx.cs new file mode 100644 index 0000000..a570640 --- /dev/null +++ b/TradeManageNew/SysManage/JC_MoneyListForTM.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class JC_MoneyListForTM : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/JC_MoneyListForTM.aspx.designer.cs b/TradeManageNew/SysManage/JC_MoneyListForTM.aspx.designer.cs new file mode 100644 index 0000000..c01939a --- /dev/null +++ b/TradeManageNew/SysManage/JC_MoneyListForTM.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class JC_MoneyListForTM { + } +} diff --git a/TradeManageNew/SysManage/JC_UserWork.aspx b/TradeManageNew/SysManage/JC_UserWork.aspx new file mode 100644 index 0000000..bc20777 --- /dev/null +++ b/TradeManageNew/SysManage/JC_UserWork.aspx @@ -0,0 +1,278 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JC_UserWork.aspx.cs" Inherits="TradeManage.SysManage.JC_UserWork" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 用户信息 +
+
+
+ + + + + + + + + + + + + +
+ 姓名: + + +
+ * 工作描述: + +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
部门 + + + 姓名 + + + + +
+
+
+ +
+ + + + + + + diff --git a/TradeManageNew/SysManage/JC_UserWork.aspx.cs b/TradeManageNew/SysManage/JC_UserWork.aspx.cs new file mode 100644 index 0000000..ffe8fbe --- /dev/null +++ b/TradeManageNew/SysManage/JC_UserWork.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class JC_UserWork : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/JC_UserWork.aspx.designer.cs b/TradeManageNew/SysManage/JC_UserWork.aspx.designer.cs new file mode 100644 index 0000000..820854a --- /dev/null +++ b/TradeManageNew/SysManage/JC_UserWork.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class JC_UserWork { + } +} diff --git a/TradeManageNew/SysManage/LeaveApply.aspx b/TradeManageNew/SysManage/LeaveApply.aspx new file mode 100644 index 0000000..c24ed96 --- /dev/null +++ b/TradeManageNew/SysManage/LeaveApply.aspx @@ -0,0 +1,525 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeaveApply.aspx.cs" Inherits="TradeManage.SysManage.LeaveApply" %> + + + + + + 请假申请单 + + + + + + + + + + + + + + + + + + + + + + + +
+ 请假单 +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 请假申请单 +
+ + 请假人: + + + + 请假类型: + + +
+ + 请假起止时间/天数: + + -- + 请 +
注:中间遇节假日请假天数请自己计算减除,半天请假填0.5
+ + 请假事由:
+ (及工作移交) +
+ +
+ 下一步审批人: + + +
+   + +
+ 注:请假单流转过程: +
+ a.(2天以内请假)普通员工请假(提交)---->部门经理审批(签字)--->副总经理审批(签字)--->行政备案
+ b.(2天及以上请假)普通员工请假(提交)---->部门经理审批(签字)--->副总经理审批(签字)---->总经理审批(签字)--->行政备案
c.部门经理请假(提交)---->副总经理审批(签字)--->行政备案
+ d.副总经理请假(提交)---->总经理审批(签字)--->行政备案
+
+
+ + + + + + + + + + diff --git a/TradeManageNew/SysManage/LeaveApply.aspx.cs b/TradeManageNew/SysManage/LeaveApply.aspx.cs new file mode 100644 index 0000000..b193d2d --- /dev/null +++ b/TradeManageNew/SysManage/LeaveApply.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class LeaveApply : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/LeaveApply.aspx.designer.cs b/TradeManageNew/SysManage/LeaveApply.aspx.designer.cs new file mode 100644 index 0000000..6eb33bb --- /dev/null +++ b/TradeManageNew/SysManage/LeaveApply.aspx.designer.cs @@ -0,0 +1,78 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class LeaveApply { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// Label2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label2; + + /// + /// Label3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label3; + + /// + /// Label6 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label6; + + /// + /// Label4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label4; + + /// + /// Label5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label5; + } +} diff --git a/TradeManageNew/SysManage/LeaveCount.aspx b/TradeManageNew/SysManage/LeaveCount.aspx new file mode 100644 index 0000000..53a5f16 --- /dev/null +++ b/TradeManageNew/SysManage/LeaveCount.aspx @@ -0,0 +1,523 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeaveCount.aspx.cs" Inherits="TradeManage.SysManage.LeaveCount" %> + + + + + + 请假统计 + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + +
+
+
+
+ +
+
+
+
+ 请假统计 +
+ + + + + + + + + + +
请假日期范围: + - + + + 请假类型: + + + + 审批状态: + + +
+
+
+
+ + + + + + + + + + + diff --git a/TradeManageNew/SysManage/LeaveCount.aspx.cs b/TradeManageNew/SysManage/LeaveCount.aspx.cs new file mode 100644 index 0000000..d33b30c --- /dev/null +++ b/TradeManageNew/SysManage/LeaveCount.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class LeaveCount : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/LeaveCount.aspx.designer.cs b/TradeManageNew/SysManage/LeaveCount.aspx.designer.cs new file mode 100644 index 0000000..440f446 --- /dev/null +++ b/TradeManageNew/SysManage/LeaveCount.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class LeaveCount { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/LeaveList.aspx b/TradeManageNew/SysManage/LeaveList.aspx new file mode 100644 index 0000000..ca6116f --- /dev/null +++ b/TradeManageNew/SysManage/LeaveList.aspx @@ -0,0 +1,345 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeaveList.aspx.cs" Inherits="TradeManage.SysManage.LeaveList" %> + + + + + + 请假管理 + + + + + + + + + + + + + + + + + + + + + + +
+ 请假管理 +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ 请假单状态: + + + + 请假人/请假事由: + + +
+ 请假类型: + + + + 请假日期: + + - + + +
+ + + +
+
+
+
+
+ + + + diff --git a/TradeManageNew/SysManage/LeaveList.aspx.cs b/TradeManageNew/SysManage/LeaveList.aspx.cs new file mode 100644 index 0000000..f0d6aa0 --- /dev/null +++ b/TradeManageNew/SysManage/LeaveList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class LeaveList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/LeaveList.aspx.designer.cs b/TradeManageNew/SysManage/LeaveList.aspx.designer.cs new file mode 100644 index 0000000..921d4be --- /dev/null +++ b/TradeManageNew/SysManage/LeaveList.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class LeaveList { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/LeaveLook.aspx b/TradeManageNew/SysManage/LeaveLook.aspx new file mode 100644 index 0000000..d965296 --- /dev/null +++ b/TradeManageNew/SysManage/LeaveLook.aspx @@ -0,0 +1,781 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeaveLook.aspx.cs" Inherits="TradeManage.SysManage.LeaveLook" %> + + + + + 请假管理 + + + + + + + + + + + + + + + + + + + + + + +
+ 请假单 +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 请假单 +
+ + 请假人: + + + + 请假类型: + +
+ + 请假起止时间/天数: + +
+ + 请假事由:
+ (及工作移交) +
+
+ 当前步骤状态: +
+    +       +    + +
+ 注:请假单流转过程: +
+ a.(2天以内请假)普通员工请假(提交)---->部门经理审批(签字)--->副总经理审批(签字)--->行政备案
+ b.(2天及以上请假)普通员工请假(提交)---->部门经理审批(签字)--->副总经理审批(签字)---->总经理审批(签字)--->行政备案
c.部门经理请假(提交)---->副总经理审批(签字)--->行政备案
+ d.副总经理请假(提交)---->总经理审批(签字)--->行政备案
+
+
+ + + + + + + diff --git a/TradeManageNew/SysManage/LeaveLook.aspx.cs b/TradeManageNew/SysManage/LeaveLook.aspx.cs new file mode 100644 index 0000000..37dc61d --- /dev/null +++ b/TradeManageNew/SysManage/LeaveLook.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class LeaveLook : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/LeaveLook.aspx.designer.cs b/TradeManageNew/SysManage/LeaveLook.aspx.designer.cs new file mode 100644 index 0000000..4037d81 --- /dev/null +++ b/TradeManageNew/SysManage/LeaveLook.aspx.designer.cs @@ -0,0 +1,69 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class LeaveLook { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// Label3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label3; + + /// + /// Label4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label4; + + /// + /// Label5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label5; + + /// + /// Label8 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label8; + + /// + /// Label7 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label7; + } +} diff --git a/TradeManageNew/SysManage/LeaveResq.aspx b/TradeManageNew/SysManage/LeaveResq.aspx new file mode 100644 index 0000000..a853fc4 --- /dev/null +++ b/TradeManageNew/SysManage/LeaveResq.aspx @@ -0,0 +1,553 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeaveResq.aspx.cs" Inherits="TradeManage.SysManage.LeaveResq" %> + + + + + + 请假统计 + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + +
+
+
+
+ +
+
+
+
+ 请假统计 +
+ + + + + + + + + + +
请假日期范围: + - + + + 请假类型: + + + + + + +
+
+
+
+ + + + + + + + + + + diff --git a/TradeManageNew/SysManage/LeaveResq.aspx.cs b/TradeManageNew/SysManage/LeaveResq.aspx.cs new file mode 100644 index 0000000..2f708fe --- /dev/null +++ b/TradeManageNew/SysManage/LeaveResq.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class LeaveResq : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/LeaveResq.aspx.designer.cs b/TradeManageNew/SysManage/LeaveResq.aspx.designer.cs new file mode 100644 index 0000000..6003a3d --- /dev/null +++ b/TradeManageNew/SysManage/LeaveResq.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class LeaveResq { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/LeaveTotalList.aspx b/TradeManageNew/SysManage/LeaveTotalList.aspx new file mode 100644 index 0000000..ce7300b --- /dev/null +++ b/TradeManageNew/SysManage/LeaveTotalList.aspx @@ -0,0 +1,305 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeaveTotalList.aspx.cs" Inherits="TradeManage.SysManage.LeaveTotalList" %> + + + + + 请假管理 + + + + + + + + + + + + + + + + + + + + + + +
+ 请假管理 +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + .. + + + + +
+ +
+ 姓名: + + +
+ 截止日期: + + - + + +
+
+
+
+
+
+ + + + diff --git a/TradeManageNew/SysManage/LeaveTotalList.aspx.cs b/TradeManageNew/SysManage/LeaveTotalList.aspx.cs new file mode 100644 index 0000000..51d8266 --- /dev/null +++ b/TradeManageNew/SysManage/LeaveTotalList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class LeaveTotalList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/LeaveTotalList.aspx.designer.cs b/TradeManageNew/SysManage/LeaveTotalList.aspx.designer.cs new file mode 100644 index 0000000..637ece9 --- /dev/null +++ b/TradeManageNew/SysManage/LeaveTotalList.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class LeaveTotalList { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/LeaveWord.aspx b/TradeManageNew/SysManage/LeaveWord.aspx new file mode 100644 index 0000000..c7cef2c --- /dev/null +++ b/TradeManageNew/SysManage/LeaveWord.aspx @@ -0,0 +1,219 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeaveWord.aspx.cs" Inherits="TradeManage.SysManage.LeaveWord" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 留言管理 +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ 发送人/接收人: + + + 内容: + + +
+ 留言时间: + - + + +
+
+
+
+
+ + + + + diff --git a/TradeManageNew/SysManage/LeaveWord.aspx.cs b/TradeManageNew/SysManage/LeaveWord.aspx.cs new file mode 100644 index 0000000..929119d --- /dev/null +++ b/TradeManageNew/SysManage/LeaveWord.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class LeaveWord : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/LeaveWord.aspx.designer.cs b/TradeManageNew/SysManage/LeaveWord.aspx.designer.cs new file mode 100644 index 0000000..727bf0e --- /dev/null +++ b/TradeManageNew/SysManage/LeaveWord.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class LeaveWord { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/LogList.aspx b/TradeManageNew/SysManage/LogList.aspx new file mode 100644 index 0000000..477af00 --- /dev/null +++ b/TradeManageNew/SysManage/LogList.aspx @@ -0,0 +1,179 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LogList.aspx.cs" Inherits="TradeManage.SysManage.LogList" %> + + + + + + + 日志查询 + + + + + + + + + + + + + + + + + + + + + + + +
+
+ 日志查询 +
+ + + + + + + + + + + + + + + + + + +
日志类型: + + 内容: + + 操作日期: + -- +
+
+ +
+
+ + + + + + + + diff --git a/TradeManageNew/SysManage/LogList.aspx.cs b/TradeManageNew/SysManage/LogList.aspx.cs new file mode 100644 index 0000000..198dc1b --- /dev/null +++ b/TradeManageNew/SysManage/LogList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class LogList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/LogList.aspx.designer.cs b/TradeManageNew/SysManage/LogList.aspx.designer.cs new file mode 100644 index 0000000..28b101d --- /dev/null +++ b/TradeManageNew/SysManage/LogList.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class LogList { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/TradeManageNew/SysManage/NoticeAdd.aspx b/TradeManageNew/SysManage/NoticeAdd.aspx new file mode 100644 index 0000000..4a6fa72 --- /dev/null +++ b/TradeManageNew/SysManage/NoticeAdd.aspx @@ -0,0 +1,591 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NoticeAdd.aspx.cs" Inherits="TradeManage.SysManage.NoticeAdd" %> + + + + + + 通知公告 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + +
+ 公司名称: + + +
+ + + + + + + + + + + +
+ 公司 + + 操作 + + 已选公司 +
+ + + + 全选-->>
+
+ 选中-->
+
+ <--删除
+
+ <<--全删
+
+
+ +
+
+      +
+
+
+ + +
+ 通知公告
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ * 主题: + + +
+ * + 发布人(部门): + + * + 发布日期: + + +
+  首页显示时效: + -注:不填表示不限
+ 通知内容:
+ 首页显示内容概要:
+ 从内容同步
+
+ +   +
+ + + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/NoticeAdd.aspx.cs b/TradeManageNew/SysManage/NoticeAdd.aspx.cs new file mode 100644 index 0000000..b9dca5f --- /dev/null +++ b/TradeManageNew/SysManage/NoticeAdd.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class NoticeAdd : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/NoticeAdd.aspx.designer.cs b/TradeManageNew/SysManage/NoticeAdd.aspx.designer.cs new file mode 100644 index 0000000..d9c2e3d --- /dev/null +++ b/TradeManageNew/SysManage/NoticeAdd.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class NoticeAdd { + } +} diff --git a/TradeManageNew/SysManage/NoticeList.aspx b/TradeManageNew/SysManage/NoticeList.aspx new file mode 100644 index 0000000..7aeaeee --- /dev/null +++ b/TradeManageNew/SysManage/NoticeList.aspx @@ -0,0 +1,235 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NoticeList.aspx.cs" Inherits="TradeManage.SysManage.NoticeList" %> + + + + + + 通知公告 + + + + + + + + + + + + + + + + + + + + + + + +
+
+ 通知公告 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
主题: + + 发布人(部门): + + 发布日期: + -- +
+ 只显示我发布的通知
+ + +
+
+ +
+
+ + + + + + + + diff --git a/TradeManageNew/SysManage/NoticeList.aspx.cs b/TradeManageNew/SysManage/NoticeList.aspx.cs new file mode 100644 index 0000000..7e29be6 --- /dev/null +++ b/TradeManageNew/SysManage/NoticeList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class NoticeList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/NoticeList.aspx.designer.cs b/TradeManageNew/SysManage/NoticeList.aspx.designer.cs new file mode 100644 index 0000000..d902e16 --- /dev/null +++ b/TradeManageNew/SysManage/NoticeList.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class NoticeList { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/TradeManageNew/SysManage/NoticeLook.aspx b/TradeManageNew/SysManage/NoticeLook.aspx new file mode 100644 index 0000000..46b4b4d --- /dev/null +++ b/TradeManageNew/SysManage/NoticeLook.aspx @@ -0,0 +1,171 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NoticeLook.aspx.cs" Inherits="TradeManage.SysManage.NoticeLook" %> + + + + + + 通知公告 + + + + + + + + + + + + + + + + + + + + + + + + +
+ 通知公告
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ * 主题: + + +
+ * + 发布人(部门): + + * + 发布日期: + + +
+  首页显示时效: - +
+ 通知内容:
+ 首页显示内容概要: +
+
+ +   +
+ + + + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/NoticeLook.aspx.cs b/TradeManageNew/SysManage/NoticeLook.aspx.cs new file mode 100644 index 0000000..e10ab4c --- /dev/null +++ b/TradeManageNew/SysManage/NoticeLook.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class NoticeLook : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/NoticeLook.aspx.designer.cs b/TradeManageNew/SysManage/NoticeLook.aspx.designer.cs new file mode 100644 index 0000000..d635035 --- /dev/null +++ b/TradeManageNew/SysManage/NoticeLook.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class NoticeLook { + } +} diff --git a/TradeManageNew/SysManage/OA_Manage.asmx b/TradeManageNew/SysManage/OA_Manage.asmx new file mode 100644 index 0000000..3e1069a --- /dev/null +++ b/TradeManageNew/SysManage/OA_Manage.asmx @@ -0,0 +1 @@ +<%@ WebService Language="C#" CodeBehind="OA_Manage.asmx.cs" Class="TradeManage.SysManage.OA_Manage" %> diff --git a/TradeManageNew/SysManage/OA_Manage.asmx.cs b/TradeManageNew/SysManage/OA_Manage.asmx.cs new file mode 100644 index 0000000..abcba51 --- /dev/null +++ b/TradeManageNew/SysManage/OA_Manage.asmx.cs @@ -0,0 +1,1492 @@ +using NetLibrary.Data; +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Services; +using TradeData; +using NetLibrary; +using TradeModel; +using NetLibrary.Express; +using System.Web.Script.Serialization; +using NetLibrary.ReportPrint; +using NetLibrary.OnlineTrade; +using System.Text; + +namespace TradeManage.SysManage +{ + /// + /// OA_Manage 的摘要说明 + /// + [WebService(Namespace = "http://tempuri.org/")] + [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] + [System.ComponentModel.ToolboxItem(false)] + // 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消注释以下行。 + [System.Web.Script.Services.ScriptService] + public class OA_Manage : System.Web.Services.WebService + { + + [WebMethod] + public string HelloWorld() + { + return "Hello World"; + } + #region 保存请假 + [WebMethod(EnableSession = true)] + public string SaveLeave(OA_Leave model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + if (model.InDate == null) + model.InDate = DateTime.Now; + + if (model.LeaveType == "运动(生理假)") + { + if (obj.CheckLeave(model.InUserId.GetValueOrDefault(0), model.SDate.Value) > 0) return "本月运动假已经请过了,不能申请"; + } + //if (model.LeaveType == "心情假") + //{ + // if (obj.CheckLeaveM(model) > 0) return -2; + //} + //if (model.LeaveType == "年假") + //{ + // if (obj.CheckLeaveN(model) > 0) return -3; + //} + string messdata = "提交成功"; + if (model.SDate != null) + { + if (model.SDate <= DateTime.Now || model.SDate.Value.ToString("yyyy-MM-dd") == DateTime.Today.ToString("yyyy-MM-dd")) + { + messdata = "提交成功,以后请假请注意必须提早一天请假"; + } + } + int a = obj.SaveLeave(model); + string Content = model.InName + "有一个请假" + model.Days +model.DaysUint+"申请需要你审批,请尽快在请假管理里审批"; + JC_OpenMess mess=new JC_OpenMess(); + if(model.DeptUserId>0) + mess.UserId=model.DeptUserId; + else if(model.CompanyUserId>0) + mess.UserId=model.CompanyUserId; + else if (model.ManageUserId > 0) + mess.UserId = model.ManageUserId; + mess.UserType="p"; + mess.Content=Content; + mess.IsRead=0; + mess.OpenDate=DateTime.Now; + + BaseService.SaveOpenMess(mess); + return messdata; + + + } + #endregion + + #region 保存加班 + [WebMethod(EnableSession = true)] + public int SaveWorkAdd(OA_WorkAdd model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + if (model.InDate == null) + model.InDate = DateTime.Now; + + int a = obj.SaveWorkAdd(model); + string Content = model.InName + "有一个加申请需要你审批,请尽快在加班管理里审批"; + JC_OpenMess mess = new JC_OpenMess(); + if (model.DeptUserId > 0) + mess.UserId = model.DeptUserId; + else if (model.CompanyUserId > 0) + mess.UserId = model.CompanyUserId; + mess.UserType = "p"; + mess.Content = Content; + mess.IsRead = 0; + mess.OpenDate = DateTime.Now; + + BaseService.SaveOpenMess(mess); + return a; + + + } + #endregion + #region 请假 + [WebMethod(EnableSession = true)] + public OA_Leave GetLeaveModel(int Id) + { + Pages.Login(this.Session); + var obj = new BaseService(); + OA_Leave model = null; + + model = obj.GetLeaveModel(Id); + + return model; + + } + #endregion + #region 删除加班 + [WebMethod(EnableSession = true)] + public void DeleteWorkAdd(int Id) + { + Pages.Login(this.Session); + + + var obj = new BaseService(); + obj.DeleteWorkAdd(Id); + + + } + #endregion + #region 删除请假 + [WebMethod(EnableSession = true)] + public void DeleteLeave(int Id) + { + Pages.Login(this.Session); + var obj = new BaseService(); + obj.DeleteLeave(Id); + + + + } + #endregion + #region 加班 + [WebMethod(EnableSession = true)] + public OA_WorkAdd GetWorkAddModel(int Id) + { + Pages.Login(this.Session); + var obj = new BaseService(); + OA_WorkAdd model = null; + + model = obj.GetWorkAddModel(Id); + + return model; + + } + #endregion + #region 保存请假部门审批 + [WebMethod(EnableSession = true)] + public int SaveLeaveDeptCheck(OA_Leave model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + if (model.DeptAgree == 0) + { + model.State = 2; + model.CompanyUserId = null; + } + int a = obj.SaveLeaveCheck(model); + + + int UserId = 0; + + string MessContent = ""; + if (model.State == 1) + { + + + UserId = model.CompanyUserId.Value; + + MessContent = model.InName + "有一个请假" + model.Days +model.DaysUint + "申请需要你审批,请尽快在请假管理里审批"; + } + else if (model.State == 2) + { + UserId = model.InUserId.Value; + if (model.DeptAgree == 1) + { + + MessContent = "部门经理已经批准了你的请假申请"; + } + else + if (model.DeptAgree == 0) + { + + MessContent = "部门经理没有同意你的请假申请"; + } + + } + + + JC_OpenMess mess = new JC_OpenMess(); + + mess.UserId = UserId; + mess.UserType = "p"; + mess.Content = MessContent; + mess.IsRead = 0; + mess.OpenDate = DateTime.Now; + + BaseService.SaveOpenMess(mess); + //if (model.Days>4&&model.DaysUint=="天") + //{ + // JC_OpenMess mess1 = new JC_OpenMess(); + + // mess1.UserId = 1; + // mess1.UserType = "p"; + // mess1.Content = MessContent; + // mess1.IsRead = 0; + // mess1.OpenDate = DateTime.Now; + + // BaseService.SaveOpenMess(mess1); + //} + + + + + return a; + + + } + #endregion + #region 保存加班部门审批 + [WebMethod(EnableSession = true)] + public int SaveWorkAddDeptCheck(OA_WorkAdd model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int a = obj.SaveWorkAddCheck(model); + + + int UserId = 0; + + string MessContent = ""; + if (model.State == 1) + { + + + UserId = model.CompanyUserId.Value; + + MessContent = model.InName + "有一个加班申请需要你审批,请尽快在加班管理里审批"; + } + else if (model.State == 2) + { + UserId = model.InUserId.Value; + if (model.DeptAgree == 1) + { + + MessContent = "部门经理已经批准了你的一个加班" + model.Days + "小时的申请"; + } + else + if (model.DeptAgree == 0) + { + + MessContent = "部门经理没有同意你的一个加班" + model.Days + "小时的申请"; + } + + } + + JC_OpenMess mess = new JC_OpenMess(); + + mess.UserId = UserId; + mess.UserType = "p"; + mess.Content = MessContent; + mess.IsRead = 0; + mess.OpenDate = DateTime.Now; + + BaseService.SaveOpenMess(mess); + + + + + return a; + + + } + #endregion + #region 保存加班公司审批 + [WebMethod(EnableSession = true)] + public int SaveWorkAddCompanyCheck(OA_WorkAdd model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + model.State = 2; + int a = obj.SaveWorkAddCompanyCheck(model); + + + int UserId = 0; + + string MessContent = ""; + UserId = model.InUserId.Value; + if (model.CompanyAgree == 1) + { + + MessContent = "领导批准了你的一个加班申请"; + } + else + if (model.CompanyAgree == 0) + { + + MessContent = "领导没有同意你的一个加班申请"; + } + + + JC_OpenMess mess = new JC_OpenMess(); + + mess.UserId = UserId; + mess.UserType = "p"; + mess.Content = MessContent; + mess.IsRead = 0; + mess.OpenDate = DateTime.Now; + + BaseService.SaveOpenMess(mess); + + + return a; + + + } + #endregion + #region 批量保存请假公司审批 + [WebMethod(EnableSession = true)] + public string SaveLeaveCompanyCheckList(string userlist) + { + var UserName = Session["Name"].ToString(); + int UserId = Convert.ToInt32(Session["UserId"]); + string[] inuser = userlist.Trim(',').Split(','); + string str=""; + var obj = new BaseService(); + for (int i = 0; i < inuser.Length; i++) + { + OA_Leave model = new OA_Leave(); + model.InUserId =Convert.ToInt32( inuser[i]); + model.CompanyUserId = UserId; + model.CompanyAgree = 1; + model.CompanyOption = "" + "准假" + "



签名:" + UserName + "           日期:" + DateTime.Now; + int result = obj.SaveCompanyCheckUser(model); + if (result <= 0) str += "失败:" + inuser[i]; + } + + if (str == "") + return "成功"; + else return str; + } + #endregion + #region 保存请假公司审批 + [WebMethod(EnableSession = true)] + public int SaveLeaveCompanyCheck(OA_Leave model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + model.State = 2; + int a = obj.SaveCompanyCheck(model); + + + int UserId = 0; + + string MessContent = ""; + UserId = model.InUserId.Value; + if (model.CompanyAgree == 1) + { + + MessContent = "领导批准了你的一个请假" + model.Days +model.DaysUint+ "的申请"; + } + else + if (model.CompanyAgree == 0) + { + + MessContent = "领导没有同意你的一个请假" + model.Days + model.DaysUint +"的申请"; + } + + + JC_OpenMess mess = new JC_OpenMess(); + + mess.UserId = UserId; + mess.UserType = "p"; + mess.Content = MessContent; + mess.IsRead = 0; + mess.OpenDate = DateTime.Now; + + BaseService.SaveOpenMess(mess); + + + return a; + + + } + #endregion + #region 保存请假公司审批 + [WebMethod(EnableSession = true)] + public int SaveLeaveCompanyCheck2(OA_Leave model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + // model.State = 2; + if (model.CompanyAgree == 0) + { + model.State = 2; + model.ManageUserId = null; + } + int a = obj.SaveCompanyCheck1(model); + + + int UserId = 0; + + + UserId = model.InUserId.Value; + string MessContent = ""; + if (model.State == 1) + { + + + UserId = model.ManageUserId.Value; + + MessContent = model.InName + "有一个请假" + model.Days + model.DaysUint +"申请需要你审批,请尽快在请假管理里审批"; + } + else if (model.State == 2) + { + UserId = model.InUserId.Value; + if (model.CompanyAgree == 1) + { + + MessContent = "副总已经批准了你的请假申请"; + } + else + if (model.CompanyAgree == 0) + { + + MessContent = "副总没有同意你的请假申请"; + } + + } + + + JC_OpenMess mess = new JC_OpenMess(); + + mess.UserId = UserId; + mess.UserType = "p"; + mess.Content = MessContent; + mess.IsRead = 0; + mess.OpenDate = DateTime.Now; + + BaseService.SaveOpenMess(mess); + + + return a; + + + } + #endregion + #region 保存请假总经理审批 + [WebMethod(EnableSession = true)] + public int SaveLeaveManageCheck(OA_Leave model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + model.State = 2; + + int a = obj.SaveMangeCheck(model); + + + int UserId = 0; + + string MessContent = ""; + UserId = model.InUserId.Value; + if (model.ManageAgree == 1) + { + + MessContent = "总经理批准了你的一个请假" + model.Days +model.DaysUint+ "的申请"; + } + else + if (model.ManageAgree == 0) + { + + MessContent = "总经理没有同意你的一个请假" + model.Days +model.DaysUint+ "的申请"; + } + + + JC_OpenMess mess = new JC_OpenMess(); + + mess.UserId = UserId; + mess.UserType = "p"; + mess.Content = MessContent; + mess.IsRead = 0; + mess.OpenDate = DateTime.Now; + + BaseService.SaveOpenMess(mess); + + + return a; + + + } + #endregion + + #region 分页查询请假列表 + [WebMethod(EnableSession = true)] + + public JsonModel> GetListOA_Leave(int Type, int State, string LeaveType, DateTime? Sdate, DateTime? Edate, string Title, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + + int UserId = Convert.ToInt32(Session["UserId"]); + var obj = new BaseService(); + + RefParameterCollection Param = new RefParameterCollection(); + + + string Sort = "Id desc"; + if (State > -1) + Param.Add("State", "=", State, DbType.Int32); + if (LeaveType!="0") + Param.Add("LeaveType", "=", LeaveType, DbType.Int32); + + if (Title != "") + { + Param.Add("(InName", "like", Title, DbType.String); + Param.Add("Reason", "like", Title, "or", ")", DbType.String); + } + if (Type == 0) + { + + Param.Add("(InUserId", "=", UserId, DbType.Int32); + Param.Add("ManageUserId", "=", UserId, "or", DbType.Int32); + Param.Add("DeptUserId", "=", UserId, "or", DbType.Int32); + Param.Add("CompanyUserId", "=", UserId, "or", ")", DbType.Int32); + + + } + else + if (Type == 1) + { + Param.Add("InUserId", "=", UserId, DbType.Int32); + + + } + else + if (Type == 2) + { + if (UserId == 1) + { + Param.Add("ManageUserId", "=", UserId, DbType.Int32); + } + else + { + Param.Add("(DeptUserId", "=", UserId, "or", DbType.Int32); + Param.Add("CompanyUserId", "=", UserId, "or", ")", DbType.Int32); + } + + } + if (Sdate != null) + Param.Add("SDate", ">=", Sdate, DbType.DateTime); + if (Edate != null) + Param.Add("EDate", "<", Edate.Value.AddDays(1), DbType.DateTime); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + + resultModel.DataSource = obj.GetListOA_Leave(Param, PageIndex, PageSize, Sort, out RowCount); + + resultModel.RowCount = RowCount; + if (resultModel.DataSource != null) + { + foreach (var models in resultModel.DataSource) + { + + if (models.DeptUserId == UserId && models.State == 0) + { + models.DoState = "审批"; + + } + else if (models.CompanyUserId == UserId && models.State < 2) + { + models.DoState = "审批"; + + } + else if (models.ManageUserId == UserId && models.State < 2) + { + models.DoState = "审批"; + + } + else + models.DoState = "查看"; + + } + } + + return resultModel; + + } + #endregion + #region 分页查询加班列表 + [WebMethod(EnableSession = true)] + + public JsonModel> GetListOA_WorkAdd(int Type, int State, DateTime? Sdate, DateTime? Edate, string Title, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + + int UserId = Convert.ToInt32(Session["UserId"]); + var obj = new BaseService(); + + RefParameterCollection Param = new RefParameterCollection(); + + + string Sort = "Id desc"; + if (State > -1) + Param.Add("State", "=", State, DbType.Int32); + + if (Title != "") + { + Param.Add("(InName", "like", Title, DbType.String); + Param.Add("Reason", "like", Title, "or", ")", DbType.String); + } + if (Type == 0) + { + Param.Add("(InUserId", "=", UserId, DbType.Int32); + Param.Add("DeptUserId", "=", UserId, "or", DbType.Int32); + Param.Add("CompanyUserId", "=", UserId, "or", ")", DbType.Int32); + + } + else + if (Type == 1) + { + Param.Add("InUserId", "=", UserId, DbType.Int32); + + + } + else + if (Type == 2) + { + + Param.Add("(DeptUserId", "=", UserId, "or", DbType.Int32); + Param.Add("CompanyUserId", "=", UserId, "or", ")", DbType.Int32); + + } + if (Sdate != null) + Param.Add("SDate", ">=", Sdate, DbType.DateTime); + if (Edate != null) + Param.Add("EDate", "<", Edate.Value.AddDays(1), DbType.DateTime); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + + resultModel.DataSource = obj.GetListOA_WorkAdd(Param, PageIndex, PageSize, Sort, out RowCount); + + resultModel.RowCount = RowCount; + if (resultModel.DataSource != null) + { + foreach (var models in resultModel.DataSource) + { + + if (models.DeptUserId == UserId && models.State == 0) + { + models.DoState = "审批"; + + } + else if (models.CompanyUserId == UserId && models.State < 2) + { + models.DoState = "审批"; + + } + else + models.DoState = "查看"; + + } + } + + return resultModel; + + } + #endregion + #region 查请假负责人 + [WebMethod(EnableSession = true)] + + public List GetLeaveCharge(int UserId) + { + Pages.Login(this.Session); + + var obj = new BaseService(); + + + var list = obj.GetLeaveCharge(UserId); + + return list; + + } + #endregion + #region 查副总经理 + [WebMethod(EnableSession = true)] + + public List GetLeaveMasterCharge() + { + Pages.Login(this.Session); + var obj = new BaseService(); + + var list = obj.GetLeaveMasterCharge(); + + return list; + + } + #endregion + #region 请假统计 + + [WebMethod(EnableSession = true)] + public List GetLeaveCount(DateTime? SDate, DateTime? EDate,string LeaveType,int CheckState) + { + Pages.Login(this.Session); + var obj = new BaseService(); + if (EDate != null) + EDate = EDate.Value.AddDays(1); + var list = obj.GetLeaveCount(SDate, EDate,LeaveType, CheckState); + + return list; + + } + #endregion + #region 请假统计 + + [WebMethod(EnableSession = true)] + public List GetLeaveCountInfo(int UserId, DateTime? SDate, DateTime? EDate, string LeaveType, int CheckState) + { + Pages.Login(this.Session); + var obj = new BaseService(); + if (EDate != null) + EDate = EDate.Value.AddDays(1); + var list = obj.GetLeaveCountInfo(UserId, SDate, EDate,LeaveType, CheckState); + + return list; + + } + #endregion + + #region 未审批请假统计 + + [WebMethod(EnableSession = true)] + public List GetNoLeaveCount(DateTime? SDate, DateTime? EDate, string LeaveType, int CheckState) + { + Pages.Login(this.Session); + int UserId = Convert.ToInt32(Session["UserId"]); + var obj = new BaseService(); + if (EDate != null) + EDate = EDate.Value.AddDays(1); + var list = obj.GetNoLeaveCount(UserId, SDate, EDate, LeaveType, CheckState); + + return list; + + } + #endregion + #region 未审批请假统计 + + [WebMethod(EnableSession = true)] + public List GetNoReLeave(int UserId, DateTime? SDate, DateTime? EDate, string LeaveType, int CheckState) + { + Pages.Login(this.Session); + var obj = new BaseService(); + if (EDate != null) + EDate = EDate.Value.AddDays(1); + var list = obj.GetNoReLeave(UserId, SDate, EDate, LeaveType, CheckState); + + return list; + + } + #endregion + #region 加班统计 + + [WebMethod(EnableSession = true)] + public List GetWorkAddCount(DateTime? SDate, DateTime? EDate, int CheckState) + { + Pages.Login(this.Session); + var obj = new BaseService(); + if (EDate != null) + EDate = EDate.Value.AddDays(1); + var list = obj.GetWorkAddCount(SDate, EDate, CheckState); + + return list; + + } + #endregion + #region 加班统计 + + [WebMethod(EnableSession = true)] + public List GetWorkAddCountInfo(int UserId, DateTime? SDate, DateTime? EDate, int CheckState) + { + Pages.Login(this.Session); + var obj = new BaseService(); + if (EDate != null) + EDate = EDate.Value.AddDays(1); + var list = obj.GetWorkAddCountInfo(UserId, SDate, EDate, CheckState); + + return list; + + } + #endregion + #region 工资单 + + #region 导出工资单模版 + [WebMethod(EnableSession = true)] + public string ExportSalary() + { + Pages.Login(this.Session); + + DataTable dt = new DataTable(); + dt.Columns.Add("姓名", typeof(string)); + dt.Columns.Add("项目1", typeof(string)); + dt.Columns.Add("项目2", typeof(string)); + dt.Columns.Add("项目3", typeof(string)); + dt.Columns.Add("项目4", typeof(string)); + dt.Columns.Add("项目5", typeof(string)); + dt.Columns.Add("合计", typeof(string)); + + DataRow dr = null; + Random r = new Random(); + + for (int i = 0; i < 9; i++) + { + dr = dt.NewRow(); + + dr["姓名"] = "教师00" + (i + 1).ToString(); + dr["项目1"] = Convert.ToDouble(r.Next(0, 100)); + dr["项目2"] = Convert.ToDouble(r.Next(0, 100)); + dr["项目3"] = Convert.ToDouble(r.Next(0, 100)); + dr["项目4"] = Convert.ToDouble(r.Next(0, 100)); + dr["项目5"] = Convert.ToDouble(r.Next(0, 100)); + dr["合计"] = Convert.ToDouble(dr["项目1"]) + Convert.ToDouble(dr["项目2"]) + Convert.ToDouble(dr["项目3"]) + Convert.ToDouble(dr["项目4"]) + Convert.ToDouble(dr["项目5"]); + + dt.Rows.Add(dr); + } + + TableColumnCollection listColumns = new TableColumnCollection(); + listColumns.Add("姓名", "姓名", DbType.String, ""); + listColumns.Add("项目1", "项目1", DbType.String, ""); + listColumns.Add("项目2", "项目2", DbType.String, ""); + listColumns.Add("项目3", "项目3", DbType.String, ""); + listColumns.Add("项目4", "项目4", DbType.String, ""); + listColumns.Add("项目5", "项目5", DbType.String, ""); + listColumns.Add("合计", "合计", DbType.String, ""); + + return new MicrosoftExcel().Export(dt, listColumns); + } + #endregion + + #region 导入某个月工资单 + [WebMethod(EnableSession = true)] + public string ImportSalary(string FileName, int SYear, int SMonth, string SalaryName, int SendSMS, int Hj) + { + Pages.Login(this.Session); + if (string.IsNullOrEmpty(FileName) == true) return "要导入的文件路径不能为空"; + string ServerFileName = AppDomain.CurrentDomain.BaseDirectory + FileName; + if (System.IO.File.Exists(ServerFileName) == false) return "要导入的文件路径不存在"; + + try + { + + MicrosoftExcel excel = new MicrosoftExcel(); + DataTable tb = excel.ImportExcel(ServerFileName); + BaseService obj = new BaseService(); + string error = ""; + if (tb == null || tb.Columns.Count <= 1) + { + error = "导入模板不正确,模板第一行必须为姓名和工资项目,请重新下载模板导入"; + return error; + } + if (tb != null && tb.Rows.Count > 0) + { + if (tb.Columns.Count > 0 && tb.Columns[0].ColumnName.Replace(" ", "").Contains("姓名") == false) + { + error = "导入模板的第一列必须为 姓名 列,请重新下载模板导入"; + return error; + } + + + + DateTime sdate = DateTime.Now; + obj.deleteSalaryName(SalaryName);//删除原先数据 + int tempcount = 0; + for (int j = 0; j < tb.Rows.Count; j++) + { + string UserName = tb.Rows[j][0].ToString().Trim().Replace(" ", ""); + if(tb.Rows[j][0].ToString().Trim().Replace(" ", "").Contains("姓名")&&j!=0) + { + tempcount = j; + continue; + + } + //obj.IsSalaryName(UserName, SalaryName);//删除原先数据 + string name = ""; + + for (int i = 1; i < tb.Columns.Count; i++) + { + if(tb.Rows[j][0].ToString().Trim().Replace(" ", "")=="") + { + continue; + } + GZ_SalaryInfo model = new GZ_SalaryInfo(); + model.InDate = sdate; + model.SYear = SYear; + model.SDate = sdate; + model.SMonth = SMonth; + //if(Hj==0) + //model.UserIndex=1; + //else + model.UserIndex = 0; + //if (i == tb.Columns.Count - 1 && Hj == 1) + // model.UserIndex = 1; + //else + // if (i == tb.Columns.Count - 1 && Hj == 0) + // model.UserIndex = 2; + model.InUserId = Convert.ToInt32(Session["UserId"]); + model.InUserName = Session["Name"].ToString(); + model.ItemIndex = i; + if (tempcount==0) + model.ItemName = tb.Columns[i].ColumnName.Trim().Replace(" ", ""); + else + model.ItemName = tb.Rows[tempcount][i].ToString().Trim().Replace(" ", ""); + + model.SalaryName = SalaryName; + model.UserName = tb.Rows[j][0].ToString().Trim().Replace(" ", ""); + if (name == model.UserName) + { + continue; + } + if (tb.Rows[j][i].ToString().Trim() != "") + { + try + { + model.ItemValue = Convert.ToDecimal(tb.Rows[j][i].ToString().Trim()); + } + catch + { + error += model.UserName + "的【" + model.ItemName + "】值不是数字格式,请确定该项数值是否填写正确
"; + } + } + else + model.ItemValue = 0; + + int id = obj.SaveSalaryInfo(model); + if (id == -1) + { + name = model.UserName; + error += "名字【" + model.UserName + "】的在数据库中不存在,请确定名字是否平台员工名字一致,注意名字中间是否有空格
"; + + } + + + } + + } + if (error == "") + error = "数据导入成功"; + else + error += "其它教师数据均导入成功
"; + + } + + return error; + } + catch (Exception e) + { + return "导入失败;" + e.Message.ToString() + "请确定导入模块是否正确,或者重新下载模块导入"; + } + } + #endregion + + + #region 查询单个用户 + [WebMethod(EnableSession = true)] + public string GZ_GetOneUser(int SYear, int SMonth, string PassWord) + { + Pages.Login(this.Session); + var obj = new BaseService(); + int UserId = Convert.ToInt32(Session["UserId"]); + + int checkdata = obj.IsUser(UserId, PassWord); + if (checkdata <=0) + { + return "密码不正确!"; + } + + string html = ""; + + if (SMonth > 0) + { + var list = obj.GetMySalaryInfoList(SYear, SMonth, UserId); + if (list != null && list.Count>0) + { + + html += ""; + string tr1 = ""; + string tr2 = ""; + foreach (var md in list) + { + tr1 += ""; + if (md.ItemName == "总计") + { + string total = list.Where(o => o.UserId == md.UserId && o.ItemName != "总计" && o.ItemIndex < 13 && o.ItemName != "社保公司缴纳").Sum(o => o.ItemValue).ToString(); + tr2 += ""; + } + else + tr2 += ""; + + } + tr1 += ""; + tr2 += ""; + html+=tr1+tr2+"
" + list[0].SalaryName + "
" + md.ItemName + "" + total + "" + md.ItemValue + "
"; + } + } + else + { + var ylist = obj.GetAllSalaryYear(UserId,SYear); + if (ylist != null) + { + foreach(var ymd in ylist) + { + var list = obj.GetMySalaryInfoList(ymd.SYear.Value, ymd.SMonth.Value, UserId); + if (list != null&& list.Count>0) + { + html += ""; + string tr1 = ""; + string tr2 = ""; + foreach (var md in list) + { + tr1 += ""; + if (md.ItemName == "总计") + { + string total = list.Where(o => o.UserId == md.UserId && o.ItemName != "总计" && o.ItemIndex < 13 && o.ItemName != "社保公司缴纳").Sum(o => o.ItemValue).ToString(); + tr2 += ""; + } + else + tr2 += ""; + + } + tr1 += ""; + tr2 += ""; + html += tr1 + tr2 + "
" + list[0].SalaryName + "
" + md.ItemName + "" + total + "" + md.ItemValue + "
"; + } + + } + + } + + } + return html; + + + } + #endregion + #region 查询 + [WebMethod(EnableSession = true)] + public string GZ_GetAllUser(int SYear, int SMonth) + { + Pages.Login(this.Session); + + + string shtml = ""; + var obj = new BaseService(); + if (SMonth > 0) + { + var list = obj.GetAllSalaryInfoList(SYear, SMonth); + int userid = 0; + if (list != null && list.Count > 0) + { + + string tr1 = ""; + string tr2 = ""; + foreach (var md in list) + { + if (userid != md.UserId) + { + if (userid > 0) + { + tr1 += ""; + tr2 += ""; + shtml += tr1 + tr2 + ""; + } + shtml += ""; + tr1 = ""; + tr2 = ""; + } + tr1 += ""; + if (md.ItemName=="总计") + { + string total = list.Where(o => o.UserId == md.UserId && o.ItemName != "总计" && o.ItemIndex < 13 && o.ItemName != "社保公司缴纳").Sum(o => o.ItemValue).ToString(); + tr2 += ""; + } + else + tr2 += ""; + + + userid = md.UserId.Value; + } + tr1 += ""; + tr2 += ""; + shtml += tr1 + tr2 + "
" +md.UserName + "
" + md.ItemName + "" + total + "" + md.ItemValue + "
"; + } + } + + + return shtml; + + + } + #endregion + + #region 查询我的工资 + + [WebMethod(EnableSession = true)] + public List GetAllSalaryInfoList(int SYear, int SMonth, int EYear, int EMonth) + { + var obj = new BaseService(); + + var list = obj.GetAllSalaryInfoList(SYear, SMonth, EYear, EMonth); + + return list; + + } + #endregion + + #region 导出我的工资 + + [WebMethod(EnableSession = true)] + public string ExcelDataST(int SYear, int SMonth, int EYear, int EMonth) + { + var obj = new BaseService(); + int UserId = Convert.ToInt32(Session["UserId"]); + + var list = obj.ExcelDataST(UserId, SYear, SMonth, EYear, EMonth); + List param = new List(); + + for (int i = 0; i < list.Count; i++) + { + GZ_Excel model = new GZ_Excel(); + + model.SalaryName = list[i].SalaryName; + model.Gwgz = list[i].ItemValue; + model.Xjgz = list[++i].ItemValue; + model.Jh = list[++i].ItemValue; + model.Jhljt = list[++i].ItemValue; + model.Sbbt = list[++i].ItemValue; + model.Gfbzrt = list[++i].ItemValue; + model.Shbt = list[++i].ItemValue; + model.Gwjt = list[++i].ItemValue; + model.Jglbt = list[++i].ItemValue; + model.Txfbt = list[++i].ItemValue; + model.Yfhj = list[++i].ItemValue; + model.Dkkhj = list[++i].ItemValue; + model.Kgjj = list[++i].ItemValue; + model.Kylj = list[++i].ItemValue; + model.Ksbj = list[++i].ItemValue; + model.Kybj = list[++i].ItemValue; + model.Sdshj = list[++i].ItemValue; + model.Sfhj = list[++i].ItemValue; + + param.Add(model); + + } + + TableColumnCollection listColumns = new TableColumnCollection(); + listColumns.Add("SalaryName", "工资单标题", DbType.String, ""); + listColumns.Add("Gwgz", "薪级工资", DbType.Decimal, ""); + listColumns.Add("Xjgz", "岗位工资", DbType.Decimal, ""); + listColumns.Add("Jh", "教护10%", DbType.Decimal, ""); + listColumns.Add("Jhljt", "教护龄津贴", DbType.Decimal, ""); + listColumns.Add("Sbbt", "社保补贴", DbType.Decimal, ""); + listColumns.Add("Gfbzrt", "国发班主任贴", DbType.Decimal, ""); + listColumns.Add("Shbt", "生活补贴", DbType.Decimal, ""); + listColumns.Add("Gwjt", "岗位津贴", DbType.Decimal, ""); + listColumns.Add("Jglbt", "教工龄补贴", DbType.Decimal, ""); + listColumns.Add("Txfbt", "通讯费补贴", DbType.Decimal, ""); + listColumns.Add("Yfhj", "应发合计", DbType.Decimal, ""); + listColumns.Add("Dkkhj", "代扣款合计", DbType.Decimal, ""); + listColumns.Add("Kgjj", "扣公积金", DbType.Decimal, ""); + listColumns.Add("Kylj", "扣养老金", DbType.Decimal, ""); + listColumns.Add("Ksbj", "扣失保金", DbType.Decimal, ""); + listColumns.Add("Kybj", "扣医保金", DbType.Decimal, ""); + listColumns.Add("Sdshj", "所得税合计", DbType.Decimal, ""); + listColumns.Add("Sfhj", "实发合计", DbType.Decimal, ""); + + + MicrosoftExcel obj2 = new MicrosoftExcel(); + return obj2.Export(param, listColumns); + + + + + + } + #endregion + + + + #region 查询我的工资 + + [WebMethod(EnableSession = true)] + public List GetUserSalaryInfoList(string salaryname) + { + var obj = new BaseService(); + + var list = obj.GetUserSalaryInfoList(salaryname); + decimal TotalValue = 0; + if (list != null && list.Count > 0) + { + foreach (var model in list) + { + if (model.ItemValue <= 0) + { + model.TotalGZ = "不计入总计"; + + } + else + model.TotalGZ = model.ItemValue.Value.ToString(); + if (model.ItemValue != null) + TotalValue += model.ItemValue.Value; + + } + list[0].TotalValue = TotalValue; + } + return list; + + } + #endregion + + #region 导出一期工资单 + [WebMethod(EnableSession = true)] + public string ExcelSalary(string salaryname) + { + var obj = new BaseService(); + List list = obj.ExcelSalary(salaryname); + + List param = new List(); + + for (int i = 0; i < list.Count; i++) + { + GZ_Excel model = new GZ_Excel(); + + model.UserName = list[i].UserName; + model.Gwgz = list[i].ItemValue; + model.Xjgz = list[++i].ItemValue; + model.Jh = list[++i].ItemValue; + model.Jhljt = list[++i].ItemValue; + model.Sbbt = list[++i].ItemValue; + model.Gfbzrt = list[++i].ItemValue; + model.Shbt = list[++i].ItemValue; + model.Gwjt = list[++i].ItemValue; + model.Jglbt = list[++i].ItemValue; + model.Txfbt = list[++i].ItemValue; + model.Yfhj = list[++i].ItemValue; + model.Dkkhj = list[++i].ItemValue; + model.Kgjj = list[++i].ItemValue; + model.Kylj = list[++i].ItemValue; + model.Ksbj = list[++i].ItemValue; + model.Kybj = list[++i].ItemValue; + model.Sdshj = list[++i].ItemValue; + model.Sfhj = list[++i].ItemValue; + + param.Add(model); + + } + + TableColumnCollection listColumns = new TableColumnCollection(); + listColumns.Add("UserName", "姓名", DbType.String, ""); + listColumns.Add("Gwgz", "薪级工资", DbType.Decimal, ""); + listColumns.Add("Xjgz", "岗位工资", DbType.Decimal, ""); + listColumns.Add("Jh", "教护10%", DbType.Decimal, ""); + listColumns.Add("Jhljt", "教护龄津贴", DbType.Decimal, ""); + listColumns.Add("Sbbt", "社保补贴", DbType.Decimal, ""); + listColumns.Add("Gfbzrt", "国发班主任贴", DbType.Decimal, ""); + listColumns.Add("Shbt", "生活补贴", DbType.Decimal, ""); + listColumns.Add("Gwjt", "岗位津贴", DbType.Decimal, ""); + listColumns.Add("Jglbt", "教工龄补贴", DbType.Decimal, ""); + listColumns.Add("Txfbt", "通讯费补贴", DbType.Decimal, ""); + listColumns.Add("Yfhj", "应发合计", DbType.Decimal, ""); + listColumns.Add("Dkkhj", "代扣款合计", DbType.Decimal, ""); + listColumns.Add("Kgjj", "扣公积金", DbType.Decimal, ""); + listColumns.Add("Kylj", "扣养老金", DbType.Decimal, ""); + listColumns.Add("Ksbj", "扣失保金", DbType.Decimal, ""); + listColumns.Add("Kybj", "扣医保金", DbType.Decimal, ""); + listColumns.Add("Sdshj", "所得税合计", DbType.Decimal, ""); + listColumns.Add("Sfhj", "实发合计", DbType.Decimal, ""); + + + MicrosoftExcel obj2 = new MicrosoftExcel(); + return obj2.Export(param, listColumns); + + + + + + + } + + #endregion + + + #region 查询我的工资 + + [WebMethod(EnableSession = true)] + public List GetMySalaryInfoList(int SYear, int SMonth, int EYear, int EMonth) + { + var obj = new BaseService(); + int UserId = Convert.ToInt32(Session["UserId"]); + var list = obj.GetMySalaryInfoList(UserId, SYear, SMonth, EYear, EMonth); + + decimal TotalValue = 0; + + if (list != null && list.Count > 0) + { + foreach (var model in list) + { + if (model.ItemValue <= 0) + { + model.TotalGZ = "不计入总计"; + + } + else + model.TotalGZ = model.ItemValue.Value.ToString(); + if (model.ItemValue != null) + TotalValue += model.ItemValue.Value; + + } + list[0].TotalValue = TotalValue; + } + + return list; + + } + #endregion + #region 查询我的工资 + + [WebMethod(EnableSession = true)] + public string GetSalaryModel(string SalaryName) + { + var obj = new BaseService(); + int UserId = Convert.ToInt32(Session["UserId"]); + var list = obj.GetSalaryModel(UserId, SalaryName); + string html = ""; + if (list != null && list.Count > 0) + { + for (int i = 0; i < list.Count; i++) + { + if ((i + 1) == list.Count && (i + 1) % 2 == 1) + { + html += "" + list[i].ItemName + ":" + list[i].ItemValue.Value.ToString() + ""; + + } + else + if ((i + 1) % 2 == 1) + { + html += "" + list[i].ItemName + ":" + list[i].ItemValue.Value.ToString() + ""; + + + } + else if ((i + 1) % 2 == 0) + { + html += "" + list[i].ItemName + ":" + list[i].ItemValue.Value.ToString() + ""; + } + + + } + + } + + return html; + + } + #endregion + #region 查询我的工资 + + [WebMethod(EnableSession = true)] + public string GetUserSalaryModel(int UserId, string SalaryName) + { + var obj = new BaseService(); + + var list = obj.GetSalaryModel(UserId, SalaryName); + string html = ""; + if (list != null && list.Count > 0) + { + html = "" + list[0].UserName + "【" + list[0].SalaryName + "】"; + for (int i = 0; i < list.Count; i++) + { + if ((i + 1) == list.Count && (i + 1) % 2 == 1) + { + html += "" + list[i].ItemName + ":" + list[i].ItemValue.Value.ToString() + ""; + + } + else + if ((i + 1) % 2 == 1) + { + html += "" + list[i].ItemName + ":" + list[i].ItemValue.Value.ToString() + ""; + + + } + else if ((i + 1) % 2 == 0) + { + html += "" + list[i].ItemName + ":" + list[i].ItemValue.Value.ToString() + ""; + } + + + } + + } + + return html; + + } + #endregion + #region 删除工资 + + [WebMethod(EnableSession = true)] + public void deleteSalaryName(string SalaryName) + { + var obj = new BaseService(); + + obj.deleteSalaryName(SalaryName); + + + + } + #endregion + + #endregion 工资单 + + #region 预约情况 + + [WebMethod(EnableSession = true)] + public List GetMeetList(int RoomId) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + var list = obj.GetRoomList(RoomId); + + return list; + + } + #endregion + + #region 保存会议室预约 + [WebMethod(EnableSession = true)] + public int SaveRoom(FR_OrderRecord model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + int UserId = Convert.ToInt32(Session["UserId"]); + model.InTime = DateTime.Now; + model.UserId = UserId; + + int a = obj.SaveOrderRecord(model); + + + return a; + + + } + #endregion + + #region 删除预约 + [WebMethod(EnableSession = true)] + public void DeleteRoom(int ID) + { + Pages.Login(this.Session); + + + var obj = new BaseService(); + obj.DeleteOrder(ID); + + + } + #endregion + } +} diff --git a/TradeManageNew/SysManage/OnlineTemp.aspx b/TradeManageNew/SysManage/OnlineTemp.aspx new file mode 100644 index 0000000..12ac3ec --- /dev/null +++ b/TradeManageNew/SysManage/OnlineTemp.aspx @@ -0,0 +1,341 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OnlineTemp.aspx.cs" Inherits="TradeManage.SysManage.OnlineTemp" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 速卖通线上发货填单模板 +
+ + + + + + + + +
+ +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
模板名称: +
*发货省(拼音) + *发货城市(拼音) +
*发货街道地址(拼音) + *邮编 +
*发货人(拼音) + *发货人手机 +
是否含铝电池 + *重量克 +
货物海关编码 + *报关价美元 +
+ +
+
+
+ + + diff --git a/TradeManageNew/SysManage/OnlineTemp.aspx.cs b/TradeManageNew/SysManage/OnlineTemp.aspx.cs new file mode 100644 index 0000000..a17ff2e --- /dev/null +++ b/TradeManageNew/SysManage/OnlineTemp.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class OnlineTemp : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/OnlineTemp.aspx.designer.cs b/TradeManageNew/SysManage/OnlineTemp.aspx.designer.cs new file mode 100644 index 0000000..e9a3efe --- /dev/null +++ b/TradeManageNew/SysManage/OnlineTemp.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class OnlineTemp { + } +} diff --git a/TradeManageNew/SysManage/PostAddress.aspx b/TradeManageNew/SysManage/PostAddress.aspx new file mode 100644 index 0000000..84a3522 --- /dev/null +++ b/TradeManageNew/SysManage/PostAddress.aspx @@ -0,0 +1,329 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostAddress.aspx.cs" Inherits="TradeManage.SysManage.PostAddress" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 发货地址 +
+ + + + + + + + + + +
中文名/简称/全称: + + + + + +
+ +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*地址(中文): + + +
*地址(英文): + + +
*发货人(中文): + + + *发货人(英文): + + +
*电话: + + + *邮编: + + +
省/市/区: + + 区 +
省/市/区(代码: + + 区 +
+    +
+
+
+ + diff --git a/TradeManageNew/SysManage/PostAddress.aspx.cs b/TradeManageNew/SysManage/PostAddress.aspx.cs new file mode 100644 index 0000000..0efbd90 --- /dev/null +++ b/TradeManageNew/SysManage/PostAddress.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class PostAddress : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/PostAddress.aspx.designer.cs b/TradeManageNew/SysManage/PostAddress.aspx.designer.cs new file mode 100644 index 0000000..3231ce5 --- /dev/null +++ b/TradeManageNew/SysManage/PostAddress.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class PostAddress { + } +} diff --git a/TradeManageNew/SysManage/PostFeeDetail.aspx b/TradeManageNew/SysManage/PostFeeDetail.aspx new file mode 100644 index 0000000..04ce4ca --- /dev/null +++ b/TradeManageNew/SysManage/PostFeeDetail.aspx @@ -0,0 +1,666 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostFeeDetail.aspx.cs" Inherits="TradeManage.SysManage.PostFeeDetail" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 快递费率 +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
物流渠道 + + + + 折扣 + +
费用说明: + + +
+   运费导入格式下载 +
+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
国家 + 注:不限国家就填不限 +<%-- --%> +
初始重量(克) + + +
结束重量(克) + + + +
费率(元/克) + + + + +
计费方式 + + +
固定费用(元) + + + + +
挂号费用(元) + + + + +
分区1: + + + +
分区2: + + + +
货币单位: + + +
+ +
+
+
+ + + diff --git a/TradeManageNew/SysManage/PostFeeDetail.aspx.cs b/TradeManageNew/SysManage/PostFeeDetail.aspx.cs new file mode 100644 index 0000000..2d55b3e --- /dev/null +++ b/TradeManageNew/SysManage/PostFeeDetail.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class PostFeeDetail : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/PostFeeDetail.aspx.designer.cs b/TradeManageNew/SysManage/PostFeeDetail.aspx.designer.cs new file mode 100644 index 0000000..69a2e51 --- /dev/null +++ b/TradeManageNew/SysManage/PostFeeDetail.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class PostFeeDetail { + } +} diff --git a/TradeManageNew/SysManage/PostFeeList.aspx b/TradeManageNew/SysManage/PostFeeList.aspx new file mode 100644 index 0000000..120306b --- /dev/null +++ b/TradeManageNew/SysManage/PostFeeList.aspx @@ -0,0 +1,154 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostFeeList.aspx.cs" Inherits="TradeManage.SysManage.PostFeeList" %> + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 快递费率 +
+ + + + + + + + + + + + + + +
物流渠道 + + + + +
+
+
+ + + diff --git a/TradeManageNew/SysManage/PostFeeList.aspx.cs b/TradeManageNew/SysManage/PostFeeList.aspx.cs new file mode 100644 index 0000000..88f6009 --- /dev/null +++ b/TradeManageNew/SysManage/PostFeeList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class PostFeeList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/PostFeeList.aspx.designer.cs b/TradeManageNew/SysManage/PostFeeList.aspx.designer.cs new file mode 100644 index 0000000..65ba101 --- /dev/null +++ b/TradeManageNew/SysManage/PostFeeList.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class PostFeeList { + } +} diff --git a/TradeManageNew/SysManage/PostInfoTemp.aspx b/TradeManageNew/SysManage/PostInfoTemp.aspx new file mode 100644 index 0000000..69d8e85 --- /dev/null +++ b/TradeManageNew/SysManage/PostInfoTemp.aspx @@ -0,0 +1,579 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostInfoTemp.aspx.cs" Inherits="TradeManage.SysManage.PostInfoTemp" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 邮局导出数据模板 +
+ + + + + + + + +
+ +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
物流渠道: + + +
excel标签页: + +
excel导出列名: + + 选择数据列: + +
+
+ + +
+
+
+ + + + diff --git a/TradeManageNew/SysManage/PostInfoTemp.aspx.cs b/TradeManageNew/SysManage/PostInfoTemp.aspx.cs new file mode 100644 index 0000000..8710220 --- /dev/null +++ b/TradeManageNew/SysManage/PostInfoTemp.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class PostInfoTemp : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/PostInfoTemp.aspx.designer.cs b/TradeManageNew/SysManage/PostInfoTemp.aspx.designer.cs new file mode 100644 index 0000000..1455c54 --- /dev/null +++ b/TradeManageNew/SysManage/PostInfoTemp.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class PostInfoTemp { + } +} diff --git a/TradeManageNew/SysManage/PrintDome.aspx b/TradeManageNew/SysManage/PrintDome.aspx new file mode 100644 index 0000000..4a05e2f --- /dev/null +++ b/TradeManageNew/SysManage/PrintDome.aspx @@ -0,0 +1,209 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintDome.aspx.cs" Inherits="TradeManage.SysManage.PrintDome" %> + + + + + + + + + + + + + + + + + + +
+
+ + 1 + FORM:发件人 + 发件人地址 + 发件人电话 + + SHIP TO:收件人 + 收件人地址 + 收件人电话 + 0.5 + 0.5 + 0.5 + + + + + + + + + + + + + + + + + +
15New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-100.2010.00China
15New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-100.2010.00China
+
+
+ + diff --git a/TradeManageNew/SysManage/PrintDome.aspx.cs b/TradeManageNew/SysManage/PrintDome.aspx.cs new file mode 100644 index 0000000..b0d2588 --- /dev/null +++ b/TradeManageNew/SysManage/PrintDome.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class PrintDome : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/PrintDome.aspx.designer.cs b/TradeManageNew/SysManage/PrintDome.aspx.designer.cs new file mode 100644 index 0000000..a713802 --- /dev/null +++ b/TradeManageNew/SysManage/PrintDome.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class PrintDome { + } +} diff --git a/TradeManageNew/SysManage/RoleInfoList.aspx b/TradeManageNew/SysManage/RoleInfoList.aspx new file mode 100644 index 0000000..6e2c1ae --- /dev/null +++ b/TradeManageNew/SysManage/RoleInfoList.aspx @@ -0,0 +1,338 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RoleInfoList.aspx.cs" Inherits="TradeManage.SysManage.RoleInfoList" %> + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 角色信息 +
+ + + + + + + + +
+
+
+ + + +
+
+ +
+ +
+
+ + + + + + +
机构 + +
+
+ +
+
+
+
+
+
+ + + + diff --git a/TradeManageNew/SysManage/RoleInfoList.aspx.cs b/TradeManageNew/SysManage/RoleInfoList.aspx.cs new file mode 100644 index 0000000..8d6cf1c --- /dev/null +++ b/TradeManageNew/SysManage/RoleInfoList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class RoleInfoList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/RoleInfoList.aspx.designer.cs b/TradeManageNew/SysManage/RoleInfoList.aspx.designer.cs new file mode 100644 index 0000000..865d52a --- /dev/null +++ b/TradeManageNew/SysManage/RoleInfoList.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class RoleInfoList { + } +} diff --git a/TradeManageNew/SysManage/Room.aspx b/TradeManageNew/SysManage/Room.aspx new file mode 100644 index 0000000..d4fa040 --- /dev/null +++ b/TradeManageNew/SysManage/Room.aspx @@ -0,0 +1,333 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Room.aspx.cs" Inherits="TradeManage.SysManage.Room" %> + + + + + 会议室预约 + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + +
*预约时间段: + + - +
*使用说明: + + +
+ +
+
+
+
+ 会议室预约 +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + +
会议室:会议室(1)
地点:二楼
备注:使用前必须预约
预定情况: 添加预约
+
+
+
+ + diff --git a/TradeManageNew/SysManage/Room.aspx.cs b/TradeManageNew/SysManage/Room.aspx.cs new file mode 100644 index 0000000..03a0ce7 --- /dev/null +++ b/TradeManageNew/SysManage/Room.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class Room : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/Room.aspx.designer.cs b/TradeManageNew/SysManage/Room.aspx.designer.cs new file mode 100644 index 0000000..d2438fd --- /dev/null +++ b/TradeManageNew/SysManage/Room.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class Room { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/ShopAdd.aspx b/TradeManageNew/SysManage/ShopAdd.aspx new file mode 100644 index 0000000..5fcbfdb --- /dev/null +++ b/TradeManageNew/SysManage/ShopAdd.aspx @@ -0,0 +1,1005 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopAdd.aspx.cs" Inherits="TradeManage.SysManage.ShopAdd" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
客户单位 + 平台   +  
+ + + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
速卖通API申请操作说明帮助 +
*平台 + + 速卖通 +
*店铺名称 + + +
*Appkey(开发者key) + + +
*AppSecret(开发者密钥) + + + +
*Code(即临时令牌) + + + +
+ 说明:点击右边授权按钮以获取Code(即临时令牌),把生成的Code复制到文本框 +
*refreshToken(长时令牌) + + + + +
+ 说明:填写好Code(即临时令牌)后点击获取refreshToken按钮获取refreshToken(长时令牌) +
API每天最大请求次数 +
*是否每天自动读取API订单 + +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
亚马逊API申请操作说明帮助 +
*平台 + + 亚马逊 +
*店铺名称 + + +
*开发者AccessKeyId + + +
*开发者SecretAccessKey + + +
*API请求国家 + +
*卖家ID(MerchantId) + + + +
*卖家店铺ID(MarketplaceId) + + +
*是否使用FBA(海外仓) + +
*是否每天自动读取API订单 + +
*订单最迟发货天数 + 天 +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Ebay API申请操作说明帮助 +
*平台 + + EBay +
*店铺名称 + + +
*开发者Appkey + + +
*开发者DeveKey + + +
*开发者CertKey + + +
*卖家令牌(Token) + + + + +
*是否每天自动读取API订单 + +
*订单最迟发货天数 + 天 +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Wish API申请操作说明帮助 +
*平台 + + Wish +
*店铺名称 + + +
*令牌(ApiKey) + + + + +
*是否每天自动读取API订单 + +
*订单最迟发货天数 + 天 +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*平台 + + +
*店铺名称 + + +
*订单最迟发货天数 + 天 +
+ +
+
+
+ + + + + + + + +
+ +
+ + +
+ +
+ +
+
+ + + + + + + + + + + + + + + +
使用备注说明 +
+ 1.使用本平台首先要设置电商的店铺,还没设置过店铺的请先在这边添加各个平台的店铺信息
+ 2.因为店铺的订单要使用电商API接口,请如实填写你们在电商申请的api的授权码和令牌等等信息
+ 3.如果你要了解试用平台功能,可以点击导入 模拟数据 按钮,模拟使用,注意正式使用前请点击清空平台数据
+ 3.如有不会操作可以在个人桌面页面 下载 使用说明书,也可以加蜜糖ERP QQ群 153367543 咨询 +
+
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + +
+ 注:打算正式使用时可以清空数据
清空数据必须登陆管理员账号密码
清空后数据将不能恢复请谨慎使用
+ +
+
管理员账号: 管理员密码: +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*客户单位 + + +
*平台 + + +
*店铺名称 + + +
+ +
+
+
+ + + + + diff --git a/TradeManageNew/SysManage/ShopAdd.aspx.cs b/TradeManageNew/SysManage/ShopAdd.aspx.cs new file mode 100644 index 0000000..58dd1cc --- /dev/null +++ b/TradeManageNew/SysManage/ShopAdd.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ShopAdd : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ShopAdd.aspx.designer.cs b/TradeManageNew/SysManage/ShopAdd.aspx.designer.cs new file mode 100644 index 0000000..dcfcdd0 --- /dev/null +++ b/TradeManageNew/SysManage/ShopAdd.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ShopAdd { + } +} diff --git a/TradeManageNew/SysManage/ShopAdd2.aspx b/TradeManageNew/SysManage/ShopAdd2.aspx new file mode 100644 index 0000000..ff9556f --- /dev/null +++ b/TradeManageNew/SysManage/ShopAdd2.aspx @@ -0,0 +1,2144 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopAdd2.aspx.cs" Inherits="TradeManage.SysManage.ShopAdd2" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
平台 部门 店铺名 +
负责人 + 采购人 + 店铺成员 +  
+ + + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
速卖通API申请操作说明帮助 +
*平台 + + 速卖通 +
*店铺名称 + + +
*Appkey(开发者key) + + +
*AppSecret(开发者密钥) + + + +
*Code(即临时令牌) + + + +
+ 说明:点击右边授权按钮以获取Code(即临时令牌),把生成的Code复制到文本框 +
*refreshToken(长时令牌) + + + + +
+ 说明:填写好Code(即临时令牌)后点击获取refreshToken按钮获取refreshToken(长时令牌) +
API每天最大请求次数 +
*是否每天自动读取API订单 + +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
亚马逊API申请操作说明帮助 +
*平台 + + 亚马逊 +
*店铺名称 + + +
*开发者AccessKeyId + + +
*开发者SecretAccessKey + + +
*API请求国家 + +
*卖家ID(MerchantId) + + + +
*卖家店铺ID(MarketplaceId) + + +
*是否使用FBA(海外仓) + +
*是否每天自动读取API订单 + +
*订单最迟发货天数 + 天 +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Ebay API申请操作说明帮助 +
*平台 + + EBay +
*店铺名称 + + +
*开发者Appkey + + +
*开发者DeveKey + + +
*开发者CertKey + + +
*卖家令牌(Token) + + + + +
*是否每天自动读取API订单 + +
*订单最迟发货天数 + 天 +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Wish API申请操作说明帮助 +
*平台 + + Wish +
*店铺名称 + + +
*client_id: + + +
*client_secret: + + +
*redirect_uri: + + +
*code: + + + + +
*AccessToken: + + + + +
*是否每天自动读取API订单 + +
*订单最迟发货天数 + 天 +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*平台 + + +
*店铺名称 + + +
*订单最迟发货天数 + 天 +
+ +
+
+
+ + + + + + + + +
+ +
+ + +
+ +
+ +
+
+ + + + + + + + + + + + + + + +
使用备注说明 +
+ 1.使用本平台首先要设置电商的店铺,还没设置过店铺的请先在这边添加各个平台的店铺信息
+ 2.因为店铺的订单要使用电商API接口,请如实填写你们在电商申请的api的授权码和令牌等等信息
+ 3.如果你要了解试用平台功能,可以点击导入 模拟数据 按钮,模拟使用,注意正式使用前请点击清空平台数据
+ 3.如有不会操作可以在个人桌面页面 下载 使用说明书,也可以加蜜糖ERP QQ群 153367543 咨询 +
+
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + +
+ 注:打算正式使用时可以清空数据
清空数据必须登陆管理员账号密码
清空后数据将不能恢复请谨慎使用
+ +
+
管理员账号: 管理员密码: +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*平台 + + +
*所属部门 + + +
*店铺名称 + + +
负责人 + + +
采购人 + + + +
店铺成员 + +
+ 多个人请用空格隔开 + +
+ +
+
+
+ + + + + + diff --git a/TradeManageNew/SysManage/ShopAdd2.aspx.cs b/TradeManageNew/SysManage/ShopAdd2.aspx.cs new file mode 100644 index 0000000..ff00e27 --- /dev/null +++ b/TradeManageNew/SysManage/ShopAdd2.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ShopAdd2 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ShopAdd2.aspx.designer.cs b/TradeManageNew/SysManage/ShopAdd2.aspx.designer.cs new file mode 100644 index 0000000..31832d0 --- /dev/null +++ b/TradeManageNew/SysManage/ShopAdd2.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ShopAdd2 { + } +} diff --git a/TradeManageNew/SysManage/ShopData.aspx b/TradeManageNew/SysManage/ShopData.aspx new file mode 100644 index 0000000..f86f492 --- /dev/null +++ b/TradeManageNew/SysManage/ShopData.aspx @@ -0,0 +1,711 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopData.aspx.cs" Inherits="TradeManage.SysManage.ShopData" %> + + + + + + 店铺数据 + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ *店铺: + + + + + *数据日期: + + + +
+ 今日订单数: + + +
+ 好评率: + + % + + + 店铺评分: + + + +
+ 访客量: + + + + + 转化率: + + + +
+ 订单缺陷率: + + % + + + 有效跟踪码率: + + % + +
+ 日广告投入: + + + + + 月广告投入: + + + +
+ 投入产出比: + + + + + 迟发率/延迟发货率: + + % +
+ 退款率: + + % + + + 取消率: + + % + +
+ 退款金额 + + + + 日费 + + +
+ * 速卖通美元账户可用: + + + + + *速卖通美元账户冻结: + + + +
+ *速卖通人民币账户可用: + + + + + * 速卖通人民币账户冻结: + + + +
上次提现日期: + 提现金额 + + $ + +
+      +
+
+ +
+
+ 店铺数据 +
+ + + + + + + + + + + + + + + + + + + + + + + +
店铺: + 日期: + - +
+ + +
+
+ +
+ + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/ShopData.aspx.cs b/TradeManageNew/SysManage/ShopData.aspx.cs new file mode 100644 index 0000000..54d3d2c --- /dev/null +++ b/TradeManageNew/SysManage/ShopData.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ShopData : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ShopData.aspx.designer.cs b/TradeManageNew/SysManage/ShopData.aspx.designer.cs new file mode 100644 index 0000000..edebaa7 --- /dev/null +++ b/TradeManageNew/SysManage/ShopData.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ShopData { + } +} diff --git a/TradeManageNew/SysManage/ShopDesc1.aspx b/TradeManageNew/SysManage/ShopDesc1.aspx new file mode 100644 index 0000000..50f2e0b --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc1.aspx @@ -0,0 +1,158 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopDesc1.aspx.cs" Inherits="TradeManage.SysManage.ShopDesc1" %> + + + + + + 采购单 + + + + + + +
+ 操作说明
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 速卖通店铺授权步骤说明
+   + + 软件属于试用阶段,速卖通绑定API需要自行申请开发者账号绑定
+ 每个自用的开发者账号只能绑定一个店铺
+ 第一步: + + + 先登陆要绑定的速卖通店铺
+ 再访问这个 http://isvhz.aliexpress.com/isv/app_registry.htm地址申请开发者账号
+   + +
+   + + 注意下图的几项填写
+   + +
+   + + 申请审批成功后出现下图
+   + +
+ 第二步: + + 新增速卖通店铺的时候把 这个值填入该文本框中
+   + + 新增速卖通店铺的时候把 这个值填入该文本框中
+ 第三步: + + 然后点击 按钮,出现这个图的数字
+   + + 把这串数字复制到下面文本框中
+ 第四步: + + 再点击按钮 +
+   + + 右图文本框会出来一串数字,然后点保存即可
+ + + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/ShopDesc1.aspx.cs b/TradeManageNew/SysManage/ShopDesc1.aspx.cs new file mode 100644 index 0000000..8639b34 --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc1.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ShopDesc1 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ShopDesc1.aspx.designer.cs b/TradeManageNew/SysManage/ShopDesc1.aspx.designer.cs new file mode 100644 index 0000000..d3d0239 --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc1.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ShopDesc1 { + } +} diff --git a/TradeManageNew/SysManage/ShopDesc2.aspx b/TradeManageNew/SysManage/ShopDesc2.aspx new file mode 100644 index 0000000..0307714 --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc2.aspx @@ -0,0 +1,175 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopDesc2.aspx.cs" Inherits="TradeManage.SysManage.ShopDesc2" %> + + + + + + + 采购单 + + + + + + +
+ 操作说明
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 亚马逊店铺授权步骤说明
+ 第一步: + + + 先访问这个 https://sellercentral.amazon.com/gp/mws/index.html点击’Sign up for MWS‘按钮。
+   + +
+   + + 各国站点:
+CN:https://developer.amazonservices.com.cn +
+ US:https://developer.amazonservices.com +
+ UK:https://developer.amazonservices.co.uk +
+ FR:https://developer.amazonservices.fr
+CA:https://developer.amazonservices.ca +
+ DE:https://developer.amazonservices.de
+ES:https://developer.amazonservices.es +
+ IN:https://developer.amazonservices.in +
+ IT:https://developer.amazonservices.it +
+ JP:https://developer.amazonservices.jp
+ 第二步: + + 输入Amazon账户邮箱以密码点击登录。(若之前登录过此步会自动跳过)
+   + +
+ 第三步: +选择’I want to access my own Amazon seller account with MWS.‘点击’NEXT‘
+   + +
+ 第四步: + + 勾选‘I have read and accepted the Amazon MWS License Agreement’点击’NEXT‘ +
+   + +
+ 第五步: + + 复制‘Merchant ID’,‘Marketplace ID’,‘AWS Access Key ID’,‘Secret Key’ + 到我们的平台点击保存即可
+   + +
+   + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/ShopDesc2.aspx.cs b/TradeManageNew/SysManage/ShopDesc2.aspx.cs new file mode 100644 index 0000000..0b79dfe --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc2.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ShopDesc2 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ShopDesc2.aspx.designer.cs b/TradeManageNew/SysManage/ShopDesc2.aspx.designer.cs new file mode 100644 index 0000000..bfe021f --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc2.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ShopDesc2 { + } +} diff --git a/TradeManageNew/SysManage/ShopDesc3.aspx b/TradeManageNew/SysManage/ShopDesc3.aspx new file mode 100644 index 0000000..fbecf46 --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc3.aspx @@ -0,0 +1,198 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopDesc3.aspx.cs" Inherits="TradeManage.SysManage.ShopDesc3" %> + + + + + + + + + 采购单 + + + + + + + + +
+ 操作说明
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Ebay店铺授权步骤说明
+ 第一步: + + + 先访问这个 http://go.developer.ebay.com/developers/ebay点击application settings 按钮。
+   + +
+   + + 点击 user tokens
+   + +
+ 第二步: + 点击 select an environment选择(production)
+   + +
+   + + 点击 select a key set选择(key 1)
+   + +
+ 第三步: + + 点击 user tokens
+   + +
+   + + 点击generate token
+   + +
+ 第一步: + + 点击按钮
+ 第二步: + + 店铺授权agree(登录需绑定的店铺),把生成的Token复制到蜜糖ERP的Token文本框,点击保存即可
+   + +
+   + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/ShopDesc3.aspx.cs b/TradeManageNew/SysManage/ShopDesc3.aspx.cs new file mode 100644 index 0000000..ee4ae05 --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc3.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ShopDesc3 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ShopDesc3.aspx.designer.cs b/TradeManageNew/SysManage/ShopDesc3.aspx.designer.cs new file mode 100644 index 0000000..1e40cfa --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc3.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ShopDesc3 { + } +} diff --git a/TradeManageNew/SysManage/ShopDesc4.aspx b/TradeManageNew/SysManage/ShopDesc4.aspx new file mode 100644 index 0000000..7dabd9a --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc4.aspx @@ -0,0 +1,174 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopDesc4.aspx.cs" Inherits="TradeManage.SysManage.ShopDesc4" %> + + + + + 采购单 + + + + + + + + +
+ 操作说明
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Wish店铺授权步骤说明
+ 第一步: + + + 登陆店铺在设置下面找到api V2 版本

+ url:可以填写https://www.baidu.com
+   + 生成后如下:
+
+   + 在erp 店铺管理下面点
+
+   + +
+ 把对应的client_id,client_secret,redirect_url 填好,获取code https://merchant.wish.com/oauth/authorize?client_id=577c98c093e86274728d03e3 (这边红色改成这个店铺的client_id
+ 第二步: + +  
+   + +
+ Accept,然后会跳转到url的页面,=后面的code 复制到
+ 然后点
按钮,获取成功后再点保存按钮 +
+ + + + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/ShopDesc4.aspx.cs b/TradeManageNew/SysManage/ShopDesc4.aspx.cs new file mode 100644 index 0000000..bd5a987 --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc4.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ShopDesc4 : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ShopDesc4.aspx.designer.cs b/TradeManageNew/SysManage/ShopDesc4.aspx.designer.cs new file mode 100644 index 0000000..43f1d9b --- /dev/null +++ b/TradeManageNew/SysManage/ShopDesc4.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ShopDesc4 { + } +} diff --git a/TradeManageNew/SysManage/ShopMoneyCount.aspx b/TradeManageNew/SysManage/ShopMoneyCount.aspx new file mode 100644 index 0000000..1c9354e --- /dev/null +++ b/TradeManageNew/SysManage/ShopMoneyCount.aspx @@ -0,0 +1,405 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopMoneyCount.aspx.cs" Inherits="TradeManage.SysManage.ShopMoneyCount" %> + + + + + 分析 + + + + + + + + + + + + + + + + + + + + + + + + +
+ 月度绩效统计 +
+ + + + + + + + + + + + + + + + + + + + +
事业部/平台/店铺: + 日期: +   +   +
+ <%-- 共3页 第页 每页
--%> +
+<%--
+ 共3页 第页 每页条--%> +
+ + + + + + + + diff --git a/TradeManageNew/SysManage/ShopMoneyCount.aspx.cs b/TradeManageNew/SysManage/ShopMoneyCount.aspx.cs new file mode 100644 index 0000000..6f7fd12 --- /dev/null +++ b/TradeManageNew/SysManage/ShopMoneyCount.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class ShopMoneyCount : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/ShopMoneyCount.aspx.designer.cs b/TradeManageNew/SysManage/ShopMoneyCount.aspx.designer.cs new file mode 100644 index 0000000..e528001 --- /dev/null +++ b/TradeManageNew/SysManage/ShopMoneyCount.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class ShopMoneyCount { + } +} diff --git a/TradeManageNew/SysManage/StoreSetting.aspx b/TradeManageNew/SysManage/StoreSetting.aspx new file mode 100644 index 0000000..aaea9a7 --- /dev/null +++ b/TradeManageNew/SysManage/StoreSetting.aspx @@ -0,0 +1,1986 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StoreSetting.aspx.cs" Inherits="TradeManage.SysManage.StoreSetting" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+    +
+ + +
+ +
+ + + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
速卖通API申请操作说明帮助 +
*平台 + + 速卖通 +
*店铺名称 + + +
*Appkey(开发者key) + + +
*AppSecret(开发者密钥) + + + +
*Code(即临时令牌) + + + +
+ 说明:点击右边授权按钮以获取Code(即临时令牌),把生成的Code复制到文本框 +
*refreshToken(长时令牌) + + + + +
+ 说明:填写好Code(即临时令牌)后点击获取refreshToken按钮获取refreshToken(长时令牌) +
API每天最大请求次数 +
*是否每天自动读取API订单 + +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*平台 + + 速卖通 +
*店铺名称 + + +
*Appkey(开发者key) + + 3878260 +
*AppSecret(开发者密钥) + + + aIGuMDpT27O +
*Code(即临时令牌) + + + +
+ 说明:点击右边授权按钮以获取Code(即临时令牌),把生成的Code复制到文本框 +
*refreshToken(长时令牌) + + + + +
+ 说明:填写好Code(即临时令牌)后点击获取refreshToken按钮获取refreshToken(长时令牌) +
API每天最大请求次数 +
*是否每天自动读取API订单 + +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
亚马逊API申请操作说明帮助 +
*平台 + + 亚马逊 +
*店铺名称 + + +
*开发者AccessKeyId + + +
*开发者SecretAccessKey + + +
*API请求国家 + +
*卖家ID(MerchantId) + + + +
*卖家店铺ID(MarketplaceId) + + +
*是否使用FBA(海外仓) + +
*是否每天自动读取API订单 + +
*订单最迟发货天数 + 天 +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Ebay API申请操作说明帮助 +
*平台 + + EBay +
*店铺名称 + + +
*开发者Appkey + + +
*开发者DeveKey + + +
*开发者CertKey + + +
*卖家令牌(Token) + + + + +
*是否每天自动读取API订单 + +
*订单最迟发货天数 + 天 +
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Wish API申请操作说明帮助 +
*平台 + + Wish +
*店铺名称 + + +
*令牌(ApiKey) + + + + +
*是否每天自动读取API订单 + +
*订单最迟发货天数 + 天 +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*平台 + + +
*店铺名称 + + +
*订单最迟发货天数 + 天 +
+ +
+
+
+ + + + + + + + +
+ +
+ + +
+ +
+ +
+
+ + + + + + + + + + + + + + + +
使用备注说明 +
+ 1.使用本平台首先要设置电商的店铺,还没设置过店铺的请先在这边添加各个平台的店铺信息
+ 2.因为店铺的订单要使用电商API接口,请如实填写你们在电商申请的api的授权码和令牌等等信息
+ 3.如果你要了解试用平台功能,可以点击导入 模拟数据 按钮,模拟使用,注意正式使用前请点击清空平台数据
+ 3.如有不会操作可以在个人桌面页面 下载 使用说明书,也可以加蜜糖ERP QQ群 153367543 咨询 +
+
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + +
+ 注:打算正式使用时可以清空数据
清空数据必须登陆管理员账号密码
清空后数据将不能恢复请谨慎使用
+ +
+
管理员账号: 管理员密码: +
+ +
+
+
+ + + + diff --git a/TradeManageNew/SysManage/StoreSetting.aspx.cs b/TradeManageNew/SysManage/StoreSetting.aspx.cs new file mode 100644 index 0000000..ac10c96 --- /dev/null +++ b/TradeManageNew/SysManage/StoreSetting.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class StoreSetting : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/StoreSetting.aspx.designer.cs b/TradeManageNew/SysManage/StoreSetting.aspx.designer.cs new file mode 100644 index 0000000..013146d --- /dev/null +++ b/TradeManageNew/SysManage/StoreSetting.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class StoreSetting { + } +} diff --git a/TradeManageNew/SysManage/Supplier.aspx b/TradeManageNew/SysManage/Supplier.aspx new file mode 100644 index 0000000..325569e --- /dev/null +++ b/TradeManageNew/SysManage/Supplier.aspx @@ -0,0 +1,788 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Supplier.aspx.cs" Inherits="TradeManage.SysManage.Supplier" %> + + + + + + 供应商 + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ *供应商名称: + + + + + 联系人: + + + +
+ 电话: + + + + + 手机: + + + +
+ 传真: + + + + + QQ: + + + +
+ 信用等级: + + + + + 平均到货周期(天): + + + +
+ 开户行: + + + + + 银行账号: + + + +
+ 地址: + + + +
+ 店铺或网站链接: + + + +
+ 备注说明: + + + + +
+      +
+
+
+ + + + + + + + + + + + + +
+ 供应商/货物: + + +
+ + + + + + + + + + + +
+ 货物 + + 操作 + + 已选货物 +
+ + + + 全选-->>
+
+ 选中-->
+
+ <--删除
+
+ <<--全删
+
+
+ +
+
+      +
+
+ +
+
+ 供应商 +
+ + + + + + + + + + + + + + + + + + + + + + + + +
供应商: + 联系方式: + 货物: + +
+ + +
+
+ +
+ + + + + + + + + + diff --git a/TradeManageNew/SysManage/Supplier.aspx.cs b/TradeManageNew/SysManage/Supplier.aspx.cs new file mode 100644 index 0000000..64e042d --- /dev/null +++ b/TradeManageNew/SysManage/Supplier.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class Supplier : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/Supplier.aspx.designer.cs b/TradeManageNew/SysManage/Supplier.aspx.designer.cs new file mode 100644 index 0000000..8b605c0 --- /dev/null +++ b/TradeManageNew/SysManage/Supplier.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class Supplier { + } +} diff --git a/TradeManageNew/SysManage/SysManageService.asmx b/TradeManageNew/SysManage/SysManageService.asmx new file mode 100644 index 0000000..c379a85 --- /dev/null +++ b/TradeManageNew/SysManage/SysManageService.asmx @@ -0,0 +1 @@ +<%@ WebService Language="C#" CodeBehind="SysManageService.asmx.cs" Class="TradeManage.SysManage.SysManageService" %> diff --git a/TradeManageNew/SysManage/SysManageService.asmx.cs b/TradeManageNew/SysManage/SysManageService.asmx.cs new file mode 100644 index 0000000..1810aba --- /dev/null +++ b/TradeManageNew/SysManage/SysManageService.asmx.cs @@ -0,0 +1,4810 @@ +using NetLibrary; +using NetLibrary.Common.Configuration; +using NetLibrary.Data; +using NetLibrary.OnlineTrade; +using NetLibrary.ReportPrint; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Services; +using TradeData; +using TradeModel; +using TradeManageNew; + +namespace TradeManage.SysManage +{ + /// + /// SysManageService 的摘要说明 + /// + [WebService(Namespace = "http://tempuri.org/")] + [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] + [System.ComponentModel.ToolboxItem(false)] + // 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消注释以下行。 + [System.Web.Script.Services.ScriptService] + public class SysManageService : System.Web.Services.WebService + { + #region 机构 + #region 保存机构 + [WebMethod(EnableSession = true)] + public int Save_JC_Company(JC_Company Model) + { + Pages.Login(this.Session); + + int Id=JC_CompanyService.Save(Model); + if (Model.CompanyID == null || Model.CompanyID <= 0) //新增机构初始化数据 + { + BaseService obj = new BaseService(); + obj.SaveStartData(Id); + + } + return Id; + } + #endregion + #region 分页查询 + [WebMethod(EnableSession = true)] + public JsonModel> GetListCompanyList(string cs, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + string where = CustomIO.Base64StringToString(cs); + if (where!="")where = "where a.CompanyId>1 and b.State=1 and " + where.Substring(4); + var resultModel = new JsonModel>(); + int RowCount = 0; + resultModel.DataSource = BaseService.GetListCompany(where, PageIndex, PageSize, "", out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + #region 保存 + [WebMethod(EnableSession = true)] + public int Save_Company(JC_Company Model) + { + Pages.Login(this.Session); + + int Id=BaseService.Save_Company(Model); + JC_UserInfo2 umd = new JC_UserInfo2(); + umd.CompanyId = Id; + umd.UserName = Model.UserName; + umd.Password = Model.Password; + umd.UserType = "P"; + umd.State = 1; + umd.InDate = DateTime.Now; + umd.IsLogin = 1; + umd.Name = Model.CompanyName; + JC_UserInfoService.Save2(umd); + return Id; + } + #endregion + #region 删除机构 + [WebMethod(EnableSession = true)] + public void Delete_JC_Company(int CompanyID) + { + Pages.Login(this.Session); + JC_CompanyService.Delete(CompanyID); + } + #endregion + + #region 开启关闭机构 + [WebMethod(EnableSession = true)] + public void Update_JC_Company(int CompanyID,int State) + { + Pages.Login(this.Session); + JC_CompanyService.UpdateCompany(CompanyID, State); + } + #endregion + #region 返回机构Model + [WebMethod(EnableSession = true)] + public JC_Company Get_JC_CompanyModel() + { + Pages.Login(this.Session); + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + return JC_CompanyService.GetModel(CompanyID); + } + #endregion + + #region 返回机构Model + [WebMethod(EnableSession = true)] + public JC_Company Get_JC_CompanyModel2(int CompanyID) + { + Pages.Login(this.Session); + + return JC_CompanyService.GetModel(CompanyID); + } + #endregion + #region 分页查询_机构 + [WebMethod(EnableSession = true)] + public JsonModel> Select_JC_CompanyPageList(string Shen, string Shi, string Qu, string CompanyName, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = ""; + RefParameterCollection param = new RefParameterCollection(); + //param.Add("state", "=", 1, DbType.Int32); + if (string.IsNullOrEmpty(Shen) == false) param.Add("a.Shen", "=", Shen, DbType.String); + if (string.IsNullOrEmpty(Shi) == false) param.Add("a.Shi", "=", Shi, DbType.String); + if (string.IsNullOrEmpty(Qu) == false) param.Add("a.Qu", "=", Qu, DbType.String); + if (string.IsNullOrEmpty(CompanyName) == false) param.Add("CompanyName", "like", CompanyName, DbType.String); + resultModel.DataSource = JC_CompanyService.GetListJC_Company(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + #region 判断名称是否重复 + [WebMethod(EnableSession = true)] + public bool CheckCompanyName(int CompanyID, string CompanyName) + { + Pages.Login(this.Session); + return JC_CompanyService.CheckCompanyName(CompanyID, CompanyName); + } + #endregion + #region 判断简称是否重复 + [WebMethod(EnableSession = true)] + public bool CheckSimpleName(int CompanyID, string SimpleName) + { + Pages.Login(this.Session); + return JC_CompanyService.CheckSimpleName(CompanyID, SimpleName); + } + #endregion + #region 判断代码是否重复 + [WebMethod(EnableSession = true)] + public bool CheckCompanyCode(int CompanyID, string CompanyCode) + { + Pages.Login(this.Session); + return JC_CompanyService.CheckCompanyCode(CompanyID, CompanyCode); + } + #endregion + #endregion + #region 基础设置 + #region 读取模块所属设置列表 + [WebMethod(EnableSession = true)] + public List GetJC_BaseCode(int CompanyID, string ModuleName) + { + return JC_BaseCodeService.GetJC_BaseCode(CompanyID, ModuleName); + } + #endregion + #region 读取单项设置 + [WebMethod(EnableSession = true)] + public List GetJC_BaseCodeDetail(int CompanyID, string KeyName) + { + return JC_BaseCodeService.GetJC_BaseCodeDetail(CompanyID, KeyName); + } + #endregion + #region 读取平台类型设置 + [WebMethod(EnableSession = true)] + public List GetJC_BaseCodePTLX(int CompanyID, string KeyName) + { + return JC_BaseCodeService.GetJC_BaseCodePTLX(CompanyID, KeyName); + } + #endregion + #region 删除 + [WebMethod(EnableSession = true)] + public void DeleteCodeDetail(int Code) + { + JC_BaseCodeService.DeleteCodeDetail(Code); + } + #endregion + #region 保存基础设置 + [WebMethod(EnableSession = true)] + public void Save_JC_BaseCodeDetail(int CompanyID, string KeyName, List ListModel) + { + JC_BaseCodeService.Save(CompanyID, KeyName, ListModel); + } + #endregion + #region 保存基础设置 + [WebMethod(EnableSession = true)] + public void Save_JPLXBaseCode(string KeyName,List list) + { + Pages.Login(this.Session); + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + JC_BaseCodeService obj = new JC_BaseCodeService(); + obj.DeleteKeyName(CompanyID, KeyName); + if (list != null) + { + foreach (var md in list) + { + md.CompanyId = CompanyID; + obj.SaveBaseCode(md); + + } + } + + } + #endregion + #endregion + #region 部门 + #region 保存 + [WebMethod(EnableSession = true)] + public int Save_JC_DepartMent(JC_DepartMent Model) + { + Pages.Login(this.Session); + int CompanyId=Convert.ToInt32(Session["CompanyId"]); + Model.CompanyId = CompanyId; + return JC_DepartMentService.Save(Model); + } + #endregion + + #region 保存 + [WebMethod(EnableSession = true)] + public string Save_JC_DepartMentForTM(JC_DepartMent Model) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + Model.CompanyId = CompanyId; + string info=""; + var list = new List(); + if (Model.MasterName.Trim() != "") + { + string[] Names = Model.MasterName.Trim().Split(' '); + for (int i = 0; i < Names.Length; i++) + { + int UserId = JC_ShopService.IsShopUser(CompanyId, Names[i].Trim()); + if (UserId == 0) + { + info += Names[i].Trim() + "不存在,确定姓名是否填写正确"; + } + else + { + JC_UserInfo md = new JC_UserInfo(); + md.UserId = UserId; + md.Name = Names[i].Trim(); + list.Add(md); + } + + } + + } + if (info == "") + { + int DeptId = JC_DepartMentService.SaveForTM(Model); + JC_DepartMentService.SaveDeptMaster(DeptId, list); + info = "保存成功"; + } + return info; + } + #endregion + #region 删除 + [WebMethod(EnableSession = true)] + public void Delete_JC_DepartMent(int DeptId) + { + Pages.Login(this.Session); + JC_DepartMentService.Delete(DeptId); + } + #endregion + #region 分页查询 + [WebMethod(EnableSession = true)] + public JsonModel> Select_JC_DepartMentPageList(int CompanyID, string DeptName, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + CompanyID = Convert.ToInt32(Session["CompanyId"]); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = ""; + RefParameterCollection param = new RefParameterCollection(); + param.Add("CompanyID", "=", CompanyID, DbType.Int32); + if (string.IsNullOrEmpty(DeptName) == false) param.Add("DeptName", "like", DeptName, DbType.String); + resultModel.DataSource = JC_DepartMentService.GetListJC_DepartMent(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + #region 分页查询 + [WebMethod(EnableSession = true)] + public JsonModel> Select_JC_DepartMentPageForTM(int CompanyID, string DeptName, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + CompanyID = Convert.ToInt32(Session["CompanyId"]); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = "DeptId"; + RefParameterCollection param = new RefParameterCollection(); + param.Add("CompanyID", "=", CompanyID, DbType.Int32); + if (string.IsNullOrEmpty(DeptName) == false) param.Add("DeptName", "like", DeptName, DbType.String); + resultModel.DataSource = JC_DepartMentService.GetListJC_DepartMentForTM(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + #region 判断名称是否重复 + [WebMethod(EnableSession = true)] + public bool CheckDeptName(int DeptID, string DeptName) + { + Pages.Login(this.Session); + return JC_DepartMentService.CheckDeptName(DeptID, DeptName); + } + #endregion + #region 判断代码是否重复 + [WebMethod(EnableSession = true)] + public bool CheckDeptCode(int DeptID, string DeptCode) + { + Pages.Login(this.Session); + return JC_DepartMentService.CheckDeptCode(DeptID, DeptCode); + } + #endregion + #region 保存部门下属员工 + [WebMethod(EnableSession = true)] + public void SaveDeptUser(int DeptID, List ListModel) + { + Pages.Login(this.Session); + JC_DepartMentService.SaveDeptUser(DeptID, ListModel); + } + #endregion + #region 保存部门下属员工 + [WebMethod(EnableSession = true)] + public void SaveDeptUserForTM(int DeptID, List ListModel) + { + Pages.Login(this.Session); + JC_DepartMentService.SaveDeptUserForTM(DeptID, ListModel); + } + #endregion + #endregion + #region 用户信息 + #region 保存-用户信息 + [WebMethod(EnableSession = true)] + public int Save_JC_UserInfo(JC_UserInfo Model) + { + Pages.Login(this.Session); + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + Model.CompanyId = CompanyID; + return JC_UserInfoService.Save(Model); + } + #endregion + #region 保存-用户信息 + [WebMethod(EnableSession = true)] + public int Save_JC_UserInfoForTM(JC_UserInfoNew Model) + { + Pages.Login(this.Session); + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + Model.CompanyId = CompanyID; + Model.InDate = DateTime.Now; + + int Userid=JC_UserInfoService.SaveUserInfoForTM(Model); + if (Model.RoleId > 0) + { + JC_RoleUser rmd = new JC_RoleUser(); + rmd.RoleId = Model.RoleId.Value; + rmd.RoleType = 1; + rmd.UserId = Userid; + rmd.UserName = Model.Name; + JC_RoleInfoService.SaveRoleUser(rmd); + } + return Userid; + } + #endregion + #region 删除-用户信息 + [WebMethod(EnableSession = true)] + public void Delete_JC_UserInfo(int UserId) + { + Pages.Login(this.Session); + JC_UserInfoService.Delete(UserId); + } + #endregion + #region 返回Model-用户信息 + [WebMethod(EnableSession = true)] + public JC_UserInfo GetModel_JC_UserInfo(int UserId) + { + Pages.Login(this.Session); + return JC_UserInfoService.GetModel(UserId); + } + #endregion + #region 分页查询-用户信息 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_UserInfo(int CompanyID, int DeptID, string Name, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = ""; + CompanyID = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection param = new RefParameterCollection(); + param.Add("CompanyID", "=", CompanyID, DbType.Int32); + param.Add("State", ">", 0, DbType.Int32); + if (string.IsNullOrEmpty(Name) == false) + { + param.Add("(Name", "like", Name, DbType.String); + param.Add("UserName", "like", Name, "or", ")", DbType.String); + } + resultModel.DataSource = JC_UserInfoService.GetListJC_UserInfo(DeptID, param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + + #region 分页查询-用户信息 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_UserInfoForTM(int CompanyID, int DeptID, string Name, int State, int IsRoom, string HuKou, string EmployeeType, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = "UserId"; + CompanyID = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection param = new RefParameterCollection(); + param.Add("a.CompanyID", "=", CompanyID, DbType.Int32); + if (DeptID>0) + param.Add("a.DeptId", "=", DeptID, DbType.Int32); + param.Add("a.State", "=", State, DbType.Int32); + if (IsRoom>-1) + param.Add("a.IsRoom", "=", IsRoom, DbType.Int32); + if (HuKou!="-1") + param.Add("a.HuKou", "=", HuKou, DbType.String); + if (EmployeeType != "-1") + param.Add("a.EmployeeType", "=", EmployeeType, DbType.String); + if (string.IsNullOrEmpty(Name) == false) + { + param.Add("(Name", "like", Name, DbType.String); + param.Add("UserName", "like", Name, "or", ")", DbType.String); + } + resultModel.DataSource = JC_UserInfoService.GetListJC_UserInfoForTM(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + if (resultModel.DataSource != null) + { + foreach (var md in resultModel.DataSource) + { + var rlist=JC_RoleInfoService.GetUserRoleList(md.UserId.Value); + if (rlist != null && rlist.Count > 0) + md.RoleId = rlist[0].RoleId; + + } + } + return resultModel; + } + #endregion + #region 普通查询列表 + [WebMethod(EnableSession = true)] + public List GetListShop() + { + Pages.Login(this.Session); + var ListModel = JC_ShopService.GetListShop(0); + return ListModel; + } + #endregion + #region 普通查询列表 + [WebMethod(EnableSession = true)] + public List GetKFUserInfo() + { + Pages.Login(this.Session); + var ListModel = DataNew.GetKFUserInfo(); + return ListModel; + } + #endregion + + + #region 分页查询-用户信息 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_UserWorkForTM(int DeptID, string Name, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = ""; + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection param = new RefParameterCollection(); + param.Add("a.CompanyID", "=", CompanyID, DbType.Int32); + if (DeptID > 0) + param.Add("a.DeptId", "=", DeptID, DbType.Int32); + param.Add("a.State", "=", 1, DbType.Int32); + + + if (string.IsNullOrEmpty(Name) == false) + { + param.Add("(Name", "like", Name, DbType.String); + param.Add("UserName", "like", Name, "or", ")", DbType.String); + } + resultModel.DataSource = JC_UserInfoService.GetListJC_UserInfoForTM(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + return resultModel; + } + #endregion + #region 判断姓名是否重复-用户信息 + [WebMethod(EnableSession = true)] + public void SaveUserWork(int UserId, string WorkDesc) + { + Pages.Login(this.Session); + JC_UserInfoNew Model = new JC_UserInfoNew(); + Model.UserId = UserId; + Model.WorkDesc = WorkDesc; + JC_UserInfoService.SaveUserWork(Model); + } + #endregion + + #region 判断姓名是否重复-用户信息 + [WebMethod(EnableSession = true)] + public bool CheckName(int UserID, string Name) + { + Pages.Login(this.Session); + return JC_UserInfoService.CheckName(UserID, Name); + } + #endregion + #region 判断工号是否重复-用户信息 + [WebMethod(EnableSession = true)] + public bool CheckUserCode(int UserID, string UserCode) + { + Pages.Login(this.Session); + return JC_UserInfoService.CheckUserCode(UserID, UserCode); + } + #endregion + #region 判断用户名是否重复-用户信息 + [WebMethod(EnableSession = true)] + public bool CheckUserName(int UserID, string UserName) + { + Pages.Login(this.Session); + return JC_UserInfoService.CheckUserName(UserID, UserName); + } + #endregion + #endregion + #region 角色 + #region 读取角色列表 + [WebMethod(EnableSession = true)] + public List GetList_JC_RoleInfo(int CompanyID) + { + Pages.Login(this.Session); + if (CompanyID == 0) + CompanyID = Convert.ToInt32(Session["CompanyId"]); + return JC_RoleInfoService.GetList(CompanyID); + } + #endregion + #region 删除角色 + [WebMethod(EnableSession = true)] + public void Delete_JC_RoleInfo(int RoleId) + { + Pages.Login(this.Session); + JC_RoleInfoService.Delete(RoleId); + } + #endregion + #region 保存角色 + [WebMethod(EnableSession = true)] + public void Save_JC_RoleInfo(int RoleID, int CompanyID, string RoleName) + { + Pages.Login(this.Session); + JC_RoleInfoService.Save(RoleID, CompanyID, RoleName); + } + #endregion + #region 保存角色明细 + [WebMethod(EnableSession = true)] + public void SaveDetail_JC_RoleInfo(int CompanyID, JC_RoleInfo Model) + { + Pages.Login(this.Session); + JC_RoleInfoService.SaveDetail(CompanyID, Model); + } + #endregion + #region 读取菜单父节点 + [WebMethod(EnableSession = true)] + public List GetParentMenuList(int CompanyID) + { + Pages.Login(this.Session); + return JC_RoleInfoService.GetParentMenuList(CompanyID); + } + #endregion + #region 读取角色对象 + [WebMethod(EnableSession = true)] + public JC_RoleInfo GetModel_JC_RoleInfo(int CompanyID, int RoleID) + { + Pages.Login(this.Session); + return JC_RoleInfoService.GetModel(CompanyID, RoleID); + } + #endregion + #endregion + #region 店铺管理 + #region 保存 + [WebMethod(EnableSession = true)] + public int Save_JC_Shop(JC_Shop Model) + { + Pages.Login(this.Session); + Model.CompanyId = Convert.ToInt32(Session["CompanyId"]); + return JC_ShopService.Save(Model); + } + + #endregion + #region 保存店铺 + [WebMethod(EnableSession = true)] + public string Save_Shop(JC_Shop Model) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + Model.CompanyId = CompanyId; + + Model.InDate = DateTime.Now; + string error = ""; + List list = new List(); + if (Model.Master!=null&&Model.Master.Trim() != "") + { + + string[] muser = Model.Master.Trim().Split(' '); + for (int i = 0; i < muser.Length; i++) + { + int uid = JC_ShopService.IsShopUser(CompanyId,muser[i].Trim()); + if(uid>0) + { + JC_ShopUser md = new JC_ShopUser(); + md.SType = "M"; + md.UserId = uid; + list.Add(md); + } + else + error += muser[i].Trim() + ";"; + + } + + } + if (Model.Buyer!=null&&Model.Buyer.Trim() != "") + { + + string[] buser = Model.Buyer.Trim().Split(' '); + for (int i = 0; i < buser.Length; i++) + { + int uid = JC_ShopService.IsShopUser(CompanyId,buser[i].Trim()); + if (uid > 0) + { + JC_ShopUser md = new JC_ShopUser(); + md.SType = "B"; + md.UserId = uid; + list.Add(md); + } + else + error += buser[i].Trim() + ";"; + + } + + } + if (Model.ShopUser != null && Model.ShopUser.Trim() != "") + { + + string[] cuser = Model.ShopUser.Trim().Split(' '); + for (int i = 0; i < cuser.Length; i++) + { + int uid = JC_ShopService.IsShopUser(CompanyId,cuser[i].Trim()); + if (uid > 0) + { + JC_ShopUser md = new JC_ShopUser(); + md.SType = "S"; + md.UserId = uid; + list.Add(md); + } + else + error += cuser[i].Trim() + ";"; + + } + + } + if (error != "") + return error + "没有在系统找到,请确定名字填写是否正确"; + int ShopId= JC_ShopService.SaveShop(Model); + JC_ShopService.DeleteShopUser(ShopId); + if (list != null) + { + foreach (var md in list) + { + md.ShopId = ShopId; + JC_ShopService.SaveShopUser(md); + } + + + } + return "成功"; + } + #endregion + #region 删除 + [WebMethod(EnableSession = true)] + public void Delete_JC_Shop(int ShopId) + { + Pages.Login(this.Session); + JC_ShopService.Delete(ShopId); + } + #endregion + #region 分页查询 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_Shop(int CompanyID, int PlatType, string ShopName, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + if (CompanyID == 0) CompanyID = Convert.ToInt32(Session["CompanyId"]); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = ""; + RefParameterCollection param = new RefParameterCollection(); + param.Add("CompanyID", "=", CompanyID, DbType.Int32); + param.Add("PlatType", "=", PlatType, DbType.Int32); + if (string.IsNullOrEmpty(ShopName) == false) param.Add("ShopName", "like", ShopName, DbType.String); + resultModel.DataSource = JC_ShopService.GetListJC_Shop(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + + #region 分页查询店铺 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_ShopForTM(int CompanyID,int DeptId, int PlatType, string ShopName,string Master,string Buyer,string ShopUser, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + if (CompanyID == 0) CompanyID = Convert.ToInt32(Session["CompanyId"]); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = "a.DeptId"; + RefParameterCollection param = new RefParameterCollection(); + if (DeptId>0) + param.Add("a.DeptId", "=", DeptId, DbType.Int32); + param.Add("a.CompanyID", "=", CompanyID, DbType.Int32); + if (PlatType>0) + param.Add("PlatType", "=", PlatType, DbType.Int32); + if (string.IsNullOrEmpty(ShopName) == false) + param.Add("ShopName", "like", ShopName, DbType.String); + if (string.IsNullOrEmpty(Master) == false) + param.Add("Master", "like", Master, DbType.String); + if (string.IsNullOrEmpty(Buyer) == false) + param.Add("Buyer", "like", Buyer, DbType.String); + if (string.IsNullOrEmpty(ShopUser) == false) + param.Add("ShopUser", "like", ShopUser, DbType.String); + resultModel.DataSource = JC_ShopService.GetListJC_ShopForTM(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + #region 读取速卖通默认Appkey与DeveKey + [WebMethod(EnableSession = true)] + public JC_Shop GetAppkeyOrDeveKey() + { + Pages.Login(this.Session); + JC_Shop Model = new JC_Shop(); + if (Session["Alibaba_Appkey"] == null) + { + string path = AppDomain.CurrentDomain.BaseDirectory + "Web.config"; + string Alibaba_Appkey = ConfigurationSourceSection.LoadXml_Attribute(path, "Alibaba_Appkey"); + string Alibaba_DeveKey = ConfigurationSourceSection.LoadXml_Attribute(path, "Alibaba_DeveKey"); + Model.Appkey = Alibaba_Appkey; + Model.DeveKey = Alibaba_DeveKey; + } + else + { + Model.Appkey = Convert.ToString(Session["Alibaba_Appkey"]); + Model.DeveKey = Convert.ToString(Session["Alibaba_DeveKey"]); + } + return Model; + } + #endregion + #region 读取速卖通Code + [WebMethod(EnableSession = true)] + public string GetAlibaba_Code(string Appkey, string DeveKey) + { + Pages.Login(this.Session); + AlibabaApi obj = new AlibabaApi(); + obj.Appkey = Appkey.Trim(); + obj.DeveKey = DeveKey.Trim(); + return obj.GetAuthUrl(); + } + [WebMethod(EnableSession = true)] + public string GetAlibaba_Code2(string Appkey, string DeveKey) + { + Pages.Login(this.Session); + AlibabaApi obj = new AlibabaApi(); + obj.Appkey = Appkey.Trim(); + obj.DeveKey = DeveKey.Trim(); + return obj.GetAuthUrl2(); + } + #endregion + #region 读取速卖通RefreshToken + [WebMethod(EnableSession = true)] + public JC_Shop GetAlibaba_RefreshToken(string Appkey, string DeveKey, string Code) + { + Pages.Login(this.Session); + AlibabaApi obj = new AlibabaApi(); + obj.Appkey = Appkey.Trim(); + obj.DeveKey = DeveKey.Trim(); + obj.Code = Code.Trim(); + string ErrorMessage = ""; + obj.GetAllToken(out ErrorMessage); + if (string.IsNullOrEmpty(ErrorMessage) == false) return null; + JC_Shop model = new JC_Shop(); + model.RefreshToken = obj.RefreshToken; + model.AccessToken = obj.AccessToken; + model.RefreshTokenSaveTime = obj.RefreshTokenSaveTime; + model.AccessTokenUpdateTime = obj.AccessTokenUpdateTime; + return model; + } + #endregion + #region 读取亚马逊默认开发者开发者AccessKeyId与SecretAccessKey + [WebMethod(EnableSession = true)] + public JC_Shop GetAccessKeyIdOrSecretAccessKey() + { + Pages.Login(this.Session); + JC_Shop Model = new JC_Shop(); + if (Session["Amazon_AccessKeyId"] == null) + { + string path = AppDomain.CurrentDomain.BaseDirectory + "Web.config"; + string Amazon_AccessKeyId = ConfigurationSourceSection.LoadXml_Attribute(path, "Amazon_AccessKeyId"); + string Amazon_SecretAccessKey = ConfigurationSourceSection.LoadXml_Attribute(path, "Amazon_SecretAccessKey"); + Model.Appkey = Amazon_AccessKeyId; + Model.DeveKey = Amazon_SecretAccessKey; + } + else + { + Model.Appkey = Convert.ToString(Session["Amazon_AccessKeyId"]); + Model.DeveKey = Convert.ToString(Session["Amazon_SecretAccessKey"]); + } + return Model; + } + #endregion + #region 读取亚马逊_国家列表 + [WebMethod(EnableSession = true)] + public List GetList_API_Country(int PlatType) + { + Pages.Login(this.Session); + return JC_ShopService.GetList_API_Country(PlatType); + } + #endregion + #region 读取Ebay默认Appkey与DeveKey与CertKey + [WebMethod(EnableSession = true)] + public JC_Shop GetEbay_AppkeyOrDeveKey() + { + Pages.Login(this.Session); + JC_Shop Model = new JC_Shop(); + if (Session["Alibaba_Appkey"] == null) + { + string path = AppDomain.CurrentDomain.BaseDirectory + "Web.config"; + string Ebay_Appkey = ConfigurationSourceSection.LoadXml_Attribute(path, "Ebay_Appkey"); + string Ebay_DeveKey = ConfigurationSourceSection.LoadXml_Attribute(path, "Ebay_DeveKey"); + string Ebay_CertKey = ConfigurationSourceSection.LoadXml_Attribute(path, "Ebay_CertKey"); + Model.Appkey = Ebay_Appkey; + Model.DeveKey = Ebay_DeveKey; + Model.RefreshToken = Ebay_CertKey; + } + else + { + Model.Appkey = Convert.ToString(Session["Ebay_Appkey"]); + Model.DeveKey = Convert.ToString(Session["Ebay_DeveKey"]); + Model.RefreshToken = Convert.ToString(Session["Ebay_CertKey"]); + } + return Model; + } + #endregion + #region 读取所属人员 + [WebMethod(EnableSession = true)] + public List GetListShopUser(int ShopId) + { + Pages.Login(this.Session); + return JC_ShopService.GetListShopUser(ShopId); + } + #endregion + #region 保存所属人员 + [WebMethod(EnableSession = true)] + public void SaveShopUser(int ShopId, List ListModel) + { + Pages.Login(this.Session); + JC_ShopService.SaveShopUser(ShopId, ListModel); + } + #endregion + #endregion + + #region 店铺重新授权 + [WebMethod(EnableSession = true)] + public string ShopGetAccessToken(List ListModel) + { + Pages.Login(this.Session); + AlibabaApi obj = new AlibabaApi(); + + string mess = ""; + foreach (int ShopId in ListModel) + { + string error = ""; + JC_Shop ShopModel = JC_ShopService.GetModel(ShopId); + obj.ShopId = ShopId; + obj.Appkey = ShopModel.Appkey; + obj.DeveKey = ShopModel.DeveKey; + obj.RefreshToken = ShopModel.RefreshToken; + obj.AccessToken = ShopModel.AccessToken; + obj.GroupName = ShopModel.ShopName; + obj.RefreshTokenSaveTime = ShopModel.RefreshTokenSaveTime; + obj.AccessTokenUpdateTime = ShopModel.AccessTokenUpdateTime; + obj.GetAccessToken2(out error); + mess += error; + } + if (mess == "") + mess = "授权成功"; + return mess; + + } + #endregion + + #region API数据导入 + [WebMethod(EnableSession = true)] + public string ImportApi(int PlatType,DateTime? StartDate,DateTime? StopDate,List ListModel) + { + Pages.Login(this.Session); + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + bool bk = BaseService.SyncLock(CompanyID, 1, UserId, DateTime.Now); + if (bk == false) return "当前有其他人正在导入,请稍候再尝试此操作"; + string Error = ""; + if (StartDate == null) + StartDate = DateTime.Today.AddDays(-7); + switch (PlatType) + { + case 1: + Error = API_OrderInfoServiceNew.ImportAlibab(StartDate, StopDate, ListModel); + break; + case 2: + Error = API_OrderInfoService.ImportAmazon(StartDate, StopDate, ListModel); + break; + case 3: + Error = API_OrderInfoService.ImportEbay(StartDate, StopDate, ListModel); + break; + case 4: + Error = API_OrderInfoService.ImportWish2(ListModel); + break; + case 6: + Error = API_OrderInfoServiceNew.ImportWalmart(null,null,ListModel); + break; + default: + break; + } + + List ListOrder = API_OrderInfoService.GetList(CompanyID); + foreach (int OrderID in ListOrder) + { + BaseService.OrderAdd(CompanyID, OrderID); + } + BaseService.UnSyncLock(CompanyID, 1, DateTime.Now); + return Error; + } + #endregion + #region API数据导入 + [WebMethod(EnableSession = true)] + public string ImportApiForTM(int PlatType, DateTime? StartDate, DateTime? StopDate, List ListModel) + { + Pages.Login(this.Session); + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + string ShopIds = ""; + foreach (int ShopId in ListModel) + { + ShopIds += ShopId.ToString() + ","; + // bool bk = BaseService.SyncLock(ShopId, 1, UserId, DateTime.Now); + // if (bk == false) return "当前有其他人正在导入订单,请稍候再尝试此操作"; + } + string Error = ""; + try + { + if (StartDate == null) + StartDate = DateTime.Today.AddDays(-15); + switch (PlatType) + { + case 1: + Error = API_OrderInfoService.ImportAlibab(StartDate, StopDate, ListModel); + break; + case 2: + Error = API_OrderInfoService.ImportAmazon(StartDate, StopDate, ListModel); + break; + case 3: + Error = API_OrderInfoService.ImportEbayForTM(StartDate, StopDate, ListModel); + break; + case 4: + Error = API_OrderInfoService.ImportWish2(ListModel); + break; + case 5: + Error = API_OrderInfoService.ImportLazada(ListModel); + break; + default: + break; + } + if (ShopIds != "") + { + List ListOrder = API_OrderInfoService.GetListForShop(CompanyID, ShopIds.Trim(',')); + foreach (int OrderID in ListOrder) + { + + BaseService.OrderAddForTM(CompanyID, OrderID, UserId); + } + } + //foreach (int ShopId in ListModel) + //{ + // BaseService.UnSyncLock(ShopId, 1, DateTime.Now); + //} + } + catch + { + //foreach (int ShopId in ListModel) + //{ + // BaseService.UnSyncLock(ShopId, 1, DateTime.Now); + //} + } + return Error; + } + #endregion + + #region API数据导入 + [WebMethod(EnableSession = true)] + public string ImportApiForTM2(int PlatType, DateTime? StartDate, DateTime? StopDate, List ListModel) + { + Pages.Login(this.Session); + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + string Name = Convert.ToString(Session["Name"]); + string ShopIds = ""; + foreach (int ShopId in ListModel) + { + ShopIds += ShopId.ToString() + ","; + + } + bool bk = BaseService.SyncLock2(ShopIds.Trim(','),UserId, Name, StartDate, StopDate); + if (bk == true) + return "当前有其他人正在导入其中店铺订单,请稍候再尝试此操作"; + string Error = ""; + + return Error; + } + #endregion + + #region API数据导入 + [WebMethod(EnableSession = true)] + public string ImportApiAll() + { + Pages.Login(this.Session); + + int UserId = Convert.ToInt32(Session["UserId"]); + string Name = Convert.ToString(Session["Name"]); + + BaseService.SyncLockAll(UserId, Name, DateTime.Today.AddDays(-3), DateTime.Today); + + return "已经开始同步订单,请耐心等待一会儿再刷新订单查询"; + + } + #endregion + + #region API数据导入 + [WebMethod(EnableSession = true)] + public string ImportApiLook(List ListModel) + { + Pages.Login(this.Session); + int CompanyID = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + string ShopIds = ""; + foreach (int ShopId in ListModel) + { + ShopIds += ShopId.ToString() + ","; + + } + var list = BaseService.GetSyncState(ShopIds.Trim(',')); + string info = ""; + if (list != null && list.Count > 0) + { + foreach (var md in list) + { + string ks = ""; + if (md.StartDate != null) + ks = md.StartDate.Value.ToString("yyyy-MM-dd HH:mm"); + if (md.State==1&&md.EndDate==null) + { + + info += md.InName + ks + "导入的" + md.ShopName + "还在加油导入中,请稍后再查看\r\n"; + + } + else if (md.EndDate!=null && md.DDResult != null && md.DDResult != "") + { + + info += md.InName + ks + "导入的" + md.ShopName + md.DDResult + "\r\n"; + + } + else if (md.EndDate!=null && md.DDResult == null) + { + info += md.ShopName + "没有导入记录\r\n"; + } + + } + + } + + + return info; + } + #endregion + #region 发货快递 + #region 保存 + [WebMethod(EnableSession = true)] + public void Save_Express(JC_ExpressPost Model) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + Model.CompanyId = CompanyId; + if(Model.ExpressPostID==0) + Model.IsSys = 0; + if (Model.UserCode == "") + Model.UserCode = null; + if (Model.CheckCode == "") + Model.CheckCode = null; + if (Model.vipcode == "") + Model.vipcode = null; + if (Model.customercode == "") + Model.customercode = null; + JC_ExpressService.SaveExpressPost(Model); + } + #endregion + + + #region 设置地址 + [WebMethod(EnableSession = true)] + public void UpdateExpressAddr(List list, int AddrId) + { + Pages.Login(this.Session); + if (list != null) + { + foreach (var md in list) + { + + JC_ExpressService.UpdateExpressAddr(md.ExpressPostID.Value, AddrId); + } + + } + + } + #endregion + #region 删除 + [WebMethod(EnableSession = true)] + public void DeleteExpress(int ExpressPostID) + { + Pages.Login(this.Session); + + JC_ExpressService.DeleteExpress(ExpressPostID); + + + } + #endregion + #region 分页查询 + [WebMethod(EnableSession = true)] + public List GetListJC_Express(int LogisticsId,int IsAddr) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + return JC_ExpressService.GetListJC_Express(CompanyId, LogisticsId, IsAddr); + } + #endregion + + #endregion + #region wish店铺授权 + [WebMethod(EnableSession = true)] + public string WishGetAccessToken(int ShopId, string client_id, string client_secret, string code, string redirect_uri) + { + Pages.Login(this.Session); + WishApi obj = new WishApi(); + obj.ShopId = ShopId; + obj.client_id = client_id; + obj.client_secret = client_secret; + obj.code = code; + obj.grant_type = "authorization_code"; + obj.redirect_uri = redirect_uri; + string errormess = ""; + string mess = obj.GetToken(out errormess); + if (errormess != "") + return "错误:" + errormess; + return mess; + + } + #endregion + #region 保存 + [WebMethod(EnableSession = true)] + public int Save_JC_Shop2(JC_Shop Model) + { + Pages.Login(this.Session); + Model.CompanyId = Convert.ToInt32(Session["CompanyId"]); + return JC_ShopService.Save2(Model); + } + + #endregion + #region 分页查询店铺 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_ShopForTM2(int CompanyID, int DeptId, int PlatType, string ShopName, string Master, string Buyer, string ShopUser, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + if (CompanyID == 0) CompanyID = Convert.ToInt32(Session["CompanyId"]); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = "a.DeptId"; + RefParameterCollection param = new RefParameterCollection(); + if (DeptId > 0) + param.Add("a.DeptId", "=", DeptId, DbType.Int32); + param.Add("a.CompanyID", "=", CompanyID, DbType.Int32); + if (PlatType > 0) + param.Add("PlatType", "=", PlatType, DbType.Int32); + if (string.IsNullOrEmpty(ShopName) == false) + param.Add("ShopName", "like", ShopName, DbType.String); + if (string.IsNullOrEmpty(Master) == false) + param.Add("Master", "like", Master, DbType.String); + if (string.IsNullOrEmpty(Buyer) == false) + param.Add("Buyer", "like", Buyer, DbType.String); + if (string.IsNullOrEmpty(ShopUser) == false) + param.Add("ShopUser", "like", ShopUser, DbType.String); + resultModel.DataSource = JC_ShopService.GetListJC_ShopForTM2(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + #region 订单模拟 + [WebMethod(EnableSession = true)] + public List GetListOrder() + { + List ListModel = new List(); + OrderPrcel model = null; + OrderPrcelDetail model2 = null; + //eub + model = new OrderPrcel(); + model.ExpressID = 1; + model.ExpressService = "中国邮政(EUB)"; + model.ListPrintTemplate.Add("EUB.txt"); + model.ListPrintTemplate.Add("EUB2.txt"); + //model.ListPrintTemplate.Add("EUB3.txt"); + model.AreaSerial = "1"; + model.RevCountry = "加拿大"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevMobile = "9415869423"; + model.RevZip = "42015987"; + model.CreateRevZipBarCode(); + model.SendPerson = "jacky"; + model.SendAddress = "Guangyuan Road 69 (Asia Tiger Park Building 4),Jiangbei District,Ningbo,China";// +"
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LS782382965CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + + //宁波小包 + model = new OrderPrcel(); + model.ExpressID = 2; + model.ExpressService = "中国邮政(宁波小包)"; + model.ListPrintTemplate.Add("宁波小包.txt"); + model.AreaSerial = "5"; + model.RevCountry = "拉脱维亚"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevMobile = "9415869423"; + model.RevZip = "34236"; + model.SendPerson = "jacky"; + model.SendAddress = "Building 4 Guangyuan road " + "
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + + model.ListModel.Add(model2); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + + //甬沪小包 + model = new OrderPrcel(); + model.ExpressID = 3; + model.ExpressService = "中国邮政(甬沪小包)"; + model.ListPrintTemplate.Add("甬沪小包.txt"); + model.AreaSerial = "5"; + model.RevCountry = "拉脱维亚"; + model.CountryCode = "BTNC"; + model.AreaSerial2 = "21"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevMobile = "9415869423"; + model.RevZip = "34236"; + model.SendPerson = "jacky"; + model.SendAddress = "Building 4 Guangyuan road " + "
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + + //上海小包 + model = new OrderPrcel(); + model.ExpressID = 4; + model.ExpressService = "中国邮政(上海小包)"; + model.ListPrintTemplate.Add("上海小包.txt"); + model.AreaSerial = "5"; + model.RevCountry = "拉脱维亚"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevMobile = "9415869423"; + model.RevZip = "34236"; + model.SendPerson = "jacky"; + model.SendAddress = "Building 4 Guangyuan road " + "
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + //线上小包 + model = new OrderPrcel(); + model.ExpressID = 9; + model.ExpressService = "线上小包"; + model.ListPrintTemplate.Add("线上小包.txt"); + model.AreaSerial = "5"; + model.RevCountry = "拉脱维亚"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevMobile = "9415869423"; + model.RevZip = "34236"; + model.SendPerson = "jacky"; + model.SendAddress = "Building 4 Guangyuan road " + "
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.CountryCode = "IL"; + model.AreaSerial2 = "29"; + model.AreaSerial = "10"; + model.CountryName = "摩洛哥"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + //俄邮宝 + model = new OrderPrcel(); + model.ExpressID = 6; + model.ExpressService = "中国邮政(俄邮宝)"; + model.ListPrintTemplate.Add("俄邮宝.txt"); + model.ListPrintTemplate.Add("俄邮宝2.txt"); + model.AreaSerial = "5"; + model.RevCountry = "拉脱维亚"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevZip = "34236"; + model.SendPerson = "jacky"; + model.SendAddress = "Building 4 Guangyuan road " + "
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.RevMobile = "9415869423"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + + //顺风 + model = new OrderPrcel(); + model.ExpressID = 7; + model.ExpressService = "顺丰"; + model.ListPrintTemplate.Add("顺丰.txt"); + model.AreaSerial = "5"; + model.RevCountry = "拉脱维亚"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevZip = "34236"; + model.SendPerson = "jacky"; + model.SendAddress = "Building 4 Guangyuan road " + "
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + + //比利时邮政 + model = new OrderPrcel(); + model.ExpressID = 8; + model.ExpressService = "比利时邮政"; + model.ListPrintTemplate.Add("比利时邮政.txt"); + model.AreaSerial = "5"; + model.RevCountry = "拉脱维亚"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevZip = "34236"; + model.SendPerson = "jacky"; + model.SendAddress = "Building 4 Guangyuan road " + "
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.RevMobile = "9415869423"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + + //EUB缩放 + model = new OrderPrcel(); + model.ExpressID = 10; + model.ExpressService = "EUB缩放"; + model.ListPrintTemplate.Add("EUB3.txt"); + model.AreaSerial = "5"; + model.RevCountry = "拉脱维亚"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevMobile = "9415869423"; + model.RevZip = "34236"; + model.SendPerson = "jacky"; + model.SendAddress = "Building 4 Guangyuan road " + "
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + + model = new OrderPrcel(); + model.ExpressID = 10; + model.ExpressService = "中国邮政(平邮)"; + model.ListPrintTemplate.Add("宁波平邮.txt"); + //model.ListPrintTemplate.Add("EUB3.txt"); + model.AreaSerial = "1"; + model.RevCountry = "RU"; + model.CountryCode = "RU"; + model.RevMobile = "15888546021"; + model.CountryName = "俄罗斯"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevMobile = "9415869423"; + model.RevZip = "42015987"; + model.CreateRevZipBarCode(); + model.SendPerson = "jacky"; + model.SendAddress = "Guangyuan Road 69 (Asia Tiger Park Building 4),Jiangbei District,Ningbo,China";// +"
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + model = new OrderPrcel(); + model.ExpressID = 11; + model.ExpressService = "中国邮政(平邮)"; + model.ListPrintTemplate.Add("燕文上海平邮.txt"); + model.ListPrintTemplate.Add("燕文上海平邮2.txt"); + model.AreaSerial = "1"; + model.RevCountry = "RU"; + model.CountryCode = "RU"; + model.RevMobile = "15888546021"; + model.CountryName = "俄罗斯"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevZip = "42015987"; + model.CreateRevZipBarCode(); + model.SendPerson = "jacky"; + model.SendAddress = "Guangyuan Road 69 (Asia Tiger Park Building 4),Jiangbei District,Ningbo,China";// +"
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + model.ListModel.Add(model2); + ListModel.Add(model); + model = new OrderPrcel(); + model.ExpressID = 12; + model.ExpressService = "中国邮政(燕邮宝)"; + model.ListPrintTemplate.Add("燕邮宝.txt"); + model.AreaSerial = "1"; + model.RevCountry = "RU"; + model.CountryCode = "RU"; + model.RevMobile = "15888546021"; + model.CountryName = "俄罗斯"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevZip = "42015987"; + model.CreateRevZipBarCode(); + model.SendPerson = "jacky"; + model.SendAddress = "Guangyuan Road 69 (Asia Tiger Park Building 4),Jiangbei District,Ningbo,China";// +"
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model.OrderDate = DateTime.Today.ToString("yyyy/MM/dd"); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + + model.ListModel.Add(model2); + ListModel.Add(model); + model = new OrderPrcel(); + model.ExpressID = 13; + model.ExpressService = "中国邮政(燕文北京)"; + model.ListPrintTemplate.Add("燕文北京平邮.txt"); + model.ListPrintTemplate.Add("燕文北京平邮2.txt"); + model.AreaSerial = "1"; + model.RevCountry = "RU"; + model.CountryCode = "RU"; + model.RevMobile = "15888546021"; + model.CountryName = "俄罗斯"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "9415869423"; + model.RevZip = "42015987"; + model.CreateRevZipBarCode(); + model.SendPerson = "jacky"; + model.SendAddress = "Guangyuan Road 69 (Asia Tiger Park Building 4),Jiangbei District,Ningbo,China";// +"
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + + model.ListModel.Add(model2); + ListModel.Add(model); + model = new OrderPrcel(); + model.ExpressID = 14; + model.ExpressService = "中国邮政"; + model.ListPrintTemplate.Add("杭州小包.txt"); + model.AreaSerial = "4"; + model.AreaSerial2 = "22"; + model.RevCountry = "RU"; + model.CountryCode = "RU"; + model.RevMobile = "15888546021"; + model.CountryName = "俄罗斯"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevZip = "42015987"; + model.CreateRevZipBarCode(); + model.SendPerson = "jacky"; + model.SendAddress = "Guangyuan Road 69 (Asia Tiger Park Building 4),Jiangbei District,Ningbo,China";// +"
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model.OrderDate = DateTime.Today.ToString("yyyy/MM/dd"); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + + model.ListModel.Add(model2); + ListModel.Add(model); + model = new OrderPrcel(); + model.ExpressID = 15; + model.ExpressService = "中国邮政"; + model.ListPrintTemplate.Add("杭州平邮.txt"); + model.AreaSerial = "4"; + model.AreaSerial2 = "22"; + model.RevCountry = "RU"; + model.CountryCode = "RU"; + model.RevMobile = "15888546021"; + model.CountryName = "俄罗斯"; + model.RevPerson = "rebecca siff"; + model.RevAddress = "1140 Hampton rd sarasota" + "
" + "Florida United States"; + model.RevPhone = "94-158-98969423"; + model.RevZip = "42015987"; + model.CreateRevZipBarCode(); + model.SendPerson = "jacky"; + model.SendAddress = "Guangyuan Road 69 (Asia Tiger Park Building 4),Jiangbei District,Ningbo,China";// +"
" + "No.69 NINGBO"; + model.SendPhone = "(181)89137798"; + model.SendZip = "315520"; + model.BarCode = "LN729029398CN"; + model.OrderCode = "D123456789"; + model.CountGoodsNum = "1"; + model.CountGoodsPrice = "79.98"; + model.CountGoodsWeight = "0.56"; + model.OrderDate = DateTime.Today.ToString("yyyy/MM/dd"); + model2 = new OrderPrcelDetail(); + model2.GoodsNum = "1"; + model2.GoodsPrice = "79.98"; + model2.GoodsWeight = "0.56"; + model2.GoodsName = "New Women Flat Ankle Snow Motorcycle Boots Female Suede Leather Lace-Up Martin Boot Plus Size 4.5-10"; + model2.GoodsSimpleName = "Snow Motorcycle"; + model2.GoodsOrigin = "China"; + model2.GoodsSku = "sku123456789"; + + model.ListModel.Add(model2); + ListModel.Add(model); + return ListModel; + } + + + + #endregion + + #region 读取默认快递 + [WebMethod(EnableSession = true)] + public List GetListShopExpress(int ShopId) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + return JC_ShopService.GetListShopExpress(CompanyId, ShopId); + } + #endregion + #region 保存默认快递 + [WebMethod(EnableSession = true)] + public void SaveShopExpress(int ShopId, List ListModel) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + JC_ShopService.SaveShopExpress(CompanyId, ShopId, ListModel); + } + #endregion + + #region 导入快递单号 + [WebMethod(EnableSession = true)] + public string ImportExpressCode(string FileName, int ExpressId) + { + Pages.Login(this.Session); + if (string.IsNullOrEmpty(FileName) == true) return "要导入的文件路径不能为空"; + string ServerFileName = AppDomain.CurrentDomain.BaseDirectory + FileName; + if (System.IO.File.Exists(ServerFileName) == false) return "要导入的文件路径不存在"; + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + try + { + MicrosoftExcel excel = new MicrosoftExcel(); + DataTable tb = excel.ImportExcel(ServerFileName); + + string error = ""; + if (tb.Columns.Contains("快递单号") == false) { error = error + "导入模板的 快递单号 列不存在"; } + if (string.IsNullOrEmpty(error) == false) return error; + List ListModel = new List(); + foreach (DataRow row in tb.Rows) + { + ListModel.Add(row["快递单号"].ToString()); + } + JC_ExpressCodeService.ImportExpressCode(CompanyId, ExpressId, ListModel); + } + catch (Exception e) + { + return "文件导入失败!请严格按照模板,填写数据,重新导入!!!"; + } + return ""; + } + #endregion + #region Eaby导入快递单号 + [WebMethod(EnableSession = true)] + public string EabyExpressCode(string FileName, int ExpressId) + { + Pages.Login(this.Session); + if (string.IsNullOrEmpty(FileName) == true) return "要导入的文件路径不能为空"; + string ServerFileName = AppDomain.CurrentDomain.BaseDirectory + FileName; + if (System.IO.File.Exists(ServerFileName) == false) return "要导入的文件路径不存在"; + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + try + { + MicrosoftExcel excel = new MicrosoftExcel(); + DataTable tb = excel.ImportExcel(ServerFileName); + + string error = ""; + if (tb.Columns.Contains("Order1") == false) { error = error + " 单号 列不存在"; } + if (tb.Columns.Contains("TrackCode") == false) { error = error + " 跟踪码 列不存在"; } + if (string.IsNullOrEmpty(error) == false) return error; + var obj = new DD_OrderData(); + foreach (DataRow row in tb.Rows) + { + string morderno = "M" + row["Order1"].ToString(); + + DD_OrderData dom = new DD_OrderData(); + var ordermodel = dom.GetjoOrderModel(morderno); + if (ordermodel == null) + { + ordermodel = dom.GetOrdernoModel(row["Order1"].ToString()); + } + if (ordermodel == null) + { + error = error + row["Order1"].ToString() + "订单不存在不存在\r\n"; + continue; + } + + foreach (var q in ordermodel) + { + DT_TrackCodeApply Model = new DT_TrackCodeApply(); + + Model.TrackCode = row["TrackCode"].ToString().Trim(); + if (obj.IsOrderTrackCode(q.OrderId.GetValueOrDefault(0), row["TrackCode"].ToString().Trim()) > 0) + { + error = error + row["TrackCode"].ToString().Trim() + "该跟踪码已经存在\r\n"; + if(morderno.Contains("M")) + obj.UpdateTrackPostEbay(ExpressId, q.OrderId.GetValueOrDefault(0), 1); + continue; + } + Model.GetDate = DateTime.Now; + Model.InName = Session["Name"].ToString(); + if (q.JoinOrderCode != null) + { + if (q.JoinOrderCode != "") + { + Model.OrderCode = q.JoinOrderCode; + } + } + else + Model.OrderCode = q.OrderCode; + Model.OrderId = q.OrderId; + Model.PostId = ExpressId; + Model.State = 1; + Model.TrackType = 1; + Model.UpdateTime = DateTime.Now; + Model.IsSpare = q.IsSpare; + Model.JoinOrderCode = q.JoinOrderCode; + //obj.UpdateTrackCode(PostCode, PostId,OrderId, ErrorInfo); + obj.UpdateTrackPostEbay(ExpressId,q.OrderId.GetValueOrDefault(0),1); + obj.SaveTrackCodeApply(Model); + } + } + } + catch (Exception e) + { + return "文件导入失败!请严格按照模板,填写数据,重新导入!!!"; + } + return ""; + } + #endregion + #region 删除快递单号 + [WebMethod(EnableSession = true)] + public void DeleteExpressCode(int Id) + { + Pages.Login(this.Session); + JC_ExpressCodeService.Delete(Id); + } + #endregion + #region 删除快递单号 + [WebMethod(EnableSession = true)] + public void DeleteExpressCodeM(List list) + { + Pages.Login(this.Session); + if (list != null) + { + foreach (var md in list) + { + JC_ExpressCodeService.Delete(md.Id.Value); + + } + + } + + } + #endregion + #region 分页查询快递单号 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_ExpressCode(int ExpressID,int IsUse,string PostCode, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = "Id"; + RefParameterCollection param = new RefParameterCollection(); + param.Add("a.CompanyId", "=", CompanyId, DbType.Int32); + if (IsUse>-1) + param.Add("a.IsUse", "=", IsUse, DbType.Int32); + if (PostCode!="") + param.Add("a.PostCode", "like", PostCode, DbType.String); + if (ExpressID > 0) param.Add("a.ExpressID", "=", ExpressID, DbType.Int32); + resultModel.DataSource = JC_ExpressCodeService.GetListJC_ExpressCode(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + #region 导出快递单号模板 + [WebMethod(EnableSession = true)] + public string TemplateExpressCode() + { + Pages.Login(this.Session); + TableColumnCollection listColumns = new TableColumnCollection(); + listColumns.Add("PostCode", "快递单号", DbType.String, ""); + DataTable tb = new DataTable(); + tb.Columns.Add("PostCode"); + MicrosoftExcel obj = new MicrosoftExcel(); + return obj.Export(tb, listColumns); + } + #endregion + + #region 保存快递费率 + [WebMethod(EnableSession = true)] + public void Save_JC_PostFee(JC_PostFee Model) + { + Pages.Login(this.Session); + JC_PostFeeService.Save(Model); + } + #endregion + + #region 保存快递费率 + [WebMethod(EnableSession = true)] + public int Save_PostFeeDetail(JC_PostFeeDetail Model) + { + Pages.Login(this.Session); + if (Model.CountryName == "不限") + { + Model.Country = "0"; + } + Model.CompanyId = Convert.ToInt32(Session["CompanyId"]); + int a= JC_PostFeeService.SavePostFeeDetail(Model); + return a; + } + #endregion + #region 导入快递费率 + [WebMethod(EnableSession = true)] + public string ImportPostFeeDetail(string FileName, int ExpressID) + { + Pages.Login(this.Session); + if (string.IsNullOrEmpty(FileName) == true) return "要导入的文件路径不能为空"; + string ServerFileName = AppDomain.CurrentDomain.BaseDirectory + FileName; + if (System.IO.File.Exists(ServerFileName) == false) return "要导入的文件路径不存在"; + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + string Name = Convert.ToString(Session["Name"]); + try + { + JC_PostFee Model = new JC_PostFee(); + Model.CompanyId = CompanyId; + Model.ExpressID = ExpressID; + Model.FeeType = 1; + int FedId=JC_PostFeeService.SavePostFee(Model); + + MicrosoftExcel excel = new MicrosoftExcel(); + DataTable tb = excel.ImportExcel(ServerFileName); + var obj1 = new HuoWuData(); + string error = ""; + if (tb.Columns.Contains("国家英文") == false) { error = error + "导入模板的国家英文列不存在"; } + if (tb.Columns.Contains("国家中文") == false) { error = error + "导入模板的国家中文列不存在"; } + if (tb.Columns.Contains("操作费或挂号费") == false) { error = error + "导入模板的操作费或挂号费列不存在"; } + if (tb.Columns.Contains("费率(KG千克)") == false) { error = error + "导入模板的费率(KG千克)列不存在"; } + if (tb.Columns.Contains("费率(G克)") == false) { error = error + "导入模板的费率(G克)列不存在"; } + if (string.IsNullOrEmpty(error) == false) return error + ";请导入格式不正确"; + HuoWuData obj = new HuoWuData(); + + int Num = 0; + for (int i = 0; i < tb.Rows.Count; i++) + { + JC_PostFeeDetail deModel = new JC_PostFeeDetail(); + deModel.ExpressId = ExpressID; + deModel.CompanyId = CompanyId; + deModel.FeeId = FedId; + if (tb.Rows[i]["起始重量g"].ToString().Trim() != "") + deModel.SWeight = Convert.ToInt32(tb.Rows[i]["起始重量g"].ToString().Trim()); + else + deModel.SWeight = 0; + if (tb.Rows[i]["截止重量g"].ToString().Trim() != "") + deModel.EWeight = Convert.ToInt32(tb.Rows[i]["截止重量g"].ToString().Trim()); + else + deModel.EWeight = 2000; + deModel.WeightType = 1; + if(tb.Rows[i]["货币单位"].ToString().Trim() != ""&&tb.Rows[i]["货币单位"].ToString().Trim()!="CNY") + deModel.MoneyCode = tb.Rows[i]["货币单位"].ToString().Trim(); + if(tb.Rows[i]["国家英文"].ToString().Trim()!="") + deModel.Country = tb.Rows[i]["国家英文"].ToString().Trim(); + else if (tb.Rows[i]["国家中文"].ToString().Trim() != "") + deModel.Country = tb.Rows[i]["国家中文"].ToString().Trim(); + if (deModel.Country == null || deModel.Country == "") + continue; + try + { + if(tb.Rows[i]["操作费或挂号费"].ToString().Trim()!="") + deModel.CodeFee =Convert.ToDecimal(tb.Rows[i]["操作费或挂号费"].ToString().Trim()); + else + deModel.CodeFee =0; + } + catch(Exception ex) + { + deModel.CodeFee =0; + } + try + { + if (tb.Rows[i]["费率(KG千克)"].ToString().Trim() != "") + deModel.FeeRate = Convert.ToDecimal(tb.Rows[i]["费率(KG千克)"].ToString().Trim()) / 1000; + + } + catch (Exception ex) + { + + } + try + { + if (tb.Rows[i]["费率(G克)"].ToString().Trim() != "") + deModel.FeeRate = Convert.ToDecimal(tb.Rows[i]["费率(KG千克)"].ToString().Trim()); + + } + catch (Exception ex) + { + + } + + int a= JC_PostFeeService.SavePostFeeDetail22(deModel); + if (a == 0) + error += "第"+(i+2).ToString()+"条"+ deModel.Country+"国家对应不上"; + else + Num++; + + + } + error = error + ";数据导入成功【" + Num.ToString() + "条】;"; + + return error; + } + catch (Exception e) + { + return "文件导入失败!请确定模板格式是否正确,或者重新下载模板,填写数据,重新导入!!!" + e.Message; + } + return "导入成功"; + } + #endregion + #region 删除快递费率 + [WebMethod(EnableSession = true)] + public void DeletePostFeeDetailList(List list) + { + Pages.Login(this.Session); + if (list == null) + return; + foreach (var md in list) + { + JC_PostFeeService.DeletePostFeeDetail(md.Id.Value); + } + } + #endregion + + #region 删除快递费率 + [WebMethod(EnableSession = true)] + public void DeletePostFeeDetail(int Id) + { + Pages.Login(this.Session); + JC_PostFeeService.DeletePostFeeDetail(Id); + } + #endregion + #region 返回对象 + [WebMethod(EnableSession = true)] + public JC_PostFee GetModel_JC_PostFee(int ExpressID) + { + Pages.Login(this.Session); + return JC_PostFeeService.GetModel(ExpressID); + } + #endregion + #region 分页查询快递费率 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_PostFee(int ExpressID,int PageIndex, int PageSize) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = "b.ExpressID asc"; + RefParameterCollection param = new RefParameterCollection(); + param.Add("a.CompanyId", "=", CompanyId, DbType.Int32); + param.Add("a.IsUse", "=", true, DbType.Boolean); + if (ExpressID > 0) param.Add("b.ExpressID", "=", ExpressID, DbType.Int32); + resultModel.DataSource = JC_PostFeeService.GetListJC_PostFee(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + #region 读取货币 + [WebMethod(EnableSession = true)] + public List GetMoneyList() + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + BaseService obj = new BaseService(); + return obj.GetMoneyList(CompanyId); + } + #endregion + #region 读取货币 + [WebMethod(EnableSession = true)] + public List GetMoneyListForTM(int PlatId) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + BaseService obj = new BaseService(); + return obj.GetMoneyListForTM(CompanyId, PlatId); + } + #endregion + #region 保存货币 + [WebMethod(EnableSession = true)] + public void SaveMoney(List list) + { + Pages.Login(this.Session); + BaseService obj = new BaseService(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + if (list != null) + { + foreach (var md in list) + { + md.CompanyId = CompanyId; + obj.SaveMoney(md); + } + } + } + #endregion + #region 保存货币 + [WebMethod(EnableSession = true)] + public void SaveMoneyForTM(List list,int PlatId) + { + Pages.Login(this.Session); + BaseService obj = new BaseService(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + if (list != null) + { + foreach (var md in list) + { + md.PlatId = PlatId; + md.CompanyId = CompanyId; + obj.SaveMoneyForTM(md); + } + } + } + #endregion + #region 删除货币 + [WebMethod(EnableSession = true)] + public void DeleteMoney(int Id) + { + Pages.Login(this.Session); + BaseService obj = new BaseService(); + obj.DeleteMoney(Id); + } + #endregion + + #region 国家 + #region 保存国家 + [WebMethod(EnableSession = true)] + public void Save_JC_Country(JC_Country Model) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + Model.CompanyId = CompanyId; + JC_CountryService.Save(Model); + } + #endregion + #region 删除国家 + [WebMethod(EnableSession = true)] + public void Delete_JC_Country(int Id) + { + Pages.Login(this.Session); + JC_CountryService.Delete(Id); + } + #endregion + #region 分页查询国家 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_Country(string Name,int PageIndex, int PageSize) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + JsonModel> resultModel = new JsonModel>(); + int RowCount = 0; + string Sort = ""; + RefParameterCollection param = new RefParameterCollection(); + if (Name != "") + { + param.Add("(a.Code", "=", Name, DbType.String); + param.Add("a.Name", "like", Name,"or", DbType.String); + param.Add("a.EnglishName", "like", Name, "or", ")", DbType.String); + } + //param.Add("a.CompanyId", "=", CompanyId, DbType.Int32); + resultModel.DataSource = JC_CountryService.GetListJC_Country(param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + #region 判断名称是否重复 + [WebMethod(EnableSession = true)] + public bool CheckName_JC_Country(int Id, string Name) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + return JC_CountryService.CheckName(Id, CompanyId, Name); + } + #endregion + #region 判断代码是否重复 + [WebMethod(EnableSession = true)] + public bool CheckCode_JC_Country(int Id, string Code) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + return JC_CountryService.CheckCode(Id, CompanyId, Code); + } + #endregion + #endregion + + + + #region 保存通知 + [WebMethod(EnableSession = true)] + public int SaveNotice(TZ_Notice Model, List list) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + Model.InUserId = UserId; + Model.CompayId = CompanyId; + if (Model.Id == 0) + Model.InDate = DateTime.Now; + BaseService obj = new BaseService(); + + int id = obj.SaveNotice(Model); + obj.DeleteNoticeRece(id); + if (list != null) + { + foreach (var md in list) + { + md.NoticeId = id; + md.ReceType = 1; + obj.SaveNoticeRece(md); + + } + + } + return id; + } + #endregion + #region 返回通知Model + [WebMethod(EnableSession = true)] + public TZ_Notice GetNoticeModel(int Id) + { + Pages.Login(this.Session); + + BaseService obj = new BaseService(); + var md = obj.GetNoticeModel(Id); + return md; + } + #endregion + #region 读取通知公司 + [WebMethod(EnableSession = true)] + public List GetCompanyList(string Name) + { + Pages.Login(this.Session); + + + var list = JC_CompanyService.GetCompanyList(Name); + return list; + } + #endregion + #region 读取通知接受人 + [WebMethod(EnableSession = true)] + public List GetNoticeReceList(int NoticeId) + { + Pages.Login(this.Session); + + BaseService obj = new BaseService(); + var list = obj.GetNoticeReceList(NoticeId); + return list; + } + #endregion + #region 删除通知 + [WebMethod(EnableSession = true)] + public void DeleteNotice(int Id) + { + Pages.Login(this.Session); + + BaseService obj = new BaseService(); + obj.DeleteNotice(Id); + + } + #endregion + + #region 分页查询通知 + [WebMethod(Description = "分页查询通知", EnableSession = true)] + public JsonModel> GetListTZ_Notice(int IsFB, string Title, string Name, DateTime? SDate, DateTime? EDate, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + + RefParameterCollection Param = new RefParameterCollection(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + if (IsFB == 1) + Param.Add("a.InUserId", "=", UserId, DbType.Int32); + if (Title != "") + Param.Add("a.Title", "like", Title, DbType.String); + if (Name != "") + Param.Add("a.SendName", "like", Name, DbType.String); + + + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<", EDate.Value.AddDays(1), DbType.DateTime); + + + + JsonModel> resultModel = new JsonModel>(); + + + int RowCount = 0; + string Sort = "id desc"; + + resultModel.DataSource = obj.GetListTZ_Notice(CompanyId, Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + return resultModel; + + } + #endregion + + + #region 保存公告 + [WebMethod(EnableSession = true)] + public int SaveGGNotice(GG_Notice Model, List list) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + Model.InUserId = UserId; + Model.CompayId = CompanyId; + if (Model.Id == 0) + Model.InDate = DateTime.Now; + BaseService obj = new BaseService(); + + int id = obj.SaveGGNotice(Model); + obj.DeleteGGNoticeRece(id); + if (list != null) + { + foreach (var md in list) + { + md.NoticeId = id; + md.ReceType = 1; + obj.SaveGGNoticeRece(md); + + } + + } + return id; + } + #endregion + #region 返回公告通知Model + [WebMethod(EnableSession = true)] + public GG_Notice GetGGNoticeModel(int Id) + { + Pages.Login(this.Session); + + BaseService obj = new BaseService(); + var md = obj.GetGGNoticeModel(Id); + return md; + } + #endregion + + #region 读取公告通知接受人 + [WebMethod(EnableSession = true)] + public List GetGGNoticeReceList(int NoticeId) + { + Pages.Login(this.Session); + + BaseService obj = new BaseService(); + var list = obj.GetGGNoticeReceList(NoticeId); + return list; + } + #endregion + #region 删除公告通知 + [WebMethod(EnableSession = true)] + public void DeleteGGNotice(int Id) + { + Pages.Login(this.Session); + + BaseService obj = new BaseService(); + obj.DeleteGGNotice(Id); + + } + #endregion + + #region 分页查询公告通知 + [WebMethod(Description = "分页查询通知", EnableSession = true)] + public JsonModel> GetListGG_Notice(int IsFB, string Title, string Name, DateTime? SDate, DateTime? EDate, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + + RefParameterCollection Param = new RefParameterCollection(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + if (IsFB == 1) + Param.Add("a.InUserId", "=", UserId, DbType.Int32); + if (Title != "") + Param.Add("a.Title", "like", Title, DbType.String); + if (Name != "") + Param.Add("a.SendName", "like", Name, DbType.String); + + + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<", EDate.Value.AddDays(1), DbType.DateTime); + + + + JsonModel> resultModel = new JsonModel>(); + + + int RowCount = 0; + string Sort = "id desc"; + + resultModel.DataSource = obj.GetListGG_Notice(CompanyId, Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + return resultModel; + + } + #endregion + + + #region 发货地址 + #region 保存发货地址 + [WebMethod(EnableSession = true)] + public void SavePostAddress(JC_PostAddress Model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + Model.CompanyId = CompanyId; + obj.SavePostAddress(Model); + } + #endregion + #region 删除发货地址 + [WebMethod(EnableSession = true)] + public void DeletePostAddress(int Id) + { + Pages.Login(this.Session); + var obj = new BaseService(); + obj.DeletePostAddress(Id); + } + #endregion + #region 分页发货地址 + [WebMethod(EnableSession = true)] + public List GetPostAddressList() + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + var obj = new BaseService(); + var list = obj.GetPostAddressList(CompanyId); + return list; + } + #endregion + #region 查询物流 + [WebMethod(EnableSession = true)] + public List GetExpressTypeList() + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + var obj = new JC_ExpressService(); + var list = obj.GetExpressTypeList(); + return list; + } + #endregion + #region 查询物流面板 + [WebMethod(EnableSession = true)] + public List GetExpressTemp(int LogisticsId) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + var obj = new JC_ExpressService(); + var list = obj.GetExpressTemp(LogisticsId); + return list; + } + #endregion + #endregion + + #region 读取默认时间 + [WebMethod(EnableSession = true)] + public string GetDefaultTime(int Days) + { + + return DateTime.Today.AddDays(Days).ToString("yyyy-MM-dd"); + } + #endregion + #region 读取生成Code + [WebMethod(EnableSession = true)] + public void CreateCode(int Num) + { + Random ran = new Random(); + var obj = new BaseService(); + + + for (int i = 0; i < Num; i++) + { + int RandKey = ran.Next(1000, 9999); + int RandKey1 = ran.Next(1, 9999); + string Code=RandKey.ToString() + DateTime.Now.ToString("yyyyMMddHHss") + RandKey1.ToString("0000"); + JC_FriendCode Model = new JC_FriendCode(); + Model.FriendCode = Code; + Model.UseState = 0; + Model.CreatTime = DateTime.Now; + obj.SaveFriendCode(Model); + } + } + #endregion + + #region 分页邀请码 + [WebMethod(Description = "分页查询邀请码", EnableSession = true)] + public JsonModel> GetListJC_FriendCode(string Code, int State,DateTime? Sdate,DateTime? Edate,int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + + RefParameterCollection Param = new RefParameterCollection(); + + + if (State>-1) + Param.Add("a.UseState", "=", State, DbType.Int32); + if (Code != "") + Param.Add("a.FriendCode", "like", Code, DbType.String); + + if(Sdate!=null) + Param.Add("a.CreatTime", ">=", Sdate, DbType.DateTime); + if (Edate != null) + Param.Add("a.CreatTime", "<", Edate.Value.AddDays(1), DbType.DateTime); + + + JsonModel> resultModel = new JsonModel>(); + + + int RowCount = 0; + string Sort = "id desc"; + + resultModel.DataSource = obj.GetListJC_FriendCode(Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + return resultModel; + + } + #endregion + + + #region 删除邀请码 + [WebMethod(EnableSession = true)] + public void DeleteFriendCode(List list) + { + Pages.Login(this.Session); + + var obj = new BaseService(); + if (list != null) + { + foreach (var md in list) + { + obj.DeleteFriendCode(md.Id.Value); + + } + + } + } + #endregion + #region 修改邀请码 + [WebMethod(EnableSession = true)] + public void UpdateFriendCode(List list) + { + Pages.Login(this.Session); + + var obj = new BaseService(); + if (list != null) + { + foreach (var md in list) + { + obj.SetFriendCode(md.Remark,md.Id.Value); + + } + + } + } + #endregion + #region 查询供应商信息 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_Supplier(string Name, string Phone, string Goods, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection Param = new RefParameterCollection(); + + Param.Add("a.CompanyId", "=", CompanyId, DbType.Int32); + if (Name!="") + Param.Add("a.SupplierName", "like", Name.Trim(), DbType.String); + if (Phone != "") + { + Phone = Phone.Trim(); + Param.Add("(a.Mobile", "like", Phone, DbType.String); + Param.Add("a.Phone", "like", Phone,"or", DbType.String); + Param.Add("a.Person", "like", Phone, "or",")", DbType.String); + } + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "SupplierId desc"; + + + + resultModel.DataSource = obj.GetListJC_Supplier(CompanyId,Goods.Trim(),Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + return resultModel; + + } + #endregion + + #region 查询供应商信息 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_SupplierForTM(string Name,string Buyer,string MoneyType,int IsCG,int IsHW, string Phone, string Goods, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection Param = new RefParameterCollection(); + + Param.Add("a.CompanyId", "=", CompanyId, DbType.Int32); + if (Name != "") + Param.Add("a.SupplierName", "like", Name.Trim(), DbType.String); + if (Buyer!="") + Param.Add("a.BuyerName", "like", Buyer.Trim(), DbType.String); + if (MoneyType!="0") + Param.Add("a.MoneyType", "=", MoneyType, DbType.String); + if (IsCG==1) + Param.Add("a.BuyUserId ", "is", null, DbType.String); + if (Phone != "") + { + Phone = Phone.Trim(); + Param.Add("(a.Mobile", "like", Phone, DbType.String); + Param.Add("a.Phone", "like", Phone, "or", DbType.String); + Param.Add("a.Person", "like", Phone, "or", ")", DbType.String); + } + + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "SupplierId desc"; + + + + resultModel.DataSource = obj.GetListJC_SupplierForTM(CompanyId, Goods.Trim(), Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + if (resultModel.DataSource != null && IsHW == 1) + { + foreach (var md in resultModel.DataSource) + { + md.GoodsList=obj.GetSupplierGoodsList(md.SupplierId.Value); + + } + + } + return resultModel; + + } + #endregion + + + #region 查询供应商信息 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_SupplierForTM2(string Name, string Buyer, string MoneyType, int IsCG, int IsHW, string Phone, string Goods, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection Param = new RefParameterCollection(); + + Param.Add("a.CompanyId", "=", CompanyId, DbType.Int32); + if (Name != "") + { + Param.Add("(a.SupplierName", "like", Name.Trim(), DbType.String); + Param.Add("a.SupplierCode", "like", Name.Trim(),"or",")", DbType.String); + } + if (Buyer != "") + Param.Add("a.BuyerName", "like", Buyer.Trim(), DbType.String); + if (MoneyType != "0") + Param.Add("a.MoneyType", "=", MoneyType, DbType.String); + if (IsCG == 1) + Param.Add("a.BuyUserId ", "is", null, DbType.String); + if (Phone != "") + { + Phone = Phone.Trim(); + Param.Add("(a.Mobile", "like", Phone, DbType.String); + Param.Add("a.Phone", "like", Phone, "or", DbType.String); + Param.Add("a.Person", "like", Phone, "or", ")", DbType.String); + } + + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "SupplierId desc"; + + + + resultModel.DataSource = obj.GetListJC_SupplierForTM2(CompanyId, Goods.Trim(), Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + if (resultModel.DataSource != null && IsHW == 1) + { + foreach (var md in resultModel.DataSource) + { + md.GoodsList = obj.GetSupplierGoodsList(md.SupplierId.Value); + + } + + } + return resultModel; + + } + #endregion + #region 查询供应商信息 + [WebMethod(EnableSession = true)] + public List GetSupplierList() + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + var list = obj.GetSupplierList(CompanyId); + return list; + + } + #endregion + #region 查询供应商信息 + [WebMethod(EnableSession = true)] + public List GetSupplierListFromName(string Name,int GoodsId) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + var list = obj.GetSupplierListFromName(CompanyId, Name.Trim(), GoodsId); + return list; + + } + #endregion + #region 查询供应商货物信息 + [WebMethod(EnableSession = true)] + public List GetSupplierGoods(string GoodsName,int SupplierId) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + var list =new List(); + + if(SupplierId==0) + list = obj.GetSupplierGoodsAll(CompanyId, GoodsName); + else + list = obj.GetSupplierGoods(SupplierId, GoodsName); + return list; + + } + #endregion + #region 查询供应商货物信息 + [WebMethod(EnableSession = true)] + public List GetSupplierGoodsForTM(string GoodsName, int SupplierId) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + var list = new List(); + + if (SupplierId == 0) + list = obj.GetSupplierGoodsAllForTM(CompanyId, GoodsName); + else + list = obj.GetSupplierGoodsForTM(SupplierId, GoodsName); + return list; + + } + #endregion + #region 删除供应商 + [WebMethod(EnableSession = true)] + public void DeleteSupplier(int SupplierId) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + obj.DeleteSupplier(SupplierId); + obj.DeleteSupplierGoods(SupplierId); + + + } + #endregion + #region 删除供应商 + [WebMethod(EnableSession = true)] + public void DeleteSupplierForTM(int SupplierId) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + obj.DeleteSupplier(SupplierId); + + + + } + #endregion + + #region 保存供应商货物信息 + [WebMethod(EnableSession = true)] + public void SaveSupplierGoods(List list, int SupplierId) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + obj.DeleteSupplierGoods(SupplierId); + + if (list != null) + { + foreach (var md in list) + { + + obj.SaveSupplierGoods(md); + + } + } + + } + #endregion + #region 保存供应商货物信息 + [WebMethod(EnableSession = true)] + public void SaveSupplierGoodsForTM(List list, int SupplierId) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + obj.DeleteSupplierGoodsForTM(SupplierId); + if (list != null) + { + foreach (var md in list) + { + + obj.SaveSupplierGoodsForTM(md); + + } + } + + } + #endregion + #region 保存供应商货物信息 + [WebMethod(EnableSession = true)] + public void SaveSupplierGoods2(List list, int GoodsId) + { + Pages.Login(this.Session); + var obj = new BaseService(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + obj.DeleteSupplierFromGoods(GoodsId); + + if (list != null) + { + foreach (var md in list) + { + + obj.SaveSupplierGoods(md); + + } + } + + } + #endregion + #region 保存 + [WebMethod(EnableSession = true)] + public void SaveSupplier(JC_Supplier Model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + Model.CompanyId = CompanyId; + Model.InUserId = UserId; + Model.InDate = DateTime.Now; + obj.SaveSupplier(Model); + } + #endregion + + #region 保存供应商 + [WebMethod(EnableSession = true)] + public string SaveSupplierForTM(JC_Supplier Model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + Model.CompanyId = CompanyId; + Model.InUserId = UserId; + Model.InDate = DateTime.Now; + if (Model.BuyerName.Trim() != "") + { + int buserid = JC_ShopService.IsShopUser(CompanyId, Model.BuyerName.Trim()); + if (buserid == 0) + return Model.BuyerName.Trim()+"没有在系统找到该人,请确定人名填写是否正确"; + Model.BuyerName = Model.BuyerName.Trim(); + Model.BuyUserId = buserid; + + } + obj.SaveSupplierForTM(Model); + return "成功"; + } + #endregion + + #region 保存供应商 + [WebMethod(EnableSession = true)] + public string SaveSupplierForTM2(JC_Supplier Model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + int UserId = Convert.ToInt32(Session["UserId"]); + Model.CompanyId = CompanyId; + Model.InUserId = UserId; + Model.InDate = DateTime.Now; + if (Model.BuyerName.Trim() != "") + { + int buserid = JC_ShopService.IsShopUser(CompanyId, Model.BuyerName.Trim()); + //if (buserid == 0) + // return Model.BuyerName.Trim() + "没有在系统找到该人,请确定人名填写是否正确"; + Model.BuyerName = Model.BuyerName.Trim(); + Model.BuyUserId = buserid; + + } + obj.SaveSupplierForTM2(Model); + return "成功"; + } + #endregion + #region 保存供应商采购人 + [WebMethod(EnableSession = true)] + public string SaveSupplierBuyer(JC_Supplier Model) + { + Pages.Login(this.Session); + var obj = new BaseService(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + + if (Model.BuyerName.Trim() != "") + { + int buserid = JC_ShopService.IsShopUser(CompanyId, Model.BuyerName.Trim()); + if (buserid == 0) + return Model.BuyerName.Trim() + "没有在系统找到该人,请确定人名填写是否正确"; + Model.BuyerName = Model.BuyerName.Trim(); + Model.BuyUserId = buserid; + + } + obj.UpdateSupplierForTM(Model); + return "成功"; + } + #endregion + + #region 查询邮局信息模板 + [WebMethod(EnableSession = true)] + public List GetPostExcelTemp() + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + var list = obj.GetPostExcelTemp(CompanyId); + return list; + + } + #endregion + + #region 查询邮局信息模板明细 + [WebMethod(EnableSession = true)] + public List GetPostExcelTempDetail(int ExpressId) + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + var list = obj.GetPostExcelTempDetail(ExpressId); + return list; + + } + #endregion + + #region 查询邮局信息模板列 + [WebMethod(EnableSession = true)] + public List GetPostExcelTempRow() + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + var list = obj.GetPostExcelTempRow(); + return list; + + } + #endregion + #region 查询邮局信息模板对象 + [WebMethod(EnableSession = true)] + public DT_PostExcelTemp GetPostExcelTempModel(int ExpressId) + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + var model = obj.GetExcelTempModel(ExpressId); + return model; + + } + #endregion + + #region 保存邮局模板 + [WebMethod(EnableSession = true)] + public void SavePostExcelTemp(DT_PostExcelTemp model, List list) + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + model.CompanyId = CompanyId; + + int ExcelId = obj.SavePostExcelTemp(model); + + obj.DeleteExcelTempDetail(ExcelId); + if (list != null) + { + int SortNo = 1; + foreach (var md in list) + { + md.ExcelId = ExcelId; + md.Id = 0; + md.SortNo = SortNo; + obj.SavePostExcelTempDetail(md); + SortNo++; + } + } + + } + #endregion + #region 删除邮局信息 + [WebMethod(EnableSession = true)] + public void DeletePostExcelTemp(int ExcelId) + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + obj.DeletePostExcelTemp(ExcelId); + + + } + #endregion + + #region 查询部门列表 + [WebMethod(EnableSession = true)] + public List GetDepartList(string DeptType) + { + Pages.Login(this.Session); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + var obj = new JC_DepartMentService(); + var list = obj.GetDepartList(CompanyId, DeptType); + return list; + + } + #endregion + + + #region 保存店铺数据 + [WebMethod(EnableSession = true)] + public int SaveShopData(JC_ShopData Model) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + if(Model.Id==null||Model.Id.Value==0) + Model.InDate = DateTime.Now; + Model.InName = Session["Name"].ToString(); + Model.InUserId = Convert.ToInt32(Session["UserId"]); + string tempstr=""; + if(Model.InforViolate>0) + { + tempstr += Model.ShopName + "店铺 商品信息质量违规 " + Model.InforViolate; + } + if (Model.PropertyViolate > 0) + { + tempstr += Model.ShopName + "店铺 知识产权禁限售违规 " + Model.PropertyViolate; + } + if (Model.OtherViolate > 0) + { + tempstr += Model.ShopName + "店铺 交易违规及其他 " + Model.OtherViolate; + } + //if(tempstr!="") + //{ + // JC_OpenMess mess = new JC_OpenMess(); + // mess.UserId = 1; + + // mess.UserType = "p"; + // mess.Content = tempstr; + // mess.IsRead = 0; + // mess.OpenDate = DateTime.Now; + + // BaseService.SaveOpenMess(mess); + + // JC_OpenMess mess1 = new JC_OpenMess(); + // mess1.UserId = 39; + + // mess1.UserType = "p"; + // mess1.Content = tempstr; + // mess1.IsRead = 0; + // mess1.OpenDate = DateTime.Now; + + // BaseService.SaveOpenMess(mess1); + // JC_OpenMess mess2 = new JC_OpenMess(); + // mess2.UserId = 26; + + // mess2.UserType = "p"; + // mess2.Content = tempstr; + // mess2.IsRead = 0; + // mess2.OpenDate = DateTime.Now; + + // BaseService.SaveOpenMess(mess2); + //} + int Id = BaseService.SaveShopData(Model); + return Id; + } + #endregion + + #region 保存店铺数据 + [WebMethod(EnableSession = true)] + public int SaveShopData2(JC_ShopData Model) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + if (Model.Id == null || Model.Id.Value == 0) + Model.InDate = DateTime.Now; + Model.InName = Session["Name"].ToString(); + Model.InUserId = Convert.ToInt32(Session["UserId"]); + + //string tempstr = ""; + //if (Model.InforViolate > 0) + //{ + // tempstr += Model.ShopName + "店铺 商品信息质量违规 " + Model.InforViolate; + //} + //if (Model.PropertyViolate > 0) + //{ + // tempstr += Model.ShopName + "店铺 知识产权禁限售违规 " + Model.PropertyViolate; + //} + //if (Model.OtherViolate > 0) + //{ + // tempstr += Model.ShopName + "店铺 交易违规及其他 " + Model.OtherViolate; + //} + + int Id = BaseService.SaveShopData(Model); + return Id; + } + #endregion + + #region 删除店铺数据 + [WebMethod(EnableSession = true)] + public void DeleteShopData(int Id) + { + Pages.Login(this.Session); + + + BaseService.DeleteShopData(Id); + + } + #endregion + #region 查询店铺数据 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_ShopData(int ShopId,string ShopIds, DateTime? SDate, DateTime? EDate, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + + RefParameterCollection Param = new RefParameterCollection(); + if (ShopId > 0) + Param.Add("a.ShopId", "=", ShopId, DbType.Int32); + else if (ShopIds!="") + { + Param.Add("a.ShopId", "in", ShopIds.Trim(','), DbType.String); + + } + + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<", EDate.Value.AddDays(1), DbType.DateTime); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "Id desc"; + resultModel.DataSource = BaseService.GetListJC_ShopData(Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + + + + return resultModel; + + } + #endregion + #region 查询店铺数据 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_ShopData2(int ShopId, string ShopIds, DateTime? SDate, DateTime? EDate, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + + RefParameterCollection Param = new RefParameterCollection(); + if (ShopId > 0) + Param.Add("a.ShopId", "=", ShopId, DbType.Int32); + else if (ShopIds != "") + { + Param.Add("a.ShopId", "in", ShopIds.Trim(','), DbType.String); + + } + + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<", EDate.Value.AddDays(1), DbType.DateTime); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "Id desc"; + resultModel.DataSource = BaseService.GetListJC_ShopData2(Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + + + + return resultModel; + + } + #endregion + #region 绩效统计数据 + [WebMethod(EnableSession = true)] + public string GetShopMoneyCount(int DeptId,int PlatId,int ShopId,int Year,int Month) + { + Pages.Login(this.Session); + + return ""; + + } + #endregion + + + #region 查询日志 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_Log1(DateTime? SDate, DateTime? EDate, string Content, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection Param = new RefParameterCollection(); + Param.Add("(a.LogType", "like", "订单", DbType.String); + Param.Add("a.LogType", "like", "声明","or",")", DbType.String); + + if (Content.Trim() != "") + { + Param.Add("(a.LogContext", "like", Content.Trim(), DbType.String); + Param.Add("c.PlatOrderCode", "=", Content.Trim(), "or", DbType.String); + Param.Add("c.JoinOrderCode", "=", Content.Trim(), "or", DbType.String); + Param.Add("b.Name", "like", Content.Trim(),"or",")", DbType.String); + } + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<=", EDate, DbType.DateTime); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "id"; + + resultModel.DataSource = BaseService.GetListJC_Log1(Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + + + return resultModel; + + } + #endregion + #region 查询日志 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_Log2(DateTime? SDate, DateTime? EDate, string Content, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection Param = new RefParameterCollection(); + Param.Add("a.LogType", "like", "采购", DbType.String); + if (Content.Trim() != "") + { + Param.Add("(a.LogContext", "like", Content.Trim(), DbType.String); + Param.Add("c.ChaseCode", "=", Content.Trim(), "or", DbType.String); + Param.Add("c.BuyCode", "=", Content.Trim(), "or", DbType.String); + Param.Add("b.Name", "like", Content.Trim(), "or", ")", DbType.String); + } + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<=", EDate, DbType.DateTime); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "id"; + + resultModel.DataSource = BaseService.GetListJC_Log2(Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + + + return resultModel; + + } + #endregion + #region 查询日志 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_Log3(DateTime? SDate, DateTime? EDate, string Content, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection Param = new RefParameterCollection(); + //Param.Add("a.LogType", "like", "仓库", DbType.String); + if (Content.Trim() != "") + { + Param.Add("(a.OrderCode", "like", Content.Trim(), DbType.String); + Param.Add("c.PlatOrderCode", "=", Content.Trim(), "or", DbType.String); + Param.Add("c.JoinOrderCode", "=", Content.Trim(), "or", DbType.String); + Param.Add("b.Name", "like", Content.Trim(), "or", ")", DbType.String); + } + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<=", EDate, DbType.DateTime); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "id"; + + resultModel.DataSource = BaseService.GetListJC_Log3(Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + + + return resultModel; + + } + #endregion + #region 查询日志 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_Log4(DateTime? SDate, DateTime? EDate, string Content, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + + int CompanyId = Convert.ToInt32(Session["CompanyId"]); + RefParameterCollection Param = new RefParameterCollection(); + Param.Add("a.LogType", "like", "货物", DbType.String); + if (Content.Trim() != "") + { + Param.Add("(a.LogContext", "like", Content.Trim(), DbType.String); + Param.Add("c.GoodsCode", "=", Content.Trim(), "or", DbType.String); + Param.Add("c.GoodsOldCode", "=", Content.Trim(), "or", DbType.String); + Param.Add("c.GoodsName", "like", Content.Trim(), "or", DbType.String); + Param.Add("b.Name", "like", Content.Trim(), "or", ")", DbType.String); + } + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<=", EDate, DbType.DateTime); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "id"; + + resultModel.DataSource = BaseService.GetListJC_Log2(Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + + + return resultModel; + + } + #endregion + #region 分页消息提醒 + [WebMethod(EnableSession = true)] + + public JsonModel> GetListOpenMess(int Type,DateTime? Sdate, DateTime? Edate, string Name, string Title, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + + int UserId = Convert.ToInt32(Session["UserId"]); + var obj = new BaseService(); + + RefParameterCollection Param = new RefParameterCollection(); + + + string Sort = "Id desc"; + if (Type==1) + Param.Add("a.UserId", "=", UserId, DbType.Int32); + if (Type==2) + Param.Add("a.InUserId", "=", UserId, DbType.Int32); + + if (Title != "") + { + Param.Add("a.Content", "like", Title, DbType.String); + + } + if (Name != "") + { + Param.Add("(b.Name", "like", Title, DbType.String); + Param.Add("c.Name", "like", Title, "or", ")", DbType.String); + } + if (Sdate != null) + Param.Add("OpenDate", ">=", Sdate, DbType.DateTime); + if (Edate != null) + Param.Add("OpenDate", "<", Edate.Value.AddDays(1), DbType.DateTime); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + + resultModel.DataSource = BaseService.GetListJC_OpenMess(Param, PageIndex, PageSize, Sort, out RowCount); + + resultModel.RowCount = RowCount; + + + return resultModel; + + } + #endregion + + #region 消息已读 + [WebMethod(EnableSession = true)] + public void MessRead(int Id) + { + Pages.Login(this.Session); + + + BaseService.MessRead(Id); + + } + #endregion + + + #region 保存赔款申请 + [WebMethod(EnableSession = true)] + public int SaveBackMoneyApply(DT_OrderBackMoneyApply model) + { + Pages.Login(this.Session); + + int UserId = Convert.ToInt32(Session["UserId"]); + int DeptId = Convert.ToInt32(Session["DeptId"]); + string Name = Convert.ToString(Session["Name"]); + DD_OrderData obj = new DD_OrderData(); + BaseService obj1 = new BaseService(); + if (model.Id == null || model.Id == 0) + { + int a=obj.IsOrderBackMoney(model.OrderCode); + if (a > 0) + return a; + } + model.Indate = DateTime.Now; + model.InUserId = UserId; + model.InName = Name; + var clist = obj1.GetDeptCharge2(DeptId); + if (clist != null && clist.Count > 0) + { + model.CompanyName1 = clist[0].Name; + model.CompanyUserId = clist[0].UserId; + } + model.OrderCode = model.OrderCode.Trim(); + model.GoodsCode = model.GoodsCode.Trim(); + string imgids = ""; + if (model.imglist != null) + { + foreach (var md in model.imglist) + { + imgids += md.id + ","; + } + } + if (imgids != "") + model.ImageIds = imgids.Trim(','); + obj.SaveBackMoneyApply(model); + + if (model.FactPrice != null && model.BackDate!=null) + { + model.OrderCode = model.OrderCode.Trim(); + obj.SaveBackMoneyFact(model); + } + return 0; + } + #endregion + #region 保存赔款申请 + [WebMethod(EnableSession = true)] + public int SaveBackMoneyApply2(int BackState,DT_OrderBackMoneyApply model) + { + Pages.Login(this.Session); + + int UserId = Convert.ToInt32(Session["UserId"]); + int DeptId = Convert.ToInt32(Session["DeptId"]); + string Name = Convert.ToString(Session["Name"]); + DD_OrderData obj = new DD_OrderData(); + BaseService obj1 = new BaseService(); + //if (model.Id == null || model.Id == 0) + //{ + // int a = obj.IsOrderBackMoney(model.OrderCode); + // if (a > 0) + // return 1; + //} + //if (model.Id == null || model.Id == 0) + //{ + // int orderid = obj.IsOrderBackMoney2(model.OrderCode); + // if (orderid==0) + // return 2; + // model.OrderId = orderid; + //} + model.Indate = DateTime.Now; + model.InUserId = UserId; + model.InName = Name; + + //var clist = obj1.GetDeptCharge2(DeptId); + //if (clist != null && clist.Count > 0) + //{ + // model.CompanyName1 = clist[0].Name; + // model.CompanyUserId = clist[0].UserId; + //} + model.OrderCode = model.OrderCode.Trim(); + model.GoodsCode = model.GoodsCode.Trim(); + model.BackDate = DateTime.Now; + string imgids = ""; + if (model.imglist != null) + { + foreach (var md in model.imglist) + { + imgids += md.id + ","; + } + } + if (imgids != "") + model.ImageIds = imgids.Trim(','); + obj.SaveBackMoneyForOrder(model.OrderId.Value, BackState); + obj.SaveBackMoneyApply2(BackState,model); + //if (model.FactPrice != null && model.BackDate != null) + //{ + // model.OrderCode = model.OrderCode.Trim(); + // obj.SaveBackMoneyFact(model); + //} + BaseService.SendOpenMess(1, Name+"有个订单退货赔款申请需要你审批", ""); + return 0; + } + #endregion + + #region 保存赔款申请 + [WebMethod(EnableSession = true)] + public int SaveBackMoneyApply3(DT_OrderBackMoneyApply model) + { + Pages.Login(this.Session); + + int UserId = Convert.ToInt32(Session["UserId"]); + int DeptId = Convert.ToInt32(Session["DeptId"]); + string Name = Convert.ToString(Session["Name"]); + DD_OrderData obj = new DD_OrderData(); + + + obj.SaveBackMoneyApply3(model); + + return 0; + } + #endregion + + #region 保存赔款批注 + [WebMethod(EnableSession = true)] + public void SaveBackMoneyCheck(DT_OrderBackMoneyApply model) + { + Pages.Login(this.Session); + + // int UserId = Convert.ToInt32(Session["UserId"]); + // string Name = Convert.ToString(Session["Name"]); + DD_OrderData obj = new DD_OrderData(); + obj.SaveBackMoneyCheck2(model); + + } + #endregion + + #region 保存订单处理状态 + [WebMethod(EnableSession = true)] + public void SaveBackMoneyState(int Id,int State,int BackState) + { + Pages.Login(this.Session); + + // int UserId = Convert.ToInt32(Session["UserId"]); + // string Name = Convert.ToString(Session["Name"]); + DD_OrderData obj = new DD_OrderData(); + obj.SaveBackMoneyState(Id, State,BackState); + + } + #endregion + #region 保存赔款批注 + [WebMethod(EnableSession = true)] + public void SaveBackMoneyCheckList(List list) + { + Pages.Login(this.Session); + if (list == null) + return; + + + int UserId = Convert.ToInt32(Session["UserId"]); + // string Name = Convert.ToString(Session["Name"]); + DD_OrderData obj = new DD_OrderData(); + foreach (var md in list) + { + if (UserId == 1) + md.CompanyAgree2 = "同意赔款"; + else + md.CompanyAgree1 = "同意赔款"; + + obj.SaveBackMoneyCheck2(md); + } + + } + #endregion + #region 保存赔款实际 + [WebMethod(EnableSession = true)] + public void SaveBackMoneyFact(DT_OrderBackMoneyApply model) + { + Pages.Login(this.Session); + + + DD_OrderData obj = new DD_OrderData(); + model.OrderCode = model.OrderCode.Trim(); + obj.SaveBackMoneyFact(model); + + } + #endregion + + #region 查询部门负责人 + [WebMethod(EnableSession = true)] + public string GetDeptName() + { + Pages.Login(this.Session); + + int UserId = Convert.ToInt32(Session["UserId"]); + + BaseService obj = new BaseService(); + var list=obj.GetDeptCharge(UserId); + string name = ""; + if (list != null) + { + foreach (var md in list) + { + name += md.Name + ","; + } + } + return name.Trim(','); + } + #endregion + #region 查询赔款数据 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_OrderBack(int ShopId, string ShopIds, string Reason1, string Reason2, string Reason3, string Name, int CheckState1, int CheckState2, DateTime? SDate, DateTime? EDate, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + int UserId = Convert.ToInt32(Session["UserId"]); + int DeptId = Convert.ToInt32(Session["DeptId"]); + + string DName = Convert.ToString(Session["Name"]); + string Duty= Convert.ToString(Session["Duty"]); + RefParameterCollection Param = new RefParameterCollection(); + if (Duty != "副总经理" && Duty != "总经理" && Duty != "经理") + { + Param.Add("(a.InUserId", "=", UserId, DbType.Int32); + Param.Add("a.CompanyUserId", "=", UserId, "or", DbType.Int32); + Param.Add("a.DeptName", "=", DName, "or", ")", DbType.String); + } + + if (ShopId> 0) + Param.Add("b.DeptId", "=", ShopId, DbType.Int32); + if (ShopIds != "") + { + Param.Add("a.ShopId", "in", ShopIds.Trim(','), DbType.String); + + } + if (CheckState1 == 1) + { + Param.Add("a.CompanyAgree1", "=", "同意赔款", DbType.String); + + } + else + if (CheckState1 == 2) + { + Param.Add("a.CompanyAgree1", "=", "不同意赔款", DbType.String); + } + else + if (CheckState1 == 0) + { + Param.Add("isnull(a.CompanyAgree1,'')", "=", "", DbType.String); + } + if (CheckState2 == 1) + { + Param.Add("a.CompanyAgree2", "=", "同意赔款", DbType.String); + + } + else + if (CheckState2 == 2) + { + Param.Add("a.CompanyAgree2", "=", "不同意赔款", DbType.String); + } + else + if (CheckState2 == 0) + { + Param.Add("isnull(a.CompanyAgree2,'')", "=", "", DbType.String); + } + + + + + if (Name != "") + { + Param.Add("(a.InName", "like", Name, DbType.String); + Param.Add("a.OrderCode", "like", Name, "or", DbType.String); + Param.Add("a.GoodsCode", "like", Name, "or",")",DbType.String); + } + + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<", EDate.Value.AddDays(1), DbType.DateTime); + + + + if (Reason1 != "0") + Param.Add("a.BackReason1", "=", Reason1, DbType.String); + if (Reason2 != "0") + Param.Add("a.BackReason2", "=", Reason2, DbType.String); + if (Reason3 != "0") + Param.Add("a.BackReason3", "=", Reason3, DbType.String); + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "Id desc"; + resultModel.DataSource = obj.GetListDT_OrderBackMoneyApply(Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + + var md1 = obj.GetListDT_OrderBackMoneyApply2(Param); + if (md1 != null && md1.PlanPrice!=null) + resultModel.ErrorMsg = md1.PlanPrice.ToString(); + else + resultModel.ErrorMsg ="0"; + + + + + if (resultModel.DataSource != null) + { + + foreach (var md in resultModel.DataSource) + { + if (md.BackReason1 == "事业部"&&md.DName!= null) + { + md.BackReason1 += "【" + md.DName + "】"; + + } + + if (md.CompanyDate1 != null) + { + string remark = ""; + if (md.CompanyAgree1 != null && md.CompanyAgree1 != "") + remark = md.CompanyAgree1; + if (md.CompanyRemark != null && md.CompanyRemark != "") + remark += md.CompanyRemark; + + md.CompanyContent =remark + "【" + md.CompanyName1 + " " + md.CompanyDate1.Value.ToString("yyyy-MM-dd HH:mm") + "】"; + + } + if (md.CompanyDate2 != null) + { + string remark2 = ""; + if (md.CompanyAgree2!= null && md.CompanyAgree2 != "") + remark2 = md.CompanyAgree2; + if (md.CompanyRemark2 != null && md.CompanyRemark2 != "") + remark2 += md.CompanyRemark2; + + md.CompanyContent += "
" + remark2 + "【总经理" + md.CompanyDate2.Value.ToString("yyyy-MM-dd HH:mm") + "】"; + + } + + } + + } + + + + return resultModel; + + } + #endregion + #region 查询赔款数据 + [WebMethod(EnableSession = true)] + public JsonModel> GetListJC_OrderBack2(int ShopId, string Reason1, string Name, int CheckState1, int CheckState2, DateTime? SDate, DateTime? EDate, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + int UserId = Convert.ToInt32(Session["UserId"]); + int DeptId = Convert.ToInt32(Session["DeptId"]); + + string DName = Convert.ToString(Session["Name"]); + string Duty = Convert.ToString(Session["Duty"]); + RefParameterCollection Param = new RefParameterCollection(); + if (Duty != "副总经理" && Duty != "总经理" && Duty != "经理") + { + Param.Add("a.InUserId", "=", UserId, DbType.Int32); + + + } + + + if (ShopId>0) + { + Param.Add("a.ShopId", "=", ShopId, DbType.String); + + } + if(CheckState1!=-1) + Param.Add("a.State", "=", CheckState1, DbType.Int32); + if (CheckState2 == 1) + { + Param.Add("a.CompanyAgree2", "=", "同意赔款", DbType.String); + + } + else + if (CheckState2== 2) + { + Param.Add("a.CompanyAgree2", "=", "不同意赔款", DbType.String); + } + else + if (CheckState2== 0) + { + Param.Add("isnull(a.CompanyAgree2,'')", "=", "", DbType.String); + } + + + + + if (Name != "") + { + Param.Add("(a.InName", "like", Name, DbType.String); + Param.Add("a.OrderCode", "like", Name, "or", DbType.String); + Param.Add("a.GoodsCode", "like", Name, "or", ")", DbType.String); + } + + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<", EDate.Value.AddDays(1), DbType.DateTime); + + + + if (Reason1 != "0") + Param.Add("a.BackReason1", "=", Reason1, DbType.String); + + JsonModel> resultModel = new JsonModel>(); + + int RowCount = 0; + + string Sort = "c.OrderDate desc"; + resultModel.DataSource = obj.GetListDT_OrderBackMoneyApply2(Param, PageIndex, PageSize, Sort, out RowCount); + resultModel.RowCount = RowCount; + if (resultModel.DataSource != null) + { + string OrderIds = ""; + List list = new List(); + List list2 = new List(); + + foreach (var md in resultModel.DataSource) + { + OrderIds += md.OrderId.Value.ToString() + ","; + } + if (OrderIds != "") + { + list = obj.Get_OrderGoodsForBack(OrderIds.TrimEnd(',')); + list2 = obj.Get_OrderGoodsForBack2(OrderIds.TrimEnd(',')); + } + if(list==null) + list = new List(); + if (list2 == null) + list2 = new List(); + decimal USDRate = Convert.ToDecimal(6.5); + var obj2 = new BaseService(); + var mlist = obj2.GetMoneyList2(); + + foreach (var md in resultModel.DataSource) + { + decimal lr = 0; + var mmd = mlist.Find(n => n.PlatId == md.PlatId && n.MCode == "USD"); + if (mmd != null) + USDRate = mmd.MRate.Value; + decimal yjll=0; + if (md.PlatId == 1) + yjll =Convert.ToDecimal(0.05); + else if (md.PlatId == 2 || md.PlatId == 3) + yjll = Convert.ToDecimal(0.15); + else if (md.PlatId == 5) + yjll = Convert.ToDecimal(0.1); + + if(md.OrderPrice!=null) + md.YJPrice = Convert.ToDecimal((md.OrderPrice.Value * yjll).ToString("0.00")); + else + md.YJPrice = 0; + decimal ddje = md.OrderPrice.Value; + if (md.OrderState == 0) + { + md.YJPrice = Convert.ToDecimal((md.YJPrice.Value * Convert.ToDecimal(0.2)).ToString("0.00")); + ddje = 0; + + + } + + var md1 = list.FindAll(n => n.OrderId == md.OrderId); + var md2 = list2.FindAll(n => n.OrderId == md.OrderId); + decimal GoodFee=0; + if (md1 != null) + { + foreach (var md11 in md1) + { + GoodFee +=Convert.ToDecimal(((md11.GDFee.Value + md11.Fee1.Value)/USDRate).ToString("0.00"))+ md11.Fee2.Value; + } + + } + md.GoodsFee = GoodFee; + if (md.BackState == 1 || md.BackState == 3) + md.GoodsFee = 0; + md.OnePostFee = 0; + md.PostRate = 0; + if (md2 != null && md2.Count>0) + { + md.OnePostFee = md2[0].Fee1; + if (md2[0].PostId == 65) + md.PostRate = md2[0].Fee1.Value * Convert.ToDecimal(0.1); + + } + decimal yf=0; + if(md.PostFee!=null&&md.PostFee>0) + yf=md.PostFee.Value; + decimal pk=0; + if(md.FactPrice!=null&&md.FactPrice>0) + pk=md.FactPrice.Value; + lr = ddje - md.YJPrice.Value -md.escrowFee.Value- md.GoodsFee.Value - md.OnePostFee.Value - md.PostRate.Value - pk - yf; + md.LRFee = lr; + } + + + + } + //var md1 = obj.GetListDT_OrderBackMoneyApply2(Param); + //if (md1 != null && md1.PlanPrice != null) + // resultModel.ErrorMsg = md1.PlanPrice.ToString(); + //else + // resultModel.ErrorMsg = "0"; + + + + + + + + + return resultModel; + + } + #endregion + + #region 导出赔款数据 + [WebMethod(EnableSession = true)] + public string GetListJC_OrderBackExcel(int ShopId, string Reason1, string Name, int CheckState1, int CheckState2, DateTime? SDate, DateTime? EDate, int PageIndex, int PageSize) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + int UserId = Convert.ToInt32(Session["UserId"]); + int DeptId = Convert.ToInt32(Session["DeptId"]); + + string DName = Convert.ToString(Session["Name"]); + string Duty = Convert.ToString(Session["Duty"]); + RefParameterCollection Param = new RefParameterCollection(); + if (Duty != "副总经理" && Duty != "总经理" && Duty != "经理") + { + Param.Add("a.InUserId", "=", UserId, DbType.Int32); + + + } + + + if (ShopId > 0) + { + Param.Add("a.ShopId", "=", ShopId, DbType.String); + + } + if (CheckState1 != -1) + Param.Add("a.State", "=", CheckState1, DbType.Int32); + if (CheckState2 == 1) + { + Param.Add("a.CompanyAgree2", "=", "同意赔款", DbType.String); + + } + else + if (CheckState2 == 2) + { + Param.Add("a.CompanyAgree2", "=", "不同意赔款", DbType.String); + } + else + if (CheckState2 == 0) + { + Param.Add("isnull(a.CompanyAgree2,'')", "=", "", DbType.String); + } + + + + + if (Name != "") + { + Param.Add("(a.InName", "like", Name, DbType.String); + Param.Add("a.OrderCode", "like", Name, "or", DbType.String); + Param.Add("a.GoodsCode", "like", Name, "or", ")", DbType.String); + } + + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<", EDate.Value.AddDays(1), DbType.DateTime); + + + + if (Reason1 != "0") + Param.Add("a.BackReason1", "=", Reason1, DbType.String); + + + int RowCount = 0; + + string Sort = "c.OrderDate desc"; + List list3= obj.GetListDT_OrderBackMoneyApply2(Param, PageIndex, PageSize, Sort, out RowCount); + if (list3 != null) + { + string OrderIds = ""; + List list = new List(); + List list2 = new List(); + + foreach (var md in list3) + { + OrderIds += md.OrderId.Value.ToString() + ","; + } + if (OrderIds != "") + { + list = obj.Get_OrderGoodsForBack(OrderIds.TrimEnd(',')); + list2 = obj.Get_OrderGoodsForBack2(OrderIds.TrimEnd(',')); + } + if (list == null) + list = new List(); + if (list2 == null) + list2 = new List(); + decimal USDRate = Convert.ToDecimal(6.5); + var obj2 = new BaseService(); + var mlist = obj2.GetMoneyList2(); + + foreach (var md in list3) + { + decimal lr = 0; + var mmd = mlist.Find(n => n.PlatId == md.PlatId && n.MCode == "USD"); + if (mmd != null) + USDRate = mmd.MRate.Value; + decimal yjll = 0; + if (md.PlatId == 1) + yjll = Convert.ToDecimal(0.05); + else if (md.PlatId == 2 || md.PlatId == 3) + yjll = Convert.ToDecimal(0.15); + else if (md.PlatId == 5) + yjll = Convert.ToDecimal(0.1); + + if (md.OrderPrice != null) + md.YJPrice = Convert.ToDecimal((md.OrderPrice.Value * yjll).ToString("0.00")); + else + md.YJPrice = 0; + decimal ddje = md.OrderPrice.Value; + if (md.OrderState == 0) + { + md.YJPrice = Convert.ToDecimal((md.YJPrice.Value * Convert.ToDecimal(0.2)).ToString("0.00")); + ddje = 0; + + + } + var md1 = list.FindAll(n => n.OrderId == md.OrderId); + var md2 = list2.FindAll(n => n.OrderId == md.OrderId); + decimal GoodFee = 0; + if (md1 != null) + { + foreach (var md11 in md1) + { + GoodFee += Convert.ToDecimal(((md11.GDFee.Value + md11.Fee1.Value) / USDRate).ToString("0.00")) + md11.Fee2.Value; + } + + } + md.GoodsFee = GoodFee; + if (md.BackState == 1 || md.BackState == 3) + md.GoodsFee = 0; + md.OnePostFee = 0; + md.PostRate = 0; + if (md2 != null && md2.Count > 0) + { + md.OnePostFee = md2[0].Fee1; + if (md2[0].PostId == 65) + md.PostRate = md2[0].Fee1.Value * Convert.ToDecimal(0.1); + + } + decimal yf = 0; + if (md.PostFee != null && md.PostFee > 0) + yf = md.PostFee.Value; + decimal pk = 0; + if (md.FactPrice != null && md.FactPrice > 0) + pk = md.FactPrice.Value; + lr = ddje - md.YJPrice.Value-md.escrowFee.Value - md.GoodsFee.Value - md.OnePostFee.Value - md.PostRate.Value - pk - yf; + md.LRFee = lr; + } + + + + } + + DataTable tb = list3.ToDataTable(); + TableColumnCollection listColumns = new TableColumnCollection(); + listColumns.Add("ShopName", "店铺", DbType.String, ""); + listColumns.Add("OrderCode", "订单号", DbType.String, ""); + listColumns.Add("GoodsCode", "货物编号", DbType.String, ""); + listColumns.Add("BackReason1", "订单日期", DbType.String, ""); + listColumns.Add("OrderDate", "赔款原因", DbType.String, "yyyy-MM-dd"); + listColumns.Add("BackAdvise", "赔款初步方案", DbType.String, ""); + listColumns.Add("BackAdvise2", "赔款最终方案", DbType.String, ""); + listColumns.Add("OrderStateName", "订单状态", DbType.String, ""); + listColumns.Add("OrderPrice", "订单原金额", DbType.String, ""); + + listColumns.Add("YJPrice", "佣金$", DbType.String, ""); + listColumns.Add("escrowFee", "税费", DbType.String, ""); + listColumns.Add("GoodsFee", "货物成本", DbType.String, ""); + listColumns.Add("OnePostFee", "首次运费", DbType.String, ""); + listColumns.Add("PostRate", "运费佣金", DbType.String, ""); + listColumns.Add("FactPrice", "实际赔款", DbType.String, ""); + listColumns.Add("PostFee", "我们承担退货运费", DbType.String, ""); + listColumns.Add("LRFee", "利润", DbType.String, ""); + listColumns.Add("BackStateName", "退货仓库验货", DbType.String, ""); + listColumns.Add("StateName", "处理状态", DbType.String, ""); + listColumns.Add("InName", "提交人", DbType.String, ""); + listColumns.Add("CompanyRemark", "领导意见1", DbType.String, ""); + listColumns.Add("CompanyRemark2", "领导意见2", DbType.String, ""); + + MicrosoftExcel obj3 = new MicrosoftExcel(); + return obj3.Export(tb, listColumns); + + } + #endregion + + + #region 查询赔款数据 + [WebMethod(EnableSession = true)] + public List GetOrderBackCount1(int ShopId, string ShopIds, string Name, int CheckState1, int CheckState2, DateTime? SDate, DateTime? EDate) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + int UserId = Convert.ToInt32(Session["UserId"]); + int DeptId = Convert.ToInt32(Session["DeptId"]); + string DName = Convert.ToString(Session["Name"]); + RefParameterCollection Param = new RefParameterCollection(); + Param.Add("(a.InUserId", "=", UserId, DbType.Int32); + Param.Add("a.CompanyUserId", "=", UserId, "or", DbType.Int32); + Param.Add("a.DeptName", "=", DName, "or", ")", DbType.String); + if (ShopId > 0) + Param.Add("b.DeptId", "=", ShopId, DbType.Int32); + if (ShopIds != "") + { + Param.Add("a.ShopId", "in", ShopIds.Trim(','), DbType.String); + + } + if (CheckState1 == 1) + { + Param.Add("a.CompanyAgree1", "=", "同意赔款", DbType.String); + + } + else + if (CheckState1 == 2) + { + Param.Add("a.CompanyAgree1", "=", "不同意赔款", DbType.String); + } + else + if (CheckState1 == 0) + { + Param.Add("isnull(a.CompanyAgree1,'')", "=", "", DbType.String); + } + if (CheckState2 == 1) + { + Param.Add("a.CompanyAgree2", "=", "同意赔款", DbType.String); + + } + else + if (CheckState2 == 2) + { + Param.Add("a.CompanyAgree2", "=", "不同意赔款", DbType.String); + } + else + if (CheckState2 == 0) + { + Param.Add("isnull(a.CompanyAgree2,'')", "=", "", DbType.String); + } + + + + + if (Name != "") + { + Param.Add("(a.InName", "like", Name, DbType.String); + Param.Add("a.OrderCode", "like", Name, "or", DbType.String); + Param.Add("a.GoodsCode", "like", Name, "or", ")", DbType.String); + } + + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<", EDate.Value.AddDays(1), DbType.DateTime); + + + + + + var list = obj.GetListDT_OrderBackMoneyApply3(Param); + + + return list; + + } + #endregion + #region 查询赔款数据 + [WebMethod(EnableSession = true)] + public List GetOrderBackCount2(int ShopId, string ShopIds, string Name, string Reason1, int CheckState1, int CheckState2, DateTime? SDate, DateTime? EDate) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + int UserId = Convert.ToInt32(Session["UserId"]); + int DeptId = Convert.ToInt32(Session["DeptId"]); + + RefParameterCollection Param = new RefParameterCollection(); + Param.Add("(a.InUserId", "=", UserId, DbType.Int32); + Param.Add("a.CompanyUserId", "=", UserId, "or", ")", DbType.Int32); + if (ShopId > 0) + Param.Add("b.DeptId", "=", ShopId, DbType.Int32); + if (ShopIds != "") + { + Param.Add("a.ShopId", "in", ShopIds.Trim(','), DbType.String); + + } + if (CheckState1 == 1) + { + Param.Add("a.CompanyAgree1", "=", "同意赔款", DbType.String); + + } + else + if (CheckState1 == 2) + { + Param.Add("a.CompanyAgree1", "=", "不同意赔款", DbType.String); + } + else + if (CheckState1 == 0) + { + Param.Add("isnull(a.CompanyAgree1,'')", "=", "", DbType.String); + } + if (CheckState2 == 1) + { + Param.Add("a.CompanyAgree2", "=", "同意赔款", DbType.String); + + } + else + if (CheckState2 == 2) + { + Param.Add("a.CompanyAgree2", "=", "不同意赔款", DbType.String); + } + else + if (CheckState2 == 0) + { + Param.Add("isnull(a.CompanyAgree2,'')", "=", "", DbType.String); + } + + + + + if (Name != "") + { + Param.Add("(a.InName", "like", Name, DbType.String); + Param.Add("a.OrderCode", "like", Name, "or", DbType.String); + Param.Add("a.GoodsCode", "like", Name, "or", ")", DbType.String); + } + + if (SDate != null) + Param.Add("a.InDate", ">=", SDate, DbType.DateTime); + if (EDate != null) + Param.Add("a.InDate", "<", EDate.Value.AddDays(1), DbType.DateTime); + + + if (Reason1 != "0") + Param.Add("a.BackReason1", "=", Reason1, DbType.String); + + + var list = obj.GetListDT_OrderBackMoneyApply4(Param); + + + return list; + + } + #endregion + #region 获取赔款 + [WebMethod(EnableSession = true)] + public DT_OrderBackMoneyApply GetOrderBackMoneyModel(int Id) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + + + var md = obj.GetOrderBackMoneyModel(Id); + + if (md != null && md.ImageIds != null && md.ImageIds != "") + { + BaseService obj1 = new BaseService(); + var list = obj1.GetListJC_Resource(md.ImageIds.Trim(',')); + md.imglist = list; + } + if (md != null) + { + if (md.CompanyDate1 != null) + { + string remark = ""; + if (md.CompanyAgree1 != null && md.CompanyAgree1 != "") + remark = md.CompanyAgree1; + if (md.CompanyRemark != null && md.CompanyRemark != "") + remark += md.CompanyRemark; + + md.CompanyContent = remark + "【" + md.CompanyName1 + " " + md.CompanyDate1.Value.ToString("yyyy-MM-dd HH:mm") + "】"; + + } + if (md.CompanyDate2 != null) + { + string remark2 = ""; + if (md.CompanyAgree2 != null && md.CompanyAgree2 != "") + remark2 = md.CompanyAgree2; + if (md.CompanyRemark2 != null && md.CompanyRemark2 != "") + remark2 += md.CompanyRemark2; + + md.CompanyContent += "
" + remark2 + "【总经理" + md.CompanyDate2.Value.ToString("yyyy-MM-dd HH:mm") + "】"; + + } + } + return md; + + } + + #endregion + #region 获取赔款 + [WebMethod(EnableSession = true)] + public DT_OrderBackMoneyApply GetOrderBackMoneyModel22(int Id) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + + + var md = obj.GetOrderBackMoneyModel22(Id); + + if (md != null && md.ImageIds != null && md.ImageIds != "") + { + BaseService obj1 = new BaseService(); + var list = obj1.GetListJC_Resource(md.ImageIds.Trim(',')); + md.imglist = list; + } + //if (md != null) + //{ + // if (md.CompanyDate1 != null) + // { + // string remark = ""; + // if (md.CompanyAgree1 != null && md.CompanyAgree1 != "") + // remark = md.CompanyAgree1; + // if (md.CompanyRemark != null && md.CompanyRemark != "") + // remark += md.CompanyRemark; + + // md.CompanyContent = remark + "【" + md.CompanyName1 + " " + md.CompanyDate1.Value.ToString("yyyy-MM-dd HH:mm") + "】"; + + // } + // if (md.CompanyDate2 != null) + // { + // string remark2 = ""; + // if (md.CompanyAgree2 != null && md.CompanyAgree2 != "") + // remark2 = md.CompanyAgree2; + // if (md.CompanyRemark2 != null && md.CompanyRemark2 != "") + // remark2 += md.CompanyRemark2; + + // md.CompanyContent += "
" + remark2 + "【总经理" + md.CompanyDate2.Value.ToString("yyyy-MM-dd HH:mm") + "】"; + + // } + //} + return md; + + } + + #endregion + #region 获取赔款 + [WebMethod(EnableSession = true)] + public DT_OrderBackMoneyApply GetOrderBackMoneyModel2(int OrderId) + { + Pages.Login(this.Session); + DD_OrderData obj = new DD_OrderData(); + + + var md = obj.GetOrderBackMoneyModel2(OrderId); + + if (md != null && md.ImageIds != null && md.ImageIds != "") + { + BaseService obj1 = new BaseService(); + var list = obj1.GetListJC_Resource(md.ImageIds.Trim(',')); + md.imglist = list; + } + if (md != null) + { + if (md.CompanyDate1 != null) + { + string remark = ""; + if (md.CompanyAgree1 != null && md.CompanyAgree1 != "") + remark = md.CompanyAgree1; + if (md.CompanyRemark != null && md.CompanyRemark != "") + remark += md.CompanyRemark; + + md.CompanyContent = remark + "【" + md.CompanyName1 + " " + md.CompanyDate1.Value.ToString("yyyy-MM-dd HH:mm") + "】"; + + } + if (md.CompanyDate2 != null) + { + string remark2 = ""; + if (md.CompanyAgree2 != null && md.CompanyAgree2 != "") + remark2 = md.CompanyAgree2; + if (md.CompanyRemark2 != null && md.CompanyRemark2 != "") + remark2 += md.CompanyRemark2; + + md.CompanyContent += "
" + remark2 + "【总经理" + md.CompanyDate2.Value.ToString("yyyy-MM-dd HH:mm") + "】"; + + } + } + return md; + + } + + #endregion + #region 删除赔款 + [WebMethod(EnableSession = true)] + public void DeleteOrderBackMoney(int Id) + { + Pages.Login(this.Session); + var obj = new DD_OrderData(); + obj.DeleteOrderBackMoney(Id); + } + #endregion + + #region 赔款 + [WebMethod(EnableSession = true)] + public void UpdateOrderBackMoney() + { + Pages.Login(this.Session); + int UserId = Convert.ToInt32(Session["UserId"]); + var obj = new DD_OrderData(); + obj.UpdateOrderBackMoney(UserId); + } + #endregion + + #region 订单纠纷 + [WebMethod(EnableSession = true)] + public string queryIssueList(List ListModel) + { + string ErrorMess = ""; + string errorlist = ""; + string success = ""; + API_OrderInfoService aois = new API_OrderInfoService(); + foreach (int ShopId in ListModel) + { + try + { + string errorm = ""; + AlibabaApi obj = new AlibabaApi(); + var model = JC_ShopService.GetModel(ShopId); + if (model != null) + { + obj.Appkey = model.Appkey; + obj.DeveKey = model.DeveKey; + obj.RefreshToken = model.RefreshToken; + obj.AccessToken = model.AccessToken; + obj.GroupName = model.ShopName; + obj.RefreshTokenSaveTime = model.RefreshTokenSaveTime; + obj.AccessTokenUpdateTime = model.AccessTokenUpdateTime; + + string orderstr = obj.GetQueryIssueList(1, "", out errorm); + + if (!orderstr.Contains("失败")) + { + JObject jo = (JObject)JsonConvert.DeserializeObject(orderstr); + string totalItem = jo["totalItem"].ToString(); + + if (totalItem == "0") errorlist += "没有纠纷订单\r\n"; + + int totalpage = (int)((Convert.ToInt32(totalItem) + 9) / 10); + + for (int i = totalpage; i >= 1; i--) + { + orderstr = obj.GetQueryIssueList(i, "", out errorm);//WAIT_SELLER_CONFIRM_REFUND + + if (!orderstr.Contains("失败")) + { + jo = (JObject)JsonConvert.DeserializeObject(orderstr); + string orderList = jo["dataList"].ToString(); + JArray ja = (JArray)JsonConvert.DeserializeObject(orderList); + for (int j = 0; j < ja.Count(); j++) + { + + if (ja[j]["orderId"] == null) + { + errorlist += "订单号采集不到!\r\n"; + break; + } + IssueList ilist = new IssueList(); + ilist.id = ja[j]["id"].ToString(); + ilist.orderId = ja[j]["orderId"].ToString();//订单号 + string temptime = ja[j]["gmtCreate"].ToString(); + string dtime = temptime.Insert(12, ":").Insert(10, ":").Insert(8, " ").Insert(6, "-").Insert(4, "-").Substring(0, 19); + ilist.gmtCreate = Convert.ToDateTime(dtime); + temptime = ja[j]["gmtModified"].ToString(); + dtime = temptime.Insert(12, ":").Insert(10, ":").Insert(8, " ").Insert(6, "-").Insert(4, "-").Substring(0, 19); + ilist.gmtModified = Convert.ToDateTime(dtime); + ilist.issueStatus = ja[j]["issueStatus"].ToString(); + ilist.reasonChinese = ja[j]["reasonChinese"].ToString(); + ilist.reasonEnglish = ja[j]["reasonEnglish"].ToString(); + aois.SaveIssue(ilist); + + } + } + else + { + errorlist += errorm; + } + } + } + else + { + errorlist += errorm; + } + } + else + { + errorlist += "不存在该店铺\r\n"; + } + } + catch + { + ErrorMess = "异常\r\n"; + + } + } + + ErrorMess = errorlist; + return success; + } + + #endregion + + #region 查询请假列表 + [WebMethod(EnableSession = true)] + public List GetUserLeave(int UserId) + { + Pages.Login(this.Session); + BaseService bs = new BaseService(); + List list = new List(); + list = bs.GetUserLeave(UserId); + + return list; + } + #endregion + #region 查询请假单个 + [WebMethod(EnableSession = true)] + public OA_TotalLeave GetUserLeaveModel(int UserId) + { + Pages.Login(this.Session); + BaseService bs = new BaseService(); + OA_TotalLeave list = new OA_TotalLeave(); + list = bs.GetUserLeaveModel(UserId); + + return list; + } + #endregion + + #region 查询请假单个 + [WebMethod(EnableSession = true)] + public void SaveUserLeaveModel(int UserId, Decimal AnnualLeave, Decimal DelLeave, Decimal MoodLeave, Decimal AddLeave, DateTime EndDate) + { + Pages.Login(this.Session); + BaseService bs = new BaseService(); + OA_TotalLeave list = new OA_TotalLeave(); + list.UserID = UserId; + list.AnnualLeave = AnnualLeave; + list.DelLeave = DelLeave; + list.MoodLeave = MoodLeave; + list.AddLeave = AddLeave; + bs.SaveUserLeaveModel(list); + + } + #endregion + + + #region 查询请假单个 + [WebMethod(EnableSession = true)] + public DT_BackOrder GetBackOrder(string OrderCode) + { + Pages.Login(this.Session); + DD_OrderData bs = new DD_OrderData(); + var md=bs.GetBackOrder(OrderCode); + return md; + } + #endregion + + + #region 分页查询 + [WebMethod(EnableSession = true)] + public JsonModel> GetListCompanyFee(string cs,int PageIndex, int PageSize) + { + Pages.Login(this.Session); + string where = CustomIO.Base64StringToString(cs); + if (where!="")where = "where " + where.Substring(4); + var resultModel = new JsonModel>(); + int RowCount = 0; + resultModel.DataSource=JC_CompanyService.GetListCompanyFee(where,PageIndex,PageSize, "", out RowCount); + resultModel.RowCount = RowCount; + return resultModel; + } + #endregion + + #region 充值金额 + [WebMethod(EnableSession = true)] + public void SaveCZMoney(JC_CompanyFee model) + { + Pages.Login(this.Session); + + int UserId = Convert.ToInt32(Session["UserId"]); + string Name = Convert.ToString(Session["Name"]); + + model.InDate = DateTime.Now; + model.InName = Name; + var obj2 = new BaseService(); + var mlist = obj2.GetMoneyList2(); + decimal USDRate =Convert.ToDecimal(6.31); + var mmd = mlist.Find(n => n.PlatId==2&&n.MCode == "USD"); + if (mmd != null) + USDRate = mmd.MRate.Value; + model.InFee = model.InUSDFee * USDRate; + JC_CompanyService.Save_CompanyFee(model); + + } + #endregion + + + + [WebMethod(EnableSession = true)] + public List GetListJC_OrderBackUnRead() + { + Pages.Login(base.Session); + int num = Convert.ToInt32(base.Session["UserId"]); + DD_OrderData data = new DD_OrderData(); + if (num > 1) + { + return null; + } + return data.GetListDT_OrderBackUnRead(); + } + [WebMethod(EnableSession = true)] + public List GetListJC_OrderBackUnRead2() + { + Pages.Login(base.Session); + int num = Convert.ToInt32(base.Session["UserId"]); + DD_OrderData data = new DD_OrderData(); + if (num > 1) + { + return null; + } + return data.GetListDT_OrderBackUnRead2(); + } + + + [WebMethod(EnableSession = true)] + public void UpdateOrderBackMoneyRead(int Id) + { + Pages.Login(base.Session); + DD_OrderData obj = new DD_OrderData(); + obj.UpdateOrderBackMoneyRead(Id); + } + + } +} diff --git a/TradeManageNew/SysManage/UserInfoForTM.aspx b/TradeManageNew/SysManage/UserInfoForTM.aspx new file mode 100644 index 0000000..e3c9d81 --- /dev/null +++ b/TradeManageNew/SysManage/UserInfoForTM.aspx @@ -0,0 +1,1277 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserInfoForTM.aspx.cs" Inherits="TradeManage.SysManage.UserInfoForTM" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 员工信息 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
所属部门 + + + 姓名/用户名 + + + 状态 + + + + +
是否住宿 + 户口性质 + 员工类型 + + +  
+ +  
+
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
用户类型 + + 正式工 + 包装工 + 操作工 + 实习生 + 临时工 + 其他 +
*姓名 + + *性别 + + + 照片 + + 空
+ +
*身份证号 + + 工号 +
*账号 + + *密码 +
*手机 + 紧急联系人 + 上班交通工具 +
QQ + 邮箱 + + + 是否允许外网登陆
*婚姻状况 + *生育状况 + 政治面貌 +
*学历 + 毕业学校(专业) + + 年假天数 + +
出生年月 + 出生地 + + + *户口性质 +
*入职日期 + *转正日期 + + *合同到期 + + +
*所属部门 + *职务 + + *系统权限 +
*当前状态 + 是否住宿 + + 能否查看所有店铺订单 + 查看所有店铺订单 +
户籍地址 +
现住址 +
+ +
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
剩余年假
系统已用年假
心情假
系统已用心情假
结束时间
+
+
+ + + + + + + + + + +
选则分组组长:
+
+
+ + + + + + diff --git a/TradeManageNew/SysManage/UserInfoForTM.aspx.cs b/TradeManageNew/SysManage/UserInfoForTM.aspx.cs new file mode 100644 index 0000000..a8f590c --- /dev/null +++ b/TradeManageNew/SysManage/UserInfoForTM.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class UserInfoForTM : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/UserInfoForTM.aspx.designer.cs b/TradeManageNew/SysManage/UserInfoForTM.aspx.designer.cs new file mode 100644 index 0000000..1d11e11 --- /dev/null +++ b/TradeManageNew/SysManage/UserInfoForTM.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class UserInfoForTM { + } +} diff --git a/TradeManageNew/SysManage/UserInfoList.aspx b/TradeManageNew/SysManage/UserInfoList.aspx new file mode 100644 index 0000000..eeb2c0a --- /dev/null +++ b/TradeManageNew/SysManage/UserInfoList.aspx @@ -0,0 +1,599 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserInfoList.aspx.cs" Inherits="TradeManage.SysManage.UserInfoList" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 用户信息 +
+ + + + + + + + + + + + + + + + + + + + + + + + +
公司单位 + + + 姓名/用户名 + + + + +
+ + +
+
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
*公司单位 + + + *姓名 + + +
*用户名 + + + *密码 + + +
+ +
+
+
+ + + + + diff --git a/TradeManageNew/SysManage/UserInfoList.aspx.cs b/TradeManageNew/SysManage/UserInfoList.aspx.cs new file mode 100644 index 0000000..8a0ce96 --- /dev/null +++ b/TradeManageNew/SysManage/UserInfoList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class UserInfoList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/UserInfoList.aspx.designer.cs b/TradeManageNew/SysManage/UserInfoList.aspx.designer.cs new file mode 100644 index 0000000..7f5f01d --- /dev/null +++ b/TradeManageNew/SysManage/UserInfoList.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class UserInfoList { + } +} diff --git a/TradeManageNew/SysManage/ValidateOrderList.XML b/TradeManageNew/SysManage/ValidateOrderList.XML new file mode 100644 index 0000000..f6a90b1 --- /dev/null +++ b/TradeManageNew/SysManage/ValidateOrderList.XML @@ -0,0 +1,47 @@ + + + + + + + 1 + 1 + 100 + + + Fr + Eur + 2 + Fr + + + + + + + @Token@ + + + 1.0 + + + + + EUB + + + ShippedBySeller + New + WWX091-Black-S + + + 1601281155HKLBI + Shipped + LM992236680CN + http://www.17track.net/en + + + + + + \ No newline at end of file diff --git a/TradeManageNew/SysManage/WorkAddApply.aspx b/TradeManageNew/SysManage/WorkAddApply.aspx new file mode 100644 index 0000000..fd8423a --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddApply.aspx @@ -0,0 +1,343 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WorkAddApply.aspx.cs" Inherits="TradeManage.SysManage.WorkAddApply" %> + + + + + + 申请单 + + + + + + + + + + + + + + + + + + + + + + + +
+ 请假单 +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 加班申请单 +
+ + 申请人: + + +   +  
+ + 加班起止时间/时间: + + -- + 请小时
+ + 加班原因:
+
+ +
+ 下一步审批人: + + +
+      + +
+ 注:加班申请流程: +
+ a.普通员工申请(提交)---->部门负责人审批(签字)--->行政备案
+ c.部门经理申请(提交)---->副总经理审批(签字)--->行政备案
+ +
+
+ + + + + + + + + + + diff --git a/TradeManageNew/SysManage/WorkAddApply.aspx.cs b/TradeManageNew/SysManage/WorkAddApply.aspx.cs new file mode 100644 index 0000000..d689643 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddApply.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class WorkAddApply : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/WorkAddApply.aspx.designer.cs b/TradeManageNew/SysManage/WorkAddApply.aspx.designer.cs new file mode 100644 index 0000000..894f9c7 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddApply.aspx.designer.cs @@ -0,0 +1,60 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class WorkAddApply { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// Label3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label3; + + /// + /// Label6 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label6; + + /// + /// Label5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label5; + } +} diff --git a/TradeManageNew/SysManage/WorkAddCount.aspx b/TradeManageNew/SysManage/WorkAddCount.aspx new file mode 100644 index 0000000..83e8760 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddCount.aspx @@ -0,0 +1,452 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WorkAddCount.aspx.cs" Inherits="TradeManage.SysManage.WorkAddCount" %> + + + + + 请假统计 + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + +
+
+
+
+ +
+
+
+
+ 加班统计 +
+ + + + + + + + + + +
日期范围: + - + + + 审批状态: + +   + +    
+
+
+
+ + + + + + + + + + + + diff --git a/TradeManageNew/SysManage/WorkAddCount.aspx.cs b/TradeManageNew/SysManage/WorkAddCount.aspx.cs new file mode 100644 index 0000000..bcb1e02 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddCount.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class WorkAddCount : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/WorkAddCount.aspx.designer.cs b/TradeManageNew/SysManage/WorkAddCount.aspx.designer.cs new file mode 100644 index 0000000..941eb05 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddCount.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class WorkAddCount { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/WorkAddList.aspx b/TradeManageNew/SysManage/WorkAddList.aspx new file mode 100644 index 0000000..3f749c3 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddList.aspx @@ -0,0 +1,323 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WorkAddList.aspx.cs" Inherits="TradeManage.SysManage.WorkAddList" %> + + + + + 请假管理 + + + + + + + + + + + + + + + + + + + + + + +
+ 加班管理 +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ 加班申请状态: + + + + 申请人/申请事由: + + +
+   +   + 加班日期: + + - + + +
+ + + +
+
+
+
+
+ + + + + diff --git a/TradeManageNew/SysManage/WorkAddList.aspx.cs b/TradeManageNew/SysManage/WorkAddList.aspx.cs new file mode 100644 index 0000000..6077cf9 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddList.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class WorkAddList : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/WorkAddList.aspx.designer.cs b/TradeManageNew/SysManage/WorkAddList.aspx.designer.cs new file mode 100644 index 0000000..61151af --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddList.aspx.designer.cs @@ -0,0 +1,24 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class WorkAddList { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + } +} diff --git a/TradeManageNew/SysManage/WorkAddLook.aspx b/TradeManageNew/SysManage/WorkAddLook.aspx new file mode 100644 index 0000000..6e54993 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddLook.aspx @@ -0,0 +1,495 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WorkAddLook.aspx.cs" Inherits="TradeManage.SysManage.WorkAddLook" %> + + + + + + 请假管理 + + + + + + + + + + + + + + + + + + + + + + +
+ 加班申请单 +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 加班申请单 +
+ + 申请人: + + +   +
+ + 加班起止时间/时长: + +
+ + 加班原因:
+
+
+ 当前步骤状态: +
+       + +
+ 注:加班申请流程: +
+ a.普通员工申请(提交)---->部门负责人审批(签字)--->行政备案
+ c.部门经理申请(提交)---->副总经理审批(签字)--->行政备案
+
+
+ + + + + + + diff --git a/TradeManageNew/SysManage/WorkAddLook.aspx.cs b/TradeManageNew/SysManage/WorkAddLook.aspx.cs new file mode 100644 index 0000000..3ce1475 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddLook.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class WorkAddLook : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/WorkAddLook.aspx.designer.cs b/TradeManageNew/SysManage/WorkAddLook.aspx.designer.cs new file mode 100644 index 0000000..8e16398 --- /dev/null +++ b/TradeManageNew/SysManage/WorkAddLook.aspx.designer.cs @@ -0,0 +1,60 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class WorkAddLook { + + /// + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// Label3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label3; + + /// + /// Label5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label5; + + /// + /// Label8 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label8; + + /// + /// Label7 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label7; + } +} diff --git a/TradeManageNew/SysManage/XZJX.aspx b/TradeManageNew/SysManage/XZJX.aspx new file mode 100644 index 0000000..2a35236 --- /dev/null +++ b/TradeManageNew/SysManage/XZJX.aspx @@ -0,0 +1,469 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="XZJX.aspx.cs" Inherits="TradeManage.SysManage.XZJX" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
仓库扫描 +
日期: + + + - +
+ +
仓库发货率 +
日期: + + + - +
+ +
采购时间 +
日期: + + + - +
+ +
+           日期:-  +      +
+
+
+ + + + + + diff --git a/TradeManageNew/SysManage/XZJX.aspx.cs b/TradeManageNew/SysManage/XZJX.aspx.cs new file mode 100644 index 0000000..1086176 --- /dev/null +++ b/TradeManageNew/SysManage/XZJX.aspx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TradeManage.SysManage +{ + public partial class XZJX : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/TradeManageNew/SysManage/XZJX.aspx.designer.cs b/TradeManageNew/SysManage/XZJX.aspx.designer.cs new file mode 100644 index 0000000..836c280 --- /dev/null +++ b/TradeManageNew/SysManage/XZJX.aspx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace TradeManage.SysManage { + + + public partial class XZJX { + } +}