⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sy_kc.pas

📁 省级集邮品管理ERP
💻 PAS
字号:

{*******************************************************}
{                                                       }
{                    库存情况查询                       }
{                                                       }
{            中软金马公司版权所有。2002.12前            }
{                                                       }
{               编制:中软金马项目开发组                }
{                                                       }
{                                                       }
{*******************************************************}
(*
本模块在省级集邮票管理、省级市场购入票管理、省级集邮品管理、省级零枚票管理、
地市集邮票管理、地市集邮品管理、地市市场购入票管理  七个模块调用
*)

unit SY_KC;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls, CheckLst, Spin, Buttons, Db, DBTables, Grids, DBGrids, Mask,
  ToolEdit, CurrEdit,SQLStrings;

type
  TFrmY_KC = class(TForm)
    BBt_Quit: TBitBtn;
    Label4: TLabel;
    E_PPMC: TEdit;
    L_JJMZ: TLabel;
    E_JJ: TEdit;
    Label3: TLabel;
    Label5: TLabel;
    Qry_Static: TQuery;
    Label6: TLabel;
    E_KCTS: TCurrencyEdit;
    E_FPTS: TCurrencyEdit;
    E_SYTS: TCurrencyEdit;
    L_WM1: TLabel;
    L_WM2: TLabel;
    L_WM3: TLabel;
    procedure FormCreate(Sender: TObject);
    procedure E_SYTSEnter(Sender: TObject);
  private
    { Private declarations }
  public
    V_JJ: Double;
    V_PPDM, V_CKJHDH: string;
    { Public declarations }
  end;

var
  FrmY_KC: TFrmY_KC;

implementation
uses
  pub;

{$R *.DFM}

procedure TFrmY_KC.FormCreate(Sender: TObject);
begin
  case VG_IO_TYPE of
    io_jyp, io_grp, io_yp:
      begin
        L_JJMZ.Caption := '进价(分):';
        E_KCTS.DisplayFormat:='#,##0';
        E_FPTS.DisplayFormat:='#,##0';
        E_SYTS.DisplayFormat:='#,##0';
        L_WM1.Visible := False;
        L_WM2.Visible := False;
        L_WM3.Visible := False;
      end;
    io_txp:
      begin
        L_JJMZ.Caption := '面值(分):';
//        E_KCTS.DisplayFormat:='#,##0.####';
//        E_FPTS.DisplayFormat:='#,##0.####';
//        E_SYTS.DisplayFormat:='#,##0.####';
        E_KCTS.DisplayFormat:='#,##0';
        E_FPTS.DisplayFormat:='#,##0';
        E_SYTS.DisplayFormat:='#,##0';
        L_WM1.Visible := True;
        L_WM2.Visible := True;
        L_WM3.Visible := True;
      end;
  end;
end;

procedure TFrmY_KC.E_SYTSEnter(Sender: TObject);
begin
  E_PPMC.SetFocus ;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -