BGLFme.dfm 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. object BGLFrame: TBGLFrame
  2. Left = 0
  3. Top = 0
  4. Width = 399
  5. Height = 638
  6. Font.Charset = ANSI_CHARSET
  7. Font.Color = clWindowText
  8. Font.Height = -12
  9. Font.Name = #23435#20307
  10. Font.Style = []
  11. ParentFont = False
  12. TabOrder = 0
  13. object labTitle: TJimGradLabel
  14. Left = 0
  15. Top = 0
  16. Width = 399
  17. Height = 20
  18. Align = alTop
  19. AutoSize = False
  20. ColorBegin = clGradientInactiveCaption
  21. ColorEnd = clGradientInactiveCaption
  22. Caption = ' '#21464#26356#20196
  23. Font.Charset = GB2312_CHARSET
  24. Font.Color = clWindowText
  25. Font.Height = -12
  26. Font.Name = #23435#20307
  27. Font.Style = [fsBold]
  28. ParentFont = False
  29. Layout = tlCenter
  30. end
  31. object sprBGL: TSplitter
  32. Left = 0
  33. Top = 435
  34. Width = 399
  35. Height = 3
  36. Cursor = crVSplit
  37. Align = alBottom
  38. end
  39. object ToolBar: TToolBar
  40. Left = 0
  41. Top = 20
  42. Width = 399
  43. Height = 22
  44. AutoSize = True
  45. ButtonWidth = 87
  46. Caption = 'ToolBar'
  47. Color = clBtnFace
  48. EdgeBorders = []
  49. EdgeInner = esNone
  50. EdgeOuter = esNone
  51. Flat = True
  52. Images = MainForm.Images
  53. List = True
  54. ParentColor = False
  55. ShowCaptions = True
  56. TabOrder = 0
  57. TabStop = True
  58. Visible = False
  59. object tobtnNew: TToolButton
  60. Left = 0
  61. Top = 0
  62. Action = actnNew
  63. ParentShowHint = False
  64. ShowHint = True
  65. end
  66. end
  67. object pnlBGBills: TPanel
  68. Left = 0
  69. Top = 438
  70. Width = 399
  71. Height = 200
  72. Align = alBottom
  73. BevelOuter = bvNone
  74. Caption = 'pnlBGBills'
  75. TabOrder = 1
  76. object zgBGBills: TZJGrid
  77. Left = 0
  78. Top = 0
  79. Width = 399
  80. Height = 200
  81. Options = [goRangeSelect, goRowSizing, goColSizing, goCellNotMaintainData, goFixedRowShowNo, goFixedColShowNo, goAlwaysShowSelection]
  82. OptionsEx = []
  83. ColCount = 8
  84. RowCount = 2
  85. ShowGridLine = False
  86. DefaultColWidth = 73
  87. DefaultFixedColWidth = 25
  88. DefaultFixedRowHeight = 25
  89. Selection.AlphaBlend = False
  90. Selection.TransparentColor = False
  91. OnMouseDown = zgBGBillsMouseDown
  92. Align = alClient
  93. end
  94. end
  95. object pnlBGL: TPanel
  96. Left = 0
  97. Top = 42
  98. Width = 399
  99. Height = 393
  100. Align = alClient
  101. BevelOuter = bvNone
  102. TabOrder = 2
  103. object pnlBGLList: TPanel
  104. Left = 0
  105. Top = 0
  106. Width = 399
  107. Height = 271
  108. Align = alClient
  109. BevelOuter = bvNone
  110. TabOrder = 0
  111. object zgBGL: TZJGrid
  112. Left = 0
  113. Top = 0
  114. Width = 399
  115. Height = 271
  116. Options = [goRangeSelect, goRowSizing, goColSizing, goCellNotMaintainData, goFixedRowShowNo, goFixedColShowNo, goAlwaysShowSelection]
  117. OptionsEx = []
  118. ColCount = 7
  119. RowCount = 2
  120. ShowGridLine = False
  121. DefaultColWidth = 73
  122. DefaultFixedColWidth = 25
  123. DefaultFixedRowHeight = 25
  124. Selection.AlphaBlend = False
  125. Selection.TransparentColor = False
  126. OnCopy = zgBGLCopy
  127. OnPaste = zgBGLPaste
  128. OnMouseDown = zgBGLMouseDown
  129. Align = alClient
  130. end
  131. end
  132. object pnlBGLMemo: TPanel
  133. Left = 0
  134. Top = 271
  135. Width = 399
  136. Height = 122
  137. Align = alBottom
  138. BevelOuter = bvNone
  139. TabOrder = 1
  140. DesignSize = (
  141. 399
  142. 122)
  143. object lblPosition: TLabel
  144. Left = 5
  145. Top = 5
  146. Width = 96
  147. Height = 12
  148. Caption = #21464#26356#37096#20301#21450#21407#22240#65306
  149. end
  150. object lblDirection: TLabel
  151. Left = 5
  152. Top = 65
  153. Width = 96
  154. Height = 12
  155. Caption = #21464#26356#24037#31243#37327#35828#26126#65306
  156. end
  157. object dbmPos_Reason: TDBMemo
  158. Left = 5
  159. Top = 20
  160. Width = 389
  161. Height = 37
  162. Anchors = [akLeft, akTop, akRight]
  163. Ctl3D = False
  164. DataField = 'Pos_Reason'
  165. ParentCtl3D = False
  166. TabOrder = 0
  167. OnExit = dbmPos_ReasonExit
  168. end
  169. object dbmDirection: TDBMemo
  170. Left = 5
  171. Top = 80
  172. Width = 389
  173. Height = 37
  174. Anchors = [akLeft, akTop, akRight]
  175. Ctl3D = False
  176. DataField = 'Direction'
  177. ParentCtl3D = False
  178. TabOrder = 1
  179. OnExit = dbmPos_ReasonExit
  180. end
  181. end
  182. end
  183. object zaBGL: TZjGridDBA
  184. Columns = <
  185. item
  186. Title.Caption = #21464#26356#20196#21495
  187. Title.CaptionAcrossCols = '1'
  188. Title.Font.Charset = GB2312_CHARSET
  189. Title.Font.Color = clWindowText
  190. Title.Font.Height = -12
  191. Title.Font.Name = #23435#20307
  192. Title.Font.Style = []
  193. Alignment = taLeftJustify
  194. Font.Charset = GB2312_CHARSET
  195. Font.Color = clWindowText
  196. Font.Height = -12
  197. Font.Name = #23435#20307
  198. Font.Style = []
  199. FieldName = 'Code'
  200. Width = 80
  201. ReadOnly = False
  202. end
  203. item
  204. Title.Caption = #21517#31216
  205. Title.CaptionAcrossCols = '1'
  206. Title.Font.Charset = GB2312_CHARSET
  207. Title.Font.Color = clWindowText
  208. Title.Font.Height = -12
  209. Title.Font.Name = #23435#20307
  210. Title.Font.Style = []
  211. Alignment = taLeftJustify
  212. Font.Charset = GB2312_CHARSET
  213. Font.Color = clWindowText
  214. Font.Height = -12
  215. Font.Name = #23435#20307
  216. Font.Style = []
  217. FieldName = 'Name'
  218. Width = 120
  219. ReadOnly = False
  220. end
  221. item
  222. Title.Caption = #37329#39069
  223. Title.CaptionAcrossCols = '1'
  224. Title.Font.Charset = GB2312_CHARSET
  225. Title.Font.Color = clWindowText
  226. Title.Font.Height = -12
  227. Title.Font.Name = #23435#20307
  228. Title.Font.Style = []
  229. Alignment = taRightJustify
  230. Font.Charset = GB2312_CHARSET
  231. Font.Color = clWindowText
  232. Font.Height = -12
  233. Font.Name = #23435#20307
  234. Font.Style = []
  235. FieldName = 'TotalPrice'
  236. Width = 60
  237. ReadOnly = True
  238. end
  239. item
  240. Title.Caption = #25209#22797#25991#21495
  241. Title.CaptionAcrossCols = '1'
  242. Title.Font.Charset = GB2312_CHARSET
  243. Title.Font.Color = clWindowText
  244. Title.Font.Height = -12
  245. Title.Font.Name = #23435#20307
  246. Title.Font.Style = []
  247. Alignment = taLeftJustify
  248. Font.Charset = GB2312_CHARSET
  249. Font.Color = clWindowText
  250. Font.Height = -12
  251. Font.Name = #23435#20307
  252. Font.Style = []
  253. FieldName = 'ApprovalCode'
  254. Width = 80
  255. ReadOnly = False
  256. end
  257. item
  258. Title.Caption = #21464#26356#22270#21495
  259. Title.CaptionAcrossCols = '1'
  260. Title.Font.Charset = GB2312_CHARSET
  261. Title.Font.Color = clWindowText
  262. Title.Font.Height = -12
  263. Title.Font.Name = #23435#20307
  264. Title.Font.Style = []
  265. Alignment = taLeftJustify
  266. Font.Charset = GB2312_CHARSET
  267. Font.Color = clWindowText
  268. Font.Height = -12
  269. Font.Name = #23435#20307
  270. Font.Style = []
  271. FieldName = 'DrawingCode'
  272. Width = 80
  273. ReadOnly = False
  274. end
  275. item
  276. Title.Caption = #24050#25191#34892'(%)'
  277. Title.CaptionAcrossCols = '1'
  278. Title.Font.Charset = GB2312_CHARSET
  279. Title.Font.Color = clWindowText
  280. Title.Font.Height = -12
  281. Title.Font.Name = #23435#20307
  282. Title.Font.Style = []
  283. Alignment = taRightJustify
  284. Font.Charset = GB2312_CHARSET
  285. Font.Color = clWindowText
  286. Font.Height = -12
  287. Font.Name = #23435#20307
  288. Font.Style = []
  289. FieldName = 'ExecutionRate'
  290. Width = 60
  291. ReadOnly = True
  292. end>
  293. Grid = zgBGL
  294. ExtendRowCount = 1
  295. Left = 96
  296. Top = 88
  297. end
  298. object zaBGBills: TZjGridDBA
  299. Columns = <
  300. item
  301. Title.Caption = #28165#21333#32534#21495
  302. Title.CaptionAcrossCols = '1'
  303. Title.Font.Charset = GB2312_CHARSET
  304. Title.Font.Color = clWindowText
  305. Title.Font.Height = -12
  306. Title.Font.Name = #23435#20307
  307. Title.Font.Style = []
  308. Alignment = taLeftJustify
  309. Font.Charset = GB2312_CHARSET
  310. Font.Color = clWindowText
  311. Font.Height = -12
  312. Font.Name = #23435#20307
  313. Font.Style = []
  314. FieldName = 'B_Code'
  315. Width = 60
  316. ReadOnly = False
  317. end
  318. item
  319. Title.Caption = #21517#31216
  320. Title.CaptionAcrossCols = '1'
  321. Title.Font.Charset = GB2312_CHARSET
  322. Title.Font.Color = clWindowText
  323. Title.Font.Height = -12
  324. Title.Font.Name = #23435#20307
  325. Title.Font.Style = []
  326. Alignment = taLeftJustify
  327. Font.Charset = GB2312_CHARSET
  328. Font.Color = clWindowText
  329. Font.Height = -12
  330. Font.Name = #23435#20307
  331. Font.Style = []
  332. FieldName = 'Name'
  333. Width = 110
  334. ReadOnly = False
  335. end
  336. item
  337. Title.Caption = #21333#20301
  338. Title.CaptionAcrossCols = '1'
  339. Title.Font.Charset = GB2312_CHARSET
  340. Title.Font.Color = clWindowText
  341. Title.Font.Height = -12
  342. Title.Font.Name = #23435#20307
  343. Title.Font.Style = []
  344. Alignment = taCenter
  345. Font.Charset = GB2312_CHARSET
  346. Font.Color = clWindowText
  347. Font.Height = -12
  348. Font.Name = #23435#20307
  349. Font.Style = []
  350. FieldName = 'Units'
  351. Width = 35
  352. ReadOnly = False
  353. end
  354. item
  355. Title.Caption = #21333#20215
  356. Title.CaptionAcrossCols = '1'
  357. Title.Font.Charset = GB2312_CHARSET
  358. Title.Font.Color = clWindowText
  359. Title.Font.Height = -12
  360. Title.Font.Name = #23435#20307
  361. Title.Font.Style = []
  362. Alignment = taRightJustify
  363. Font.Charset = GB2312_CHARSET
  364. Font.Color = clWindowText
  365. Font.Height = -12
  366. Font.Name = #23435#20307
  367. Font.Style = []
  368. FieldName = 'Price'
  369. Width = 45
  370. ReadOnly = False
  371. end
  372. item
  373. Title.Caption = #25968#37327
  374. Title.CaptionAcrossCols = '1'
  375. Title.Font.Charset = GB2312_CHARSET
  376. Title.Font.Color = clWindowText
  377. Title.Font.Height = -12
  378. Title.Font.Name = #23435#20307
  379. Title.Font.Style = []
  380. Alignment = taRightJustify
  381. Font.Charset = GB2312_CHARSET
  382. Font.Color = clWindowText
  383. Font.Height = -12
  384. Font.Name = #23435#20307
  385. Font.Style = []
  386. FieldName = 'Quantity'
  387. Width = 50
  388. ReadOnly = False
  389. end
  390. item
  391. Title.Caption = #37329#39069
  392. Title.CaptionAcrossCols = '1'
  393. Title.Font.Charset = GB2312_CHARSET
  394. Title.Font.Color = clWindowText
  395. Title.Font.Height = -12
  396. Title.Font.Name = #23435#20307
  397. Title.Font.Style = []
  398. Alignment = taRightJustify
  399. Font.Charset = GB2312_CHARSET
  400. Font.Color = clWindowText
  401. Font.Height = -12
  402. Font.Name = #23435#20307
  403. Font.Style = []
  404. FieldName = 'TotalPrice'
  405. Width = 50
  406. ReadOnly = True
  407. end
  408. item
  409. Title.Caption = #24050#21464#26356
  410. Title.CaptionAcrossCols = '1'
  411. Title.Font.Charset = GB2312_CHARSET
  412. Title.Font.Color = clWindowText
  413. Title.Font.Height = -12
  414. Title.Font.Name = #23435#20307
  415. Title.Font.Style = []
  416. Alignment = taRightJustify
  417. Font.Charset = GB2312_CHARSET
  418. Font.Color = clWindowText
  419. Font.Height = -12
  420. Font.Name = #23435#20307
  421. Font.Style = []
  422. FieldName = 'UsedQuantity'
  423. Width = 50
  424. ReadOnly = True
  425. end>
  426. Grid = zgBGBills
  427. ExtendRowCount = 1
  428. OnGridSetCellText = zaBGBillsGridSetCellText
  429. Left = 96
  430. Top = 456
  431. end
  432. object alBGL: TActionList
  433. Images = MainForm.Images
  434. Left = 232
  435. Top = 88
  436. object actnNew: TAction
  437. Caption = #26032#22686#21464#26356#20196
  438. ImageIndex = 11
  439. OnExecute = actnNewExecute
  440. end
  441. object actnApply: TAction
  442. Caption = #24212#29992#21040#28165#21333
  443. ImageIndex = 32
  444. end
  445. object actnBatchWritePos_Reason: TAction
  446. Caption = #19968#38190#22635#21517#31216#33267#21407#22240
  447. Visible = False
  448. OnExecute = actnBatchWritePos_ReasonExecute
  449. end
  450. object actnCopyBGLBlock: TAction
  451. Caption = #22797#21046#25972#22359
  452. OnExecute = actnCopyBGLBlockExecute
  453. OnUpdate = actnCopyBGLBlockUpdate
  454. end
  455. end
  456. object dxpmBGL: TdxBarPopupMenu
  457. BarManager = MainForm.dxBarManager
  458. ItemLinks = <
  459. item
  460. Item = MainForm.dxbtnCopyBillsBlock
  461. Visible = True
  462. end
  463. item
  464. Item = MainForm.dxbtnCopy
  465. Visible = True
  466. end
  467. item
  468. Item = MainForm.dxbtnPaste
  469. Visible = True
  470. end
  471. item
  472. BeginGroup = True
  473. Item = MainForm.dxbtnDelete
  474. Visible = True
  475. end
  476. item
  477. BeginGroup = True
  478. Item = MainForm.dxbtnBatchWritePos_Reason
  479. Visible = True
  480. end>
  481. UseOwnFont = False
  482. OnPopup = dxpmBGLPopup
  483. Left = 168
  484. Top = 88
  485. end
  486. object dxpmBGBills: TdxBarPopupMenu
  487. BarManager = MainForm.dxBarManager
  488. ItemLinks = <
  489. item
  490. Item = MainForm.dxbtnCopy
  491. Visible = True
  492. end
  493. item
  494. Item = MainForm.dxbtnPaste
  495. Visible = True
  496. end
  497. item
  498. BeginGroup = True
  499. Item = MainForm.dxbtnDelete
  500. Visible = True
  501. end>
  502. UseOwnFont = False
  503. Left = 160
  504. Top = 456
  505. end
  506. end