Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ed5c22ff0 | ||
|
|
82ae679dbd | ||
|
|
b2e75e6e1d | ||
|
|
6484f74f1e | ||
|
|
70732ed466 | ||
|
|
2857a6f13b | ||
|
|
b710e7042e | ||
|
|
c018899762 | ||
|
|
c8f586d8fc | ||
|
|
0d882571c1 | ||
|
|
72064bf345 | ||
|
|
b862cfa844 | ||
|
|
9947182f98 | ||
|
|
18d8a2f4fe | ||
|
|
bd72ff2766 | ||
|
|
8e280bcde1 | ||
|
|
b3845d5df2 |
No files matched your search
@@ -31,7 +31,7 @@ namespace AllBase
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 版本ID
|
/// 版本ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static int VersionCount = 1377;
|
public static int VersionCount = 1383;
|
||||||
public static string MainPath = "29wx";
|
public static string MainPath = "29wx";
|
||||||
//public static string MainPath = "29wx";
|
//public static string MainPath = "29wx";
|
||||||
//public static string MainPath = "29pdd";
|
//public static string MainPath = "29pdd";
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ namespace AllBase.Model.DBModel
|
|||||||
public string oem_id { get; set; }
|
public string oem_id { get; set; }
|
||||||
public string oem_name { get; set; }
|
public string oem_name { get; set; }
|
||||||
public string oem_owner { get; set; }
|
public string oem_owner { get; set; }
|
||||||
public string oem_icon { get; set; }
|
public string parent_oem_id { get; set; }
|
||||||
|
public string oem_icon { get; set; }
|
||||||
public string oem_img { get; set; }
|
public string oem_img { get; set; }
|
||||||
public DateTime add_time { get; set; }
|
public DateTime add_time { get; set; }
|
||||||
public DateTime mdy_time { get; set; }
|
public DateTime mdy_time { get; set; }
|
||||||
|
|||||||
@@ -71,6 +71,26 @@ namespace AllBase.Model.DBModel
|
|||||||
|
|
||||||
public enum EnumOrderPaymentType
|
public enum EnumOrderPaymentType
|
||||||
{
|
{
|
||||||
|
//充值 = 1,
|
||||||
|
////采购花费 = 2,
|
||||||
|
////产品退款到账 = 3,
|
||||||
|
////运费退款到账 = 4,
|
||||||
|
////采购收款 = 5,
|
||||||
|
////产品退款扣除 = 6,
|
||||||
|
////运费退款扣除 = 7,
|
||||||
|
//礼物单支出 = 16,
|
||||||
|
//中转仓扣费支出 = 20,
|
||||||
|
//中转仓作废返还收入 = 23,
|
||||||
|
//中转仓超重支出 = 24,
|
||||||
|
//退货包裹扣费支出 = 26,
|
||||||
|
//支付宝在线充值 = 30,
|
||||||
|
//云仓退货支出 = 31,
|
||||||
|
//礼物单退费 = 34,
|
||||||
|
//额外订单创建 = 35,
|
||||||
|
//额外订单作废 = 36,
|
||||||
|
//同步物流 = 55,
|
||||||
|
//变动类型,1:充值,2:采购花费,3:产品退款到账,4:运费退款到账,5:采购收款,6:产品退款扣除,7:运费退款扣除, 16:礼物单话费,20:中转仓扣费支出,23:中转仓退款收入,24:中转仓超重扣费支出,26 退货包裹扣费支出30支付宝充值;31 云仓退货支出33 分销退货包裹超重花费32 分销退货包裹发货花费退款34 礼物单退费35 额外包裹创建36 额外包裹作废37 额外订单超重支出38 退货包裹作废返还55 同步物流支出
|
||||||
|
|
||||||
充值 = 1,
|
充值 = 1,
|
||||||
//采购花费 = 2,
|
//采购花费 = 2,
|
||||||
//产品退款到账 = 3,
|
//产品退款到账 = 3,
|
||||||
@@ -79,15 +99,31 @@ namespace AllBase.Model.DBModel
|
|||||||
//产品退款扣除 = 6,
|
//产品退款扣除 = 6,
|
||||||
//运费退款扣除 = 7,
|
//运费退款扣除 = 7,
|
||||||
礼物单支出 = 16,
|
礼物单支出 = 16,
|
||||||
中转仓扣费支出 = 20,
|
|
||||||
中转仓作废返还收入 = 23,
|
发货包裹扣费支出 = 20,
|
||||||
中转仓超重支出 = 24,
|
发货包裹作废返还 = 23,
|
||||||
|
发货包裹超重支出 = 24,
|
||||||
|
|
||||||
退货包裹扣费支出 = 26,
|
退货包裹扣费支出 = 26,
|
||||||
|
退货包裹超重支出 = 28,
|
||||||
|
退货包裹作废返还 = 38,
|
||||||
|
|
||||||
支付宝在线充值 = 30,
|
支付宝在线充值 = 30,
|
||||||
云仓退货支出 = 31,
|
|
||||||
|
退货仓退货支出 = 31,
|
||||||
|
退货仓作废返还 = 32,
|
||||||
|
退货仓超重支出 = 33,
|
||||||
|
|
||||||
礼物单退费 = 34,
|
礼物单退费 = 34,
|
||||||
额外订单创建 = 35,
|
|
||||||
额外订单作废 = 36,
|
额外包裹创建支出 = 35,
|
||||||
|
额外包裹作废返还 = 36,
|
||||||
|
额外包裹超重支出 = 37,
|
||||||
|
|
||||||
|
额外包裹退货拦截创建支出 = 39,
|
||||||
|
额外包裹退货拦截作废返还 = 40,
|
||||||
|
额外包裹退货拦截超重支出 = 41,
|
||||||
|
|
||||||
同步物流 = 55,
|
同步物流 = 55,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1 @@
|
|||||||
|
26714r78MThd0KE8FSJyrlRb335arzDa88rfp3u0lBx7Swh62S2o13qKTwl984JFT20lG5ikWH7WWUNHAO72agv4kg0l5w23rHJmnA0eZxZcHXuAzdW058M1wu4xtmcJC2xggztkm5F55R1HxKU4s4sGFJiNDf6cB2DcWroaGvG5Yk9t98hD53IXIR6V92PS5YxN98U4kk16Xj0Y5G0F2TZ091YO2OXLpJIZmp6lMP9MlMpCXARz6ivEWDBC45j5dGAC1XZB6HYCh6hZvOK9VLF27J0EW0w1Vvi9fUFTm8X91Y12um16j2wm76kfo0h4S4ls96o8AsuAed3NiqW4c5988lMz3A0YIwv2XAF0039P9304fFTZAbmh4DTdxoEkSfPtMT07b2vknGzN8EU2JXdVcBBXrvveQs5oGn0K687j5X8Ij4D5EDVzx748WR4Va2IsfEt5yIK9J22eDY58KmA3kIrqi4Yf5tElYOQ6eZSaJovQ55xjxroIt8wT7i2XbM8ZSsSKm5k3Z80fc7Hw8TFESb7tm30Py3X3mbL3eE0opMJ6MU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7K8YWnr3Cdn06SLMJdDWVcLine truncated
|
||||||
|
After Width: | Height: | Size: 17 KiB |
@@ -0,0 +1 @@
|
|||||||
|
瀚田云栈MThd瀚田云栈MThd0KE8FSJyrlRb898rzDa88rfp3Wu0lBx7Swh62S2o13qKTwl984JFT20lG5ikWH7WWUNHAO72agv4kg0l5w23rHJmnA0eZxZcHXuAzdW058M1wu4xtmcJC2xggztkm5F55R1HxKU4s4sGFJiNDf6cB2DcWroaGvG5Yk9t98hD53IXIR6V92PS5YxN98U4kk16Xj0Y5G0F2TZ091YO2OXLpJIZmp6lMP9MlMpCXARz6ivEWDBC45j5dGAC1XZB6HYCh6hZvOK9VLF27J0EW0w1Vvi9fUFTm8X91Y12um16j2wm76kfo0h4S4ls96o8AsuAed3NiqW4c5988lMz3A0YIwv2XAF0039P9304fFTZAbmh4DTdxoEkSfPtMT07b2vknGzN8EU2JXdVcBBXrvveQs5oGn0K687j5X8Ij4D5EDVzx748WR4Va2IsfEt5yIK9J22eDY58KmA3kIrqi4Yf5tElYOQ6eZSaJovQ55xjxroIt8wT7i2XbM8ZSsSKm5k3Z80fc7Hw8TFESb7tm30Py3X3mbL3eE0opMJ6MUoyiUj1zpI7VvK32yq6x997weK2lwU6A0PyOe39oWvYN0AKIqCqwNizY4S9QApiH4Yr13XsKjlutMNDajfRCg0JqqH283RtXCKX8ry6AUWpz6QmvA40uSDqcd1Ka71e6gvspe9DFh00T2fMwiqJu8MLjcQfC3FnVP6mRYKkdZI19VRWKZ67KW1n6aLV7o7Q5ro3NOkZsJhAIUvM6PjoHr6RwV0iv4JMbB4cjHyLfb1y2U6yooM0eG6TOuUF1B9X6340Iy4tVmVU25CfUf4BDV9BQDx3N8b4hnCAoQ4We0fj4xYR0ZxfyoV5jr69e3VVDyPrz2ADsZf2N7hjMEv13rKGxO1hvGY757bfnKGh6OCfd6jEtd409v4sns36EHzO3iUT60VxuMsB3f1688qmGK4tRHBdaQY9UQRzUvEEkuDh8qC87rK1nmsJ6fSqPA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26Kexz49D00QOzdNG4v93dR1lqKKUOwJFrTmmSldcQfNWYJc93gLRMi4GBE79L2rNpEQ2Bre4G2dmDZ2MG7qmGW0OxwY96JI5GmdNf8f4txhVqb9xSTJg1OUq83AX1mhmdB99m2fvlvu7qaiCcR4xDXKjS7zFNQOZWtrsJjv6gLJh4OcaAQox4MtI470abKkxOiTdqISHF26ED3A2SZz0iLJb184QJJz992vl4H4e93fMS253kZQyV82xXPHMtVyaI1meC9NS64BJGJhoyYdj7sZ9Jlja8dNC8dbkLBvQDHuwz6zxvoO5LWGt8H94N94R1vuV9PbHFrj45FMRlbetzzo4C0u88kGQ758iv7Q6tFFfv3jAppyHrT7HBxyeJm1Bwj31vxt2THuzT8S2c2R71TFd0gGo54ixrx5Re9oi51AX8h3tFpMdjiBU0iWNt8GCWVB5UXUWWF3r8c1OZ2g81h7ddjkQ0Wv95L2H3q3lRb59iSpW1jh9JkCr1YX3Ts6JUx6cM7zrU4nqM0qXqaQCY3KUq87nGY2FwBPF3VQg7045qCd10Y92oGrv3Fy0g66049GNDU758zagUQSlcmPkeV2S5nAL1m28Ezh4Dwjh7aE0QvyHnz9LlnEgGXQeR2u6eugxgNpL7KLine truncated
|
||||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 36 KiB |
@@ -0,0 +1 @@
|
|||||||
|
2669wLleMThd0KE8FSJyrlRb335arzDa88rfp3u0lBx7Swh62S2o13qKTwl984JFT20lG5ikWH7WWUNHAO72agv4kg0l5w23rHJmnA0eZxZcHXuAzdW058M1wu4xtmcJC2xggztkm5F55R1HxKU4s4sGFJiNDf6cB2DcWroaGvG5Yk9t98hD53IXIR6V92PS5YxN98U4kk16Xj0Y5G0F2TZ091YO2OXLpJIZmp6lMP9MlMpCXARz6ivEWDBC45j5dGAC1XZB6HYCh6hZvOK9VLF27J0EW0w1Vvi9fUFTm8X91Y12um16j2wm76kfo0h4S4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x5Re9oi51AX8h3tFpMdjiBU0iWNt8GCWVB5UXUWWF3r8c1OZ2g81h7ddjkQ0Wv95L2H3q3lRb59iSpW1jh9JkCr1YX3Ts6JUx6cM7zrU4nqM0qXqaQCY3KUq87nGY2FwBPF3VQg7045qCd10Y92oGrv3Fy0g66049GNDU758zagUQSlcmPkeV2S5nAL1m28Ezh4Dwjh7aE0QvyHnz9LlnEgGXQeR2u6eugxgNpL7K8YWnr3Cdn06SLMJdDWVcLine truncated
|
||||||
|
After Width: | Height: | Size: 17 KiB |
@@ -0,0 +1 @@
|
|||||||
|
豫尚供应链MThd豫尚供应链MThd0KE8FSJyrlRb898rzDa88rfp3Wu0lBx7Swh62S2o13qKTwl984JFT20lG5ikWH7WWUNHAO72agv4kg0l5w23rHJmnA0eZxZcHXuAzdW058M1wu4xtmcJC2xggztkm5F55R1HxKU4s4sGFJiNDf6cB2DcWroaGvG5Yk9t98hD53IXIR6V92PS5YxN98U4kk16Xj0Y5G0F2TZ091YO2OXLpJIZmp6lMP9MlMpCXARz6ivEWDBC45j5dGAC1XZB6HYCh6hZvOK9VLF27J0EW0w1Vvi9fUFTm8X91Y12um16j2wm76kfo0h4S4ls96o8AsuAed3NiqW4c5988lMz3A0YIwv2XAF0039P9304fFTZAbmh4DTdxoEkSfPtMT07b2vknGzN8EU2JXdVcBBXrvveQs5oGn0K687j5X8Ij4D5EDVzx748WR4Va2IsfEt5yIK9J22eDY58KmA3kIrqi4Yf5tElYOQ6eZSaJovQ55xjxroIt8wT7i2XbM8ZSsSKm5k3Z80fc7Hw8TFESb7tm30Py3X3mbL3eE0opMJ6MUoyiUj1zpI7VvK32yq6x997weK2lwU6A0PyOe39oWvYN0AKIqCqwNizY4S9QApiH4Yr13XsKjlutMNDajfRCg0JqqH283RtXCKX8ry6AUWpz6QmvA40uSDqcd1Ka71e6gvspe9DFh00T2fMwiqJu8MLjcQfC3FnVP6mRYKkdZI19VRWKZ67KW1n6aLV7o7Q5ro3NOkZsJhAIUvM6Pj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hg4phjWAtNWgg8YZYbdZL372IacJ0L1tdJxoRG28iV6pk06Khrnqy6S9j4SsB5g7ahx4zCL7PNY0jVUG1yEbNnmGF5m48dTj9ppP8eWaKoW2Z660Bdxs9FVJ8pREIanyDdOahZJI5dZ2QZAU7L9ZC4fI1x73n2gQo5wLHy3dpb4Hvk1T9r6OmZ8rkqOK7pdeN26wSgOrOjwwt5fMGHVekEQ5R2S3Xe5p5uN26Kexz49D00QOzdNG4v93dR1lqKKUOwJFrTmmSldcQfNWYJc93gLRMi4GBE79L2rNpEQ2Bre4G2dmDZ2MG7qmGW0OxwY96JI5GmdNf8f4txhVqb9xSTJg1OUq83AX1mhmdB99m2fvlvu7qaiCcR4xDXKjS7zFNQOZWtrsJjv6gLJh4OcaAQox4MtI470abKkxOiTdqISHF26ED3A2SZz0iLJb184QJJz992vl4H4e93fMS253kZQyV82xXPHMtVyaI1meC9NS64BJGJhoyYdj7sZ9Jlja8dNC8dbkLBvQDHuwz6zxvoO5LWGt8H94N94R1vuV9PbHFrj45FMRlbetzzo4C0u88kGQ758iv7Q6tFFfv3jAppyHrT7HBxyeJm1Bwj31vxt2THuzT8S2c2R71TFd0gGo54ixrx5Re9oi51AX8h3tFpMdjiBU0iWNt8GCWVB5UXUWWF3r8c1OZ2g81h7ddjkQ0Wv95L2H3q3lRb59iSpW1jh9JkCr1YX3Ts6JUx6cM7zrU4nqM0qXqaQCY3KUq87nGY2FwBPF3VQg7045qCd10Y92oGrv3Fy0g66049GNDU758zagUQSlcmPkeV2S5nAL1m28Ezh4Dwjh7aE0QvyHnz9LlnEgGXQeR2u6eugxLine truncated
|
||||||
|
After Width: | Height: | Size: 104 KiB |
@@ -0,0 +1,189 @@
|
|||||||
|
; 该脚本使用 HM VNISEdit 脚本编辑器向导产生
|
||||||
|
|
||||||
|
; 安装程序初始定义常量
|
||||||
|
!define PRODUCT_NAME "豫尚供应链"
|
||||||
|
!define PRODUCT_VERSION "v12.61"
|
||||||
|
;!define PRODUCT_PUBLISHER "${PRODUCT_NAME}软件制作组"
|
||||||
|
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\29供应链.exe"
|
||||||
|
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
|
||||||
|
;!define PRODUCT_UNINST_ROOT_KEY "HKLM" ;需要管理员权限
|
||||||
|
!define PRODUCT_UNINST_ROOT_KEY "HKCU"
|
||||||
|
!define UTILS_PATH ".\Utils"
|
||||||
|
!define SOURCE_PATH "..\Bin.Oem"
|
||||||
|
!define OUT_PUT_PATH ".\Bin"
|
||||||
|
|
||||||
|
SetCompressor lzma
|
||||||
|
|
||||||
|
; ------ MUI 现代界面定义 (1.67 版本以上兼容) ------
|
||||||
|
!include "MUI.nsh"
|
||||||
|
|
||||||
|
; MUI 预定义常量
|
||||||
|
!define MUI_ABORTWARNING
|
||||||
|
!define MUI_ICON "${SOURCE_PATH}\favicon.ico"
|
||||||
|
;!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
|
||||||
|
!define MUI_UNICON "${UTILS_PATH}\uninstall.ico"
|
||||||
|
|
||||||
|
; 语言选择窗口常量设置
|
||||||
|
!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
|
||||||
|
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
|
||||||
|
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
|
||||||
|
|
||||||
|
; 欢迎页面
|
||||||
|
!insertmacro MUI_PAGE_WELCOME
|
||||||
|
; 许可协议页面
|
||||||
|
!define MUI_LICENSEPAGE_CHECKBOX
|
||||||
|
!insertmacro MUI_PAGE_LICENSE "${UTILS_PATH}\Licence.txt"
|
||||||
|
; 安装目录选择页面
|
||||||
|
!insertmacro MUI_PAGE_DIRECTORY
|
||||||
|
; 安装过程页面
|
||||||
|
!insertmacro MUI_PAGE_INSTFILES
|
||||||
|
; 安装完成页面
|
||||||
|
;!define MUI_FINISHPAGE_RUN "$INSTDIR\29供应链.exe" ;win10直接启动会双开,以下改为使用函数启动
|
||||||
|
;!define MUI_FINISHPAGE_RUN "exe_file" ;指定要运行的可执行文件路径(如 $INSTDIR\MyApp.exe)。文件名含空格时无需加引号 。
|
||||||
|
;!define MUI_FINISHPAGE_RUN_TEXT "text" ;设置复选框旁的显示文本(例如:“立即运行我的应用”)。
|
||||||
|
;!define MUI_FINISHPAGE_RUN_PARAMETERS "params" ;传入运行参数。若参数含双引号,需用 \" 转义 。
|
||||||
|
;!define MUI_FINISHPAGE_RUN_NOTCHECKED ;默认不选中该复选框(即默认不运行)。
|
||||||
|
;!define MUI_FINISHPAGE_RUN_FUNCTION "func_name" ;替代直接运行 exe,改为调用自定义 NSIS 函数(此时 MUI_FINISHPAGE_RUN 可不带参数),适合需执行多步逻辑的场景 。
|
||||||
|
;示例================================================================================================================
|
||||||
|
;!include "MUI2.nsh"
|
||||||
|
|
||||||
|
;!define MUI_FINISHPAGE_RUN "$INSTDIR\MyApp.exe"
|
||||||
|
;!define MUI_FINISHPAGE_RUN_TEXT "启动应用程序"
|
||||||
|
;!define MUI_FINISHPAGE_RUN_PARAMETERS "/silent"
|
||||||
|
;;!define MUI_FINISHPAGE_RUN_NOTCHECKED
|
||||||
|
|
||||||
|
;!insertmacro MUI_PAGE_FINISH
|
||||||
|
;示例结束============================================================================================================
|
||||||
|
|
||||||
|
!define MUI_FINISHPAGE_RUN
|
||||||
|
;安装函数定义
|
||||||
|
!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchExe"
|
||||||
|
!insertmacro MUI_PAGE_FINISH
|
||||||
|
|
||||||
|
; 安装卸载过程页面
|
||||||
|
!insertmacro MUI_UNPAGE_INSTFILES
|
||||||
|
|
||||||
|
; 安装界面包含的语言设置
|
||||||
|
!insertmacro MUI_LANGUAGE "English"
|
||||||
|
!insertmacro MUI_LANGUAGE "SimpChinese"
|
||||||
|
|
||||||
|
; 安装预释放文件
|
||||||
|
!insertmacro MUI_RESERVEFILE_LANGDLL
|
||||||
|
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
|
||||||
|
; ------ MUI 现代界面定义结束 ------
|
||||||
|
|
||||||
|
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
||||||
|
OutFile "${OUT_PUT_PATH}\${PRODUCT_NAME} ${PRODUCT_VERSION}.exe"
|
||||||
|
InstallDir "$PROGRAMFILES\${PRODUCT_NAME}"
|
||||||
|
;InstallDir "D:\${PRODUCT_NAME}"
|
||||||
|
;InstallDirRegKey HKLM "${PRODUCT_UNINST_KEY}" "UninstallString"
|
||||||
|
InstallDirRegKey HKCU "${PRODUCT_UNINST_KEY}" "UninstallString"
|
||||||
|
ShowInstDetails show
|
||||||
|
ShowUnInstDetails show
|
||||||
|
BrandingText "${PRODUCT_NAME}安装程序"
|
||||||
|
|
||||||
|
Section "MainSection" SEC01
|
||||||
|
SetOutPath "$INSTDIR"
|
||||||
|
;SetOverwrite on|off|try|ifnewer ;强制覆盖|不覆盖|仅覆盖可写文件|仅覆盖旧文件
|
||||||
|
SetOverwrite on
|
||||||
|
;/x 排除的目录或文件
|
||||||
|
;File /r /x "Config.xml" /x "choice.debug.tools" /x "DB.dll" /x "Publish.exe" /x "AllBase.pdb" /x "Work.pdb" /x "29供应链.pdb" /x "data" "${SOURCE_PATH}\*.*"
|
||||||
|
File /r /x "BaseClass.cs" /x "Config.xml" /x "choice.debug.tools" /x "DB.dll" /x "Publish.exe" /x "*.pdb" /x "*.zip" /x "data" /x "Cache" /x "29wx.lnk" /x "29wx.ico" /x "29pdd.lnk" /x "29pdd.ico" "${SOURCE_PATH}\*.*"
|
||||||
|
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
|
||||||
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\29供应链.exe" "" "$INSTDIR\favicon.ico"
|
||||||
|
CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\29供应链.exe" "" "$INSTDIR\favicon.ico"
|
||||||
|
File "${SOURCE_PATH}\29供应链.exe"
|
||||||
|
;SetOutPath "$TEMP"
|
||||||
|
;File "${UTILS_PATH}\VC_redist_2015_2022.x64.exe"
|
||||||
|
;ExecWait '$TEMP\vc_redist.x86.exe' # 一般(非静默)VC的安装
|
||||||
|
;ExecWait '"$TEMP\vc_redist.x86.exe" /q' # silent install 静默安装
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
Section -AdditionalIcons
|
||||||
|
SetOutPath $INSTDIR
|
||||||
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\uninst.exe"
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
Section -Post
|
||||||
|
WriteUninstaller "$INSTDIR\uninst.exe"
|
||||||
|
;WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\29供应链.exe"
|
||||||
|
WriteRegStr HKCU "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\29供应链.exe"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\29供应链.exe"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_NAME}软件制作组"
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
#-- 根据 NSIS 脚本编辑规则,所有 Function 区段必须放置在 Section 区段之后编写,以避免安装程序出现未可预知的问题。--#
|
||||||
|
|
||||||
|
Function .onInit
|
||||||
|
!insertmacro MUI_LANGDLL_DISPLAY
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
|
;function要写字section之后
|
||||||
|
Function LaunchExe
|
||||||
|
;ExecShell "" "$INSTDIR\${PRODUCT_NAME}.exe"
|
||||||
|
; 启动主程序,ExecWait 会等待程序启动后再继续(推荐用于确保启动成功)
|
||||||
|
;ExecWait '"$INSTDIR\YourApp.exe"' // 等待也可以用来弹出必要组件安装时等待安装完成再继续运行安装程序。
|
||||||
|
; 若希望安装程序立即关闭而不等待,可使用 Exec
|
||||||
|
;Exec '"$INSTDIR\29供应链.exe"'
|
||||||
|
Exec "$INSTDIR\29供应链.exe"
|
||||||
|
; 以普通用户权限启动程序(即使安装包是管理员权限)
|
||||||
|
;System::Call 'shell32::ShellExecute(i 0, t"open", t"explorer.exe", t"/e,$INSTDIR\start.bat", t"", i 0)'
|
||||||
|
;Exec "$INSTDIR\start.bat"
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
|
|
||||||
|
/******************************
|
||||||
|
* 以下是安装程序的卸载部分 *
|
||||||
|
******************************/
|
||||||
|
|
||||||
|
Section Uninstall
|
||||||
|
Delete "$INSTDIR\uninst.exe"
|
||||||
|
Delete "$TEMP\vc_redist.x86.exe"
|
||||||
|
Delete "$INSTDIR\29供应链.exe"
|
||||||
|
|
||||||
|
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk"
|
||||||
|
Delete "$DESKTOP\${PRODUCT_NAME}.lnk"
|
||||||
|
Delete "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk"
|
||||||
|
|
||||||
|
RMDir "$SMPROGRAMS\${PRODUCT_NAME}"
|
||||||
|
|
||||||
|
RMDir /r "$INSTDIR\blob_storage"
|
||||||
|
RMDir /r "$INSTDIR\Cache"
|
||||||
|
RMDir /r "$INSTDIR\config"
|
||||||
|
RMDir /r "$INSTDIR\data"
|
||||||
|
RMDir /r "$INSTDIR\DawnCache"
|
||||||
|
RMDir /r "$INSTDIR\GPUCache"
|
||||||
|
RMDir /r "$INSTDIR\locales"
|
||||||
|
RMDir /r "$INSTDIR\log"
|
||||||
|
RMDir /r "$INSTDIR\ru-ru"
|
||||||
|
RMDir /r "$INSTDIR\static"
|
||||||
|
RMDir /r "$INSTDIR\taobao"
|
||||||
|
RMDir /r "$INSTDIR\temp"
|
||||||
|
RMDir /r "$INSTDIR\upBak"
|
||||||
|
RMDir /r "$INSTDIR\upTemp"
|
||||||
|
RMDir /r "$INSTDIR\x64"
|
||||||
|
RMDir /r "$INSTDIR\x86"
|
||||||
|
|
||||||
|
RMDir /r "$INSTDIR"
|
||||||
|
|
||||||
|
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
|
||||||
|
;DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
|
||||||
|
DeleteRegKey HKCU "${PRODUCT_DIR_REGKEY}"
|
||||||
|
SetAutoClose true
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
#-- 根据 NSIS 脚本编辑规则,所有 Function 区段必须放置在 Section 区段之后编写,以避免安装程序出现未可预知的问题。--#
|
||||||
|
|
||||||
|
Function un.onInit
|
||||||
|
!insertmacro MUI_UNGETLANGUAGE
|
||||||
|
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "您确实要完全移除 $(^Name) ,及其所有的组件?" IDYES +2
|
||||||
|
Abort
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
|
Function un.onUninstSuccess
|
||||||
|
HideWindow
|
||||||
|
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) 已成功地从您的计算机移除。"
|
||||||
|
FunctionEnd
|
||||||
@@ -0,0 +1,189 @@
|
|||||||
|
; 该脚本使用 HM VNISEdit 脚本编辑器向导产生
|
||||||
|
|
||||||
|
; 安装程序初始定义常量
|
||||||
|
!define PRODUCT_NAME "瀚田云栈"
|
||||||
|
!define PRODUCT_VERSION "v12.61"
|
||||||
|
;!define PRODUCT_PUBLISHER "${PRODUCT_NAME}软件制作组"
|
||||||
|
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\29供应链.exe"
|
||||||
|
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
|
||||||
|
;!define PRODUCT_UNINST_ROOT_KEY "HKLM" ;需要管理员权限
|
||||||
|
!define PRODUCT_UNINST_ROOT_KEY "HKCU"
|
||||||
|
!define UTILS_PATH ".\Utils"
|
||||||
|
!define SOURCE_PATH "..\Bin.Oem"
|
||||||
|
!define OUT_PUT_PATH ".\Bin"
|
||||||
|
|
||||||
|
SetCompressor lzma
|
||||||
|
|
||||||
|
; ------ MUI 现代界面定义 (1.67 版本以上兼容) ------
|
||||||
|
!include "MUI.nsh"
|
||||||
|
|
||||||
|
; MUI 预定义常量
|
||||||
|
!define MUI_ABORTWARNING
|
||||||
|
!define MUI_ICON "${SOURCE_PATH}\favicon.ico"
|
||||||
|
;!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
|
||||||
|
!define MUI_UNICON "${UTILS_PATH}\uninstall.ico"
|
||||||
|
|
||||||
|
; 语言选择窗口常量设置
|
||||||
|
!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
|
||||||
|
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
|
||||||
|
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
|
||||||
|
|
||||||
|
; 欢迎页面
|
||||||
|
!insertmacro MUI_PAGE_WELCOME
|
||||||
|
; 许可协议页面
|
||||||
|
!define MUI_LICENSEPAGE_CHECKBOX
|
||||||
|
!insertmacro MUI_PAGE_LICENSE "${UTILS_PATH}\Licence.txt"
|
||||||
|
; 安装目录选择页面
|
||||||
|
!insertmacro MUI_PAGE_DIRECTORY
|
||||||
|
; 安装过程页面
|
||||||
|
!insertmacro MUI_PAGE_INSTFILES
|
||||||
|
; 安装完成页面
|
||||||
|
;!define MUI_FINISHPAGE_RUN "$INSTDIR\29供应链.exe" ;win10直接启动会双开,以下改为使用函数启动
|
||||||
|
;!define MUI_FINISHPAGE_RUN "exe_file" ;指定要运行的可执行文件路径(如 $INSTDIR\MyApp.exe)。文件名含空格时无需加引号 。
|
||||||
|
;!define MUI_FINISHPAGE_RUN_TEXT "text" ;设置复选框旁的显示文本(例如:“立即运行我的应用”)。
|
||||||
|
;!define MUI_FINISHPAGE_RUN_PARAMETERS "params" ;传入运行参数。若参数含双引号,需用 \" 转义 。
|
||||||
|
;!define MUI_FINISHPAGE_RUN_NOTCHECKED ;默认不选中该复选框(即默认不运行)。
|
||||||
|
;!define MUI_FINISHPAGE_RUN_FUNCTION "func_name" ;替代直接运行 exe,改为调用自定义 NSIS 函数(此时 MUI_FINISHPAGE_RUN 可不带参数),适合需执行多步逻辑的场景 。
|
||||||
|
;示例================================================================================================================
|
||||||
|
;!include "MUI2.nsh"
|
||||||
|
|
||||||
|
;!define MUI_FINISHPAGE_RUN "$INSTDIR\MyApp.exe"
|
||||||
|
;!define MUI_FINISHPAGE_RUN_TEXT "启动应用程序"
|
||||||
|
;!define MUI_FINISHPAGE_RUN_PARAMETERS "/silent"
|
||||||
|
;;!define MUI_FINISHPAGE_RUN_NOTCHECKED
|
||||||
|
|
||||||
|
;!insertmacro MUI_PAGE_FINISH
|
||||||
|
;示例结束============================================================================================================
|
||||||
|
|
||||||
|
!define MUI_FINISHPAGE_RUN
|
||||||
|
;安装函数定义
|
||||||
|
!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchExe"
|
||||||
|
!insertmacro MUI_PAGE_FINISH
|
||||||
|
|
||||||
|
; 安装卸载过程页面
|
||||||
|
!insertmacro MUI_UNPAGE_INSTFILES
|
||||||
|
|
||||||
|
; 安装界面包含的语言设置
|
||||||
|
!insertmacro MUI_LANGUAGE "English"
|
||||||
|
!insertmacro MUI_LANGUAGE "SimpChinese"
|
||||||
|
|
||||||
|
; 安装预释放文件
|
||||||
|
!insertmacro MUI_RESERVEFILE_LANGDLL
|
||||||
|
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
|
||||||
|
; ------ MUI 现代界面定义结束 ------
|
||||||
|
|
||||||
|
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
||||||
|
OutFile "${OUT_PUT_PATH}\${PRODUCT_NAME} ${PRODUCT_VERSION}.exe"
|
||||||
|
InstallDir "$PROGRAMFILES\${PRODUCT_NAME}"
|
||||||
|
;InstallDir "D:\${PRODUCT_NAME}"
|
||||||
|
;InstallDirRegKey HKLM "${PRODUCT_UNINST_KEY}" "UninstallString"
|
||||||
|
InstallDirRegKey HKCU "${PRODUCT_UNINST_KEY}" "UninstallString"
|
||||||
|
ShowInstDetails show
|
||||||
|
ShowUnInstDetails show
|
||||||
|
BrandingText "${PRODUCT_NAME}安装程序"
|
||||||
|
|
||||||
|
Section "MainSection" SEC01
|
||||||
|
SetOutPath "$INSTDIR"
|
||||||
|
;SetOverwrite on|off|try|ifnewer ;强制覆盖|不覆盖|仅覆盖可写文件|仅覆盖旧文件
|
||||||
|
SetOverwrite on
|
||||||
|
;/x 排除的目录或文件
|
||||||
|
;File /r /x "Config.xml" /x "choice.debug.tools" /x "DB.dll" /x "Publish.exe" /x "AllBase.pdb" /x "Work.pdb" /x "29供应链.pdb" /x "data" "${SOURCE_PATH}\*.*"
|
||||||
|
File /r /x "BaseClass.cs" /x "Config.xml" /x "choice.debug.tools" /x "DB.dll" /x "Publish.exe" /x "*.pdb" /x "*.zip" /x "data" /x "Cache" /x "29wx.lnk" /x "29wx.ico" /x "29pdd.lnk" /x "29pdd.ico" "${SOURCE_PATH}\*.*"
|
||||||
|
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
|
||||||
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\29供应链.exe" "" "$INSTDIR\favicon.ico"
|
||||||
|
CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\29供应链.exe" "" "$INSTDIR\favicon.ico"
|
||||||
|
File "${SOURCE_PATH}\29供应链.exe"
|
||||||
|
;SetOutPath "$TEMP"
|
||||||
|
;File "${UTILS_PATH}\VC_redist_2015_2022.x64.exe"
|
||||||
|
;ExecWait '$TEMP\vc_redist.x86.exe' # 一般(非静默)VC的安装
|
||||||
|
;ExecWait '"$TEMP\vc_redist.x86.exe" /q' # silent install 静默安装
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
Section -AdditionalIcons
|
||||||
|
SetOutPath $INSTDIR
|
||||||
|
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\uninst.exe"
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
Section -Post
|
||||||
|
WriteUninstaller "$INSTDIR\uninst.exe"
|
||||||
|
;WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\29供应链.exe"
|
||||||
|
WriteRegStr HKCU "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\29供应链.exe"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\29供应链.exe"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_NAME}软件制作组"
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
#-- 根据 NSIS 脚本编辑规则,所有 Function 区段必须放置在 Section 区段之后编写,以避免安装程序出现未可预知的问题。--#
|
||||||
|
|
||||||
|
Function .onInit
|
||||||
|
!insertmacro MUI_LANGDLL_DISPLAY
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
|
;function要写字section之后
|
||||||
|
Function LaunchExe
|
||||||
|
;ExecShell "" "$INSTDIR\${PRODUCT_NAME}.exe"
|
||||||
|
; 启动主程序,ExecWait 会等待程序启动后再继续(推荐用于确保启动成功)
|
||||||
|
;ExecWait '"$INSTDIR\YourApp.exe"' // 等待也可以用来弹出必要组件安装时等待安装完成再继续运行安装程序。
|
||||||
|
; 若希望安装程序立即关闭而不等待,可使用 Exec
|
||||||
|
;Exec '"$INSTDIR\29供应链.exe"'
|
||||||
|
Exec "$INSTDIR\29供应链.exe"
|
||||||
|
; 以普通用户权限启动程序(即使安装包是管理员权限)
|
||||||
|
;System::Call 'shell32::ShellExecute(i 0, t"open", t"explorer.exe", t"/e,$INSTDIR\start.bat", t"", i 0)'
|
||||||
|
;Exec "$INSTDIR\start.bat"
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
|
|
||||||
|
/******************************
|
||||||
|
* 以下是安装程序的卸载部分 *
|
||||||
|
******************************/
|
||||||
|
|
||||||
|
Section Uninstall
|
||||||
|
Delete "$INSTDIR\uninst.exe"
|
||||||
|
Delete "$TEMP\vc_redist.x86.exe"
|
||||||
|
Delete "$INSTDIR\29供应链.exe"
|
||||||
|
|
||||||
|
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk"
|
||||||
|
Delete "$DESKTOP\${PRODUCT_NAME}.lnk"
|
||||||
|
Delete "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk"
|
||||||
|
|
||||||
|
RMDir "$SMPROGRAMS\${PRODUCT_NAME}"
|
||||||
|
|
||||||
|
RMDir /r "$INSTDIR\blob_storage"
|
||||||
|
RMDir /r "$INSTDIR\Cache"
|
||||||
|
RMDir /r "$INSTDIR\config"
|
||||||
|
RMDir /r "$INSTDIR\data"
|
||||||
|
RMDir /r "$INSTDIR\DawnCache"
|
||||||
|
RMDir /r "$INSTDIR\GPUCache"
|
||||||
|
RMDir /r "$INSTDIR\locales"
|
||||||
|
RMDir /r "$INSTDIR\log"
|
||||||
|
RMDir /r "$INSTDIR\ru-ru"
|
||||||
|
RMDir /r "$INSTDIR\static"
|
||||||
|
RMDir /r "$INSTDIR\taobao"
|
||||||
|
RMDir /r "$INSTDIR\temp"
|
||||||
|
RMDir /r "$INSTDIR\upBak"
|
||||||
|
RMDir /r "$INSTDIR\upTemp"
|
||||||
|
RMDir /r "$INSTDIR\x64"
|
||||||
|
RMDir /r "$INSTDIR\x86"
|
||||||
|
|
||||||
|
RMDir /r "$INSTDIR"
|
||||||
|
|
||||||
|
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
|
||||||
|
;DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
|
||||||
|
DeleteRegKey HKCU "${PRODUCT_DIR_REGKEY}"
|
||||||
|
SetAutoClose true
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
#-- 根据 NSIS 脚本编辑规则,所有 Function 区段必须放置在 Section 区段之后编写,以避免安装程序出现未可预知的问题。--#
|
||||||
|
|
||||||
|
Function un.onInit
|
||||||
|
!insertmacro MUI_UNGETLANGUAGE
|
||||||
|
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "您确实要完全移除 $(^Name) ,及其所有的组件?" IDYES +2
|
||||||
|
Abort
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
|
Function un.onUninstSuccess
|
||||||
|
HideWindow
|
||||||
|
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) 已成功地从您的计算机移除。"
|
||||||
|
FunctionEnd
|
||||||
@@ -0,0 +1,157 @@
|
|||||||
|
namespace TemuKJD.UserComponent;
|
||||||
|
|
||||||
|
partial class InputDialog
|
||||||
|
{
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && components != null)
|
||||||
|
components.Dispose();
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.layout = new System.Windows.Forms.TableLayoutPanel();
|
||||||
|
this.lblPrompt = new System.Windows.Forms.Label();
|
||||||
|
this.txtInput = new System.Windows.Forms.TextBox();
|
||||||
|
this.buttons = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
|
this.btnCancel = new System.Windows.Forms.Button();
|
||||||
|
this.btnOk = new System.Windows.Forms.Button();
|
||||||
|
this.lblError = new System.Windows.Forms.Label();
|
||||||
|
this.layout.SuspendLayout();
|
||||||
|
this.buttons.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// layout
|
||||||
|
//
|
||||||
|
this.layout.AutoSize = true;
|
||||||
|
this.layout.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||||
|
this.layout.ColumnCount = 1;
|
||||||
|
this.layout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||||
|
this.layout.Controls.Add(this.lblPrompt, 0, 0);
|
||||||
|
this.layout.Controls.Add(this.txtInput, 0, 1);
|
||||||
|
this.layout.Controls.Add(this.buttons, 0, 2);
|
||||||
|
this.layout.Controls.Add(this.lblError, 0, 3);
|
||||||
|
this.layout.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.layout.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.layout.Name = "layout";
|
||||||
|
this.layout.Padding = new System.Windows.Forms.Padding(15);
|
||||||
|
this.layout.RowCount = 4;
|
||||||
|
this.layout.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
|
this.layout.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
|
this.layout.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
|
this.layout.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
|
this.layout.Size = new System.Drawing.Size(360, 143);
|
||||||
|
this.layout.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// lblPrompt
|
||||||
|
//
|
||||||
|
this.lblPrompt.AutoSize = true;
|
||||||
|
this.lblPrompt.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.lblPrompt.Location = new System.Drawing.Point(15, 15);
|
||||||
|
this.lblPrompt.Margin = new System.Windows.Forms.Padding(0, 0, 0, 10);
|
||||||
|
this.lblPrompt.MaximumSize = new System.Drawing.Size(330, 0);
|
||||||
|
this.lblPrompt.Name = "lblPrompt";
|
||||||
|
this.lblPrompt.Size = new System.Drawing.Size(330, 12);
|
||||||
|
this.lblPrompt.TabIndex = 0;
|
||||||
|
this.lblPrompt.Text = "请输入:";
|
||||||
|
//
|
||||||
|
// txtInput
|
||||||
|
//
|
||||||
|
this.txtInput.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.txtInput.Location = new System.Drawing.Point(15, 37);
|
||||||
|
this.txtInput.Margin = new System.Windows.Forms.Padding(0, 0, 0, 12);
|
||||||
|
this.txtInput.Name = "txtInput";
|
||||||
|
this.txtInput.Size = new System.Drawing.Size(330, 21);
|
||||||
|
this.txtInput.TabIndex = 0;
|
||||||
|
this.txtInput.TextChanged += new System.EventHandler(this.txtInput_TextChanged);
|
||||||
|
//
|
||||||
|
// buttons
|
||||||
|
//
|
||||||
|
this.buttons.AutoSize = true;
|
||||||
|
this.buttons.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||||
|
this.buttons.Controls.Add(this.btnCancel);
|
||||||
|
this.buttons.Controls.Add(this.btnOk);
|
||||||
|
this.buttons.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.buttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||||
|
this.buttons.Location = new System.Drawing.Point(15, 70);
|
||||||
|
this.buttons.Margin = new System.Windows.Forms.Padding(0);
|
||||||
|
this.buttons.Name = "buttons";
|
||||||
|
this.buttons.Size = new System.Drawing.Size(330, 28);
|
||||||
|
this.buttons.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// btnCancel
|
||||||
|
//
|
||||||
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||||
|
this.btnCancel.Location = new System.Drawing.Point(255, 0);
|
||||||
|
this.btnCancel.Margin = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||||
|
this.btnCancel.Name = "btnCancel";
|
||||||
|
this.btnCancel.Size = new System.Drawing.Size(75, 28);
|
||||||
|
this.btnCancel.TabIndex = 1;
|
||||||
|
this.btnCancel.Text = "取消";
|
||||||
|
this.btnCancel.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// btnOk
|
||||||
|
//
|
||||||
|
this.btnOk.Location = new System.Drawing.Point(170, 0);
|
||||||
|
this.btnOk.Margin = new System.Windows.Forms.Padding(0);
|
||||||
|
this.btnOk.Name = "btnOk";
|
||||||
|
this.btnOk.Size = new System.Drawing.Size(75, 28);
|
||||||
|
this.btnOk.TabIndex = 0;
|
||||||
|
this.btnOk.Text = "确定";
|
||||||
|
this.btnOk.UseVisualStyleBackColor = true;
|
||||||
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
||||||
|
//
|
||||||
|
// lblError
|
||||||
|
//
|
||||||
|
this.lblError.AutoSize = true;
|
||||||
|
this.lblError.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.lblError.ForeColor = System.Drawing.Color.Firebrick;
|
||||||
|
this.lblError.Location = new System.Drawing.Point(15, 108);
|
||||||
|
this.lblError.Margin = new System.Windows.Forms.Padding(0, 10, 0, 0);
|
||||||
|
this.lblError.MaximumSize = new System.Drawing.Size(330, 0);
|
||||||
|
this.lblError.MinimumSize = new System.Drawing.Size(0, 20);
|
||||||
|
this.lblError.Name = "lblError";
|
||||||
|
this.lblError.Size = new System.Drawing.Size(330, 20);
|
||||||
|
this.lblError.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// InputDialog
|
||||||
|
//
|
||||||
|
this.AcceptButton = this.btnOk;
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.AutoSize = true;
|
||||||
|
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
|
this.ClientSize = new System.Drawing.Size(360, 144);
|
||||||
|
this.Controls.Add(this.layout);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.MinimumSize = new System.Drawing.Size(376, 39);
|
||||||
|
this.Name = "InputDialog";
|
||||||
|
this.ShowInTaskbar = false;
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||||
|
this.Text = "输入";
|
||||||
|
this.layout.ResumeLayout(false);
|
||||||
|
this.layout.PerformLayout();
|
||||||
|
this.buttons.ResumeLayout(false);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.TableLayoutPanel layout;
|
||||||
|
private System.Windows.Forms.Label lblPrompt;
|
||||||
|
private System.Windows.Forms.TextBox txtInput;
|
||||||
|
private System.Windows.Forms.FlowLayoutPanel buttons;
|
||||||
|
private System.Windows.Forms.Button btnOk;
|
||||||
|
private System.Windows.Forms.Button btnCancel;
|
||||||
|
private System.Windows.Forms.Label lblError;
|
||||||
|
}
|
||||||
@@ -1,81 +1,130 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Drawing;
|
using System.Globalization;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace TemuKJD.UserComponent;
|
namespace TemuKJD.UserComponent;
|
||||||
|
|
||||||
public class InputDialog : Form
|
public partial class InputDialog : Form
|
||||||
{
|
{
|
||||||
private TextBox txtInput;
|
private readonly InputDialogType inputType;
|
||||||
private Button btnOk;
|
private readonly Func<string, string> validator;
|
||||||
private Button btnCancel;
|
|
||||||
|
|
||||||
/// <summary>用户输入的内容(点确定后有效)</summary>
|
/// <summary>用户输入的内容(点确定后有效)</summary>
|
||||||
public string InputText { get; private set; } = string.Empty;
|
public string InputText { get; private set; } = string.Empty;
|
||||||
|
|
||||||
public InputDialog(string prompt, string title = "输入", string defaultValue = "")
|
public InputDialog() : this(string.Empty)
|
||||||
{
|
{
|
||||||
// 窗体基本设置
|
|
||||||
this.Text = title;
|
|
||||||
this.FormBorderStyle = FormBorderStyle.FixedDialog;
|
|
||||||
this.StartPosition = FormStartPosition.CenterParent;
|
|
||||||
this.MaximizeBox = false;
|
|
||||||
this.MinimizeBox = false;
|
|
||||||
this.ClientSize = new Size(360, 130);
|
|
||||||
|
|
||||||
// 提示标签
|
|
||||||
var lblPrompt = new Label
|
|
||||||
{
|
|
||||||
Text = prompt,
|
|
||||||
Location = new Point(15, 15),
|
|
||||||
AutoSize = true,
|
|
||||||
MaximumSize = new Size(330, 0)
|
|
||||||
};
|
|
||||||
|
|
||||||
// 输入框
|
|
||||||
txtInput = new TextBox
|
|
||||||
{
|
|
||||||
Text = defaultValue,
|
|
||||||
Location = new Point(15, 45),
|
|
||||||
Width = 330
|
|
||||||
};
|
|
||||||
txtInput.SelectAll();
|
|
||||||
|
|
||||||
// 确定按钮
|
|
||||||
btnOk = new Button
|
|
||||||
{
|
|
||||||
Text = "确定",
|
|
||||||
DialogResult = DialogResult.OK,
|
|
||||||
Location = new Point(185, 85),
|
|
||||||
Width = 75
|
|
||||||
};
|
|
||||||
btnOk.Click += (s, e) =>
|
|
||||||
{
|
|
||||||
InputText = txtInput.Text;
|
|
||||||
this.DialogResult = DialogResult.OK;
|
|
||||||
this.Close();
|
|
||||||
};
|
|
||||||
|
|
||||||
// 取消按钮
|
|
||||||
btnCancel = new Button
|
|
||||||
{
|
|
||||||
Text = "取消",
|
|
||||||
DialogResult = DialogResult.Cancel,
|
|
||||||
Location = new Point(270, 85),
|
|
||||||
Width = 75
|
|
||||||
};
|
|
||||||
|
|
||||||
this.Controls.AddRange(new Control[] { lblPrompt, txtInput, btnOk, btnCancel });
|
|
||||||
this.AcceptButton = btnOk;
|
|
||||||
this.CancelButton = btnCancel;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>便捷静态方法:弹出输入框并返回输入内容,取消返回 null</summary>
|
/// <param name="inputType">输入类型,数字按当前区域格式验证。</param>
|
||||||
public static string Show(string prompt, string title = "输入", string defaultValue = "")
|
/// <param name="validator">类型验证通过后调用;返回错误信息,null 或空字符串表示通过。</param>
|
||||||
|
public InputDialog(string prompt, string title = "输入", string defaultValue = "",
|
||||||
|
InputDialogType inputType = InputDialogType.Text, Func<string, string> validator = null)
|
||||||
{
|
{
|
||||||
using (var dlg = new InputDialog(prompt, title, defaultValue))
|
if (!Enum.IsDefined(typeof(InputDialogType), inputType))
|
||||||
|
throw new ArgumentOutOfRangeException(nameof(inputType));
|
||||||
|
|
||||||
|
InitializeComponent();
|
||||||
|
this.inputType = inputType;
|
||||||
|
this.validator = validator;
|
||||||
|
Text = title;
|
||||||
|
lblPrompt.Text = prompt;
|
||||||
|
txtInput.Text = defaultValue;
|
||||||
|
txtInput.SelectAll();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnOk_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string value = txtInput.Text;
|
||||||
|
string error = null;
|
||||||
|
if (inputType == InputDialogType.Integer && !int.TryParse(value, out _))
|
||||||
|
error = "请输入有效的整数(-2147483648 至 2147483647)。";
|
||||||
|
else if (inputType == InputDialogType.Decimal && !decimal.TryParse(value, out _))
|
||||||
|
error = "请输入有效的小数。";
|
||||||
|
else if (validator != null)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
error = validator(value);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
error = "验证失败:" + ex.Message;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
lblError.Text = error ?? string.Empty;
|
||||||
|
if (!string.IsNullOrEmpty(error))
|
||||||
|
{
|
||||||
|
txtInput.Focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
InputText = value;
|
||||||
|
DialogResult = DialogResult.OK;
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void txtInput_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
lblError.Text = string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>弹出输入框并返回输入内容,取消返回 null;validator 返回错误信息,空值表示通过。</summary>
|
||||||
|
public static string Show(string prompt, string title = "输入", string defaultValue = "",
|
||||||
|
InputDialogType inputType = InputDialogType.Text, Func<string, string> validator = null)
|
||||||
|
{
|
||||||
|
using (var dlg = new InputDialog(prompt, title, defaultValue, inputType, validator))
|
||||||
{
|
{
|
||||||
return dlg.ShowDialog() == DialogResult.OK ? dlg.InputText : null;
|
return dlg.ShowDialog() == DialogResult.OK ? dlg.InputText : null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
/// <summary>输入数值,取消返回 null;支持整数、float、double 和 decimal,按当前区域格式解析。</summary>
|
||||||
|
/// <param name="validator">接收解析后的数值,返回错误信息;null 或空字符串表示通过。</param>
|
||||||
|
public static T? Show<T>(string prompt, string title = "输入", T defaultValue = default,
|
||||||
|
Func<T, string> validator = null) where T : struct, IConvertible
|
||||||
|
{
|
||||||
|
var typeCode = Type.GetTypeCode(typeof(T));
|
||||||
|
if (typeof(T).IsEnum || typeCode < TypeCode.SByte || typeCode > TypeCode.Decimal)
|
||||||
|
throw new NotSupportedException("仅支持整数、float、double 和 decimal 类型。");
|
||||||
|
|
||||||
|
T value = default;
|
||||||
|
using (var dlg = new InputDialog(prompt, title, defaultValue.ToString(CultureInfo.CurrentCulture),
|
||||||
|
validator: text => ValidateNumber(text, validator, out value)))
|
||||||
|
{
|
||||||
|
return dlg.ShowDialog() == DialogResult.OK ? value : (T?)null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string ValidateNumber<T>(string text, Func<T, string> validator, out T value)
|
||||||
|
where T : struct, IConvertible
|
||||||
|
{
|
||||||
|
value = default;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
value = (T)Convert.ChangeType(text, typeof(T), CultureInfo.CurrentCulture);
|
||||||
|
}
|
||||||
|
catch (FormatException)
|
||||||
|
{
|
||||||
|
return $"请输入有效的 {typeof(T).Name} 数值。";
|
||||||
|
}
|
||||||
|
catch (OverflowException)
|
||||||
|
{
|
||||||
|
return $"输入超出 {typeof(T).Name} 的取值范围。";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (value is float single && (float.IsNaN(single) || float.IsInfinity(single))
|
||||||
|
|| value is double number && (double.IsNaN(number) || double.IsInfinity(number)))
|
||||||
|
return "请输入有限数值。";
|
||||||
|
|
||||||
|
return validator?.Invoke(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum InputDialogType
|
||||||
|
{
|
||||||
|
Text,
|
||||||
|
Integer,
|
||||||
|
Decimal
|
||||||
|
}
|
||||||
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
@@ -451,16 +451,18 @@ namespace TemuKJD.WXForms.AdminForms
|
|||||||
//
|
//
|
||||||
this.cmbType.FormattingEnabled = true;
|
this.cmbType.FormattingEnabled = true;
|
||||||
this.cmbType.Items.AddRange(new object[] {
|
this.cmbType.Items.AddRange(new object[] {
|
||||||
"",
|
"",
|
||||||
"充值",
|
"充值",
|
||||||
"管理员充值",
|
"管理员充值",
|
||||||
"支付宝充值",
|
"支付宝充值",
|
||||||
"礼物单支出/礼物单退费",
|
"礼物单支出/礼物单退费",
|
||||||
"拍单扣除/作废返还",
|
"拍单扣除/作废返还",
|
||||||
"超重扣费支出",
|
"额外包裹扣费支出/返还",
|
||||||
"退货包裹扣费支出",
|
"退货包裹扣费支出/返还",
|
||||||
"云仓退货扣费支出"});
|
"云仓退货扣费支出/返还",
|
||||||
this.cmbType.Location = new System.Drawing.Point(63, 50);
|
"超重扣费支出",
|
||||||
|
"同步物流"});
|
||||||
|
this.cmbType.Location = new System.Drawing.Point(63, 50);
|
||||||
this.cmbType.Name = "cmbType";
|
this.cmbType.Name = "cmbType";
|
||||||
this.cmbType.Size = new System.Drawing.Size(90, 25);
|
this.cmbType.Size = new System.Drawing.Size(90, 25);
|
||||||
this.cmbType.TabIndex = 0;
|
this.cmbType.TabIndex = 0;
|
||||||
|
|||||||
@@ -92,23 +92,27 @@ namespace TemuKJD.WXForms.AdminForms
|
|||||||
data3 += "&user_name_in=" + txtUserName.Text.Trim();
|
data3 += "&user_name_in=" + txtUserName.Text.Trim();
|
||||||
data3 += "&create_time_begin=" + dtpTimeBegin.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
data3 += "&create_time_begin=" + dtpTimeBegin.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
||||||
data3 += "&create_time_end=" + dtpTimeEnd.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
data3 += "&create_time_end=" + dtpTimeEnd.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
||||||
if (cmbType.Text == "充值")
|
if (cmbType.Text == "充值")
|
||||||
data3 += "&type_in=1,30";
|
data3 += "&type_in=1,30";
|
||||||
else if (cmbType.Text == "管理员充值")
|
else if (cmbType.Text == "管理员充值")
|
||||||
data3 += "&type_in=1";
|
data3 += "&type_in=1";
|
||||||
else if (cmbType.Text == "支付宝充值")
|
else if (cmbType.Text == "支付宝充值")
|
||||||
data3 += "&type_in=30";
|
data3 += "&type_in=30";
|
||||||
else if (cmbType.Text == "礼物单支出/礼物单退费")
|
else if (cmbType.Text == "礼物单支出/礼物单退费")
|
||||||
data3 += "&type_in=16,34";
|
data3 += "&type_in=16,34";
|
||||||
else if (cmbType.Text == "拍单扣除/作废返还")
|
else if (cmbType.Text == "拍单扣除/作废返还")
|
||||||
data3 += "&type_in=20,23";
|
data3 += "&type_in=20,23";
|
||||||
else if (cmbType.Text == "超重扣费支出")
|
else if (cmbType.Text == "退货包裹扣费支出/返还")
|
||||||
data3 += "&type_in=24";
|
data3 += "&type_in=26,38";
|
||||||
else if (cmbType.Text == "退货包裹扣费支出")
|
else if (cmbType.Text == "额外包裹扣费支出/返还")
|
||||||
data3 += "&type_in=26";
|
data3 += "&type_in=35,36";
|
||||||
else if (cmbType.Text == "云仓退货扣费支出")
|
else if (cmbType.Text == "云仓退货扣费支出")
|
||||||
data3 += "&type_in=31";
|
data3 += "&type_in=31,32";
|
||||||
else if (!string.IsNullOrEmpty(cmbType.Text))
|
else if (cmbType.Text == "超重扣费支出")
|
||||||
|
data3 += "&type_in=24,28,33,37,41";
|
||||||
|
else if (cmbType.Text == "同步物流")
|
||||||
|
data3 += "&type_in=55";
|
||||||
|
else if (!string.IsNullOrEmpty(cmbType.Text))
|
||||||
data3 += "&type_in=" + cmbType.Text;
|
data3 += "&type_in=" + cmbType.Text;
|
||||||
if (!string.IsNullOrEmpty(txtOutOrderId.Text.Trim()))
|
if (!string.IsNullOrEmpty(txtOutOrderId.Text.Trim()))
|
||||||
data3 += "&order_id_in=" + txtOutOrderId.Text.Trim();
|
data3 += "&order_id_in=" + txtOutOrderId.Text.Trim();
|
||||||
@@ -311,17 +315,17 @@ namespace TemuKJD.WXForms.AdminForms
|
|||||||
var checkRows = dgvPayment.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
|
var checkRows = dgvPayment.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
|
||||||
|
|
||||||
lblPostageTotal.Text = checkRows
|
lblPostageTotal.Text = checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓扣费支出.ParseToString())
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹扣费支出.ParseToString())
|
||||||
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
||||||
lblPostageReturnTotal.Text = checkRows
|
lblPostageReturnTotal.Text = checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓作废返还收入.ParseToString())
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹作废返还.ParseToString())
|
||||||
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
||||||
lblPostageWeightTotal.Text = checkRows
|
lblPostageWeightTotal.Text = checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓超重支出.ParseToString())
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹超重支出.ParseToString())
|
||||||
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
||||||
lblPostageNotReturnCnt.Text = (checkRows
|
lblPostageNotReturnCnt.Text = (checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓扣费支出.ParseToString()).Count() - checkRows
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹扣费支出.ParseToString()).Count() - checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓作废返还收入.ParseToString()).Count()).ToString();
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹作废返还.ParseToString()).Count()).ToString();
|
||||||
lblProfit.Text = (lblPostageTotal.Text.ParseToDecimal() - lblPostageReturnTotal.Text.ParseToDecimal() - lblPostageNotReturnCnt.Text.ParseToInt() * 2.2m).ToString();
|
lblProfit.Text = (lblPostageTotal.Text.ParseToDecimal() - lblPostageReturnTotal.Text.ParseToDecimal() - lblPostageNotReturnCnt.Text.ParseToInt() * 2.2m).ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -275,7 +275,6 @@ namespace TemuKJD.WXForms.AdminForms
|
|||||||
private void btnRefresh_Click(object sender, EventArgs e)
|
private void btnRefresh_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
ucSplitPage1.CurrentPage = 1;
|
ucSplitPage1.CurrentPage = 1;
|
||||||
GetUser();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void dgvUser_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
private void dgvUser_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
using AllBase.Model.DBModel;
|
using AllBase.Model.DBModel;
|
||||||
using AllBase.Model.Result;
|
using AllBase.Model.Result;
|
||||||
using NaiBa.Util.Extension;
|
using NaiBa.Util.Extension;
|
||||||
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -15,190 +16,260 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using TemuKJD.BaseForms;
|
using TemuKJD.BaseForms;
|
||||||
|
using TemuKJD.UserComponent;
|
||||||
using Work;
|
using Work;
|
||||||
|
using Work.GoodDetail;
|
||||||
|
|
||||||
namespace TemuKJD.WXForms.AdminForms
|
namespace TemuKJD.WXForms.AdminForms
|
||||||
{
|
{
|
||||||
public partial class WxAdminOemManageForm : BaseForm
|
public partial class WxAdminOemManageForm : BaseForm
|
||||||
{
|
{
|
||||||
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
|
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
|
||||||
public WxAdminOemManageForm()
|
private DataGridViewRow SelectedRow { get; set; }
|
||||||
{
|
public WxAdminOemManageForm()
|
||||||
InitializeComponent();
|
{
|
||||||
}
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
private void WxOemManageForm_Load(object sender, EventArgs e)
|
private void WxOemManageForm_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
IsFormLoad = true;
|
IsFormLoad = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void WxOemManageForm_VisibleChanged(object sender, EventArgs e)
|
private void WxOemManageForm_VisibleChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (IsFirstVisibile)
|
if (IsFirstVisibile)
|
||||||
{
|
{
|
||||||
btnSearch_Click(null, null);
|
btnSearch_Click(null, null);
|
||||||
|
|
||||||
IsFirstVisibile = false;
|
IsFirstVisibile = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnAddMdy_Click(object sender, EventArgs e)
|
private void btnAddMdy_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
StringBuilder data = new StringBuilder();
|
StringBuilder data = new StringBuilder();
|
||||||
data.Append(UserLogin.GetSignaturex());
|
data.Append(UserLogin.GetSignaturex());
|
||||||
data.Append("&oem_id=" + GetHtml.UrlEncodeUtf8(txtOemId.Text.Trim()));
|
data.Append("&oem_id=" + GetHtml.UrlEncodeUtf8(txtOemId.Text.Trim()));
|
||||||
data.Append("&oem_name=" + GetHtml.UrlEncodeUtf8(txtOemName.Text.Trim()));
|
data.Append("&oem_name=" + GetHtml.UrlEncodeUtf8(txtOemName.Text.Trim()));
|
||||||
data.Append("&oem_owner=" + GetHtml.UrlEncodeUtf8(txtOemOwner.Text.Trim()));
|
data.Append("&oem_owner=" + GetHtml.UrlEncodeUtf8(txtOemOwner.Text.Trim()));
|
||||||
|
data.Append("&parent_oemid=" + GetHtml.UrlEncodeUtf8(txtParentOemId.Text.Trim()));
|
||||||
string url = BaseClass.BuildWXObjString("user/add_mdy_oem");
|
string url = BaseClass.BuildWXObjString("user/add_mdy_oem");
|
||||||
string html = GetHtml.PostUtf8(url, data.ToString()).Trim();
|
string html = GetHtml.PostUtf8(url, data.ToString()).Trim();
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||||
{
|
{
|
||||||
var msg = BaseRegex.GetStringJson(ref html, "msg");
|
var msg = BaseRegex.GetStringJson(ref html, "msg");
|
||||||
if (string.IsNullOrEmpty(msg))
|
if (string.IsNullOrEmpty(msg))
|
||||||
msg = html;
|
msg = html;
|
||||||
BaseMsgForm.ShowError(msg, "错误");
|
BaseMsgForm.ShowError(msg, "错误");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (btnAddMdy.Text != "添加贴牌")
|
btnCancelEdit_Click(null, null);
|
||||||
btnCancelEdit_Click(null, null);
|
btnSearch_Click(null, null);
|
||||||
btnSearch_Click(null, null);
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void btnCancelEdit_Click(object sender, EventArgs e)
|
private void btnCancelEdit_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
txtOemId.Text = "";
|
txtOemId.Text = "";
|
||||||
txtOemName.Text = "";
|
txtOemName.Text = "";
|
||||||
txtOemOwner.Text = "";
|
txtOemOwner.Text = "";
|
||||||
txtOemId.ReadOnly = false;
|
txtOemId.ReadOnly = false;
|
||||||
btnAddMdy.Text = "添加贴牌";
|
txtParentOemId.ReadOnly = false;
|
||||||
}
|
txtParentOemId.Text = "";
|
||||||
|
btnAddMdy.Text = "添加贴牌";
|
||||||
|
}
|
||||||
|
|
||||||
private void lblRandomOemId_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
private void lblRandomOemId_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
{
|
{
|
||||||
this.txtOemId.Text = DateTime.Now.ToString("yy") + Randomx.GetNumber(2) + Randomx.GetWordWithNumber(4);
|
this.txtOemId.Text = DateTime.Now.ToString("yy") + Randomx.GetNumber(2) + Randomx.GetWordWithNumber(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
public string DbId = "";
|
public string DbId = "";
|
||||||
private void dgvOem_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
private void dgvOem_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||||
{
|
{
|
||||||
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
if (e.ColumnIndex < 0 || e.RowIndex < 0)
|
||||||
return;
|
return;
|
||||||
string columText = dgvOem.Columns[e.ColumnIndex].HeaderText;
|
string columText = dgvOem.Columns[e.ColumnIndex].HeaderText;
|
||||||
string columName = dgvOem.Columns[e.ColumnIndex].Name;
|
string columName = dgvOem.Columns[e.ColumnIndex].Name;
|
||||||
string id = dgvOem.Rows[e.RowIndex].Cells["colId"].Value.ToString();
|
string id = dgvOem.Rows[e.RowIndex].Cells["colId"].Value.ToString();
|
||||||
string oemId = dgvOem.Rows[e.RowIndex].Cells["colOemId"].Value.ToString();
|
string oemId = dgvOem.Rows[e.RowIndex].Cells["colOemId"].Value.ToString();
|
||||||
string oemName = dgvOem.Rows[e.RowIndex].Cells["colOemName"].Value.ToString();
|
string oemName = dgvOem.Rows[e.RowIndex].Cells["colOemName"].Value.ToString();
|
||||||
string oemOwner = dgvOem.Rows[e.RowIndex].Cells["colOemOwner"].Value.ToString();
|
string oemOwner = dgvOem.Rows[e.RowIndex].Cells["colOemOwner"].Value.ToString();
|
||||||
var row = dgvOem.Rows[e.RowIndex];
|
string parentOemId = dgvOem.Rows[e.RowIndex].Cells["colParentOemId"].Value.ToString();
|
||||||
if (columText == "编辑")
|
var row = dgvOem.Rows[e.RowIndex];
|
||||||
{
|
if (columText == "编辑")
|
||||||
DbId = id;
|
{
|
||||||
txtOemId.ReadOnly = true;
|
DbId = id;
|
||||||
txtOemId.Text = oemId;
|
txtOemId.ReadOnly = true;
|
||||||
txtOemName.Text = oemName;
|
txtParentOemId.ReadOnly = true;
|
||||||
txtOemOwner.Text = oemOwner;
|
txtOemId.Text = oemId;
|
||||||
btnAddMdy.Text = "编辑贴牌";
|
txtOemName.Text = oemName;
|
||||||
}
|
txtOemOwner.Text = oemOwner;
|
||||||
if (columText == "删除")
|
txtParentOemId.Text = parentOemId;
|
||||||
{
|
|
||||||
if (BaseMsgForm.ShowConfirm("是否删除,删除后无法再次添加", "提示").DialogResult == DialogResult.OK)
|
|
||||||
{
|
|
||||||
DeleteOem(id);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void DeleteOem(string dbId)
|
btnAddMdy.Text = "编辑贴牌";
|
||||||
{
|
}
|
||||||
StringBuilder data = new StringBuilder();
|
if (columText == "删除")
|
||||||
data.Append(UserLogin.GetSignaturex());
|
{
|
||||||
data.Append("&db_id=" + dbId);
|
if (BaseMsgForm.ShowConfirm("是否删除,删除后无法再次添加", "提示").DialogResult == DialogResult.OK)
|
||||||
|
{
|
||||||
|
DeleteOem(id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (columText == "选择")
|
||||||
|
{
|
||||||
|
foreach (DataGridViewRow item in dgvOem.Rows)
|
||||||
|
{
|
||||||
|
item.Cells["colCheck"].Value = false;
|
||||||
|
}
|
||||||
|
SelectedRow = dgvOem.Rows[e.RowIndex];
|
||||||
|
SelectedRow.Cells["colCheck"].Value = true;
|
||||||
|
|
||||||
string url = BaseClass.BuildWXObjString("user/del_oem");
|
}
|
||||||
string html = GetHtml.PostUtf8(url, data.ToString()).Trim();
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
private void DeleteOem(string dbId)
|
||||||
{
|
{
|
||||||
var msg = BaseRegex.GetStringJson(ref html, "msg");
|
StringBuilder data = new StringBuilder();
|
||||||
if (string.IsNullOrEmpty(msg))
|
data.Append(UserLogin.GetSignaturex());
|
||||||
msg = html;
|
data.Append("&db_id=" + dbId);
|
||||||
BaseMsgForm.ShowError(msg, "错误");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
btnSearch_Click(null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void btnSearch_Click(object sender, EventArgs e)
|
string url = BaseClass.BuildWXObjString("user/del_oem");
|
||||||
{
|
string html = GetHtml.PostUtf8(url, data.ToString()).Trim();
|
||||||
if (cancellationTokenSource != null)
|
|
||||||
cancellationTokenSource.Cancel();
|
|
||||||
dgvOem.Rows.Clear();
|
|
||||||
|
|
||||||
cancellationTokenSource = new CancellationTokenSource();
|
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||||
|
{
|
||||||
|
var msg = BaseRegex.GetStringJson(ref html, "msg");
|
||||||
|
if (string.IsNullOrEmpty(msg))
|
||||||
|
msg = html;
|
||||||
|
BaseMsgForm.ShowError(msg, "错误");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
btnSearch_Click(null, null);
|
||||||
|
}
|
||||||
|
|
||||||
Task.Run(() => {
|
private void btnSearch_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (cancellationTokenSource != null)
|
||||||
|
cancellationTokenSource.Cancel();
|
||||||
|
dgvOem.Rows.Clear();
|
||||||
|
|
||||||
var cancelToken = cancellationTokenSource;
|
cancellationTokenSource = new CancellationTokenSource();
|
||||||
|
|
||||||
StringBuilder data = new StringBuilder();
|
Task.Run(() =>
|
||||||
data.Append(UserLogin.GetSignaturex());
|
{
|
||||||
data.Append("&oem_id=" + GetHtml.UrlEncodeUtf8(txtSearchOemId.Text.Trim()));
|
|
||||||
data.Append("&oem_name=" + GetHtml.UrlEncodeUtf8(txtSearchOemName.Text.Trim()));
|
|
||||||
|
|
||||||
string url = BaseClass.BuildWXObjString("user/get_oem");
|
var cancelToken = cancellationTokenSource;
|
||||||
string html = GetHtml.PostUtf8(url, data.ToString()).Trim();
|
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
StringBuilder data = new StringBuilder();
|
||||||
{
|
data.Append(UserLogin.GetSignaturex());
|
||||||
var msg = BaseRegex.GetStringJson(ref html, "msg");
|
data.Append("&oem_id=" + GetHtml.UrlEncodeUtf8(txtSearchOemId.Text.Trim()));
|
||||||
if (string.IsNullOrEmpty(msg))
|
data.Append("&oem_name=" + GetHtml.UrlEncodeUtf8(txtSearchOemName.Text.Trim()));
|
||||||
msg = html;
|
|
||||||
BaseMsgForm.ShowError(msg, "错误");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var jArr = JObject.Parse(html)["data"];
|
string url = BaseClass.BuildWXObjString("user/get_oem");
|
||||||
|
string html = GetHtml.PostUtf8(url, data.ToString()).Trim();
|
||||||
|
|
||||||
try
|
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||||
{
|
{
|
||||||
var list = JsonHelper.DeserializeJsonToList<oem>(JsonHelper.SerializeObject(jArr)).ToList();
|
var msg = BaseRegex.GetStringJson(ref html, "msg");
|
||||||
|
if (string.IsNullOrEmpty(msg))
|
||||||
|
msg = html;
|
||||||
|
BaseMsgForm.ShowError(msg, "错误");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Invoke(new Action(() => { dgvOem.Rows.Clear(); }));
|
var jArr = JObject.Parse(html)["data"];
|
||||||
|
|
||||||
foreach (var item in list)
|
|
||||||
{
|
|
||||||
if (cancelToken.IsCancellationRequested)
|
|
||||||
return;
|
|
||||||
|
|
||||||
Invoke(new Action(() =>
|
try
|
||||||
{
|
{
|
||||||
this.dgvOem.Rows.Add(
|
var list = JsonHelper.DeserializeJsonToList<oem>(JsonHelper.SerializeObject(jArr)).ToList();
|
||||||
false,
|
|
||||||
item.id,
|
|
||||||
item.oem_id,
|
|
||||||
item.oem_name,
|
|
||||||
item.oem_owner,
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"编辑",
|
|
||||||
"删除"
|
|
||||||
);
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}, cancellationTokenSource.Token);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void btnClear_Click(object sender, EventArgs e)
|
Invoke(new Action(() => { dgvOem.Rows.Clear(); }));
|
||||||
{
|
|
||||||
txtSearchOemId.Text = "";
|
foreach (var item in list)
|
||||||
txtSearchOemName.Text = "";
|
{
|
||||||
}
|
if (cancelToken.IsCancellationRequested)
|
||||||
}
|
return;
|
||||||
|
|
||||||
|
Invoke(new Action(() =>
|
||||||
|
{
|
||||||
|
this.dgvOem.Rows.Add(
|
||||||
|
false,
|
||||||
|
item.id,
|
||||||
|
item.oem_id,
|
||||||
|
item.oem_name,
|
||||||
|
item.oem_owner,
|
||||||
|
item.parent_oem_id,
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"编辑",
|
||||||
|
"删除"
|
||||||
|
);
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}, cancellationTokenSource.Token);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnClear_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
txtSearchOemId.Text = "";
|
||||||
|
txtSearchOemName.Text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
private async void btn_SetMarkup_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
btn_SetMarkup.Enabled = true;
|
||||||
|
if (SelectedRow == null)
|
||||||
|
{
|
||||||
|
BaseMsgForm.ShowError("必须选择一条");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string parent_oemId = SelectedRow.Cells["colParentOemId"].Value.ToString();
|
||||||
|
if (string.IsNullOrEmpty(parent_oemId))
|
||||||
|
{
|
||||||
|
BaseMsgForm.ShowError("必须有父级代理");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string oemName = SelectedRow.Cells["colOemName"].Value.ToString();
|
||||||
|
string oemId = SelectedRow.Cells["colOemId"].Value.ToString();
|
||||||
|
var value = InputDialog.Show<decimal>($"{oemName} 加价 (元)", "所有类型加价", 0, v =>
|
||||||
|
{
|
||||||
|
if (v < 0) return "加价不能小于0";
|
||||||
|
return "";
|
||||||
|
});
|
||||||
|
if (value.HasValue == false) return;
|
||||||
|
|
||||||
|
string url = BaseClass.BuildWXObjString("user/SetMarkupRule");
|
||||||
|
var data = UserLogin.GetSignPostData(new
|
||||||
|
{
|
||||||
|
TargetType = 1,
|
||||||
|
TargetId = oemId,
|
||||||
|
PaymentType = 20,
|
||||||
|
Markup = (int)(value.Value * 100m)
|
||||||
|
});
|
||||||
|
string html = await GetHtml.PostJsonAsync(url, data);
|
||||||
|
var result = JsonConvert.DeserializeObject<Result>(html);
|
||||||
|
if (result.Code != 200)
|
||||||
|
{
|
||||||
|
throw new Exception(result.Msg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
BaseMsgForm.ShowError(ex.Message);
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
btn_SetMarkup.Enabled = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -126,6 +126,9 @@
|
|||||||
<metadata name="colOemOwner.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="colOemOwner.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="colParentOemId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="colIco.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="colIco.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.splitContainer1.Panel2.Controls.Add(this.panel4);
|
this.splitContainer1.Panel2.Controls.Add(this.panel4);
|
||||||
this.splitContainer1.Panel2MinSize = 0;
|
this.splitContainer1.Panel2MinSize = 0;
|
||||||
this.splitContainer1.Size = new System.Drawing.Size(1498, 618);
|
this.splitContainer1.Size = new System.Drawing.Size(1498, 618);
|
||||||
this.splitContainer1.SplitterDistance = 379;
|
this.splitContainer1.SplitterDistance = 520;
|
||||||
this.splitContainer1.TabIndex = 1;
|
this.splitContainer1.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// splitContainer2
|
// splitContainer2
|
||||||
@@ -196,13 +196,12 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
//
|
//
|
||||||
this.splitContainer2.Panel2.Controls.Add(this.splitContainer4);
|
this.splitContainer2.Panel2.Controls.Add(this.splitContainer4);
|
||||||
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(4, 0, 0, 4);
|
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(4, 0, 0, 4);
|
||||||
this.splitContainer2.Size = new System.Drawing.Size(379, 618);
|
this.splitContainer2.Size = new System.Drawing.Size(520, 618);
|
||||||
this.splitContainer2.SplitterDistance = 31;
|
this.splitContainer2.SplitterDistance = 31;
|
||||||
this.splitContainer2.TabIndex = 0;
|
this.splitContainer2.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// btnRefreshAiStatus
|
// btnRefreshAiStatus
|
||||||
//
|
//
|
||||||
this.btnRefreshAiStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.btnRefreshAiStatus.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnRefreshAiStatus.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnRefreshAiStatus.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnRefreshAiStatus.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnRefreshAiStatus.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnRefreshAiStatus.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
@@ -234,7 +233,6 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
//
|
//
|
||||||
// btnBatchBindShop
|
// btnBatchBindShop
|
||||||
//
|
//
|
||||||
this.btnBatchBindShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.btnBatchBindShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnBatchBindShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.btnBatchBindShop.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnBatchBindShop.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnBatchBindShop.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnBatchBindShop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
@@ -262,7 +260,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.btnMultiLogin.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnMultiLogin.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnMultiLogin.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnMultiLogin.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnMultiLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnMultiLogin.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnMultiLogin.Location = new System.Drawing.Point(321, 7);
|
this.btnMultiLogin.Location = new System.Drawing.Point(462, 7);
|
||||||
this.btnMultiLogin.Name = "btnMultiLogin";
|
this.btnMultiLogin.Name = "btnMultiLogin";
|
||||||
this.btnMultiLogin.Size = new System.Drawing.Size(58, 20);
|
this.btnMultiLogin.Size = new System.Drawing.Size(58, 20);
|
||||||
this.btnMultiLogin.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnMultiLogin.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -311,7 +309,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.splitContainer4.Panel2.Controls.Add(this.line1);
|
this.splitContainer4.Panel2.Controls.Add(this.line1);
|
||||||
this.splitContainer4.Panel2.Controls.Add(this.label5);
|
this.splitContainer4.Panel2.Controls.Add(this.label5);
|
||||||
this.splitContainer4.Panel2.Controls.Add(this.pbLoading);
|
this.splitContainer4.Panel2.Controls.Add(this.pbLoading);
|
||||||
this.splitContainer4.Size = new System.Drawing.Size(375, 579);
|
this.splitContainer4.Size = new System.Drawing.Size(516, 579);
|
||||||
this.splitContainer4.SplitterDistance = 481;
|
this.splitContainer4.SplitterDistance = 481;
|
||||||
this.splitContainer4.TabIndex = 7;
|
this.splitContainer4.TabIndex = 7;
|
||||||
//
|
//
|
||||||
@@ -324,7 +322,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.pnlShop.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlShop.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.pnlShop.Location = new System.Drawing.Point(0, 0);
|
this.pnlShop.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlShop.Name = "pnlShop";
|
this.pnlShop.Name = "pnlShop";
|
||||||
this.pnlShop.Size = new System.Drawing.Size(375, 481);
|
this.pnlShop.Size = new System.Drawing.Size(516, 481);
|
||||||
this.pnlShop.TabIndex = 8;
|
this.pnlShop.TabIndex = 8;
|
||||||
//
|
//
|
||||||
// cmbMessage
|
// cmbMessage
|
||||||
@@ -360,7 +358,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
"无"});
|
"无"});
|
||||||
this.cmbMessage.Location = new System.Drawing.Point(76, 53);
|
this.cmbMessage.Location = new System.Drawing.Point(76, 53);
|
||||||
this.cmbMessage.Name = "cmbMessage";
|
this.cmbMessage.Name = "cmbMessage";
|
||||||
this.cmbMessage.Size = new System.Drawing.Size(82, 20);
|
this.cmbMessage.Size = new System.Drawing.Size(223, 20);
|
||||||
this.cmbMessage.TabIndex = 193;
|
this.cmbMessage.TabIndex = 193;
|
||||||
this.cmbMessage.Visible = false;
|
this.cmbMessage.Visible = false;
|
||||||
//
|
//
|
||||||
@@ -368,7 +366,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
//
|
//
|
||||||
this.chkNotShowMessageWindow.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
this.chkNotShowMessageWindow.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.chkNotShowMessageWindow.AutoSize = true;
|
this.chkNotShowMessageWindow.AutoSize = true;
|
||||||
this.chkNotShowMessageWindow.Location = new System.Drawing.Point(6, 31);
|
this.chkNotShowMessageWindow.Location = new System.Drawing.Point(147, 31);
|
||||||
this.chkNotShowMessageWindow.Name = "chkNotShowMessageWindow";
|
this.chkNotShowMessageWindow.Name = "chkNotShowMessageWindow";
|
||||||
this.chkNotShowMessageWindow.Size = new System.Drawing.Size(123, 21);
|
this.chkNotShowMessageWindow.Size = new System.Drawing.Size(123, 21);
|
||||||
this.chkNotShowMessageWindow.TabIndex = 201;
|
this.chkNotShowMessageWindow.TabIndex = 201;
|
||||||
@@ -431,7 +429,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.dgvShop.ReadOnly = true;
|
this.dgvShop.ReadOnly = true;
|
||||||
this.dgvShop.RowHeadersWidth = 25;
|
this.dgvShop.RowHeadersWidth = 25;
|
||||||
this.dgvShop.RowTemplate.Height = 23;
|
this.dgvShop.RowTemplate.Height = 23;
|
||||||
this.dgvShop.Size = new System.Drawing.Size(375, 481);
|
this.dgvShop.Size = new System.Drawing.Size(516, 481);
|
||||||
this.dgvShop.TabIndex = 7;
|
this.dgvShop.TabIndex = 7;
|
||||||
this.dgvShop.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellClick);
|
this.dgvShop.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellClick);
|
||||||
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
|
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
|
||||||
@@ -525,7 +523,6 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.colWaitSend.HeaderText = "待发货";
|
this.colWaitSend.HeaderText = "待发货";
|
||||||
this.colWaitSend.Name = "colWaitSend";
|
this.colWaitSend.Name = "colWaitSend";
|
||||||
this.colWaitSend.ReadOnly = true;
|
this.colWaitSend.ReadOnly = true;
|
||||||
this.colWaitSend.Visible = false;
|
|
||||||
this.colWaitSend.Width = 50;
|
this.colWaitSend.Width = 50;
|
||||||
//
|
//
|
||||||
// colWayBillError
|
// colWayBillError
|
||||||
@@ -533,7 +530,6 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.colWayBillError.HeaderText = "物流异常";
|
this.colWayBillError.HeaderText = "物流异常";
|
||||||
this.colWayBillError.Name = "colWayBillError";
|
this.colWayBillError.Name = "colWayBillError";
|
||||||
this.colWayBillError.ReadOnly = true;
|
this.colWayBillError.ReadOnly = true;
|
||||||
this.colWayBillError.Visible = false;
|
|
||||||
this.colWayBillError.Width = 62;
|
this.colWayBillError.Width = 62;
|
||||||
//
|
//
|
||||||
// colAfterSale
|
// colAfterSale
|
||||||
@@ -541,7 +537,6 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.colAfterSale.HeaderText = "售后";
|
this.colAfterSale.HeaderText = "售后";
|
||||||
this.colAfterSale.Name = "colAfterSale";
|
this.colAfterSale.Name = "colAfterSale";
|
||||||
this.colAfterSale.ReadOnly = true;
|
this.colAfterSale.ReadOnly = true;
|
||||||
this.colAfterSale.Visible = false;
|
|
||||||
this.colAfterSale.Width = 38;
|
this.colAfterSale.Width = 38;
|
||||||
//
|
//
|
||||||
// colPunishCount
|
// colPunishCount
|
||||||
@@ -549,7 +544,6 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.colPunishCount.HeaderText = "店铺违规";
|
this.colPunishCount.HeaderText = "店铺违规";
|
||||||
this.colPunishCount.Name = "colPunishCount";
|
this.colPunishCount.Name = "colPunishCount";
|
||||||
this.colPunishCount.ReadOnly = true;
|
this.colPunishCount.ReadOnly = true;
|
||||||
this.colPunishCount.Visible = false;
|
|
||||||
this.colPunishCount.Width = 62;
|
this.colPunishCount.Width = 62;
|
||||||
//
|
//
|
||||||
// colScore
|
// colScore
|
||||||
@@ -557,7 +551,6 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.colScore.HeaderText = "评分";
|
this.colScore.HeaderText = "评分";
|
||||||
this.colScore.Name = "colScore";
|
this.colScore.Name = "colScore";
|
||||||
this.colScore.ReadOnly = true;
|
this.colScore.ReadOnly = true;
|
||||||
this.colScore.Visible = false;
|
|
||||||
this.colScore.Width = 38;
|
this.colScore.Width = 38;
|
||||||
//
|
//
|
||||||
// colCanUse
|
// colCanUse
|
||||||
@@ -613,7 +606,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.btnRefreshMsgCount.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnRefreshMsgCount.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnRefreshMsgCount.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnRefreshMsgCount.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnRefreshMsgCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnRefreshMsgCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnRefreshMsgCount.Location = new System.Drawing.Point(317, 4);
|
this.btnRefreshMsgCount.Location = new System.Drawing.Point(458, 4);
|
||||||
this.btnRefreshMsgCount.Name = "btnRefreshMsgCount";
|
this.btnRefreshMsgCount.Name = "btnRefreshMsgCount";
|
||||||
this.btnRefreshMsgCount.Size = new System.Drawing.Size(59, 22);
|
this.btnRefreshMsgCount.Size = new System.Drawing.Size(59, 22);
|
||||||
this.btnRefreshMsgCount.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnRefreshMsgCount.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -685,7 +678,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.btnRefreshAfterSale.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnRefreshAfterSale.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnRefreshAfterSale.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnRefreshAfterSale.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnRefreshAfterSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnRefreshAfterSale.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnRefreshAfterSale.Location = new System.Drawing.Point(257, 66);
|
this.btnRefreshAfterSale.Location = new System.Drawing.Point(398, 66);
|
||||||
this.btnRefreshAfterSale.Name = "btnRefreshAfterSale";
|
this.btnRefreshAfterSale.Name = "btnRefreshAfterSale";
|
||||||
this.btnRefreshAfterSale.Size = new System.Drawing.Size(118, 25);
|
this.btnRefreshAfterSale.Size = new System.Drawing.Size(118, 25);
|
||||||
this.btnRefreshAfterSale.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnRefreshAfterSale.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -714,7 +707,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.cmbFiltNotes.IntegralHeight = false;
|
this.cmbFiltNotes.IntegralHeight = false;
|
||||||
this.cmbFiltNotes.Location = new System.Drawing.Point(173, 66);
|
this.cmbFiltNotes.Location = new System.Drawing.Point(173, 66);
|
||||||
this.cmbFiltNotes.Name = "cmbFiltNotes";
|
this.cmbFiltNotes.Name = "cmbFiltNotes";
|
||||||
this.cmbFiltNotes.Size = new System.Drawing.Size(82, 25);
|
this.cmbFiltNotes.Size = new System.Drawing.Size(223, 25);
|
||||||
this.cmbFiltNotes.TabIndex = 0;
|
this.cmbFiltNotes.TabIndex = 0;
|
||||||
this.cmbFiltNotes.Text = "全部";
|
this.cmbFiltNotes.Text = "全部";
|
||||||
//
|
//
|
||||||
@@ -725,7 +718,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.btnRestore.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnRestore.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnRestore.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnRestore.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnRestore.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnRestore.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnRestore.Location = new System.Drawing.Point(213, 41);
|
this.btnRestore.Location = new System.Drawing.Point(354, 41);
|
||||||
this.btnRestore.Name = "btnRestore";
|
this.btnRestore.Name = "btnRestore";
|
||||||
this.btnRestore.Size = new System.Drawing.Size(42, 23);
|
this.btnRestore.Size = new System.Drawing.Size(42, 23);
|
||||||
this.btnRestore.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnRestore.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -755,7 +748,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.txtFiltShopName.Location = new System.Drawing.Point(57, 41);
|
this.txtFiltShopName.Location = new System.Drawing.Point(57, 41);
|
||||||
this.txtFiltShopName.Name = "txtFiltShopName";
|
this.txtFiltShopName.Name = "txtFiltShopName";
|
||||||
this.txtFiltShopName.PreventEnterBeep = true;
|
this.txtFiltShopName.PreventEnterBeep = true;
|
||||||
this.txtFiltShopName.Size = new System.Drawing.Size(110, 23);
|
this.txtFiltShopName.Size = new System.Drawing.Size(251, 23);
|
||||||
this.txtFiltShopName.TabIndex = 202;
|
this.txtFiltShopName.TabIndex = 202;
|
||||||
//
|
//
|
||||||
// btnFilterShop
|
// btnFilterShop
|
||||||
@@ -765,7 +758,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.btnFilterShop.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnFilterShop.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnFilterShop.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnFilterShop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnFilterShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnFilterShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnFilterShop.Location = new System.Drawing.Point(169, 41);
|
this.btnFilterShop.Location = new System.Drawing.Point(310, 41);
|
||||||
this.btnFilterShop.Name = "btnFilterShop";
|
this.btnFilterShop.Name = "btnFilterShop";
|
||||||
this.btnFilterShop.Size = new System.Drawing.Size(42, 23);
|
this.btnFilterShop.Size = new System.Drawing.Size(42, 23);
|
||||||
this.btnFilterShop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnFilterShop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -790,7 +783,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnRefreshShop.Location = new System.Drawing.Point(257, 41);
|
this.btnRefreshShop.Location = new System.Drawing.Point(398, 41);
|
||||||
this.btnRefreshShop.Name = "btnRefreshShop";
|
this.btnRefreshShop.Name = "btnRefreshShop";
|
||||||
this.btnRefreshShop.Size = new System.Drawing.Size(118, 23);
|
this.btnRefreshShop.Size = new System.Drawing.Size(118, 23);
|
||||||
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -835,7 +828,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.line1.ForeColor = System.Drawing.Color.Silver;
|
this.line1.ForeColor = System.Drawing.Color.Silver;
|
||||||
this.line1.Location = new System.Drawing.Point(4, 26);
|
this.line1.Location = new System.Drawing.Point(4, 26);
|
||||||
this.line1.Name = "line1";
|
this.line1.Name = "line1";
|
||||||
this.line1.Size = new System.Drawing.Size(366, 10);
|
this.line1.Size = new System.Drawing.Size(507, 10);
|
||||||
this.line1.TabIndex = 242;
|
this.line1.TabIndex = 242;
|
||||||
this.line1.Text = "line1";
|
this.line1.Text = "line1";
|
||||||
//
|
//
|
||||||
@@ -853,7 +846,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
//
|
//
|
||||||
this.pbLoading.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.pbLoading.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||||
this.pbLoading.Location = new System.Drawing.Point(291, 2);
|
this.pbLoading.Location = new System.Drawing.Point(432, 2);
|
||||||
this.pbLoading.Name = "pbLoading";
|
this.pbLoading.Name = "pbLoading";
|
||||||
this.pbLoading.Size = new System.Drawing.Size(25, 25);
|
this.pbLoading.Size = new System.Drawing.Size(25, 25);
|
||||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||||
@@ -870,7 +863,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.panel4.Location = new System.Drawing.Point(0, 0);
|
this.panel4.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel4.Name = "panel4";
|
this.panel4.Name = "panel4";
|
||||||
this.panel4.Size = new System.Drawing.Size(1115, 618);
|
this.panel4.Size = new System.Drawing.Size(974, 618);
|
||||||
this.panel4.TabIndex = 906;
|
this.panel4.TabIndex = 906;
|
||||||
//
|
//
|
||||||
// btnReload
|
// btnReload
|
||||||
@@ -880,7 +873,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.btnReload.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnReload.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnReload.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnReload.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnReload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnReload.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnReload.Location = new System.Drawing.Point(929, 12);
|
this.btnReload.Location = new System.Drawing.Point(788, 12);
|
||||||
this.btnReload.Name = "btnReload";
|
this.btnReload.Name = "btnReload";
|
||||||
this.btnReload.Size = new System.Drawing.Size(88, 23);
|
this.btnReload.Size = new System.Drawing.Size(88, 23);
|
||||||
this.btnReload.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnReload.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -932,7 +925,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.btnToKfMainPage.Cursor = System.Windows.Forms.Cursors.Hand;
|
this.btnToKfMainPage.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||||
this.btnToKfMainPage.DisabledBackColor = System.Drawing.Color.Empty;
|
this.btnToKfMainPage.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.btnToKfMainPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.btnToKfMainPage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.btnToKfMainPage.Location = new System.Drawing.Point(1023, 12);
|
this.btnToKfMainPage.Location = new System.Drawing.Point(882, 12);
|
||||||
this.btnToKfMainPage.Name = "btnToKfMainPage";
|
this.btnToKfMainPage.Name = "btnToKfMainPage";
|
||||||
this.btnToKfMainPage.Size = new System.Drawing.Size(88, 23);
|
this.btnToKfMainPage.Size = new System.Drawing.Size(88, 23);
|
||||||
this.btnToKfMainPage.Style.Alignment = System.Drawing.StringAlignment.Center;
|
this.btnToKfMainPage.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -966,7 +959,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.ucTabControl1.Name = "ucTabControl1";
|
this.ucTabControl1.Name = "ucTabControl1";
|
||||||
this.ucTabControl1.SelectedIndex = 0;
|
this.ucTabControl1.SelectedIndex = 0;
|
||||||
this.ucTabControl1.ShowCloseButton = false;
|
this.ucTabControl1.ShowCloseButton = false;
|
||||||
this.ucTabControl1.Size = new System.Drawing.Size(1115, 618);
|
this.ucTabControl1.Size = new System.Drawing.Size(974, 618);
|
||||||
this.ucTabControl1.TabIndex = 0;
|
this.ucTabControl1.TabIndex = 0;
|
||||||
this.ucTabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
this.ucTabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||||
this.ucTabControl1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
this.ucTabControl1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||||
@@ -979,7 +972,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.tabPage1.Location = new System.Drawing.Point(2, 40);
|
this.tabPage1.Location = new System.Drawing.Point(2, 40);
|
||||||
this.tabPage1.Name = "tabPage1";
|
this.tabPage1.Name = "tabPage1";
|
||||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
|
this.tabPage1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
|
||||||
this.tabPage1.Size = new System.Drawing.Size(1109, 574);
|
this.tabPage1.Size = new System.Drawing.Size(968, 574);
|
||||||
this.tabPage1.TabIndex = 0;
|
this.tabPage1.TabIndex = 0;
|
||||||
this.tabPage1.Text = "客服窗口";
|
this.tabPage1.Text = "客服窗口";
|
||||||
this.tabPage1.UseVisualStyleBackColor = true;
|
this.tabPage1.UseVisualStyleBackColor = true;
|
||||||
@@ -1003,7 +996,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
//
|
//
|
||||||
this.splitContainer3.Panel2.Controls.Add(this.pnlAiTalk);
|
this.splitContainer3.Panel2.Controls.Add(this.pnlAiTalk);
|
||||||
this.splitContainer3.Panel2MinSize = 0;
|
this.splitContainer3.Panel2MinSize = 0;
|
||||||
this.splitContainer3.Size = new System.Drawing.Size(1109, 571);
|
this.splitContainer3.Size = new System.Drawing.Size(968, 571);
|
||||||
this.splitContainer3.SplitterDistance = 25;
|
this.splitContainer3.SplitterDistance = 25;
|
||||||
this.splitContainer3.TabIndex = 2;
|
this.splitContainer3.TabIndex = 2;
|
||||||
//
|
//
|
||||||
@@ -1068,7 +1061,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.txtAddress.Location = new System.Drawing.Point(66, 1);
|
this.txtAddress.Location = new System.Drawing.Point(66, 1);
|
||||||
this.txtAddress.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
this.txtAddress.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||||
this.txtAddress.Name = "txtAddress";
|
this.txtAddress.Name = "txtAddress";
|
||||||
this.txtAddress.Size = new System.Drawing.Size(1040, 23);
|
this.txtAddress.Size = new System.Drawing.Size(899, 23);
|
||||||
this.txtAddress.TabIndex = 12;
|
this.txtAddress.TabIndex = 12;
|
||||||
this.txtAddress.Visible = false;
|
this.txtAddress.Visible = false;
|
||||||
this.txtAddress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAddress_KeyDown);
|
this.txtAddress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtAddress_KeyDown);
|
||||||
@@ -1080,7 +1073,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.pnlAiTalk.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlAiTalk.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.pnlAiTalk.Location = new System.Drawing.Point(0, 0);
|
this.pnlAiTalk.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlAiTalk.Name = "pnlAiTalk";
|
this.pnlAiTalk.Name = "pnlAiTalk";
|
||||||
this.pnlAiTalk.Size = new System.Drawing.Size(1109, 542);
|
this.pnlAiTalk.Size = new System.Drawing.Size(968, 542);
|
||||||
this.pnlAiTalk.TabIndex = 2;
|
this.pnlAiTalk.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// pnlCover
|
// pnlCover
|
||||||
@@ -1140,7 +1133,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.tabPage2.Location = new System.Drawing.Point(2, 40);
|
this.tabPage2.Location = new System.Drawing.Point(2, 40);
|
||||||
this.tabPage2.Name = "tabPage2";
|
this.tabPage2.Name = "tabPage2";
|
||||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
|
this.tabPage2.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
|
||||||
this.tabPage2.Size = new System.Drawing.Size(1109, 574);
|
this.tabPage2.Size = new System.Drawing.Size(978, 574);
|
||||||
this.tabPage2.TabIndex = 1;
|
this.tabPage2.TabIndex = 1;
|
||||||
this.tabPage2.Text = "店铺后台";
|
this.tabPage2.Text = "店铺后台";
|
||||||
this.tabPage2.UseVisualStyleBackColor = true;
|
this.tabPage2.UseVisualStyleBackColor = true;
|
||||||
@@ -1150,7 +1143,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.mainPanel.Location = new System.Drawing.Point(0, 3);
|
this.mainPanel.Location = new System.Drawing.Point(0, 3);
|
||||||
this.mainPanel.Name = "mainPanel";
|
this.mainPanel.Name = "mainPanel";
|
||||||
this.mainPanel.Size = new System.Drawing.Size(1109, 571);
|
this.mainPanel.Size = new System.Drawing.Size(978, 571);
|
||||||
this.mainPanel.TabIndex = 1;
|
this.mainPanel.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// tpBuyerOrder
|
// tpBuyerOrder
|
||||||
@@ -1158,7 +1151,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
this.tpBuyerOrder.Location = new System.Drawing.Point(2, 40);
|
this.tpBuyerOrder.Location = new System.Drawing.Point(2, 40);
|
||||||
this.tpBuyerOrder.Name = "tpBuyerOrder";
|
this.tpBuyerOrder.Name = "tpBuyerOrder";
|
||||||
this.tpBuyerOrder.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
|
this.tpBuyerOrder.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
|
||||||
this.tpBuyerOrder.Size = new System.Drawing.Size(1109, 574);
|
this.tpBuyerOrder.Size = new System.Drawing.Size(978, 574);
|
||||||
this.tpBuyerOrder.TabIndex = 2;
|
this.tpBuyerOrder.TabIndex = 2;
|
||||||
this.tpBuyerOrder.Text = "订单管理";
|
this.tpBuyerOrder.Text = "订单管理";
|
||||||
this.tpBuyerOrder.UseVisualStyleBackColor = true;
|
this.tpBuyerOrder.UseVisualStyleBackColor = true;
|
||||||
@@ -1340,27 +1333,27 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
private System.Windows.Forms.Panel pnlAiTalk;
|
private System.Windows.Forms.Panel pnlAiTalk;
|
||||||
private System.Windows.Forms.Panel pnlShop;
|
private System.Windows.Forms.Panel pnlShop;
|
||||||
private DevComponents.DotNetBar.PanelEx btnBatchBindShop;
|
private DevComponents.DotNetBar.PanelEx btnBatchBindShop;
|
||||||
private UserComponent.UcDataGridViewCheckBoxColumn colSelect;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopLoginName;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colGroup;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopNotes;
|
|
||||||
private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAiStatus;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAutoReplyCount;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colWaitSend;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colWayBillError;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colAfterSale;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPunishCount;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn colScore;
|
|
||||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
|
|
||||||
private System.Windows.Forms.Label lblCurrentShop;
|
private System.Windows.Forms.Label lblCurrentShop;
|
||||||
private System.Windows.Forms.Panel pnlCover;
|
private System.Windows.Forms.Panel pnlCover;
|
||||||
private DevComponents.DotNetBar.PanelEx btnReLogin;
|
private DevComponents.DotNetBar.PanelEx btnReLogin;
|
||||||
private System.Windows.Forms.PictureBox pictureBox1;
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
private DevComponents.DotNetBar.PanelEx btnRefreshAiStatus;
|
private DevComponents.DotNetBar.PanelEx btnRefreshAiStatus;
|
||||||
private DevComponents.DotNetBar.PanelEx btnReload;
|
private DevComponents.DotNetBar.PanelEx btnReload;
|
||||||
}
|
private UserComponent.UcDataGridViewCheckBoxColumn colSelect;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colShopLoginName;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colGroup;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colShopNotes;
|
||||||
|
private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colAiStatus;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colAutoReplyCount;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colWaitSend;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colWayBillError;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colAfterSale;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colPunishCount;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn colScore;
|
||||||
|
private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -91,7 +91,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
|
|
||||||
public PDDBuyerOrderListForm orderListForm = null;
|
public PDDBuyerOrderListForm orderListForm = null;
|
||||||
|
|
||||||
DateTime nextRefreshTime = DateTime.Now.AddMinutes(30);
|
DateTime nextRefreshTime = DateTime.Now.AddMinutes(0);
|
||||||
|
|
||||||
public WxAiTalkForm()
|
public WxAiTalkForm()
|
||||||
{
|
{
|
||||||
@@ -176,6 +176,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
LoadAiTalk();
|
LoadAiTalk();
|
||||||
LoadAiTalkAdmin();
|
LoadAiTalkAdmin();
|
||||||
|
|
||||||
|
// 加载其他店铺后台信息
|
||||||
Task.Run(() =>
|
Task.Run(() =>
|
||||||
{
|
{
|
||||||
// 等待店铺初始化
|
// 等待店铺初始化
|
||||||
@@ -191,7 +192,6 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
}));
|
}));
|
||||||
SetMainBrowserUrl(currentShop);
|
SetMainBrowserUrl(currentShop);
|
||||||
LoadShop();
|
LoadShop();
|
||||||
RefreshCookie(true);
|
|
||||||
Invoke(new Action(() =>
|
Invoke(new Action(() =>
|
||||||
{
|
{
|
||||||
foreach (var shopNote in GlobalConfig.ValidShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
foreach (var shopNote in GlobalConfig.ValidShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
|
||||||
@@ -207,6 +207,8 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
if (lstShopAfterSale == null)
|
if (lstShopAfterSale == null)
|
||||||
lstShopAfterSale = new ConcurrentList<WxTalkFormShopMainInfo>();
|
lstShopAfterSale = new ConcurrentList<WxTalkFormShopMainInfo>();
|
||||||
}));
|
}));
|
||||||
|
//刷新店铺cookie
|
||||||
|
//RefreshCookie(true);
|
||||||
// 加载店铺确认默认店铺后再初始化订单列表读取
|
// 加载店铺确认默认店铺后再初始化订单列表读取
|
||||||
InitOrderForm();
|
InitOrderForm();
|
||||||
|
|
||||||
@@ -251,7 +253,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 初始化买手订单页面
|
/// 初始化买手订单页面,ai客服已移除,迁移到拍单软件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
void InitOrderForm()
|
void InitOrderForm()
|
||||||
{
|
{
|
||||||
@@ -1008,7 +1010,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
Invoke(new Action(() =>
|
Invoke(new Action(() =>
|
||||||
{
|
{
|
||||||
if (r != null)
|
if (r != null)
|
||||||
r.Cells["colMessage"].Value = "正在刷新店铺";
|
r.Cells["colMessage"].Value = "正在刷新店铺Cookie";
|
||||||
}));
|
}));
|
||||||
WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
|
WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
|
||||||
Invoke(new Action(() =>
|
Invoke(new Action(() =>
|
||||||
@@ -1294,7 +1296,7 @@ namespace TemuKJD.WXForms.AiTalkForms
|
|||||||
{
|
{
|
||||||
if (btnClose.Text == ">>")
|
if (btnClose.Text == ">>")
|
||||||
{
|
{
|
||||||
splitContainer1.SplitterDistance = 379;
|
splitContainer1.SplitterDistance = 520;
|
||||||
btnClose.Text = "<<";
|
btnClose.Text = "<<";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
Disposed += (sender, e) => detection?.Cancel();
|
Disposed += (sender, e) => detection?.Cancel();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AdminCardCodeForm_Load(object sender, EventArgs e)
|
private async void AdminCardCodeForm_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
pbLoading.Visible = false;
|
pbLoading.Visible = false;
|
||||||
ucSplitPage1.PageChange += UcSplitPage1_PageChange;
|
ucSplitPage1.PageChange += UcSplitPage1_PageChange;
|
||||||
@@ -70,12 +70,13 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
{
|
{
|
||||||
txt_title.Text = "连衣裙";
|
txt_title.Text = "连衣裙";
|
||||||
}
|
}
|
||||||
InitGroup();
|
await InitGroup();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
private void InitGroup()
|
private async Task InitGroup()
|
||||||
{
|
{
|
||||||
|
await CloudGoodsService.GetGroups();
|
||||||
cm_group.DataSource = new List<UserFavoriteGroup>() { new UserFavoriteGroup { Id = 0, GroupName = "全部" } }.Concat(CloudGoodsService.UserGroups).ToList();
|
cm_group.DataSource = new List<UserFavoriteGroup>() { new UserFavoriteGroup { Id = 0, GroupName = "全部" } }.Concat(CloudGoodsService.UserGroups).ToList();
|
||||||
cm_group.ValueMember = "Id";
|
cm_group.ValueMember = "Id";
|
||||||
cm_group.DisplayMember = "GroupName";
|
cm_group.DisplayMember = "GroupName";
|
||||||
|
|||||||
@@ -43,9 +43,10 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
this.VisibleChanged += CloudGoodsForm_VisibleChanged;
|
this.VisibleChanged += CloudGoodsForm_VisibleChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CloudGoodsForm_VisibleChanged(object sender, EventArgs e)
|
private async void CloudGoodsForm_VisibleChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (this.Visible == false) return;
|
if (this.Visible == false) return;
|
||||||
|
await CloudGoodsService.GetGroups(BaseClass.UserName);
|
||||||
cm_group.DataSource = new List<UserFavoriteGroup>() { new UserFavoriteGroup { Id = 0, GroupName = "全部" } }.Concat(CloudGoodsService.UserGroups).ToList();
|
cm_group.DataSource = new List<UserFavoriteGroup>() { new UserFavoriteGroup { Id = 0, GroupName = "全部" } }.Concat(CloudGoodsService.UserGroups).ToList();
|
||||||
cm_group.ValueMember = "Id";
|
cm_group.ValueMember = "Id";
|
||||||
cm_group.DisplayMember = "GroupName";
|
cm_group.DisplayMember = "GroupName";
|
||||||
|
|||||||
@@ -1450,6 +1450,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
if (result.Contains("今日提审次数已用尽,请明日再试") || result.Contains("如需上架请先缴纳足额保证金") || result.Contains("在架商品数已达到上限") ||
|
if (result.Contains("今日提审次数已用尽,请明日再试") || result.Contains("如需上架请先缴纳足额保证金") || result.Contains("在架商品数已达到上限") ||
|
||||||
result.Contains("提审次数已达上限") || result.Contains("拥金上货失败:需要开通优选联盟") || result.Contains("本店铺近期提审失败比例较高,已被限"))
|
result.Contains("提审次数已达上限") || result.Contains("拥金上货失败:需要开通优选联盟") || result.Contains("本店铺近期提审失败比例较高,已被限"))
|
||||||
{
|
{
|
||||||
|
//已达今日上限
|
||||||
shop.upLimitRetryCount++;
|
shop.upLimitRetryCount++;
|
||||||
if (shop.upLimitRetryCount >= globalShopUploadCntLimitRetryTimes)
|
if (shop.upLimitRetryCount >= globalShopUploadCntLimitRetryTimes)
|
||||||
{
|
{
|
||||||
@@ -2609,9 +2610,13 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 如果店铺token不可用,随机获取一个上传图片的accessToken
|
// 如果店铺token不可用,提示报错
|
||||||
if (token == null || token.isExpire || string.IsNullOrEmpty(token.accessToken))
|
if (token == null || token.isExpire || string.IsNullOrEmpty(token.accessToken))
|
||||||
token = new WxApiBLL().GetRandomWxToken();
|
{
|
||||||
|
// 如果店铺token不可用,随机获取一个上传图片的accessToken
|
||||||
|
// token = new WxApiBLL().GetRandomWxToken();
|
||||||
|
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"店铺接口授权已过期\"}";
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 设置标题
|
#region 设置标题
|
||||||
@@ -3250,6 +3255,29 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 检测是否有提审额度
|
||||||
|
var urlAuditQuota = BaseClass.BuildWXImgObjString("product/wx_api_get_audit_quota");
|
||||||
|
var checkData = UserLogin.GetSignaturex();
|
||||||
|
checkData += "&token=" + token.accessToken;
|
||||||
|
//checkData += "&post_data=" + GetHtml.UrlEncodeUtf8("{\"cat_id\":\"" + leafCatId + "\"}");
|
||||||
|
checkData += "&post_data=" + GetHtml.UrlEncodeUtf8("{\"cat_id\":" + leafCatId + "}");
|
||||||
|
var apiRst = GetHtml.PostUtf8(urlAuditQuota, checkData);
|
||||||
|
if (apiRst.Contains("access_token expired"))
|
||||||
|
{
|
||||||
|
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"店铺接口授权已过期\"}";
|
||||||
|
}
|
||||||
|
if (!apiRst.Contains("\"errcode\":0"))
|
||||||
|
{
|
||||||
|
string errMsg = BaseRegex.GetStringJsonByRegs(ref apiRst, apiRst, "msg", "errMsg", "errorMsg", "err_msg", "error_msg");
|
||||||
|
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"店铺类目提审次数查询失败 " + errMsg + "\"}";
|
||||||
|
}
|
||||||
|
var avail_quota = BaseRegex.GetIntJson(ref apiRst, "avail_quota");
|
||||||
|
if (avail_quota > 0 == false)
|
||||||
|
{
|
||||||
|
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"当前类目店铺提审次数已达上限,请等待明日提审次数重置\"}";
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region ai短标题 // ai获取短标题
|
#region ai短标题 // ai获取短标题
|
||||||
if (wxUploadRule.IsAiShortTitle || chkAiImage.Checked)
|
if (wxUploadRule.IsAiShortTitle || chkAiImage.Checked)
|
||||||
{
|
{
|
||||||
@@ -3821,7 +3849,8 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
WXUploadProductInfoRecommendParam recommendParamRst = new WXUploadProductInfoRecommendParam();
|
WXUploadProductInfoRecommendParam recommendParamRst = new WXUploadProductInfoRecommendParam();
|
||||||
if (chkUseRecommand.Checked)
|
WXUploadProductInfoRecommendParam foodRecommendParamRst = new WXUploadProductInfoRecommendParam();
|
||||||
|
if (chkUseRecommand.Checked || upProdParam.product.info.category.FirstOrDefault()?.name == "食品饮料")
|
||||||
{
|
{
|
||||||
WXUploadProductInfoRecommendParam recommendParam = new WXUploadProductInfoRecommendParam();
|
WXUploadProductInfoRecommendParam recommendParam = new WXUploadProductInfoRecommendParam();
|
||||||
//recommendParam.productId = upProdParam.product.productKey.productId;
|
//recommendParam.productId = upProdParam.product.productKey.productId;
|
||||||
@@ -3836,13 +3865,19 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
var recommendRst = WXUpload.generalProductInfoRecommend(shop, recommendParam);
|
var recommendRst = WXUpload.generalProductInfoRecommend(shop, recommendParam);
|
||||||
if (recommendRst.Contains("\"code\":0"))
|
if (recommendRst.Contains("\"code\":0"))
|
||||||
{
|
{
|
||||||
recommendParamRst = JsonHelper.DeserializeJsonToObject<WXUploadProductInfoRecommendParam>(recommendRst);
|
if (chkUseRecommand.Checked)
|
||||||
|
recommendParamRst = JsonHelper.DeserializeJsonToObject<WXUploadProductInfoRecommendParam>(recommendRst);
|
||||||
|
foodRecommendParamRst = JsonHelper.DeserializeJsonToObject<WXUploadProductInfoRecommendParam>(recommendRst);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (recommendParamRst.productInfo == null)
|
if (recommendParamRst.productInfo == null)
|
||||||
recommendParamRst.productInfo = new RecommendProductInfoParam();
|
recommendParamRst.productInfo = new RecommendProductInfoParam();
|
||||||
if (recommendParamRst.productInfo.param == null)
|
if (recommendParamRst.productInfo.param == null)
|
||||||
recommendParamRst.productInfo.param = new List<RecommendProductInfoParamResult>();
|
recommendParamRst.productInfo.param = new List<RecommendProductInfoParamResult>();
|
||||||
|
if (foodRecommendParamRst.productInfo == null)
|
||||||
|
foodRecommendParamRst.productInfo = new RecommendProductInfoParam();
|
||||||
|
if (foodRecommendParamRst.productInfo.param == null)
|
||||||
|
foodRecommendParamRst.productInfo.param = new List<RecommendProductInfoParamResult>();
|
||||||
|
|
||||||
#region 匹配产品属性
|
#region 匹配产品属性
|
||||||
//真丝、蚕丝、香云纱、羊绒、羊毛、羊羔毛、羽绒、皮草
|
//真丝、蚕丝、香云纱、羊绒、羊毛、羊羔毛、羽绒、皮草
|
||||||
@@ -3972,7 +4007,9 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
else if (propInfo.name == "食品生产许可证编号")
|
else if (propInfo.name == "食品生产许可证编号")
|
||||||
attr = productAttr.attr.FirstOrDefault(r => r.name == "食品生产许可证编号");
|
attr = productAttr.attr.FirstOrDefault(r => r.name == "食品生产许可证编号");
|
||||||
else if (propInfo.name == "产品标准号")
|
else if (propInfo.name == "产品标准号")
|
||||||
|
{
|
||||||
attr = productAttr.attr.FirstOrDefault(r => r.name == "产品标准号");
|
attr = productAttr.attr.FirstOrDefault(r => r.name == "产品标准号");
|
||||||
|
}
|
||||||
else if (propInfo.name == "保质期")
|
else if (propInfo.name == "保质期")
|
||||||
attr = productAttr.attr.FirstOrDefault(r => r.name == "保质期");
|
attr = productAttr.attr.FirstOrDefault(r => r.name == "保质期");
|
||||||
else if (propInfo.name == "生产日期")
|
else if (propInfo.name == "生产日期")
|
||||||
@@ -4339,9 +4376,14 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
|
|
||||||
foreach (var attr in productAttr.attr)
|
foreach (var attr in productAttr.attr)
|
||||||
{
|
{
|
||||||
|
if (attr.name == "贮存条件" && upProdParam.product.info.category.FirstOrDefault()?.name == "食品饮料")
|
||||||
|
{
|
||||||
|
attr.isRequired = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (attr.isRequired != true)
|
if (attr.isRequired != true)
|
||||||
continue;
|
continue;
|
||||||
// 已填写内没有但是必填属性
|
// 已填写的属性里没有 但 是必填属性
|
||||||
if (upProdParam.product.info.param.Any(p => p.categorys.FirstOrDefault()?.name == attr.name))
|
if (upProdParam.product.info.param.Any(p => p.categorys.FirstOrDefault()?.name == attr.name))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@@ -4553,6 +4595,30 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
wxPropParam.categorys.Add(wxCategoryParam1);
|
wxPropParam.categorys.Add(wxCategoryParam1);
|
||||||
wxPropParam.categorys.Add(wxCategoryParam2);
|
wxPropParam.categorys.Add(wxCategoryParam2);
|
||||||
}
|
}
|
||||||
|
// 产品标准号单独处理
|
||||||
|
if (upProdParam.product.info.category.FirstOrDefault()?.name == "食品饮料")
|
||||||
|
{
|
||||||
|
List<string> illegalValueList = new List<string> { "见包装", "见外包装", "见详情", "其他" };
|
||||||
|
foreach (var param in upProdParam.product.info.param.ToList())
|
||||||
|
{
|
||||||
|
var propName = param.categorys.FirstOrDefault()?.name;
|
||||||
|
var propValue = param.categorys.LastOrDefault()?.name.ParseToString();
|
||||||
|
if (propName == "产品标准号" && (propValue.IsNullOrEmpty() || propValue.Length <= 5 || illegalValueList.Any(v => propValue.Contains(v))))
|
||||||
|
{
|
||||||
|
var recommendParam = foodRecommendParamRst.productInfo.param.FirstOrDefault(p => p.categorys?.FirstOrDefault()?.name == propName);
|
||||||
|
if (recommendParam != null && recommendParam.categorys.Count == 2)
|
||||||
|
{
|
||||||
|
if (param.categorys.LastOrDefault() != null)
|
||||||
|
param.categorys.LastOrDefault().name = recommendParam.categorys[1].name;
|
||||||
|
}
|
||||||
|
else if (upProdParam.product.info.category.LastOrDefault()?.name == "巧克力")
|
||||||
|
{
|
||||||
|
if (param.categorys.LastOrDefault() != null)
|
||||||
|
param.categorys.LastOrDefault().name = "QB/T19343";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
if (upProdParam.product.info.category.FirstOrDefault()?.name == "图书" || prodInfo.detail.cats.FirstOrDefault() == "书籍/杂志/报纸")
|
if (upProdParam.product.info.category.FirstOrDefault()?.name == "图书" || prodInfo.detail.cats.FirstOrDefault() == "书籍/杂志/报纸")
|
||||||
{
|
{
|
||||||
foreach (var param in upProdParam.product.info.param.ToList())
|
foreach (var param in upProdParam.product.info.param.ToList())
|
||||||
@@ -5542,16 +5608,17 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
string address = "地址:见包装";
|
string address = "地址:见包装";
|
||||||
string Storage = "贮存条件:常温";
|
string Storage = "贮存条件:常温";
|
||||||
|
|
||||||
|
List<string> illegalValueList = new List<string> { "见包装", "见外包装", "见详情", "其他" };
|
||||||
foreach (var propParam in upProdParam.product.info.param)
|
foreach (var propParam in upProdParam.product.info.param)
|
||||||
{
|
{
|
||||||
if (propParam.categorys[0].name.Contains("食品名称") && !propParam.categorys[1].name.Contains("见包装") && !propParam.categorys[1].name.Contains("见外包装") &&
|
if (propParam.categorys[0].name.Contains("食品名称") && !illegalValueList.Any(v => propParam.categorys[1].name.Contains(v)) &&
|
||||||
!propParam.categorys[1].name.Contains("1") && propParam.categorys[1].name.Length > 5)
|
!propParam.categorys[1].name.Contains("1") && propParam.categorys[1].name.Length > 5)
|
||||||
foodName = "食品名称:" + propParam.categorys[1].name;
|
foodName = "食品名称:" + propParam.categorys[1].name;
|
||||||
else if (propParam.categorys[0].name.Contains("生产企业名称") && !propParam.categorys[1].name.Contains("见包装") && !propParam.categorys[1].name.Contains("见外包装"))
|
else if (propParam.categorys[0].name.Contains("生产企业名称") && !illegalValueList.Any(v => propParam.categorys[1].name.Contains(v)))
|
||||||
companyName = "生产商名称:" + propParam.categorys[1].name;
|
companyName = "生产商名称:" + propParam.categorys[1].name;
|
||||||
else if (propParam.categorys[0].name.Contains("食品生产许可证编号") && !propParam.categorys[1].name.Contains("见包装") && !propParam.categorys[1].name.Contains("见外包装"))
|
else if (propParam.categorys[0].name.Contains("食品生产许可证编号") && !illegalValueList.Any(v => propParam.categorys[1].name.Contains(v)))
|
||||||
SCID = "食品生产许可证编号:" + propParam.categorys[1].name;
|
SCID = "食品生产许可证编号:" + propParam.categorys[1].name;
|
||||||
else if (propParam.categorys[0].name.Contains("产品标准号") && !propParam.categorys[1].name.Contains("见包装") && !propParam.categorys[1].name.Contains("见外包装"))
|
else if (propParam.categorys[0].name.Contains("产品标准号") && !illegalValueList.Any(v => propParam.categorys[1].name.Contains(v)))
|
||||||
GBID = "产品标准号:" + propParam.categorys[1].name;
|
GBID = "产品标准号:" + propParam.categorys[1].name;
|
||||||
else if (propParam.categorys[0].name.Contains("保质期"))
|
else if (propParam.categorys[0].name.Contains("保质期"))
|
||||||
ExpDate = "保质期:" + propParam.categorys[1].name;
|
ExpDate = "保质期:" + propParam.categorys[1].name;
|
||||||
@@ -5561,7 +5628,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
NetContent = "净含量:" + propParam.categorys[1].name;
|
NetContent = "净含量:" + propParam.categorys[1].name;
|
||||||
else if (propParam.categorys[0].name.Contains("包装方式"))
|
else if (propParam.categorys[0].name.Contains("包装方式"))
|
||||||
Pack = "包装方式:" + propParam.categorys[1].name;
|
Pack = "包装方式:" + propParam.categorys[1].name;
|
||||||
else if (propParam.categorys[0].name.Contains("配料表"))
|
else if (propParam.categorys[0].name.Contains("配料表") && !illegalValueList.Any(v => propParam.categorys[1].name.Contains(v)))
|
||||||
inList = "配料表:" + propParam.categorys[1].name;
|
inList = "配料表:" + propParam.categorys[1].name;
|
||||||
else if (propParam.categorys[0].name.Contains("联系方式"))
|
else if (propParam.categorys[0].name.Contains("联系方式"))
|
||||||
contact = "联系方式:" + propParam.categorys[1].name;
|
contact = "联系方式:" + propParam.categorys[1].name;
|
||||||
@@ -6738,7 +6805,7 @@ namespace TemuKJD.WXForms.ProductForms
|
|||||||
data += "&fission_words=fission_goods_names:";
|
data += "&fission_words=fission_goods_names:";
|
||||||
|
|
||||||
if (chkFilterViewUv.Checked)
|
if (chkFilterViewUv.Checked)
|
||||||
data += "&min_view_uv=" + numFilterViewUv.Value;
|
data += "&min_view_uv=" + numFilterViewUv.Value.ParseToInt();
|
||||||
|
|
||||||
if (chkFilterSaleCountNum.Checked)
|
if (chkFilterSaleCountNum.Checked)
|
||||||
data += "&sale_count_num_more=" + numFilterSaleCountNum.Value;
|
data += "&sale_count_num_more=" + numFilterSaleCountNum.Value;
|
||||||
|
|||||||
@@ -395,17 +395,18 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
//
|
//
|
||||||
this.cmbType.FormattingEnabled = true;
|
this.cmbType.FormattingEnabled = true;
|
||||||
this.cmbType.Items.AddRange(new object[] {
|
this.cmbType.Items.AddRange(new object[] {
|
||||||
"",
|
"",
|
||||||
"充值",
|
"充值",
|
||||||
"管理员充值",
|
"管理员充值",
|
||||||
"支付宝充值",
|
"支付宝充值",
|
||||||
"礼物单支出/礼物单退费",
|
"礼物单支出/礼物单退费",
|
||||||
"拍单扣除/作废返还",
|
"拍单扣除/作废返还",
|
||||||
"超重扣费支出",
|
"额外包裹扣费支出/返还",
|
||||||
"退货包裹扣费支出",
|
"退货包裹扣费支出/返还",
|
||||||
"云仓退货扣费支出",
|
"云仓退货扣费支出/返还",
|
||||||
|
"超重扣费支出",
|
||||||
"同步物流"});
|
"同步物流"});
|
||||||
this.cmbType.Location = new System.Drawing.Point(55, 20);
|
this.cmbType.Location = new System.Drawing.Point(55, 20);
|
||||||
this.cmbType.Name = "cmbType";
|
this.cmbType.Name = "cmbType";
|
||||||
this.cmbType.Size = new System.Drawing.Size(121, 25);
|
this.cmbType.Size = new System.Drawing.Size(121, 25);
|
||||||
this.cmbType.TabIndex = 0;
|
this.cmbType.TabIndex = 0;
|
||||||
|
|||||||
@@ -135,22 +135,24 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
data3 += "&user_name_in=" + oemUserNames;
|
data3 += "&user_name_in=" + oemUserNames;
|
||||||
data3 += "&create_time_begin=" + dtpTimeBegin.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
data3 += "&create_time_begin=" + dtpTimeBegin.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
||||||
data3 += "&create_time_end=" + dtpTimeEnd.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
data3 += "&create_time_end=" + dtpTimeEnd.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
||||||
if (cmbType.Text == "充值")
|
if (cmbType.Text == "充值")
|
||||||
data3 += "&type_in=1,30";
|
data3 += "&type_in=1,30";
|
||||||
else if (cmbType.Text == "管理员充值")
|
else if (cmbType.Text == "管理员充值")
|
||||||
data3 += "&type_in=1";
|
data3 += "&type_in=1";
|
||||||
else if (cmbType.Text == "支付宝充值")
|
else if (cmbType.Text == "支付宝充值")
|
||||||
data3 += "&type_in=30";
|
data3 += "&type_in=30";
|
||||||
else if (cmbType.Text == "礼物单支出/礼物单退费")
|
else if (cmbType.Text == "礼物单支出/礼物单退费")
|
||||||
data3 += "&type_in=16,34";
|
data3 += "&type_in=16,34";
|
||||||
else if (cmbType.Text == "拍单扣除/作废返还")
|
else if (cmbType.Text == "拍单扣除/作废返还")
|
||||||
data3 += "&type_in=20,23";
|
data3 += "&type_in=20,23";
|
||||||
else if (cmbType.Text == "超重扣费支出")
|
else if (cmbType.Text == "退货包裹扣费支出/返还")
|
||||||
data3 += "&type_in=24";
|
data3 += "&type_in=26,38";
|
||||||
else if(cmbType.Text == "退货包裹扣费支出")
|
else if (cmbType.Text == "额外包裹扣费支出/返还")
|
||||||
data3 += "&type_in=26";
|
data3 += "&type_in=35,36";
|
||||||
else if (cmbType.Text == "云仓退货扣费支出")
|
else if (cmbType.Text == "云仓退货扣费支出")
|
||||||
data3 += "&type_in=31";
|
data3 += "&type_in=31,32";
|
||||||
|
else if (cmbType.Text == "超重扣费支出")
|
||||||
|
data3 += "&type_in=24,28,33,37,41";
|
||||||
else if (cmbType.Text == "同步物流")
|
else if (cmbType.Text == "同步物流")
|
||||||
data3 += "&type_in=55";
|
data3 += "&type_in=55";
|
||||||
else if (!string.IsNullOrEmpty(cmbType.Text))
|
else if (!string.IsNullOrEmpty(cmbType.Text))
|
||||||
@@ -229,29 +231,31 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
data3 += "&user_name_in=" + txtUserName.Text.Trim();
|
data3 += "&user_name_in=" + txtUserName.Text.Trim();
|
||||||
data3 += "&create_time_begin=" + dtpTimeBegin.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
data3 += "&create_time_begin=" + dtpTimeBegin.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
||||||
data3 += "&create_time_end=" + dtpTimeEnd.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
data3 += "&create_time_end=" + dtpTimeEnd.Value.ToString("yyyy-MM-dd HH:mm:ss");
|
||||||
if (cmbType.Text == "充值")
|
if (cmbType.Text == "充值")
|
||||||
data3 += "&type_in=1,30";
|
data3 += "&type_in=1,30";
|
||||||
else if (cmbType.Text == "管理员充值")
|
else if (cmbType.Text == "管理员充值")
|
||||||
data3 += "&type_in=1";
|
data3 += "&type_in=1";
|
||||||
else if (cmbType.Text == "支付宝充值")
|
else if (cmbType.Text == "支付宝充值")
|
||||||
data3 += "&type_in=30";
|
data3 += "&type_in=30";
|
||||||
else if (cmbType.Text == "礼物单支出/礼物单退费")
|
else if (cmbType.Text == "礼物单支出/礼物单退费")
|
||||||
data3 += "&type_in=16,34";
|
data3 += "&type_in=16,34";
|
||||||
else if (cmbType.Text == "拍单扣除/作废返还")
|
else if (cmbType.Text == "拍单扣除/作废返还")
|
||||||
data3 += "&type_in=20,23";
|
data3 += "&type_in=20,23";
|
||||||
else if (cmbType.Text == "超重扣费支出")
|
else if (cmbType.Text == "退货包裹扣费支出/返还")
|
||||||
data3 += "&type_in=24";
|
data3 += "&type_in=26,38";
|
||||||
else if (cmbType.Text == "退货包裹扣费支出")
|
else if (cmbType.Text == "额外包裹扣费支出/返还")
|
||||||
data3 += "&type_in=26";
|
data3 += "&type_in=35,36";
|
||||||
else if (cmbType.Text == "云仓退货扣费支出")
|
else if (cmbType.Text == "云仓退货扣费支出")
|
||||||
data3 += "&type_in=31";
|
data3 += "&type_in=31,32";
|
||||||
else if (!string.IsNullOrEmpty(cmbType.Text))
|
else if (cmbType.Text == "超重扣费支出")
|
||||||
data3 += "&type_in=" + cmbType.Text;
|
data3 += "&type_in=24,28,33,37,41";
|
||||||
//if (!string.IsNullOrEmpty(txtOutOrderId.Text.Trim()))
|
else if (cmbType.Text == "同步物流")
|
||||||
// data3 += "&order_id_in=" + txtOutOrderId.Text.Trim();
|
data3 += "&type_in=55";
|
||||||
//if (!string.IsNullOrEmpty(txtShopOrderNo.Text.Trim()))
|
//if (!string.IsNullOrEmpty(txtOutOrderId.Text.Trim()))
|
||||||
// data3 += "&remark_fulltext=" + txtShopOrderNo.Text.Trim();
|
// data3 += "&order_id_in=" + txtOutOrderId.Text.Trim();
|
||||||
data3 += "&page=" + ucSplitPage1.CurrentPage;
|
//if (!string.IsNullOrEmpty(txtShopOrderNo.Text.Trim()))
|
||||||
|
// data3 += "&remark_fulltext=" + txtShopOrderNo.Text.Trim();
|
||||||
|
data3 += "&page=" + ucSplitPage1.CurrentPage;
|
||||||
data3 += "&page_size=" + ucSplitPage1.PageSize;
|
data3 += "&page_size=" + ucSplitPage1.PageSize;
|
||||||
pageSize = ucSplitPage1.PageSize;
|
pageSize = ucSplitPage1.PageSize;
|
||||||
}));
|
}));
|
||||||
@@ -448,17 +452,17 @@ namespace Work._29Tools.Forms.UserForms
|
|||||||
var checkRows = dgvPayment.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
|
var checkRows = dgvPayment.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
|
||||||
|
|
||||||
lblPostageTotal.Text = checkRows
|
lblPostageTotal.Text = checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓扣费支出.ParseToString())
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹扣费支出.ParseToString())
|
||||||
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
||||||
lblPostageReturnTotal.Text = checkRows
|
lblPostageReturnTotal.Text = checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓作废返还收入.ParseToString())
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹作废返还.ParseToString())
|
||||||
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
||||||
lblPostageWeightTotal.Text = checkRows
|
lblPostageWeightTotal.Text = checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓超重支出.ParseToString())
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹超重支出.ParseToString())
|
||||||
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
.Sum(r => r.Cells["colAmount"].Value.ParseToDecimal()).ToString();
|
||||||
lblPostageNotReturnCnt.Text = (checkRows
|
lblPostageNotReturnCnt.Text = (checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓扣费支出.ParseToString()).Count() - checkRows
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹扣费支出.ParseToString()).Count() - checkRows
|
||||||
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.中转仓作废返还收入.ParseToString()).Count()).ToString();
|
.Where(r => r.Cells["colType"].Value.ParseToString() == EnumOrderPaymentType.发货包裹作废返还.ParseToString()).Count()).ToString();
|
||||||
lblProfit.Text = (lblPostageTotal.Text.ParseToDecimal() - lblPostageReturnTotal.Text.ParseToDecimal() - lblPostageNotReturnCnt.Text.ParseToInt() * 2.2m).ToString();
|
lblProfit.Text = (lblPostageTotal.Text.ParseToDecimal() - lblPostageReturnTotal.Text.ParseToDecimal() - lblPostageNotReturnCnt.Text.ParseToInt() * 2.2m).ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -252,6 +252,7 @@ namespace TemuKJD.WXForms.ShopForms
|
|||||||
{
|
{
|
||||||
if (columName == "colChangePointsPerMonth")
|
if (columName == "colChangePointsPerMonth")
|
||||||
{
|
{
|
||||||
|
numShopPointsPerMonth.Minimum = 30;
|
||||||
/*
|
/*
|
||||||
注意注意注意特殊账号 只允许这些账号店铺月续费最少10元,其他默认30
|
注意注意注意特殊账号 只允许这些账号店铺月续费最少10元,其他默认30
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -60,6 +60,13 @@ namespace TemuKJD.WXForms.ShopForms
|
|||||||
{
|
{
|
||||||
e.Value = (amountInFen / 100m).ToString("F2");
|
e.Value = (amountInFen / 100m).ToString("F2");
|
||||||
e.FormattingApplied = true;
|
e.FormattingApplied = true;
|
||||||
|
if(e.ColumnIndex == this.colRebate.Index)
|
||||||
|
{
|
||||||
|
if (amountInFen < 0)
|
||||||
|
{
|
||||||
|
e.CellStyle.ForeColor = System.Drawing.Color.Crimson;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -21,19 +21,15 @@ namespace Work.Services
|
|||||||
public static List<UserFavoriteGroup> UserGroups { get; private set; }
|
public static List<UserFavoriteGroup> UserGroups { get; private set; }
|
||||||
static CloudGoodsService()
|
static CloudGoodsService()
|
||||||
{
|
{
|
||||||
GetGroups(BaseClass.UserName).ContinueWith(t =>
|
_ = GetGroups();
|
||||||
|
}
|
||||||
|
public static async Task<List<UserFavoriteGroup>> GetGroups()
|
||||||
|
{
|
||||||
|
if (UserGroups == null)
|
||||||
{
|
{
|
||||||
if (t.IsFaulted)
|
UserGroups = await GetGroups(BaseClass.UserName);
|
||||||
{
|
}
|
||||||
return;
|
return UserGroups;
|
||||||
}
|
|
||||||
if (t.IsCanceled)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
UserGroups = t.Result;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
public static async Task<PageData<CloudGoods>> GetGoods(GoodsSearchRequest request)
|
public static async Task<PageData<CloudGoods>> GetGoods(GoodsSearchRequest request)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net462</TargetFramework>
|
||||||
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
|
<LangVersion>12</LangVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="../../TEMUKJD/UserComponent/InputDialog.cs" Link="InputDialog.cs" />
|
||||||
|
<Compile Include="../../TEMUKJD/UserComponent/InputDialog.Designer.cs" Link="InputDialog.Designer.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
using System;
|
||||||
|
using System.Globalization;
|
||||||
|
using System.Threading;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace TemuKJD.UserComponent;
|
||||||
|
|
||||||
|
public partial class InputDialog
|
||||||
|
{
|
||||||
|
[STAThread]
|
||||||
|
private static void Main()
|
||||||
|
{
|
||||||
|
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
|
||||||
|
Check(ValidateNumber<int>("123", null, out var integer) == null && integer == 123, "泛型 int");
|
||||||
|
Check(ValidateNumber<float>("1.25", null, out var single) == null && single == 1.25f, "泛型 float");
|
||||||
|
Check(ValidateNumber<double>("1e100", null, out var number) == null && number == 1e100, "泛型 double");
|
||||||
|
Check(ValidateNumber<decimal>("12.50", null, out var amount) == null && amount == 12.50m, "泛型 decimal");
|
||||||
|
Check(ValidateNumber<long>("9223372036854775807", null, out var large) == null && large == long.MaxValue, "泛型 long");
|
||||||
|
Check(ValidateNumber<uint>("-1", null, out _) != null, "无符号负数");
|
||||||
|
Check(ValidateNumber<int>("2147483648", null, out _) != null, "泛型整数溢出");
|
||||||
|
Check(ValidateNumber<float>("1e100", null, out _) != null, "浮点溢出");
|
||||||
|
foreach (string invalid in new[] { "", "abc", "NaN", "Infinity", "-Infinity" })
|
||||||
|
Check(ValidateNumber<double>(invalid, _ => throw new Exception("不应调用"), out _) != null, "无效浮点数:" + invalid);
|
||||||
|
Check(ValidateNumber<int>("0", value => value > 0 ? null : "必须大于零", out _) == "必须大于零", "类型化回调");
|
||||||
|
Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo("fr-FR");
|
||||||
|
Check(ValidateNumber<double>("1,5", null, out var localized) == null && localized == 1.5, "区域格式");
|
||||||
|
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
|
||||||
|
foreach (string value in new[] { "0", "-2147483648", "2147483647" })
|
||||||
|
CheckAccepted(InputDialogType.Integer, value);
|
||||||
|
foreach (string value in new[] { "", "1.5", "abc", "2147483648" })
|
||||||
|
{
|
||||||
|
using var dialog = new InputDialog("整数", defaultValue: value,
|
||||||
|
inputType: InputDialogType.Integer, validator: _ => throw new Exception("不应调用"));
|
||||||
|
dialog.btnOk_Click(null, EventArgs.Empty);
|
||||||
|
Check(dialog.DialogResult == DialogResult.None && dialog.lblError.Text.StartsWith("请输入"), "整数拒绝:" + value);
|
||||||
|
Check(dialog.InputText == "", "失败不能提交输入");
|
||||||
|
}
|
||||||
|
CheckAccepted(InputDialogType.Text, "");
|
||||||
|
CheckAccepted(InputDialogType.Decimal, "-12.50");
|
||||||
|
using (var dialog = new InputDialog("小数", defaultValue: "79228162514264337593543950336",
|
||||||
|
inputType: InputDialogType.Decimal))
|
||||||
|
{
|
||||||
|
dialog.btnOk_Click(null, EventArgs.Empty);
|
||||||
|
Check(dialog.DialogResult == DialogResult.None && dialog.lblError.Text != "", "小数溢出");
|
||||||
|
}
|
||||||
|
|
||||||
|
int calls = 0;
|
||||||
|
using (var dialog = new InputDialog("名称", validator: value =>
|
||||||
|
{
|
||||||
|
calls++;
|
||||||
|
return value == "有效" ? null : "名称无效";
|
||||||
|
}))
|
||||||
|
{
|
||||||
|
dialog.btnOk_Click(null, EventArgs.Empty);
|
||||||
|
Check(dialog.DialogResult == DialogResult.None && dialog.lblError.Text == "名称无效", "回调错误");
|
||||||
|
dialog.txtInput.Text = "有效";
|
||||||
|
Check(dialog.lblError.Text == "", "编辑清除错误");
|
||||||
|
dialog.btnOk_Click(null, EventArgs.Empty);
|
||||||
|
Check(dialog.DialogResult == DialogResult.OK && dialog.InputText == "有效" && calls == 2, "回调通过");
|
||||||
|
}
|
||||||
|
using (var dialog = new InputDialog("异常", validator: _ => throw new InvalidOperationException("测试异常")))
|
||||||
|
{
|
||||||
|
dialog.btnOk_Click(null, EventArgs.Empty);
|
||||||
|
Check(dialog.DialogResult == DialogResult.None && dialog.lblError.Text.Contains("测试异常"), "回调异常");
|
||||||
|
Check(((Button)dialog.AcceptButton).DialogResult == DialogResult.None, "确定按钮不得绕过验证");
|
||||||
|
Check(((Button)dialog.CancelButton).DialogResult == DialogResult.Cancel, "取消按钮");
|
||||||
|
}
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using var dialog = new InputDialog("非法类型", inputType: (InputDialogType)99);
|
||||||
|
throw new Exception("非法类型未拒绝");
|
||||||
|
}
|
||||||
|
catch (ArgumentOutOfRangeException) { }
|
||||||
|
Console.WriteLine("InputDialog self-checks passed.");
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void CheckAccepted(InputDialogType type, string value)
|
||||||
|
{
|
||||||
|
using var dialog = new InputDialog("输入", defaultValue: value, inputType: type, validator: _ => "");
|
||||||
|
dialog.btnOk_Click(null, EventArgs.Empty);
|
||||||
|
Check(dialog.DialogResult == DialogResult.OK && dialog.InputText == value, "接受:" + value);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void Check(bool condition, string message)
|
||||||
|
{
|
||||||
|
if (!condition)
|
||||||
|
throw new Exception(message);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -143,7 +143,7 @@ namespace KJD.Test
|
|||||||
[Test]
|
[Test]
|
||||||
public void TestWXToPDDV4()
|
public void TestWXToPDDV4()
|
||||||
{
|
{
|
||||||
string filePath = @"C:\Users\chaih\Documents\xwechat_files\hongfei357_a567\msg\file\2026-10\10001443620622.json";
|
string filePath = @"C:\Users\chaih\Documents\xwechat_files\hongfei357_a567\msg\file\2026-11\10000087348819.txt";
|
||||||
var frontProdInfo = ConverterToPddFactory.Convert(filePath);
|
var frontProdInfo = ConverterToPddFactory.Convert(filePath);
|
||||||
var isMatch = frontProdInfo != null;
|
var isMatch = frontProdInfo != null;
|
||||||
Console.WriteLine(frontProdInfo.Skus.Count);
|
Console.WriteLine(frontProdInfo.Skus.Count);
|
||||||
|
|||||||