SearchFme.dfm 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. object SearchFrame: TSearchFrame
  2. Left = 0
  3. Top = 0
  4. Width = 388
  5. Height = 511
  6. Ctl3D = True
  7. Font.Charset = ANSI_CHARSET
  8. Font.Color = clWindowText
  9. Font.Height = -12
  10. Font.Name = #23435#20307
  11. Font.Style = []
  12. ParentCtl3D = False
  13. ParentFont = False
  14. TabOrder = 0
  15. object pnlTitle: TPanel
  16. Left = 0
  17. Top = 0
  18. Width = 388
  19. Height = 20
  20. Align = alTop
  21. BevelOuter = bvNone
  22. Color = clGradientInactiveCaption
  23. TabOrder = 0
  24. object labTitle: TJimGradLabel
  25. Left = 0
  26. Top = 0
  27. Width = 388
  28. Height = 20
  29. Align = alTop
  30. AutoSize = False
  31. ColorBegin = clGradientInactiveCaption
  32. ColorEnd = clGradientInactiveCaption
  33. Caption = ' '#26597#25214#23450#20301
  34. Font.Charset = GB2312_CHARSET
  35. Font.Color = clWindowText
  36. Font.Height = -12
  37. Font.Name = #23435#20307
  38. Font.Style = [fsBold]
  39. ParentFont = False
  40. Layout = tlCenter
  41. end
  42. end
  43. object pnlSearch: TPanel
  44. Left = 0
  45. Top = 20
  46. Width = 388
  47. Height = 491
  48. Align = alClient
  49. BevelOuter = bvNone
  50. TabOrder = 1
  51. object pnlSearchType: TPanel
  52. Left = 0
  53. Top = 0
  54. Width = 388
  55. Height = 42
  56. Align = alTop
  57. BevelOuter = bvNone
  58. TabOrder = 0
  59. DesignSize = (
  60. 388
  61. 42)
  62. object gbType: TGroupBox
  63. Left = 3
  64. Top = 2
  65. Width = 382
  66. Height = 38
  67. Anchors = [akLeft, akTop, akRight]
  68. Caption = #26597#25214#27169#24335
  69. Ctl3D = False
  70. ParentCtl3D = False
  71. TabOrder = 0
  72. object rbOverRange: TRadioButton
  73. Tag = 1
  74. Left = 83
  75. Top = 15
  76. Width = 45
  77. Height = 17
  78. Caption = #36229#35745
  79. TabOrder = 0
  80. OnClick = rbCommonClick
  81. end
  82. object rbCommon: TRadioButton
  83. Left = 8
  84. Top = 15
  85. Width = 73
  86. Height = 17
  87. Caption = #25991#26412#26597#35810
  88. Checked = True
  89. TabOrder = 1
  90. TabStop = True
  91. OnClick = rbCommonClick
  92. end
  93. object rbBelowRange: TRadioButton
  94. Tag = 1
  95. Left = 132
  96. Top = 15
  97. Width = 45
  98. Height = 17
  99. Caption = #28431#35745
  100. TabOrder = 2
  101. OnClick = rbCommonClick
  102. end
  103. end
  104. end
  105. object pnlSearchKey: TPanel
  106. Left = 0
  107. Top = 42
  108. Width = 388
  109. Height = 25
  110. Align = alTop
  111. BevelOuter = bvNone
  112. TabOrder = 1
  113. object edtKeyword: TEdit
  114. Left = 3
  115. Top = 3
  116. Width = 221
  117. Height = 18
  118. Hint = #36229#35745#27169#24335#19979#65292#19981#21487#20197#20351#29992#20851#38190#23383#25628#32034
  119. Ctl3D = False
  120. ParentCtl3D = False
  121. TabOrder = 0
  122. end
  123. object btnSearch: TButton
  124. Left = 228
  125. Top = 1
  126. Width = 63
  127. Height = 21
  128. Caption = #25628#32034
  129. TabOrder = 1
  130. OnClick = btnSearchClick
  131. end
  132. end
  133. object pnlSearchResult: TPanel
  134. Left = 0
  135. Top = 67
  136. Width = 388
  137. Height = 424
  138. Align = alClient
  139. BevelOuter = bvNone
  140. TabOrder = 2
  141. object zgSearchResult: TZJGrid
  142. Left = 0
  143. Top = 0
  144. Width = 388
  145. Height = 424
  146. Options = [goRangeSelect, goRowSizing, goColSizing, goCellNotMaintainData, goFixedRowShowNo, goFixedColShowNo, goAlwaysShowSelection]
  147. OptionsEx = []
  148. ColCount = 8
  149. RowCount = 4
  150. ShowGridLine = False
  151. DefaultColWidth = 73
  152. DefaultFixedColWidth = 25
  153. DefaultFixedRowHeight = 35
  154. Selection.AlphaBlend = False
  155. Selection.TransparentColor = False
  156. OnMouseDown = zgSearchResultMouseDown
  157. Align = alClient
  158. end
  159. end
  160. end
  161. object zaSearchResult: TZjGridDBA
  162. Columns = <
  163. item
  164. Title.Caption = #39033#30446#33410#32534#21495
  165. Title.CaptionAcrossCols = '1'
  166. Title.Font.Charset = GB2312_CHARSET
  167. Title.Font.Color = clWindowText
  168. Title.Font.Height = -12
  169. Title.Font.Name = #23435#20307
  170. Title.Font.Style = []
  171. Alignment = taLeftJustify
  172. Font.Charset = GB2312_CHARSET
  173. Font.Color = clWindowText
  174. Font.Height = -12
  175. Font.Name = #23435#20307
  176. Font.Style = []
  177. FieldName = 'Code'
  178. Width = 80
  179. Visible = False
  180. ReadOnly = True
  181. end
  182. item
  183. Title.Caption = #28165#21333#32534#21495
  184. Title.CaptionAcrossCols = '1'
  185. Title.Font.Charset = GB2312_CHARSET
  186. Title.Font.Color = clWindowText
  187. Title.Font.Height = -12
  188. Title.Font.Name = #23435#20307
  189. Title.Font.Style = []
  190. Alignment = taLeftJustify
  191. Font.Charset = GB2312_CHARSET
  192. Font.Color = clWindowText
  193. Font.Height = -12
  194. Font.Name = #23435#20307
  195. Font.Style = []
  196. FieldName = 'B_Code'
  197. Width = 65
  198. ReadOnly = True
  199. end
  200. item
  201. Title.Caption = #21517#31216
  202. Title.CaptionAcrossCols = '1'
  203. Title.Font.Charset = GB2312_CHARSET
  204. Title.Font.Color = clWindowText
  205. Title.Font.Height = -12
  206. Title.Font.Name = #23435#20307
  207. Title.Font.Style = []
  208. Alignment = taLeftJustify
  209. Font.Charset = GB2312_CHARSET
  210. Font.Color = clWindowText
  211. Font.Height = -12
  212. Font.Name = #23435#20307
  213. Font.Style = []
  214. FieldName = 'Name'
  215. Width = 120
  216. ReadOnly = True
  217. end
  218. item
  219. Title.Caption = #21333#20301
  220. Title.CaptionAcrossCols = '1'
  221. Title.Font.Charset = GB2312_CHARSET
  222. Title.Font.Color = clWindowText
  223. Title.Font.Height = -12
  224. Title.Font.Name = #23435#20307
  225. Title.Font.Style = []
  226. Alignment = taCenter
  227. Font.Charset = GB2312_CHARSET
  228. Font.Color = clWindowText
  229. Font.Height = -12
  230. Font.Name = #23435#20307
  231. Font.Style = []
  232. FieldName = 'Units'
  233. Width = 40
  234. ReadOnly = True
  235. end
  236. item
  237. Title.Caption = #21333#20215
  238. Title.CaptionAcrossCols = '1'
  239. Title.Font.Charset = GB2312_CHARSET
  240. Title.Font.Color = clWindowText
  241. Title.Font.Height = -12
  242. Title.Font.Name = #23435#20307
  243. Title.Font.Style = []
  244. Alignment = taRightJustify
  245. Font.Charset = GB2312_CHARSET
  246. Font.Color = clWindowText
  247. Font.Height = -12
  248. Font.Name = #23435#20307
  249. Font.Style = []
  250. FieldName = 'Price'
  251. Width = 60
  252. ReadOnly = True
  253. end
  254. item
  255. Title.Caption = #21512#21516#25968#37327
  256. Title.CaptionAcrossCols = '1'
  257. Title.Font.Charset = GB2312_CHARSET
  258. Title.Font.Color = clWindowText
  259. Title.Font.Height = -12
  260. Title.Font.Name = #23435#20307
  261. Title.Font.Style = []
  262. Alignment = taRightJustify
  263. Font.Charset = GB2312_CHARSET
  264. Font.Color = clWindowText
  265. Font.Height = -12
  266. Font.Name = #23435#20307
  267. Font.Style = []
  268. FieldName = 'Quantity'
  269. Width = 60
  270. ReadOnly = True
  271. end
  272. item
  273. Title.Caption = #21464#26356#25968#37327
  274. Title.CaptionAcrossCols = '1'
  275. Title.Font.Charset = GB2312_CHARSET
  276. Title.Font.Color = clWindowText
  277. Title.Font.Height = -12
  278. Title.Font.Name = #23435#20307
  279. Title.Font.Style = []
  280. Alignment = taRightJustify
  281. Font.Charset = GB2312_CHARSET
  282. Font.Color = clWindowText
  283. Font.Height = -12
  284. Font.Name = #23435#20307
  285. Font.Style = []
  286. FieldName = 'CurQcQuantity'
  287. Width = 60
  288. ReadOnly = False
  289. end
  290. item
  291. Title.Caption = #32047#35745#25968#37327
  292. Title.CaptionAcrossCols = '1'
  293. Title.Font.Charset = GB2312_CHARSET
  294. Title.Font.Color = clWindowText
  295. Title.Font.Height = -12
  296. Title.Font.Name = #23435#20307
  297. Title.Font.Style = []
  298. Alignment = taRightJustify
  299. Font.Charset = GB2312_CHARSET
  300. Font.Color = clWindowText
  301. Font.Height = -12
  302. Font.Name = #23435#20307
  303. Font.Style = []
  304. FieldName = 'AddGatherQuantity'
  305. Width = 60
  306. Visible = False
  307. ReadOnly = True
  308. end
  309. item
  310. Title.Caption = #21512#21516#23436#25104'(%)'
  311. Title.CaptionAcrossCols = '1'
  312. Title.Font.Charset = GB2312_CHARSET
  313. Title.Font.Color = clWindowText
  314. Title.Font.Height = -12
  315. Title.Font.Name = #23435#20307
  316. Title.Font.Style = []
  317. Alignment = taRightJustify
  318. Font.Charset = GB2312_CHARSET
  319. Font.Color = clWindowText
  320. Font.Height = -12
  321. Font.Name = #23435#20307
  322. Font.Style = []
  323. FieldName = 'CompleteRate'
  324. Width = 60
  325. ReadOnly = False
  326. end>
  327. Grid = zgSearchResult
  328. ExtendRowCount = 3
  329. Options = []
  330. Left = 88
  331. Top = 128
  332. end
  333. end