1
This commit is contained in:
parent
f0066f2a85
commit
b22ace19c1
|
|
@ -105,6 +105,15 @@ inherited frmZDYHelp: TfrmZDYHelp
|
||||||
MinWidth = 100
|
MinWidth = 100
|
||||||
Width = 100
|
Width = 100
|
||||||
end
|
end
|
||||||
|
object TV1note2: TcxGridDBColumn
|
||||||
|
Caption = #30133#28857#31561#32423
|
||||||
|
DataBinding.FieldName = 'note2'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
PropertiesClassName = 'TcxTextEditProperties'
|
||||||
|
Properties.OnEditValueChanged = TV1note2PropertiesEditValueChanged
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Width = 90
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGrid1Level1: TcxGridLevel
|
object cxGrid1Level1: TcxGridLevel
|
||||||
GridView = TV1
|
GridView = TV1
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ type
|
||||||
V1note1: TcxGridDBColumn;
|
V1note1: TcxGridDBColumn;
|
||||||
ImageList1: TImageList;
|
ImageList1: TImageList;
|
||||||
ZDYName: TcxTextEdit;
|
ZDYName: TcxTextEdit;
|
||||||
|
TV1note2: TcxGridDBColumn;
|
||||||
procedure FormCreate(Sender: TObject);
|
procedure FormCreate(Sender: TObject);
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure TBAddClick(Sender: TObject);
|
procedure TBAddClick(Sender: TObject);
|
||||||
|
|
@ -64,6 +65,7 @@ type
|
||||||
procedure V1HelpTypePropertiesEditValueChanged(Sender: TObject);
|
procedure V1HelpTypePropertiesEditValueChanged(Sender: TObject);
|
||||||
procedure FormDestroy(Sender: TObject);
|
procedure FormDestroy(Sender: TObject);
|
||||||
procedure V1note1PropertiesEditValueChanged(Sender: TObject);
|
procedure V1note1PropertiesEditValueChanged(Sender: TObject);
|
||||||
|
procedure TV1note2PropertiesEditValueChanged(Sender: TObject);
|
||||||
private
|
private
|
||||||
procedure InitGrid();
|
procedure InitGrid();
|
||||||
{ Private declarations }
|
{ Private declarations }
|
||||||
|
|
@ -378,6 +380,36 @@ begin
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrmZDYHelp.TV1note2PropertiesEditValueChanged(Sender: TObject);
|
||||||
|
var
|
||||||
|
mvalue: string;
|
||||||
|
begin
|
||||||
|
if Trim(ClientDataSet1.fieldbyname('ZdyName').AsString) = '' then
|
||||||
|
begin
|
||||||
|
Application.MessageBox('Ãû³Æ²»ÄÜΪ¿Õ!', 'Ìáʾ', 0);
|
||||||
|
Exit;
|
||||||
|
end;
|
||||||
|
mvalue := TcxTextEdit(Sender).EditingText;
|
||||||
|
if Trim(mvalue) = '' then
|
||||||
|
begin
|
||||||
|
mvalue := '';
|
||||||
|
end;
|
||||||
|
with ClientDataSet1 do
|
||||||
|
begin
|
||||||
|
Edit;
|
||||||
|
FieldByName('note2').Value := mvalue;
|
||||||
|
Post;
|
||||||
|
end;
|
||||||
|
with ADOQueryCmd do
|
||||||
|
begin
|
||||||
|
Close;
|
||||||
|
SQL.Clear;
|
||||||
|
sql.Add('Update KH_Zdy Set note2=''' + Trim(mvalue) + '''');
|
||||||
|
sql.Add(' where ZdyNo=''' + Trim(ClientDataSet1.fieldbyname('ZdyNo').AsString) + '''');
|
||||||
|
ExecSQL;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrmZDYHelp.ZDYNameChange(Sender: TObject);
|
procedure TfrmZDYHelp.ZDYNameChange(Sender: TObject);
|
||||||
var
|
var
|
||||||
fsj: string;
|
fsj: string;
|
||||||
|
|
|
||||||
|
|
@ -1161,8 +1161,6 @@ inherited frmTradePlanInPut: TfrmTradePlanInPut
|
||||||
Height = 250
|
Height = 250
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
ExplicitLeft = -1
|
|
||||||
ExplicitTop = 399
|
|
||||||
object Tv1: TcxGridDBTableView
|
object Tv1: TcxGridDBTableView
|
||||||
PopupMenu = PM_1
|
PopupMenu = PM_1
|
||||||
Navigator.Buttons.CustomButtons = <>
|
Navigator.Buttons.CustomButtons = <>
|
||||||
|
|
|
||||||
|
|
@ -401,10 +401,10 @@ begin
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
// OrderNo.Text := '';
|
OrderNo.Text := '';
|
||||||
if GetLSNo(ADOCmd, maxno, '', 'Trade_Plan_Main', 2, 1) = false then
|
// if GetLSNo(ADOCmd, maxno, '', 'Trade_Plan_Main', 2, 1) = false then
|
||||||
raise Exception.Create('혤땐데뵀呵겨!');
|
// raise Exception.Create('혤땐데뵀呵겨!');
|
||||||
OrderNo.Text := maxno;
|
// OrderNo.Text := maxno;
|
||||||
OrderNo.Enabled := True;
|
OrderNo.Enabled := True;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
|
|
@ -422,10 +422,10 @@ begin
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
// OrderNo.Text := '';
|
OrderNo.Text := '';
|
||||||
if GetLSNo(ADOCmd, maxno, '', 'Trade_Plan_Main', 2, 1) = false then
|
// if GetLSNo(ADOCmd, maxno, '', 'Trade_Plan_Main', 2, 1) = false then
|
||||||
raise Exception.Create('혤땐데뵀呵겨!');
|
// raise Exception.Create('혤땐데뵀呵겨!');
|
||||||
OrderNo.Text := maxno;
|
// OrderNo.Text := maxno;
|
||||||
OrderNo.Enabled := True;
|
OrderNo.Enabled := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
@ -550,7 +550,7 @@ end;
|
||||||
|
|
||||||
function TfrmTradePlanInPut.SaveData(): Boolean;
|
function TfrmTradePlanInPut.SaveData(): Boolean;
|
||||||
var
|
var
|
||||||
maxno, Smaxno, maxorderno, MaxFNo: string;
|
maxno, Smaxno, maxorderno, MaxFNo, MOrderNo: string;
|
||||||
begin
|
begin
|
||||||
try
|
try
|
||||||
result := false;
|
result := false;
|
||||||
|
|
@ -561,7 +561,14 @@ begin
|
||||||
if GetLSNo(ADOCmd, maxno, 'JM', 'Trade_Plan_Main', 3, 1) = false then
|
if GetLSNo(ADOCmd, maxno, 'JM', 'Trade_Plan_Main', 3, 1) = false then
|
||||||
raise Exception.Create('取最大号失败!');
|
raise Exception.Create('取最大号失败!');
|
||||||
if (trim(OrderNo.Text) = '') or (trim(OrderNo.Text) = '自动') then
|
if (trim(OrderNo.Text) = '') or (trim(OrderNo.Text) = '自动') then
|
||||||
OrderNo.Text := maxno;
|
begin
|
||||||
|
// OrderNo.Text := maxno;
|
||||||
|
|
||||||
|
if GetLSNo(ADOCmd, MOrderNo, '', 'Trade_Plan_Main', 2, 1) = false then
|
||||||
|
raise Exception.Create('혤땐데뵀呵겨!');
|
||||||
|
OrderNo.Text := MOrderNo;
|
||||||
|
end;
|
||||||
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ inherited frmTradePlanMgeList: TfrmTradePlanMgeList
|
||||||
Font.Height = -16
|
Font.Height = -16
|
||||||
FormStyle = fsMDIChild
|
FormStyle = fsMDIChild
|
||||||
Visible = True
|
Visible = True
|
||||||
ExplicitTop = -204
|
|
||||||
ExplicitWidth = 1306
|
ExplicitWidth = 1306
|
||||||
ExplicitHeight = 751
|
ExplicitHeight = 751
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
|
|
@ -854,8 +853,6 @@ inherited frmTradePlanMgeList: TfrmTradePlanMgeList
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
LookAndFeel.ScrollbarMode = sbmDefault
|
LookAndFeel.ScrollbarMode = sbmDefault
|
||||||
ExplicitLeft = -1
|
|
||||||
ExplicitTop = 273
|
|
||||||
object TV2: TcxGridDBTableView
|
object TV2: TcxGridDBTableView
|
||||||
Navigator.Buttons.CustomButtons = <>
|
Navigator.Buttons.CustomButtons = <>
|
||||||
ScrollbarAnnotations.CustomAnnotations = <>
|
ScrollbarAnnotations.CustomAnnotations = <>
|
||||||
|
|
|
||||||
|
|
@ -69,17 +69,17 @@
|
||||||
<File Path="U_ItemTestInPut.dfm"/>
|
<File Path="U_ItemTestInPut.dfm"/>
|
||||||
</ProjectSortOrder>
|
</ProjectSortOrder>
|
||||||
<Transactions>
|
<Transactions>
|
||||||
<Transaction>1899-12-30 00:00:00.000.710,D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_ItemTestList.pas=D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_TradePlanMgeList.pas</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.721,D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_ItemTestInPut.dfm=D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_TradePlanInPut.dfm</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.939,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_SysLogOrderzsd.pas=</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.939,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_SysLogOrderzsd.pas=</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.296,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_TradePlanList.pas=</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.721,D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_TradePlanInPut.dfm=D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_ItemTestInPut.dfm</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.054,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_ProductOrderNewList.pas=</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.368,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_OrderInPut.pas=</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.721,D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_ItemTestInPut.pas=D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_TradePlanInPut.pas</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.578,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_MJSJFX.pas=</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.245,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\Unit2.dfm=D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_UptPlanDataToRoll.dfm</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.710,D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_ItemTestList.dfm=D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_TradePlanMgeList.dfm</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.245,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\Unit2.pas=D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_UptPlanDataToRoll.pas</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.651,=D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.651,=D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\Unit2.pas</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.578,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_MJSJFX.pas=</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.710,D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_TradePlanMgeList.pas=D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_ItemTestList.pas</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.368,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_OrderInPut.pas=</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.245,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_UptPlanDataToRoll.dfm=D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\Unit2.dfm</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.721,D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_TradePlanInPut.pas=D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_ItemTestInPut.pas</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.296,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_TradePlanList.pas=</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.245,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_UptPlanDataToRoll.pas=D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\Unit2.pas</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.710,D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_TradePlanMgeList.dfm=D:\rtgit\git_clone\D10DJjinglei\项目代码\DJ\G01贸易生产计划\U_ItemTestList.dfm</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.054,D:\Dp10RepoV1\项目代码\djdPack\G01贸易生产计划\U_ProductOrderNewList.pas=</Transaction>
|
||||||
</Transactions>
|
</Transactions>
|
||||||
</BorlandProject>
|
</BorlandProject>
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -36,9 +36,9 @@
|
||||||
<Transaction>1899-12-30 00:00:00.000.822,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_frameParam.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.822,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_frameParam.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.686,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_MachRollMain.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.686,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_MachRollMain.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.193,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas=D:\Dp10RepoV1\public10\ThreeFun\Fun\U_AdoFunc.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.193,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas=D:\Dp10RepoV1\public10\ThreeFun\Fun\U_AdoFunc.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.996,=D:\Dp10RepoV1\public10\design\U_BaseDataLink.pas</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.983,D:\Dp10Repo\项目代码\RTBasics\F05染色检验\Unit1.pas=</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.983,D:\Dp10Repo\项目代码\RTBasics\F05染色检验\Unit1.pas=</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.507,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.996,=D:\Dp10RepoV1\public10\design\U_BaseDataLink.pas</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.950,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.048,=D:\Dp10Repo\public10\design\U_BaseList.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.048,=D:\Dp10Repo\public10\design\U_BaseList.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.736,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_ProductListHelp.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.736,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_ProductListHelp.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.135,D:\Dp10Repo\项目代码\睿特\新DLL初始化(CSH.dll)\U_ZDYHelp.pas=</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.135,D:\Dp10Repo\项目代码\睿特\新DLL初始化(CSH.dll)\U_ZDYHelp.pas=</Transaction>
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
<Transaction>1899-12-30 00:00:00.000.051,=D:\Dp10RepoV1\项目代码\djdPack\G03贸易布匹检验\U_BillPrintList.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.051,=D:\Dp10RepoV1\项目代码\djdPack\G03贸易布匹检验\U_BillPrintList.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.581,D:\Dp10Repo\项目代码\RTBasics\G03贸易布匹检验\TradeInsp.dproj=D:\Dp10Repo\项目代码\RTBasics\G03贸易布匹检验\DyeInsp.dproj</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.581,D:\Dp10Repo\项目代码\RTBasics\G03贸易布匹检验\TradeInsp.dproj=D:\Dp10Repo\项目代码\RTBasics\G03贸易布匹检验\DyeInsp.dproj</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.018,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_TradeClothWaitPack.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.018,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_TradeClothWaitPack.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.950,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.507,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.939,=D:\Dp10Repo\public10\design\U_BaseInput.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.939,=D:\Dp10Repo\public10\design\U_BaseInput.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.114,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DeviceJkTest.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.114,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DeviceJkTest.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.114,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DeviceJkTest.dfm=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.dfm</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.114,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DeviceJkTest.dfm=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.dfm</Transaction>
|
||||||
|
|
@ -59,11 +59,11 @@
|
||||||
<Transaction>1899-12-30 00:00:00.000.178,=D:\Dp10Repo\public10\design\U_WindowFormdesign.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.178,=D:\Dp10Repo\public10\design\U_WindowFormdesign.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.995,D:\Dp10RepoV1\项目代码\TradePack\A00通用窗体\U_LabelPrint.dfm=D:\Dp10RepoV1\项目代码\TradePack\A00通用窗体\U_MdPrint.dfm</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.995,D:\Dp10RepoV1\项目代码\TradePack\A00通用窗体\U_LabelPrint.dfm=D:\Dp10RepoV1\项目代码\TradePack\A00通用窗体\U_MdPrint.dfm</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.757,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_ProductJYHZList.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.757,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_ProductJYHZList.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.706,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.233,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.717,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.679,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.487,D:\Dp10Repo\项目代码\睿特\新DLL初始化(CSH.dll)\U_ZDYHelpSel.pas=</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.487,D:\Dp10Repo\项目代码\睿特\新DLL初始化(CSH.dll)\U_ZDYHelpSel.pas=</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.990,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.701,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.739,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.053,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.975,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DeviceJkDll.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.975,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DeviceJkDll.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.514,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.dfm=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_KeyBoard.dfm</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.514,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.dfm=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_KeyBoard.dfm</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.567,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.dfm=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_frameBads.dfm</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.567,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.dfm=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_frameBads.dfm</Transaction>
|
||||||
|
|
@ -90,11 +90,11 @@
|
||||||
<Transaction>1899-12-30 00:00:00.000.692,D:\Dp10Repo\项目代码\RTBasics\A00通用窗体\U_ClothInfoSel.dfm=D:\Dp10Repo\项目代码\RTBasics\A00通用窗体\U_CompanySel.dfm</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.692,D:\Dp10Repo\项目代码\RTBasics\A00通用窗体\U_ClothInfoSel.dfm=D:\Dp10Repo\项目代码\RTBasics\A00通用窗体\U_CompanySel.dfm</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.673,D:\Dp10RepoV1\public10\ThreeFun\Fun\U_ControlData.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.673,D:\Dp10RepoV1\public10\ThreeFun\Fun\U_ControlData.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit1.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.313,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_BatchMdyData.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.313,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_BatchMdyData.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.990,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.739,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.706,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
|
<Transaction>1899-12-30 00:00:00.000.717,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.950,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.950,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.701,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.053,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.233,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.679,=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas</Transaction>
|
|
||||||
<Transaction>1899-12-30 00:00:00.000.964,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DjdDjClList.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.964,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.pas=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DjdDjClList.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.844,=D:\Dp10Repo\项目代码\RTBasics\A00通用窗体\U_AttachmentUpload.pas</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.844,=D:\Dp10Repo\项目代码\RTBasics\A00通用窗体\U_AttachmentUpload.pas</Transaction>
|
||||||
<Transaction>1899-12-30 00:00:00.000.964,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.dfm=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DjdDjClList.dfm</Transaction>
|
<Transaction>1899-12-30 00:00:00.000.964,D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\Unit2.dfm=D:\Dp10RepoV1\项目代码\TradePack\G03贸易布匹检验\U_DjdDjClList.dfm</Transaction>
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -69,10 +69,10 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object cxGrid1: TcxGrid [1]
|
object cxGrid1: TcxGrid [1]
|
||||||
Left = 20
|
Left = 11
|
||||||
Top = 184
|
Top = 130
|
||||||
Width = 1005
|
Width = 1022
|
||||||
Height = 230
|
Height = 293
|
||||||
BorderStyle = cxcbsNone
|
BorderStyle = cxcbsNone
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
object TV1: TcxGridDBTableView
|
object TV1: TcxGridDBTableView
|
||||||
|
|
@ -257,6 +257,54 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
Caption = #23458#25143
|
Caption = #23458#25143
|
||||||
DataBinding.IsNullValueType = True
|
DataBinding.IsNullValueType = True
|
||||||
end
|
end
|
||||||
|
object TV1C_CustColorNo: TcxGridDBColumn
|
||||||
|
Caption = #23458#25143'-'#39068#33394
|
||||||
|
DataBinding.FieldName = 'C_CustColorNo'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 90
|
||||||
|
end
|
||||||
|
object TV1C_Width: TcxGridDBColumn
|
||||||
|
Caption = #24133#23485'CM'
|
||||||
|
DataBinding.FieldName = 'C_Width'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 90
|
||||||
|
end
|
||||||
|
object TV1C_GramWeight: TcxGridDBColumn
|
||||||
|
Caption = #20811#37325'GSM'
|
||||||
|
DataBinding.FieldName = 'C_GramWeight'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 90
|
||||||
|
end
|
||||||
|
object TV1PB_Code: TcxGridDBColumn
|
||||||
|
Caption = #25209#21495'/'#21787#22836
|
||||||
|
DataBinding.FieldName = 'PB_Code'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 90
|
||||||
|
end
|
||||||
|
object TV1SalesNo: TcxGridDBColumn
|
||||||
|
Caption = #38144#21806#21592#21333#21495
|
||||||
|
DataBinding.FieldName = 'SalesNo'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 90
|
||||||
|
end
|
||||||
|
object TV1OrdType: TcxGridDBColumn
|
||||||
|
Caption = #35746#21333#31867#22411
|
||||||
|
DataBinding.FieldName = 'OrdType'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 90
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGridLevel1: TcxGridLevel
|
object cxGridLevel1: TcxGridLevel
|
||||||
GridView = TV1
|
GridView = TV1
|
||||||
|
|
@ -276,7 +324,7 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
object Filler: TcxTextEdit
|
object Filler: TcxTextEdit
|
||||||
Tag = 2
|
Tag = 2
|
||||||
Left = 306
|
Left = 306
|
||||||
Top = 35
|
Top = 41
|
||||||
Hint = 'Filler'
|
Hint = 'Filler'
|
||||||
Properties.OnChange = TBFindClick
|
Properties.OnChange = TBFindClick
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
|
|
@ -297,7 +345,7 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
end
|
end
|
||||||
object enddate: TcxDateEdit
|
object enddate: TcxDateEdit
|
||||||
Left = 88
|
Left = 88
|
||||||
Top = 35
|
Top = 41
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
Properties.ImmediatePost = True
|
Properties.ImmediatePost = True
|
||||||
Properties.SaveTime = False
|
Properties.SaveTime = False
|
||||||
|
|
@ -305,13 +353,13 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
Height = 29
|
Height = 33
|
||||||
Width = 153
|
Width = 153
|
||||||
end
|
end
|
||||||
object C_name: TcxTextEdit
|
object C_name: TcxTextEdit
|
||||||
Tag = 2
|
Tag = 2
|
||||||
Left = 523
|
Left = 523
|
||||||
Top = 35
|
Top = 41
|
||||||
Properties.OnChange = TBFindClick
|
Properties.OnChange = TBFindClick
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
|
|
@ -382,7 +430,7 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
AllowRemove = False
|
AllowRemove = False
|
||||||
CaptionOptions.Text = #35746#21333#21495
|
CaptionOptions.Text = #35746#21333#21495
|
||||||
Control = orderNo
|
Control = orderNo
|
||||||
ControlOptions.OriginalHeight = 27
|
ControlOptions.OriginalHeight = 33
|
||||||
ControlOptions.OriginalWidth = 134
|
ControlOptions.OriginalWidth = 134
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 1
|
Index = 1
|
||||||
|
|
@ -391,7 +439,7 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
SizeOptions.Width = 136
|
SizeOptions.Width = 136
|
||||||
CaptionOptions.Text = #39068#33394
|
CaptionOptions.Text = #39068#33394
|
||||||
Control = C_color
|
Control = C_color
|
||||||
ControlOptions.OriginalHeight = 19
|
ControlOptions.OriginalHeight = 25
|
||||||
ControlOptions.OriginalWidth = 105
|
ControlOptions.OriginalWidth = 105
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = -1
|
Index = -1
|
||||||
|
|
@ -401,7 +449,7 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
SizeOptions.Width = 232
|
SizeOptions.Width = 232
|
||||||
CaptionOptions.Text = #20013#25991#21517#31216
|
CaptionOptions.Text = #20013#25991#21517#31216
|
||||||
Control = C_name
|
Control = C_name
|
||||||
ControlOptions.OriginalHeight = 27
|
ControlOptions.OriginalHeight = 33
|
||||||
ControlOptions.OriginalWidth = 160
|
ControlOptions.OriginalWidth = 160
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 2
|
Index = 2
|
||||||
|
|
@ -411,7 +459,7 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
SizeOptions.Width = 233
|
SizeOptions.Width = 233
|
||||||
CaptionOptions.Text = #21512#21516#21495
|
CaptionOptions.Text = #21512#21516#21495
|
||||||
Control = conNo
|
Control = conNo
|
||||||
ControlOptions.OriginalHeight = 27
|
ControlOptions.OriginalHeight = 33
|
||||||
ControlOptions.OriginalWidth = 161
|
ControlOptions.OriginalWidth = 161
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 2
|
Index = 2
|
||||||
|
|
@ -438,7 +486,7 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
SizeOptions.Width = 227
|
SizeOptions.Width = 227
|
||||||
CaptionOptions.Text = #26816#39564#26102#38388
|
CaptionOptions.Text = #26816#39564#26102#38388
|
||||||
Control = begdate
|
Control = begdate
|
||||||
ControlOptions.OriginalHeight = 27
|
ControlOptions.OriginalHeight = 33
|
||||||
ControlOptions.OriginalWidth = 155
|
ControlOptions.OriginalWidth = 155
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 0
|
Index = 0
|
||||||
|
|
@ -459,7 +507,7 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
SizeOptions.Width = 192
|
SizeOptions.Width = 192
|
||||||
CaptionOptions.Text = #25171#30721#20154
|
CaptionOptions.Text = #25171#30721#20154
|
||||||
Control = Filler
|
Control = Filler
|
||||||
ControlOptions.OriginalHeight = 27
|
ControlOptions.OriginalHeight = 33
|
||||||
ControlOptions.OriginalWidth = 136
|
ControlOptions.OriginalWidth = 136
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 1
|
Index = 1
|
||||||
|
|
@ -468,7 +516,7 @@ inherited frmDjdDjClList: TfrmDjdDjClList
|
||||||
Parent = dxLayoutGroup1
|
Parent = dxLayoutGroup1
|
||||||
CaptionOptions.Text = #23458#25143
|
CaptionOptions.Text = #23458#25143
|
||||||
Control = CustName
|
Control = CustName
|
||||||
ControlOptions.OriginalHeight = 27
|
ControlOptions.OriginalHeight = 33
|
||||||
ControlOptions.OriginalWidth = 121
|
ControlOptions.OriginalWidth = 121
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 3
|
Index = 3
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,12 @@ type
|
||||||
CustName: TcxTextEdit;
|
CustName: TcxTextEdit;
|
||||||
dxLayoutItem3: TdxLayoutItem;
|
dxLayoutItem3: TdxLayoutItem;
|
||||||
TV1Column4: TcxGridDBColumn;
|
TV1Column4: TcxGridDBColumn;
|
||||||
|
TV1C_CustColorNo: TcxGridDBColumn;
|
||||||
|
TV1C_Width: TcxGridDBColumn;
|
||||||
|
TV1C_GramWeight: TcxGridDBColumn;
|
||||||
|
TV1PB_Code: TcxGridDBColumn;
|
||||||
|
TV1SalesNo: TcxGridDBColumn;
|
||||||
|
TV1OrdType: TcxGridDBColumn;
|
||||||
procedure FormCreate(Sender: TObject);
|
procedure FormCreate(Sender: TObject);
|
||||||
procedure TBRafreshClick(Sender: TObject);
|
procedure TBRafreshClick(Sender: TObject);
|
||||||
procedure FormShow(Sender: TObject);
|
procedure FormShow(Sender: TObject);
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Font.Height = -16
|
Font.Height = -16
|
||||||
FormStyle = fsMDIChild
|
FormStyle = fsMDIChild
|
||||||
Visible = True
|
Visible = True
|
||||||
ExplicitTop = -149
|
ExplicitTop = -129
|
||||||
ExplicitWidth = 1128
|
ExplicitWidth = 1128
|
||||||
ExplicitHeight = 775
|
ExplicitHeight = 775
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
|
|
@ -73,11 +73,11 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end
|
end
|
||||||
object FtyPCId: TcxTextEdit
|
object FtyPCId: TcxTextEdit
|
||||||
Left = 9994
|
Left = 9994
|
||||||
Top = 9911
|
Top = 9485
|
||||||
Properties.ReadOnly = False
|
Properties.ReadOnly = False
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 75
|
TabOrder = 74
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 144
|
Width = 144
|
||||||
|
|
@ -93,11 +93,11 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end
|
end
|
||||||
object ColorNo: TcxTextEdit
|
object ColorNo: TcxTextEdit
|
||||||
Left = 9994
|
Left = 9994
|
||||||
Top = 9911
|
Top = 9485
|
||||||
Properties.ReadOnly = True
|
Properties.ReadOnly = True
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 71
|
TabOrder = 70
|
||||||
Visible = False
|
Visible = False
|
||||||
Width = 144
|
Width = 144
|
||||||
end
|
end
|
||||||
|
|
@ -121,11 +121,11 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end
|
end
|
||||||
object BCIOID: TcxTextEdit
|
object BCIOID: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Properties.ReadOnly = True
|
Properties.ReadOnly = True
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 69
|
TabOrder = 68
|
||||||
Visible = False
|
Visible = False
|
||||||
Width = 144
|
Width = 144
|
||||||
end
|
end
|
||||||
|
|
@ -145,7 +145,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 39
|
TabOrder = 38
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
OnKeyPress = InputLenKeyPress
|
OnKeyPress = InputLenKeyPress
|
||||||
Height = 38
|
Height = 38
|
||||||
|
|
@ -154,7 +154,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
object BTPrint: TButton
|
object BTPrint: TButton
|
||||||
Left = 258
|
Left = 258
|
||||||
Top = 661
|
Top = 661
|
||||||
Width = 276
|
Width = 205
|
||||||
Height = 59
|
Height = 59
|
||||||
Caption = #25552' '#20132
|
Caption = #25552' '#20132
|
||||||
Font.Charset = GB2312_CHARSET
|
Font.Charset = GB2312_CHARSET
|
||||||
|
|
@ -163,7 +163,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Font.Name = #24494#36719#38597#40657
|
Font.Name = #24494#36719#38597#40657
|
||||||
Font.Style = [fsBold]
|
Font.Style = [fsBold]
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 43
|
TabOrder = 42
|
||||||
OnClick = BTPrintClick
|
OnClick = BTPrintClick
|
||||||
end
|
end
|
||||||
object Button_bad: TButton
|
object Button_bad: TButton
|
||||||
|
|
@ -251,7 +251,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 42
|
TabOrder = 41
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
OnKeyPress = InputLenKeyPress
|
OnKeyPress = InputLenKeyPress
|
||||||
Height = 59
|
Height = 59
|
||||||
|
|
@ -272,7 +272,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 44
|
TabOrder = 43
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
OnKeyPress = InputLenKeyPress
|
OnKeyPress = InputLenKeyPress
|
||||||
Height = 37
|
Height = 37
|
||||||
|
|
@ -293,7 +293,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 41
|
TabOrder = 40
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
OnKeyPress = InputLenKeyPress
|
OnKeyPress = InputLenKeyPress
|
||||||
Height = 59
|
Height = 59
|
||||||
|
|
@ -329,7 +329,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
object OutPutWeight: TcxTextEdit
|
object OutPutWeight: TcxTextEdit
|
||||||
Tag = 999
|
Tag = 999
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
Style.Font.Charset = ANSI_CHARSET
|
Style.Font.Charset = ANSI_CHARSET
|
||||||
|
|
@ -340,7 +340,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 50
|
TabOrder = 49
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
OnKeyPress = InputLenKeyPress
|
OnKeyPress = InputLenKeyPress
|
||||||
|
|
@ -380,13 +380,13 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 48
|
TabOrder = 47
|
||||||
Height = 238
|
Height = 238
|
||||||
Width = 181
|
Width = 181
|
||||||
end
|
end
|
||||||
object cxDBImage1: TcxDBImage
|
object cxDBImage1: TcxDBImage
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Hint = 'FileName'
|
Hint = 'FileName'
|
||||||
DataBinding.DataField = 'FilesOther'
|
DataBinding.DataField = 'FilesOther'
|
||||||
DataBinding.DataSource = DS_IMAGE
|
DataBinding.DataSource = DS_IMAGE
|
||||||
|
|
@ -396,7 +396,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Properties.ShowFocusRect = False
|
Properties.ShowFocusRect = False
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 51
|
TabOrder = 50
|
||||||
Visible = False
|
Visible = False
|
||||||
Height = 122
|
Height = 122
|
||||||
Width = 280
|
Width = 280
|
||||||
|
|
@ -418,7 +418,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 40
|
TabOrder = 39
|
||||||
Text = #27491#21697
|
Text = #27491#21697
|
||||||
OnKeyPress = InputLenKeyPress
|
OnKeyPress = InputLenKeyPress
|
||||||
Height = 38
|
Height = 38
|
||||||
|
|
@ -479,7 +479,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
StyleDisabled.LookAndFeel.SkinName = 'WXI'
|
StyleDisabled.LookAndFeel.SkinName = 'WXI'
|
||||||
StyleFocused.LookAndFeel.SkinName = 'WXI'
|
StyleFocused.LookAndFeel.SkinName = 'WXI'
|
||||||
StyleHot.LookAndFeel.SkinName = 'WXI'
|
StyleHot.LookAndFeel.SkinName = 'WXI'
|
||||||
TabOrder = 45
|
TabOrder = 44
|
||||||
Text = #26080#38656#36716#25442
|
Text = #26080#38656#36716#25442
|
||||||
Height = 37
|
Height = 37
|
||||||
Width = 84
|
Width = 84
|
||||||
|
|
@ -499,7 +499,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 49
|
TabOrder = 48
|
||||||
Height = 241
|
Height = 241
|
||||||
Width = 199
|
Width = 199
|
||||||
end
|
end
|
||||||
|
|
@ -533,17 +533,17 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end
|
end
|
||||||
object C_Pattern: TcxTextEdit
|
object C_Pattern: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Properties.ReadOnly = True
|
Properties.ReadOnly = True
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 52
|
TabOrder = 51
|
||||||
Visible = False
|
Visible = False
|
||||||
Width = 124
|
Width = 124
|
||||||
end
|
end
|
||||||
object RuleYardstick: TcxTextEdit
|
object RuleYardstick: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
Properties.ReadOnly = True
|
Properties.ReadOnly = True
|
||||||
|
|
@ -555,7 +555,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 53
|
TabOrder = 52
|
||||||
Text = '100'
|
Text = '100'
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
|
|
@ -565,19 +565,19 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end
|
end
|
||||||
object C_StyleNo: TcxTextEdit
|
object C_StyleNo: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
Properties.ReadOnly = True
|
Properties.ReadOnly = True
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 54
|
TabOrder = 53
|
||||||
Visible = False
|
Visible = False
|
||||||
Width = 168
|
Width = 168
|
||||||
end
|
end
|
||||||
object packPostBtn: TButton
|
object packPostBtn: TButton
|
||||||
Left = 356
|
Left = 356
|
||||||
Top = 729
|
Top = 729
|
||||||
Width = 178
|
Width = 107
|
||||||
Height = 37
|
Height = 37
|
||||||
Caption = #25171#21253#25552#20132
|
Caption = #25171#21253#25552#20132
|
||||||
Font.Charset = GB2312_CHARSET
|
Font.Charset = GB2312_CHARSET
|
||||||
|
|
@ -586,25 +586,25 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Font.Name = #24494#36719#38597#40657
|
Font.Name = #24494#36719#38597#40657
|
||||||
Font.Style = [fsBold]
|
Font.Style = [fsBold]
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 47
|
TabOrder = 46
|
||||||
OnClick = packPostBtnClick
|
OnClick = packPostBtnClick
|
||||||
end
|
end
|
||||||
object customStrField1: TcxTextEdit
|
object customStrField1: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 55
|
TabOrder = 54
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
object customStrField2: TcxTextEdit
|
object customStrField2: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 56
|
TabOrder = 55
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
|
|
@ -629,27 +629,27 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end
|
end
|
||||||
object addLen: TcxTextEdit
|
object addLen: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 57
|
TabOrder = 56
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
object addWet: TcxTextEdit
|
object addWet: TcxTextEdit
|
||||||
Left = 9994
|
Left = 9994
|
||||||
Top = 9911
|
Top = 9485
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 76
|
TabOrder = 75
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
object bt_printmd: TButton
|
object bt_printmd: TButton
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Width = 48
|
Width = 48
|
||||||
Height = 33
|
Height = 33
|
||||||
Caption = #30721#21333
|
Caption = #30721#21333
|
||||||
|
|
@ -659,26 +659,26 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Font.Name = #24494#36719#38597#40657
|
Font.Name = #24494#36719#38597#40657
|
||||||
Font.Style = [fsBold]
|
Font.Style = [fsBold]
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 58
|
TabOrder = 57
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = bt_printmdClick
|
OnClick = bt_printmdClick
|
||||||
end
|
end
|
||||||
object presentLen: TcxTextEdit
|
object presentLen: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 59
|
TabOrder = 58
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
object presentWeight: TcxTextEdit
|
object presentWeight: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 60
|
TabOrder = 59
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
|
|
@ -688,13 +688,33 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Top = 574
|
Top = 574
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 38
|
TabOrder = 37
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 76
|
Width = 76
|
||||||
end
|
end
|
||||||
object custName: TcxTextEdit
|
object custName: TcxTextEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
|
Properties.ReadOnly = True
|
||||||
|
Style.HotTrack = False
|
||||||
|
Style.TransparentBorder = False
|
||||||
|
TabOrder = 60
|
||||||
|
Visible = False
|
||||||
|
Width = 164
|
||||||
|
end
|
||||||
|
object customStrField3: TcxComboBox
|
||||||
|
Left = 9994
|
||||||
|
Top = 9485
|
||||||
|
Style.HotTrack = False
|
||||||
|
Style.TransparentBorder = False
|
||||||
|
TabOrder = 69
|
||||||
|
Visible = False
|
||||||
|
OnClick = edtScanEnter
|
||||||
|
Width = 145
|
||||||
|
end
|
||||||
|
object c_ecolor: TcxTextEdit
|
||||||
|
Left = 9988
|
||||||
|
Top = 9236
|
||||||
Properties.ReadOnly = True
|
Properties.ReadOnly = True
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
|
|
@ -702,30 +722,10 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Visible = False
|
Visible = False
|
||||||
Width = 164
|
Width = 164
|
||||||
end
|
end
|
||||||
object customStrField3: TcxComboBox
|
|
||||||
Left = 9994
|
|
||||||
Top = 9911
|
|
||||||
Style.HotTrack = False
|
|
||||||
Style.TransparentBorder = False
|
|
||||||
TabOrder = 70
|
|
||||||
Visible = False
|
|
||||||
OnClick = edtScanEnter
|
|
||||||
Width = 145
|
|
||||||
end
|
|
||||||
object c_ecolor: TcxTextEdit
|
|
||||||
Left = 9988
|
|
||||||
Top = 9662
|
|
||||||
Properties.ReadOnly = True
|
|
||||||
Style.HotTrack = False
|
|
||||||
Style.TransparentBorder = False
|
|
||||||
TabOrder = 62
|
|
||||||
Visible = False
|
|
||||||
Width = 164
|
|
||||||
end
|
|
||||||
object edit_roll_auto: TcxTextEdit
|
object edit_roll_auto: TcxTextEdit
|
||||||
Tag = 999
|
Tag = 999
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
Properties.ReadOnly = True
|
Properties.ReadOnly = True
|
||||||
|
|
@ -737,7 +737,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
TabOrder = 63
|
TabOrder = 62
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edit_roll_autoClick
|
OnClick = edit_roll_autoClick
|
||||||
Height = 31
|
Height = 31
|
||||||
|
|
@ -745,7 +745,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end
|
end
|
||||||
object customStrField4: TcxButtonEdit
|
object customStrField4: TcxButtonEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Hint = 'customStrField4/'#33258#23450#20041'4'
|
Hint = 'customStrField4/'#33258#23450#20041'4'
|
||||||
Properties.Buttons = <
|
Properties.Buttons = <
|
||||||
item
|
item
|
||||||
|
|
@ -754,33 +754,16 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end>
|
end>
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 67
|
|
||||||
Visible = False
|
|
||||||
OnClick = edtScanEnter
|
|
||||||
OnDblClick = customStrField5DblClick
|
|
||||||
Width = 121
|
|
||||||
end
|
|
||||||
object customStrField8: TcxButtonEdit
|
|
||||||
Left = 9988
|
|
||||||
Top = 9662
|
|
||||||
Hint = 'customStrField8/'#33258#23450#20041'8'
|
|
||||||
Properties.Buttons = <
|
|
||||||
item
|
|
||||||
Default = True
|
|
||||||
Kind = bkEllipsis
|
|
||||||
end>
|
|
||||||
Style.HotTrack = False
|
|
||||||
Style.TransparentBorder = False
|
|
||||||
TabOrder = 66
|
TabOrder = 66
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
OnDblClick = customStrField5DblClick
|
OnDblClick = customStrField5DblClick
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
object customStrField7: TcxButtonEdit
|
object customStrField8: TcxButtonEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Hint = 'customStrField7/'#33258#23450#20041'7'
|
Hint = 'customStrField8/'#33258#23450#20041'8'
|
||||||
Properties.Buttons = <
|
Properties.Buttons = <
|
||||||
item
|
item
|
||||||
Default = True
|
Default = True
|
||||||
|
|
@ -794,10 +777,10 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
OnDblClick = customStrField5DblClick
|
OnDblClick = customStrField5DblClick
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
object customStrField6: TcxButtonEdit
|
object customStrField7: TcxButtonEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Hint = 'customStrField6/'#33258#23450#20041'6'
|
Hint = 'customStrField7/'#33258#23450#20041'7'
|
||||||
Properties.Buttons = <
|
Properties.Buttons = <
|
||||||
item
|
item
|
||||||
Default = True
|
Default = True
|
||||||
|
|
@ -811,9 +794,26 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
OnDblClick = customStrField5DblClick
|
OnDblClick = customStrField5DblClick
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
|
object customStrField6: TcxButtonEdit
|
||||||
|
Left = 9988
|
||||||
|
Top = 9236
|
||||||
|
Hint = 'customStrField6/'#33258#23450#20041'6'
|
||||||
|
Properties.Buttons = <
|
||||||
|
item
|
||||||
|
Default = True
|
||||||
|
Kind = bkEllipsis
|
||||||
|
end>
|
||||||
|
Style.HotTrack = False
|
||||||
|
Style.TransparentBorder = False
|
||||||
|
TabOrder = 63
|
||||||
|
Visible = False
|
||||||
|
OnClick = edtScanEnter
|
||||||
|
OnDblClick = customStrField5DblClick
|
||||||
|
Width = 121
|
||||||
|
end
|
||||||
object customStrField5: TcxButtonEdit
|
object customStrField5: TcxButtonEdit
|
||||||
Left = 9988
|
Left = 9988
|
||||||
Top = 9662
|
Top = 9236
|
||||||
Hint = 'customStrField5/'#33258#23450#20041'5'
|
Hint = 'customStrField5/'#33258#23450#20041'5'
|
||||||
Properties.Buttons = <
|
Properties.Buttons = <
|
||||||
item
|
item
|
||||||
|
|
@ -823,7 +823,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Properties.OnButtonClick = customStrField5PropertiesButtonClick
|
Properties.OnButtonClick = customStrField5PropertiesButtonClick
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 68
|
TabOrder = 67
|
||||||
Visible = False
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
OnDblClick = customStrField5DblClick
|
OnDblClick = customStrField5DblClick
|
||||||
|
|
@ -850,33 +850,35 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Width = 95
|
Width = 95
|
||||||
end
|
end
|
||||||
object C_GramWeight2: TcxTextEdit
|
object C_GramWeight2: TcxTextEdit
|
||||||
Left = 377
|
Left = 10000
|
||||||
Top = 374
|
Top = 9658
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 26
|
TabOrder = 76
|
||||||
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Height = 31
|
Height = 31
|
||||||
Width = 88
|
Width = 88
|
||||||
end
|
end
|
||||||
object C_GramWeight3: TcxTextEdit
|
object C_GramWeight3: TcxTextEdit
|
||||||
Left = 89
|
Left = 10000
|
||||||
Top = 414
|
Top = 9658
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 27
|
TabOrder = 77
|
||||||
|
Visible = False
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Height = 31
|
Height = 31
|
||||||
Width = 92
|
Width = 92
|
||||||
end
|
end
|
||||||
object ValidC_Width: TcxTextEdit
|
object ValidC_Width: TcxTextEdit
|
||||||
Left = 257
|
Left = 89
|
||||||
Top = 414
|
Top = 414
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 28
|
TabOrder = 27
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
|
|
@ -886,7 +888,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 30
|
TabOrder = 29
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Height = 31
|
Height = 31
|
||||||
Width = 121
|
Width = 121
|
||||||
|
|
@ -897,7 +899,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 37
|
TabOrder = 36
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Height = 31
|
Height = 31
|
||||||
Width = 72
|
Width = 72
|
||||||
|
|
@ -908,7 +910,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
AutoSize = False
|
AutoSize = False
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 36
|
TabOrder = 35
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Height = 31
|
Height = 31
|
||||||
Width = 75
|
Width = 75
|
||||||
|
|
@ -925,7 +927,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 32
|
TabOrder = 31
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
|
|
@ -942,7 +944,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 33
|
TabOrder = 32
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Height = 31
|
Height = 31
|
||||||
Width = 121
|
Width = 121
|
||||||
|
|
@ -960,7 +962,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 34
|
TabOrder = 33
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Height = 31
|
Height = 31
|
||||||
Width = 121
|
Width = 121
|
||||||
|
|
@ -977,7 +979,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 31
|
TabOrder = 30
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
|
|
@ -993,7 +995,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 35
|
TabOrder = 34
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
|
|
@ -1006,7 +1008,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
#21542)
|
#21542)
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 46
|
TabOrder = 45
|
||||||
Height = 37
|
Height = 37
|
||||||
Width = 45
|
Width = 45
|
||||||
end
|
end
|
||||||
|
|
@ -1074,11 +1076,20 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Width = 105
|
Width = 105
|
||||||
end
|
end
|
||||||
object Org_Weight: TcxTextEdit
|
object Org_Weight: TcxTextEdit
|
||||||
Left = 439
|
Left = 286
|
||||||
Top = 414
|
Top = 414
|
||||||
Style.HotTrack = False
|
Style.HotTrack = False
|
||||||
Style.TransparentBorder = False
|
Style.TransparentBorder = False
|
||||||
TabOrder = 29
|
TabOrder = 28
|
||||||
|
OnClick = edtScanEnter
|
||||||
|
Width = 95
|
||||||
|
end
|
||||||
|
object DJNote: TcxTextEdit
|
||||||
|
Left = 368
|
||||||
|
Top = 374
|
||||||
|
Style.HotTrack = False
|
||||||
|
Style.TransparentBorder = False
|
||||||
|
TabOrder = 26
|
||||||
OnClick = edtScanEnter
|
OnClick = edtScanEnter
|
||||||
Width = 95
|
Width = 95
|
||||||
end
|
end
|
||||||
|
|
@ -1341,7 +1352,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
SizeOptions.Height = 26
|
SizeOptions.Height = 26
|
||||||
SizeOptions.Width = 446
|
SizeOptions.Width = 446
|
||||||
Hidden = True
|
Hidden = True
|
||||||
ItemIndex = 5
|
ItemIndex = 1
|
||||||
LayoutDirection = ldHorizontal
|
LayoutDirection = ldHorizontal
|
||||||
ShowBorder = False
|
ShowBorder = False
|
||||||
Index = 0
|
Index = 0
|
||||||
|
|
@ -1916,7 +1927,6 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Index = 0
|
Index = 0
|
||||||
end
|
end
|
||||||
object dxLayoutItem_C_GramWeight2: TdxLayoutItem
|
object dxLayoutItem_C_GramWeight2: TdxLayoutItem
|
||||||
Parent = dxLayoutAutoCreatedGroup6
|
|
||||||
AlignVert = avClient
|
AlignVert = avClient
|
||||||
SizeOptions.Width = 134
|
SizeOptions.Width = 134
|
||||||
CaptionOptions.Text = #20811#37325'2'
|
CaptionOptions.Text = #20811#37325'2'
|
||||||
|
|
@ -1924,10 +1934,9 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
ControlOptions.OriginalHeight = 31
|
ControlOptions.OriginalHeight = 31
|
||||||
ControlOptions.OriginalWidth = 88
|
ControlOptions.OriginalWidth = 88
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 2
|
Index = -1
|
||||||
end
|
end
|
||||||
object dxLayoutItem_C_GramWeight3: TdxLayoutItem
|
object dxLayoutItem_C_GramWeight3: TdxLayoutItem
|
||||||
Parent = dxLayoutAutoCreatedGroup7
|
|
||||||
AlignVert = avClient
|
AlignVert = avClient
|
||||||
SizeOptions.Width = 175
|
SizeOptions.Width = 175
|
||||||
CaptionOptions.Text = #20811#37325'3'
|
CaptionOptions.Text = #20811#37325'3'
|
||||||
|
|
@ -1935,7 +1944,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
ControlOptions.OriginalHeight = 31
|
ControlOptions.OriginalHeight = 31
|
||||||
ControlOptions.OriginalWidth = 92
|
ControlOptions.OriginalWidth = 92
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 0
|
Index = -1
|
||||||
end
|
end
|
||||||
object dxLayoutItem_ValidC_Width: TdxLayoutItem
|
object dxLayoutItem_ValidC_Width: TdxLayoutItem
|
||||||
Parent = dxLayoutAutoCreatedGroup7
|
Parent = dxLayoutAutoCreatedGroup7
|
||||||
|
|
@ -1946,7 +1955,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
ControlOptions.OriginalHeight = 31
|
ControlOptions.OriginalHeight = 31
|
||||||
ControlOptions.OriginalWidth = 121
|
ControlOptions.OriginalWidth = 121
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
Index = 1
|
Index = 0
|
||||||
end
|
end
|
||||||
object dxLayoutItem_BDBC_Width: TdxLayoutItem
|
object dxLayoutItem_BDBC_Width: TdxLayoutItem
|
||||||
Parent = dxLayoutAutoCreatedGroup11
|
Parent = dxLayoutAutoCreatedGroup11
|
||||||
|
|
@ -1972,6 +1981,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Parent = dxLayoutAutoCreatedGroup8
|
Parent = dxLayoutAutoCreatedGroup8
|
||||||
AlignHorz = ahLeft
|
AlignHorz = ahLeft
|
||||||
AlignVert = avTop
|
AlignVert = avTop
|
||||||
|
Visible = False
|
||||||
CaptionOptions.Text = #39068#33394#24046#24322
|
CaptionOptions.Text = #39068#33394#24046#24322
|
||||||
Control = color_diff
|
Control = color_diff
|
||||||
ControlOptions.OriginalHeight = 31
|
ControlOptions.OriginalHeight = 31
|
||||||
|
|
@ -2136,6 +2146,15 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
ControlOptions.OriginalHeight = 31
|
ControlOptions.OriginalHeight = 31
|
||||||
ControlOptions.OriginalWidth = 95
|
ControlOptions.OriginalWidth = 95
|
||||||
ControlOptions.ShowBorder = False
|
ControlOptions.ShowBorder = False
|
||||||
|
Index = 1
|
||||||
|
end
|
||||||
|
object dxLayoutItem_DJNote: TdxLayoutItem
|
||||||
|
Parent = dxLayoutAutoCreatedGroup6
|
||||||
|
CaptionOptions.Text = #22791#27880
|
||||||
|
Control = DJNote
|
||||||
|
ControlOptions.OriginalHeight = 31
|
||||||
|
ControlOptions.OriginalWidth = 95
|
||||||
|
ControlOptions.ShowBorder = False
|
||||||
Index = 2
|
Index = 2
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -2251,6 +2270,20 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Options.Editing = False
|
Options.Editing = False
|
||||||
Width = 79
|
Width = 79
|
||||||
end
|
end
|
||||||
|
object Tv3color_diff: TcxGridDBColumn
|
||||||
|
Caption = #39068#33394#24046#24322
|
||||||
|
DataBinding.FieldName = 'color_diff'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
PropertiesClassName = 'TcxButtonEditProperties'
|
||||||
|
Properties.Buttons = <
|
||||||
|
item
|
||||||
|
Default = True
|
||||||
|
Kind = bkEllipsis
|
||||||
|
end>
|
||||||
|
Properties.OnButtonClick = Tv3color_diffPropertiesButtonClick
|
||||||
|
Properties.OnEditValueChanged = Tv3color_diffPropertiesEditValueChanged
|
||||||
|
Width = 76
|
||||||
|
end
|
||||||
object v3NetWeight: TcxGridDBColumn
|
object v3NetWeight: TcxGridDBColumn
|
||||||
Caption = #20928#37325
|
Caption = #20928#37325
|
||||||
DataBinding.FieldName = 'NetWeight'
|
DataBinding.FieldName = 'NetWeight'
|
||||||
|
|
@ -2392,7 +2425,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Height = 273
|
Height = 273
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
Properties.ActivePage = cxTabSheet1
|
Properties.ActivePage = sheetLook
|
||||||
Properties.CustomButtons.Buttons = <>
|
Properties.CustomButtons.Buttons = <>
|
||||||
ClientRectBottom = 271
|
ClientRectBottom = 271
|
||||||
ClientRectLeft = 2
|
ClientRectLeft = 2
|
||||||
|
|
@ -2522,6 +2555,28 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Options.Editing = False
|
Options.Editing = False
|
||||||
Width = 80
|
Width = 80
|
||||||
end
|
end
|
||||||
|
object Tv2DJNote: TcxGridDBColumn
|
||||||
|
Tag = 9
|
||||||
|
Caption = #22791#27880
|
||||||
|
DataBinding.FieldName = 'DJNote'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Width = 80
|
||||||
|
end
|
||||||
|
object Tv2CIFnote: TcxGridDBColumn
|
||||||
|
Caption = #30133#28857#25551#36848
|
||||||
|
DataBinding.FieldName = 'CIFnote'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Width = 80
|
||||||
|
end
|
||||||
|
object Tv2CIFgrade: TcxGridDBColumn
|
||||||
|
Caption = #30133#28857#31561#32423
|
||||||
|
DataBinding.FieldName = 'CIFgrade'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Width = 80
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGridLevel1: TcxGridLevel
|
object cxGridLevel1: TcxGridLevel
|
||||||
GridView = Tv2
|
GridView = Tv2
|
||||||
|
|
@ -2531,10 +2586,6 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
object sheetLook: TcxTabSheet
|
object sheetLook: TcxTabSheet
|
||||||
Caption = #26597#30475
|
Caption = #26597#30475
|
||||||
ImageIndex = 1
|
ImageIndex = 1
|
||||||
ExplicitLeft = 0
|
|
||||||
ExplicitTop = 0
|
|
||||||
ExplicitWidth = 0
|
|
||||||
ExplicitHeight = 0
|
|
||||||
object cxGrid1: TcxGrid
|
object cxGrid1: TcxGrid
|
||||||
Tag = 999
|
Tag = 999
|
||||||
Left = 0
|
Left = 0
|
||||||
|
|
@ -2646,6 +2697,38 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
DataBinding.IsNullValueType = True
|
DataBinding.IsNullValueType = True
|
||||||
Options.Editing = False
|
Options.Editing = False
|
||||||
end
|
end
|
||||||
|
object TV1CIFType: TcxGridDBColumn
|
||||||
|
Caption = #30133#28857#31867#22411
|
||||||
|
DataBinding.FieldName = 'CIFType'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 75
|
||||||
|
end
|
||||||
|
object TV1DJNote: TcxGridDBColumn
|
||||||
|
Caption = #22791#27880
|
||||||
|
DataBinding.FieldName = 'DJNote'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 75
|
||||||
|
end
|
||||||
|
object TV1CIFnote: TcxGridDBColumn
|
||||||
|
Caption = #30133#28857#25551#36848
|
||||||
|
DataBinding.FieldName = 'CIFnote'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 75
|
||||||
|
end
|
||||||
|
object TV1CIFgrade: TcxGridDBColumn
|
||||||
|
Caption = #30133#28857#31561#32423
|
||||||
|
DataBinding.FieldName = 'CIFgrade'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 80
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGridLevel3: TcxGridLevel
|
object cxGridLevel3: TcxGridLevel
|
||||||
GridView = TV1
|
GridView = TV1
|
||||||
|
|
@ -2757,7 +2840,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end
|
end
|
||||||
object Panel_msg: TPanel
|
object Panel_msg: TPanel
|
||||||
Left = 9
|
Left = 9
|
||||||
Top = 187
|
Top = 188
|
||||||
Width = 241
|
Width = 241
|
||||||
Height = 41
|
Height = 41
|
||||||
Caption = #20877#27425#28857#20462#25913#21487#20197#35299#38500#20462#25913#25552#20132
|
Caption = #20877#27425#28857#20462#25913#21487#20197#35299#38500#20462#25913#25552#20132
|
||||||
|
|
@ -2818,7 +2901,7 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Top = 96
|
Top = 96
|
||||||
Width = 336
|
Width = 336
|
||||||
Height = 198
|
Height = 198
|
||||||
ExplicitTop = 95
|
ExplicitTop = 96
|
||||||
ExplicitWidth = 336
|
ExplicitWidth = 336
|
||||||
ExplicitHeight = 198
|
ExplicitHeight = 198
|
||||||
inherited cxButton1: TcxButton
|
inherited cxButton1: TcxButton
|
||||||
|
|
@ -2829,11 +2912,9 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
ExplicitTop = 164
|
ExplicitTop = 164
|
||||||
end
|
end
|
||||||
inherited cxButton2: TcxButton
|
inherited cxButton2: TcxButton
|
||||||
Left = 117
|
Top = 90
|
||||||
Top = 91
|
|
||||||
OnClick = cxButton2Click
|
OnClick = cxButton2Click
|
||||||
ExplicitLeft = 117
|
ExplicitTop = 90
|
||||||
ExplicitTop = 91
|
|
||||||
end
|
end
|
||||||
inherited CIFPoints111: TcxButtonEdit
|
inherited CIFPoints111: TcxButtonEdit
|
||||||
Left = 208
|
Left = 208
|
||||||
|
|
@ -2848,11 +2929,11 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
ExplicitTop = 46
|
ExplicitTop = 46
|
||||||
end
|
end
|
||||||
inherited CIFnote: TcxButtonEdit
|
inherited CIFnote: TcxButtonEdit
|
||||||
Left = 115
|
Left = 116
|
||||||
Top = 44
|
Top = 44
|
||||||
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
Properties.OnButtonClick = hand_feelPropertiesButtonClick
|
||||||
OnEnter = edtScanEnter
|
OnEnter = edtScanEnter
|
||||||
ExplicitLeft = 115
|
ExplicitLeft = 116
|
||||||
ExplicitTop = 44
|
ExplicitTop = 44
|
||||||
end
|
end
|
||||||
inherited CIFPoints: TcxComboBox
|
inherited CIFPoints: TcxComboBox
|
||||||
|
|
@ -2983,8 +3064,10 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
end
|
end
|
||||||
inherited SpeedButton_zdykey2: TSpeedButton
|
inherited SpeedButton_zdykey2: TSpeedButton
|
||||||
Left = 247
|
Left = 247
|
||||||
|
Top = 125
|
||||||
OnClick = FrameKeyBoard1SpeedButton1Click
|
OnClick = FrameKeyBoard1SpeedButton1Click
|
||||||
ExplicitLeft = 247
|
ExplicitLeft = 247
|
||||||
|
ExplicitTop = 125
|
||||||
end
|
end
|
||||||
inherited SpeedButton_zdykey1: TSpeedButton
|
inherited SpeedButton_zdykey1: TSpeedButton
|
||||||
OnClick = FrameKeyBoard1SpeedButton1Click
|
OnClick = FrameKeyBoard1SpeedButton1Click
|
||||||
|
|
@ -3198,8 +3281,8 @@ inherited frmMachRollMain: TfrmMachRollMain
|
||||||
Connection = DataLink_TradeInsp.ADOLink
|
Connection = DataLink_TradeInsp.ADOLink
|
||||||
LockType = ltReadOnly
|
LockType = ltReadOnly
|
||||||
Parameters = <>
|
Parameters = <>
|
||||||
Left = 848
|
Left = 829
|
||||||
Top = 127
|
Top = 100
|
||||||
end
|
end
|
||||||
object ADOQueryPrint: TADOQuery
|
object ADOQueryPrint: TADOQuery
|
||||||
Connection = DataLink_TradeInsp.ADOLink
|
Connection = DataLink_TradeInsp.ADOLink
|
||||||
|
|
|
||||||
|
|
@ -310,6 +310,16 @@ type
|
||||||
dxLayoutItem_JYNote: TdxLayoutItem;
|
dxLayoutItem_JYNote: TdxLayoutItem;
|
||||||
Org_Weight: TcxTextEdit;
|
Org_Weight: TcxTextEdit;
|
||||||
dxLayoutItem_Org_Weight: TdxLayoutItem;
|
dxLayoutItem_Org_Weight: TdxLayoutItem;
|
||||||
|
DJNote: TcxTextEdit;
|
||||||
|
dxLayoutItem_DJNote: TdxLayoutItem;
|
||||||
|
Tv2DJNote: TcxGridDBColumn;
|
||||||
|
Tv2CIFnote: TcxGridDBColumn;
|
||||||
|
Tv3color_diff: TcxGridDBColumn;
|
||||||
|
TV1CIFType: TcxGridDBColumn;
|
||||||
|
TV1DJNote: TcxGridDBColumn;
|
||||||
|
TV1CIFnote: TcxGridDBColumn;
|
||||||
|
TV1CIFgrade: TcxGridDBColumn;
|
||||||
|
Tv2CIFgrade: TcxGridDBColumn;
|
||||||
procedure FormCreate(Sender: TObject);
|
procedure FormCreate(Sender: TObject);
|
||||||
procedure FormShow(Sender: TObject);
|
procedure FormShow(Sender: TObject);
|
||||||
procedure Button_badClick(Sender: TObject);
|
procedure Button_badClick(Sender: TObject);
|
||||||
|
|
@ -360,6 +370,8 @@ type
|
||||||
procedure hand_feelPropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
procedure hand_feelPropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
||||||
procedure frameBads1cxButton1Click(Sender: TObject);
|
procedure frameBads1cxButton1Click(Sender: TObject);
|
||||||
procedure btnClearClick(Sender: TObject);
|
procedure btnClearClick(Sender: TObject);
|
||||||
|
procedure Tv3color_diffPropertiesEditValueChanged(Sender: TObject);
|
||||||
|
procedure Tv3color_diffPropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
||||||
private
|
private
|
||||||
FCIID, FOperationStatus, FCIFName, FWorkshop: string;
|
FCIID, FOperationStatus, FCIFName, FWorkshop: string;
|
||||||
FBCIOID, FOrderNo, FMainId, FSubId, FPCId, FConNo, FConMId, fBuyConNo, FConSId: string;
|
FBCIOID, FOrderNo, FMainId, FSubId, FPCId, FConNo, FConMId, fBuyConNo, FConSId: string;
|
||||||
|
|
@ -1849,6 +1861,61 @@ begin
|
||||||
CDS_2.Delete;
|
CDS_2.Delete;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfrmMachRollMain.Tv3color_diffPropertiesButtonClick(Sender: TObject; AButtonIndex: Integer);
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
try
|
||||||
|
frmZDYHelp := TfrmZDYHelp.Create(Application);
|
||||||
|
with frmZDYHelp do
|
||||||
|
begin
|
||||||
|
flag := 'color_diff';
|
||||||
|
flagname := 'ÑÕÉ«²îÒì';
|
||||||
|
if ShowModal = 1 then
|
||||||
|
begin
|
||||||
|
Self.CDS_3.Edit;
|
||||||
|
Self.CDS_3.FieldByName('color_diff').Value := Trim(ClientDataSet1.fieldbyname('ZDYName').AsString);
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
finally
|
||||||
|
frmZDYHelp.Free;
|
||||||
|
end;
|
||||||
|
Tv3color_diffPropertiesEditValueChanged(Sender);
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure TfrmMachRollMain.Tv3color_diffPropertiesEditValueChanged(Sender: TObject);
|
||||||
|
var
|
||||||
|
mvalue, FFieldName: string;
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
if cds_3.IsEmpty then
|
||||||
|
exit;
|
||||||
|
|
||||||
|
mvalue := TcxTextEdit(Sender).EditingText;
|
||||||
|
FFieldName := Trim(Tv3.Controller.FocusedColumn.DataBinding.FilterFieldName);
|
||||||
|
cds_3.Edit;
|
||||||
|
cds_3.FieldByName(FFieldName).Value := mvalue;
|
||||||
|
cds_3.Post;
|
||||||
|
|
||||||
|
try
|
||||||
|
ADOQueryBaseCmd.Connection.BeginTrans;
|
||||||
|
with ADOQueryBaseCmd do
|
||||||
|
begin
|
||||||
|
Close;
|
||||||
|
sql.Clear;
|
||||||
|
sql.Add(' update Trade_Cloth_Inspect ');
|
||||||
|
sql.Add(' set ' + FFieldName + '=' + QuotedStr(Trim(mvalue)));
|
||||||
|
sql.Add(' where ');
|
||||||
|
sql.Add(' EXISTS(select X.RTValue from [dbo].[F_Tool_SplitString](' + quotedstr(cds_3.FieldByName('CIID').AsString) + ','','') X where X.RTValue=Trade_Cloth_Inspect.CIID) ');
|
||||||
|
// showmessage(sql.text);
|
||||||
|
ExecSQL;
|
||||||
|
end;
|
||||||
|
ADOQueryBaseCmd.Connection.CommitTrans;
|
||||||
|
except
|
||||||
|
ADOQueryBaseCmd.Connection.RollbackTrans;
|
||||||
|
application.MessageBox(PChar(Exception(ExceptObject).Message), 'ÌáʾÐÅÏ¢', 0);
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfrmMachRollMain.Tv3CustomDrawCell(Sender: TcxCustomGridTableView; ACanvas: TcxCanvas; AViewInfo: TcxGridTableDataCellViewInfo; var ADone: Boolean);
|
procedure TfrmMachRollMain.Tv3CustomDrawCell(Sender: TcxCustomGridTableView; ACanvas: TcxCanvas; AViewInfo: TcxGridTableDataCellViewInfo; var ADone: Boolean);
|
||||||
begin
|
begin
|
||||||
if AViewInfo.GridRecord.Values[TcxGridDBTableView(Sender).GetColumnByFieldName('Grade').Index] = '次品' then
|
if AViewInfo.GridRecord.Values[TcxGridDBTableView(Sender).GetColumnByFieldName('Grade').Index] = '次品' then
|
||||||
|
|
@ -2069,7 +2136,7 @@ begin
|
||||||
edit_roll_auto.Text := '';
|
edit_roll_auto.Text := '';
|
||||||
if cds_params.fieldbyName('BeginPieceNo').AsInteger > 0 then
|
if cds_params.fieldbyName('BeginPieceNo').AsInteger > 0 then
|
||||||
begin
|
begin
|
||||||
PieceNo.Text := cds_params.fieldbyName('BeginPieceNo').AsString;
|
// PieceNo.Text := cds_params.fieldbyName('BeginPieceNo').AsString;
|
||||||
end;
|
end;
|
||||||
// 倒序
|
// 倒序
|
||||||
if (cds_params.fieldbyName('EndPieceNo').AsInteger > 0) and (cds_params.fieldbyName('BeginPieceNo').AsInteger > cds_params.fieldbyName('EndPieceNo').AsInteger) then
|
if (cds_params.fieldbyName('EndPieceNo').AsInteger > 0) and (cds_params.fieldbyName('BeginPieceNo').AsInteger > cds_params.fieldbyName('EndPieceNo').AsInteger) then
|
||||||
|
|
@ -2139,7 +2206,7 @@ begin
|
||||||
begin
|
begin
|
||||||
Close;
|
Close;
|
||||||
SQL.Clear;
|
SQL.Clear;
|
||||||
SQL.Add('select * from Trade_Cloth_Inspect_Flaw where CIID=' + QuotedStr(trim(MCIID)));
|
SQL.Add('select *,DJNote=(select DJNote from Trade_Cloth_Inspect X where X.CIID=A.CIID) from Trade_Cloth_Inspect_Flaw A where CIID=' + QuotedStr(trim(MCIID)));
|
||||||
Open;
|
Open;
|
||||||
end;
|
end;
|
||||||
SCreateCDS(ADOQueryBaseTemp, CDS_2);
|
SCreateCDS(ADOQueryBaseTemp, CDS_2);
|
||||||
|
|
@ -2159,7 +2226,7 @@ begin
|
||||||
begin
|
begin
|
||||||
Close;
|
Close;
|
||||||
SQL.Clear;
|
SQL.Clear;
|
||||||
SQL.Add('select * from Trade_Cloth_Inspect_Flaw where CIID=' + QuotedStr(trim(MCIID)));
|
SQL.Add('select *,DJNote=(select DJNote from Trade_Cloth_Inspect X where X.CIID=A.CIID) from Trade_Cloth_Inspect_Flaw A where CIID=' + QuotedStr(trim(MCIID)));
|
||||||
Open;
|
Open;
|
||||||
end;
|
end;
|
||||||
SCreateCDS(ADOQueryBaseTemp, cds_1);
|
SCreateCDS(ADOQueryBaseTemp, cds_1);
|
||||||
|
|
@ -2396,7 +2463,7 @@ end;
|
||||||
|
|
||||||
procedure TfrmMachRollMain.cxButton2Click(Sender: TObject);
|
procedure TfrmMachRollMain.cxButton2Click(Sender: TObject);
|
||||||
var
|
var
|
||||||
CIFType: string;
|
CIFType, CIFgrade: string;
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
if FCIFName = '' then
|
if FCIFName = '' then
|
||||||
|
|
@ -2414,6 +2481,7 @@ begin
|
||||||
Open;
|
Open;
|
||||||
end;
|
end;
|
||||||
CIFType := ADOQueryBaseTemp.FieldByName('note1').AsString;
|
CIFType := ADOQueryBaseTemp.FieldByName('note1').AsString;
|
||||||
|
CIFgrade := ADOQueryBaseTemp.FieldByName('note2').AsString;
|
||||||
with CDS_2 do
|
with CDS_2 do
|
||||||
begin
|
begin
|
||||||
Append;
|
Append;
|
||||||
|
|
@ -2431,6 +2499,7 @@ begin
|
||||||
fieldbyName('CIFPoints').value := StrToFloatDef(trim(frameBads1.CIFPoints.Text), 0);
|
fieldbyName('CIFPoints').value := StrToFloatDef(trim(frameBads1.CIFPoints.Text), 0);
|
||||||
fieldbyName('CIFnote').value := trim(frameBads1.CIFnote.Text);
|
fieldbyName('CIFnote').value := trim(frameBads1.CIFnote.Text);
|
||||||
fieldbyName('CIFType').value := trim(CIFType);
|
fieldbyName('CIFType').value := trim(CIFType);
|
||||||
|
fieldbyName('CIFgrade').value := trim(CIFgrade);
|
||||||
// if frameBads1.RadioGroup1.ItemIndex > -1 then
|
// if frameBads1.RadioGroup1.ItemIndex > -1 then
|
||||||
// begin
|
// begin
|
||||||
// if frameBads1.RadioGroup1.ItemIndex < 3 then
|
// if frameBads1.RadioGroup1.ItemIndex < 3 then
|
||||||
|
|
@ -2847,6 +2916,7 @@ begin
|
||||||
fieldbyName('JYNote').value := trim(JYNote.Text);
|
fieldbyName('JYNote').value := trim(JYNote.Text);
|
||||||
fieldbyName('CINote').value := trim(CINote.Text);
|
fieldbyName('CINote').value := trim(CINote.Text);
|
||||||
fieldbyName('Org_Weight').value := trim(Org_Weight.Text);
|
fieldbyName('Org_Weight').value := trim(Org_Weight.Text);
|
||||||
|
fieldbyName('DJNote').value := trim(DJNote.Text);
|
||||||
/// 新加的一堆 ///
|
/// 新加的一堆 ///
|
||||||
|
|
||||||
//拼匹
|
//拼匹
|
||||||
|
|
@ -3051,6 +3121,15 @@ begin
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
with ADOQueryBaseTemp do
|
||||||
|
begin
|
||||||
|
Close;
|
||||||
|
sql.Clear;
|
||||||
|
sql.Add('Update Trade_Cloth_Inspect Set PrtDate=getdate(),Prter=''' + Trim(DName) + '''');
|
||||||
|
sql.Add(' where CIID=''' + Trim(MCIID) + '''');
|
||||||
|
ExecSQL;
|
||||||
|
end;
|
||||||
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@ inherited frmTradeClothInspList: TfrmTradeClothInspList
|
||||||
Color = clBtnFace
|
Color = clBtnFace
|
||||||
Font.Height = -16
|
Font.Height = -16
|
||||||
Position = poDefault
|
Position = poDefault
|
||||||
ExplicitLeft = -154
|
ExplicitLeft = -117
|
||||||
|
ExplicitTop = -188
|
||||||
ExplicitWidth = 1312
|
ExplicitWidth = 1312
|
||||||
ExplicitHeight = 648
|
ExplicitHeight = 648
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
|
|
@ -104,7 +105,7 @@ inherited frmTradeClothInspList: TfrmTradeClothInspList
|
||||||
end
|
end
|
||||||
object cxGrid1: TcxGrid [1]
|
object cxGrid1: TcxGrid [1]
|
||||||
Left = -37
|
Left = -37
|
||||||
Top = 193
|
Top = 194
|
||||||
Width = 1296
|
Width = 1296
|
||||||
Height = 390
|
Height = 390
|
||||||
BorderStyle = cxcbsNone
|
BorderStyle = cxcbsNone
|
||||||
|
|
@ -153,7 +154,7 @@ inherited frmTradeClothInspList: TfrmTradeClothInspList
|
||||||
end
|
end
|
||||||
item
|
item
|
||||||
Kind = skSum
|
Kind = skSum
|
||||||
Column = v1Column14
|
Column = Tv1CIFPoints
|
||||||
end
|
end
|
||||||
item
|
item
|
||||||
Format = #26816#39564#31995#25968'=#.##'
|
Format = #26816#39564#31995#25968'=#.##'
|
||||||
|
|
@ -367,9 +368,9 @@ inherited frmTradeClothInspList: TfrmTradeClothInspList
|
||||||
Options.Editing = False
|
Options.Editing = False
|
||||||
Width = 66
|
Width = 66
|
||||||
end
|
end
|
||||||
object v1Column14: TcxGridDBColumn
|
object Tv1CIFPoints: TcxGridDBColumn
|
||||||
Caption = #25187#20998
|
Caption = #25187#20998
|
||||||
DataBinding.FieldName = 'KouFenQty'
|
DataBinding.FieldName = 'CIFPoints'
|
||||||
DataBinding.IsNullValueType = True
|
DataBinding.IsNullValueType = True
|
||||||
HeaderAlignmentHorz = taCenter
|
HeaderAlignmentHorz = taCenter
|
||||||
Options.Editing = False
|
Options.Editing = False
|
||||||
|
|
@ -686,6 +687,22 @@ inherited frmTradeClothInspList: TfrmTradeClothInspList
|
||||||
Options.Editing = False
|
Options.Editing = False
|
||||||
Width = 80
|
Width = 80
|
||||||
end
|
end
|
||||||
|
object Tv1DJNote: TcxGridDBColumn
|
||||||
|
Caption = #25171#21367#22791#27880
|
||||||
|
DataBinding.FieldName = 'DJNote'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 80
|
||||||
|
end
|
||||||
|
object Tv1CIFnotes: TcxGridDBColumn
|
||||||
|
Caption = #30133#28857#25551#36848
|
||||||
|
DataBinding.FieldName = 'CIFnotes'
|
||||||
|
DataBinding.IsNullValueType = True
|
||||||
|
HeaderAlignmentHorz = taCenter
|
||||||
|
Options.Editing = False
|
||||||
|
Width = 200
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object cxGrid1Level1: TcxGridLevel
|
object cxGrid1Level1: TcxGridLevel
|
||||||
GridView = Tv1
|
GridView = Tv1
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ type
|
||||||
v1Column28: TcxGridDBColumn;
|
v1Column28: TcxGridDBColumn;
|
||||||
v1Column10: TcxGridDBColumn;
|
v1Column10: TcxGridDBColumn;
|
||||||
v1Column20: TcxGridDBColumn;
|
v1Column20: TcxGridDBColumn;
|
||||||
v1Column14: TcxGridDBColumn;
|
Tv1CIFPoints: TcxGridDBColumn;
|
||||||
v1Column12: TcxGridDBColumn;
|
v1Column12: TcxGridDBColumn;
|
||||||
v1Column9: TcxGridDBColumn;
|
v1Column9: TcxGridDBColumn;
|
||||||
v1Column42: TcxGridDBColumn;
|
v1Column42: TcxGridDBColumn;
|
||||||
|
|
@ -187,6 +187,8 @@ type
|
||||||
Tv1WeiMi: TcxGridDBColumn;
|
Tv1WeiMi: TcxGridDBColumn;
|
||||||
Tv1CINote: TcxGridDBColumn;
|
Tv1CINote: TcxGridDBColumn;
|
||||||
Tv1Org_Weight: TcxGridDBColumn;
|
Tv1Org_Weight: TcxGridDBColumn;
|
||||||
|
Tv1DJNote: TcxGridDBColumn;
|
||||||
|
Tv1CIFnotes: TcxGridDBColumn;
|
||||||
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
procedure FormClose(Sender: TObject; var Action: TCloseAction);
|
||||||
procedure FormCreate(Sender: TObject);
|
procedure FormCreate(Sender: TObject);
|
||||||
procedure TBCloseClick(Sender: TObject);
|
procedure TBCloseClick(Sender: TObject);
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ type
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
U_DataLink,U_iniParam;
|
U_DataLink, U_iniParam;
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
procedure TframeBads.CIFBegPropertiesEditValueChanged(Sender: TObject);
|
procedure TframeBads.CIFBegPropertiesEditValueChanged(Sender: TObject);
|
||||||
|
|
@ -159,69 +159,214 @@ begin
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
//procedure TframeBads.InitBadPanel();
|
||||||
|
//var
|
||||||
|
// speedBtn: TSpeedButton;
|
||||||
|
// zdyName, ZdyType, LastZdyType: string;
|
||||||
|
// i, k, j: Integer;
|
||||||
|
// typeLabel: TLabel;
|
||||||
|
//begin
|
||||||
|
// with ADOTmp do
|
||||||
|
// begin
|
||||||
|
// Close;
|
||||||
|
// sql.Clear;
|
||||||
|
// sql.Add('select ZDYName,Note1 from KH_Zdy where Type=''WFBCD'' order by Note1 desc');
|
||||||
|
// Open;
|
||||||
|
// end;
|
||||||
|
// if ADOTmp.IsEmpty then
|
||||||
|
// begin
|
||||||
|
// Application.MessageBox('没有定义疵点!', '提示', 0);
|
||||||
|
// Exit;
|
||||||
|
// end;
|
||||||
|
// if fRowNumber = 0 then
|
||||||
|
// fRowNumber := 5;
|
||||||
|
//
|
||||||
|
// j := fRowNumber;
|
||||||
|
// if fBadBtnSize < 30 then
|
||||||
|
// fBadBtnSize := 40;
|
||||||
|
//
|
||||||
|
// cxScrollBox1.DisableAlign;
|
||||||
|
// with ADOTmp do
|
||||||
|
// begin
|
||||||
|
// First;
|
||||||
|
// i := 0;
|
||||||
|
// while not Eof do
|
||||||
|
// begin
|
||||||
|
// ZdyType := Trim(fieldbyname('Note1').AsString);
|
||||||
|
// k := i div j;
|
||||||
|
// zdyName := Trim(fieldbyname('ZDYName').AsString);
|
||||||
|
//
|
||||||
|
// speedBtn := TSpeedButton.Create(self);
|
||||||
|
// speedBtn.OnClick := SpeedButtonClick;
|
||||||
|
//
|
||||||
|
// speedBtn.Width := fBadBtnSize;
|
||||||
|
// speedBtn.Height := fBadBtnSize;
|
||||||
|
//
|
||||||
|
// speedBtn.Left := 5 + (i mod j) * speedBtn.Width;
|
||||||
|
// speedBtn.Top := 3 + k * speedBtn.Height;
|
||||||
|
//
|
||||||
|
// speedBtn.Parent := cxScrollBox1;
|
||||||
|
// speedBtn.Hint := zdyName;
|
||||||
|
// if Length(zdyName) > 4 then
|
||||||
|
// begin
|
||||||
|
// speedBtn.Caption := Copy(zdyName, 1, 4) + #13 + Copy(zdyName, 5, Length(zdyName) - 4);
|
||||||
|
// end
|
||||||
|
// else
|
||||||
|
// speedBtn.Caption := zdyName;
|
||||||
|
//
|
||||||
|
// i := i + 1;
|
||||||
|
// Next;
|
||||||
|
// end;
|
||||||
|
// end;
|
||||||
|
// cxScrollBox1.EnableAlign;
|
||||||
|
// if gFlawscore then
|
||||||
|
// begin
|
||||||
|
// RadioGroup1.Items.Text := '1' + #13#10 + '2' + #13#10 + '3' + #13#10 + '4' + #13#10 + '整匹' + #13#10 + '连续出现瑕疵';
|
||||||
|
// end;
|
||||||
|
//end;
|
||||||
|
|
||||||
procedure TframeBads.InitBadPanel();
|
procedure TframeBads.InitBadPanel();
|
||||||
|
const
|
||||||
|
nBtnHeight = 50; // 疵点按钮高度=两行文字的高度
|
||||||
var
|
var
|
||||||
speedBtn: TSpeedButton;
|
speedBtn: TSpeedButton;
|
||||||
zdyName: string;
|
typeLabel: TLabel;
|
||||||
i, k, j: Integer;
|
zdyName, ZdyType, LastZdyType: string;
|
||||||
|
i, j: Integer;
|
||||||
|
col, row: Integer;
|
||||||
begin
|
begin
|
||||||
with ADOTmp do
|
with ADOTmp do
|
||||||
begin
|
begin
|
||||||
Close;
|
Close;
|
||||||
sql.Clear;
|
SQL.Clear;
|
||||||
sql.Add('select ZDYName from KH_Zdy where Type=''WFBCD'' order by ZDYNO ');
|
SQL.Add('select ZDYName, Note1 from KH_Zdy ' +
|
||||||
|
'where Type=''WFBCD'' order by Note1 desc');
|
||||||
Open;
|
Open;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if ADOTmp.IsEmpty then
|
if ADOTmp.IsEmpty then
|
||||||
begin
|
begin
|
||||||
Application.MessageBox('ûÓж¨Òå´Ãµã£¡', 'Ìáʾ', 0);
|
Application.MessageBox('ûÓж¨Òå´Ãµã£¡', 'Ìáʾ', 0);
|
||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if fRowNumber = 0 then
|
if fRowNumber = 0 then
|
||||||
fRowNumber := 5;
|
fRowNumber := 5;
|
||||||
|
|
||||||
j := fRowNumber;
|
j := fRowNumber;
|
||||||
|
|
||||||
if fBadBtnSize < 30 then
|
if fBadBtnSize < 30 then
|
||||||
fBadBtnSize := 40;
|
fBadBtnSize := 40;
|
||||||
|
|
||||||
cxScrollBox1.DisableAlign;
|
cxScrollBox1.DisableAlign;
|
||||||
|
|
||||||
|
// 如果 InitBadPanel 会重复调用,先清空旧控件
|
||||||
|
while cxScrollBox1.ControlCount > 0 do
|
||||||
|
cxScrollBox1.Controls[0].Free;
|
||||||
|
|
||||||
with ADOTmp do
|
with ADOTmp do
|
||||||
begin
|
begin
|
||||||
First;
|
First;
|
||||||
|
|
||||||
i := 0;
|
i := 0;
|
||||||
|
col := 0;
|
||||||
|
row := 0;
|
||||||
|
LastZdyType := '';
|
||||||
|
|
||||||
while not Eof do
|
while not Eof do
|
||||||
begin
|
begin
|
||||||
k := i div j;
|
ZdyType := Trim(FieldByName('Note1').AsString);
|
||||||
zdyName := Trim(fieldbyname('ZDYName').AsString);
|
zdyName := Trim(FieldByName('ZDYName').AsString);
|
||||||
speedBtn := TSpeedButton.Create(self);
|
|
||||||
|
// ZdyType 发生变化,创建一个新的类型标题
|
||||||
|
if (i = 0) or (ZdyType <> LastZdyType) then
|
||||||
|
begin
|
||||||
|
// 如果不是第一组,先留一点空白
|
||||||
|
if i > 0 then
|
||||||
|
Inc(row);
|
||||||
|
|
||||||
|
// 创建 ZdyType 标题
|
||||||
|
typeLabel := TLabel.Create(Self);
|
||||||
|
typeLabel.Parent := cxScrollBox1;
|
||||||
|
|
||||||
|
typeLabel.Left := 5;
|
||||||
|
// typeLabel.Top := 3 + row * (fBadBtnSize + 5);
|
||||||
|
typeLabel.Top := 3 + row * nBtnHeight; // 按钮高度改为两行文字(40)后,标题Top同步按新高度计算,防止标题与按钮重叠错位
|
||||||
|
|
||||||
|
typeLabel.Width := cxScrollBox1.ClientWidth - 15;
|
||||||
|
typeLabel.Height := 20;
|
||||||
|
|
||||||
|
typeLabel.Caption := '【' + ZdyType + '】';
|
||||||
|
|
||||||
|
typeLabel.Font.Style := [fsBold];
|
||||||
|
typeLabel.Font.Size := 10;
|
||||||
|
|
||||||
|
// 进入下一行,下面开始放疵点按钮
|
||||||
|
Inc(row);
|
||||||
|
|
||||||
|
col := 0;
|
||||||
|
end;
|
||||||
|
|
||||||
|
//==========================================================
|
||||||
|
// 创建疵点按钮
|
||||||
|
//==========================================================
|
||||||
|
speedBtn := TSpeedButton.Create(Self);
|
||||||
|
speedBtn.Parent := cxScrollBox1;
|
||||||
speedBtn.OnClick := SpeedButtonClick;
|
speedBtn.OnClick := SpeedButtonClick;
|
||||||
|
|
||||||
speedBtn.Width := fBadBtnSize;
|
// speedBtn.Width := fBadBtnSize;
|
||||||
speedBtn.Height := fBadBtnSize;
|
// speedBtn.Height := fBadBtnSize;
|
||||||
|
speedBtn.Width := 65; // 宽度保持不变
|
||||||
|
speedBtn.Height := nBtnHeight; // 只改高度,改为两行文字的高度(40)
|
||||||
|
|
||||||
speedBtn.Left := 5 + (i mod j) * speedBtn.Width;
|
speedBtn.Font.Size := 8; // 字号
|
||||||
speedBtn.Top := 3 + k * speedBtn.Height;
|
|
||||||
|
speedBtn.Left := 5 + col * speedBtn.Width;
|
||||||
|
speedBtn.Top := 3 + row * speedBtn.Height; //
|
||||||
|
|
||||||
speedBtn.Parent := cxScrollBox1;
|
|
||||||
speedBtn.Hint := zdyName;
|
speedBtn.Hint := zdyName;
|
||||||
|
|
||||||
if Length(zdyName) > 4 then
|
if Length(zdyName) > 4 then
|
||||||
begin
|
begin
|
||||||
speedBtn.Caption := Copy(zdyName, 1, 4) + #13 + Copy(zdyName, 5, Length(zdyName) - 4);
|
speedBtn.Caption :=
|
||||||
|
Copy(zdyName, 1, 4) + #13 +
|
||||||
|
Copy(zdyName, 5, Length(zdyName) - 4);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
speedBtn.Caption := zdyName;
|
speedBtn.Caption := zdyName;
|
||||||
|
|
||||||
i := i + 1;
|
Inc(i);
|
||||||
|
Inc(col);
|
||||||
|
|
||||||
|
// 当前行已经达到最大按钮数量
|
||||||
|
if col >= j then
|
||||||
|
begin
|
||||||
|
col := 0;
|
||||||
|
Inc(row);
|
||||||
|
end;
|
||||||
|
|
||||||
|
LastZdyType := ZdyType;
|
||||||
|
|
||||||
Next;
|
Next;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
cxScrollBox1.EnableAlign;
|
cxScrollBox1.EnableAlign;
|
||||||
|
|
||||||
if gFlawscore then
|
if gFlawscore then
|
||||||
begin
|
begin
|
||||||
RadioGroup1.Items.Text := '1' + #13#10 + '2' + #13#10 + '3' + #13#10 + '4' + #13#10 + 'ÕûÆ¥' + #13#10 + 'Á¬Ðø³öÏÖ覴Ã';
|
RadioGroup1.Items.Text :=
|
||||||
|
'1' + #13#10 +
|
||||||
|
'2' + #13#10 +
|
||||||
|
'3' + #13#10 +
|
||||||
|
'4' + #13#10 +
|
||||||
|
'整匹' + #13#10 +
|
||||||
|
'连续出现瑕疵';
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
procedure TframeBads.IsSubtractClick(Sender: TObject);
|
procedure TframeBads.IsSubtractClick(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user