Commit dc237d9d85293a9344a298bf3e7c920b6dba2c12

Authored by liuye
1 parent f24b2936

bugfix<central_clearing_system>:下单时,点击回车不清空卖家信息

Signed-off-by: liuye <liuye@diligrp.com>
central_clearing_system/ETradeClient.rc
... ... @@ -286,8 +286,8 @@ END
286 286 //
287 287  
288 288 VS_VERSION_INFO VERSIONINFO
289   - FILEVERSION 2,0,0,14
290   - PRODUCTVERSION 2,0,0,14
  289 + FILEVERSION 2,0,0,15
  290 + PRODUCTVERSION 2,0,0,15
291 291 FILEFLAGSMASK 0x3fL
292 292 #ifdef _DEBUG
293 293 FILEFLAGS 0x1L
... ... @@ -304,12 +304,12 @@ BEGIN
304 304 BEGIN
305 305 VALUE "CompanyName", "地利集团【DILI GROUP】"
306 306 VALUE "FileDescription", "电子交易结算综合业务系统"
307   - VALUE "FileVersion", "2.0.0.14"
308   - VALUE "InternalName", "Central-Clearing-System_2.0.14.181121_Relaese"
  307 + VALUE "FileVersion", "2.0.0.15"
  308 + VALUE "InternalName", "Central-Clearing-System_2.0.15.181123_Beta"
309 309 VALUE "LegalCopyright", "(C) 地利集团保留所有权利。"
310   - VALUE "OriginalFilename", "Central-Clearing-System_2.0.14.181121_Relaese"
311   - VALUE "ProductName", "Central-Clearing-System_2.0.14.181121_Relaese"
312   - VALUE "ProductVersion", "2.0.0.14"
  310 + VALUE "OriginalFilename", "Central-Clearing-System_2.0.15.181123_Beta"
  311 + VALUE "ProductName", "Central-Clearing-System_2.0.15.181123_Beta"
  312 + VALUE "ProductVersion", "2.0.0.15"
313 313 END
314 314 END
315 315 BLOCK "VarFileInfo"
... ...
central_clearing_system/ETradeClient/mfc_ui/place_order_dlg.cpp
... ... @@ -677,7 +677,7 @@ void PlaceOrderDlg::OnAcceleratorEnter()
677 677 }
678 678 }
679 679  
680   - EmptyCtrl(false);
  680 + EmptyCtrl(false, false);
681 681 SortList();
682 682  
683 683 CString subtotal;
... ... @@ -1268,10 +1268,8 @@ void PlaceOrderDlg::SortList()
1268 1268 product_list_.Invalidate(TRUE);
1269 1269 }
1270 1270  
1271   -void PlaceOrderDlg::EmptyCtrl(bool is_empty_buyer)
  1271 +void PlaceOrderDlg::EmptyCtrl(bool is_empty_buyer, bool is_empty_saler)
1272 1272 {
1273   - card_edit_.SetWindowText(L"8888");
1274   - name_edit_.SetWindowText(L"");
1275 1273 comm_num_edit_.SetWindowText(L"");
1276 1274 comm_name_edit_.SetWindowText(L"");
1277 1275 unit_edit_.SetWindowText(L"1");;
... ... @@ -1287,9 +1285,14 @@ void PlaceOrderDlg::EmptyCtrl(bool is_empty_buyer)
1287 1285 buyer_name_edit_.SetWindowTextW(L"");
1288 1286 total_real_money_static_.SetWindowTextW(L"0.00");
1289 1287 }
1290   -
1291 1288  
1292   - card_edit_.SetSel(4, 4);
  1289 + if (is_empty_saler)
  1290 + {
  1291 + card_edit_.SetWindowText(L"8888");
  1292 + name_edit_.SetWindowText(L"");
  1293 + }
  1294 +
  1295 + card_edit_.SetSel(0, -1);
1293 1296 }
1294 1297  
1295 1298 void PlaceOrderDlg::OnBnClickedButtonSwipCard()
... ...
central_clearing_system/ETradeClient/mfc_ui/place_order_dlg.h
... ... @@ -74,7 +74,7 @@ private:
74 74 void SetCtrlInitData();
75 75 void InitList();
76 76 void SortList();
77   - void EmptyCtrl(bool is_empty_buyer);
  77 + void EmptyCtrl(bool is_empty_buyer, bool is_empty_saler = true);
78 78 void EnableCtrl(bool is_enable);
79 79  
80 80 int GetCommIndex();
... ...
doc/各市场版本/20181122/综合业务系统-2.0.14.181122.zip 0 → 100644
No preview for this file type