| | |
| | | CloseWindow(); |
| | | return 1; |
| | | } |
| | | if (comdid == L"xmSaveAs") |
| | | { |
| | | dw_1.SaveAs(L""); |
| | | return 1; |
| | | } |
| | | else if (comdid == L"xmOk") |
| | | { |
| | | return OnSave(false); |
| | |
| | | dw_item.SetItemString(row1, L"CQuantity", arg.GetArgString(L"CustQuantity")); |
| | | dw_item.SetItemString(row1, L"ClassifyID", dw_item.GetItemString(row, L"ClassifyID")); |
| | | dw_item.SetItemDisplayString(row1, L"ClassifyID", dw_item.GetItemDisplayString(row, L"ClassifyID")); |
| | | |
| | | dw_item.SetItemString(row1, L"Invoiceno", dw_item.GetItemString(row, L"Invoiceno")); |
| | | dw_item.SetItemString(row1, L"NName", dw_item.GetItemString(row, L"NName")); |
| | | dw_item.SetItemString(row1, L"CName", dw_item.GetItemString(row, L"CName")); |
| | | dw_item.SetItemString(row1, L"CQtyUnit", dw_item.GetItemString(row, L"CQtyUnit")); |
| | | |
| | | dw_item.SetItemString(row1, L"CreatorID", dw_item.GetItemString(row, L"CreatorID")); |
| | | dw_item.SetItemDisplayString(row1, L"CreatorID", dw_item.GetItemDisplayString(row, L"CreatorID")); |
| | | dw_item.SetItemString(row1, L"CreateDate", dw_item.GetItemString(row, L"CreateDate")); |
| | | |
| | | } |
| | | return 1; |
| | | } |