BGLFme.dfm 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  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. FrozenCol = 0
  92. FrozenRow = 0
  93. OnMouseDown = zgBGBillsMouseDown
  94. Align = alClient
  95. end
  96. end
  97. object pnlBGL: TPanel
  98. Left = 0
  99. Top = 42
  100. Width = 399
  101. Height = 393
  102. Align = alClient
  103. BevelOuter = bvNone
  104. TabOrder = 2
  105. object pnlBGLList: TPanel
  106. Left = 0
  107. Top = 0
  108. Width = 399
  109. Height = 248
  110. Align = alClient
  111. BevelOuter = bvNone
  112. TabOrder = 0
  113. object zgBGL: TZJGrid
  114. Left = 0
  115. Top = 0
  116. Width = 399
  117. Height = 248
  118. Options = [goRangeSelect, goRowSizing, goColSizing, goCellNotMaintainData, goFixedRowShowNo, goFixedColShowNo, goAlwaysShowSelection]
  119. OptionsEx = []
  120. ColCount = 8
  121. RowCount = 2
  122. ShowGridLine = False
  123. DefaultColWidth = 73
  124. DefaultFixedColWidth = 25
  125. DefaultFixedRowHeight = 25
  126. Selection.AlphaBlend = False
  127. Selection.TransparentColor = False
  128. FrozenCol = 0
  129. FrozenRow = 0
  130. OnCellTextChanged = zgBGLCellTextChanged
  131. OnCopy = zgBGLCopy
  132. OnPaste = zgBGLPaste
  133. OnMouseDown = zgBGLMouseDown
  134. Align = alClient
  135. end
  136. end
  137. object pnlBGLMemo: TPanel
  138. Left = 0
  139. Top = 248
  140. Width = 399
  141. Height = 145
  142. Align = alBottom
  143. BevelOuter = bvNone
  144. TabOrder = 1
  145. DesignSize = (
  146. 399
  147. 145)
  148. object lblPosition: TLabel
  149. Left = 5
  150. Top = 5
  151. Width = 96
  152. Height = 12
  153. Caption = #21464#26356#37096#20301#21450#21407#22240#65306
  154. end
  155. object lblDirection: TLabel
  156. Left = 5
  157. Top = 75
  158. Width = 96
  159. Height = 12
  160. Caption = #21464#26356#24037#31243#37327#35828#26126#65306
  161. end
  162. object dbmPos_Reason: TDBMemo
  163. Left = 5
  164. Top = 20
  165. Width = 389
  166. Height = 50
  167. Anchors = [akLeft, akTop, akRight]
  168. Ctl3D = False
  169. DataField = 'Pos_Reason'
  170. ParentCtl3D = False
  171. ScrollBars = ssVertical
  172. TabOrder = 0
  173. OnExit = dbmPos_ReasonExit
  174. end
  175. object dbmDirection: TDBMemo
  176. Left = 5
  177. Top = 90
  178. Width = 389
  179. Height = 50
  180. Anchors = [akLeft, akTop, akRight]
  181. Ctl3D = False
  182. DataField = 'Direction'
  183. ParentCtl3D = False
  184. ScrollBars = ssVertical
  185. TabOrder = 1
  186. OnExit = dbmPos_ReasonExit
  187. end
  188. end
  189. end
  190. object cbbBGLType: TZjComboBox
  191. Left = 198
  192. Top = 160
  193. Width = 145
  194. Height = 20
  195. Font.Charset = ANSI_CHARSET
  196. Font.Color = clWindowText
  197. Font.Height = -12
  198. Font.Name = 'smartSimSun'
  199. Font.Style = []
  200. ItemHeight = 12
  201. ParentFont = False
  202. TabOrder = 3
  203. Visible = False
  204. Items.Strings = (
  205. #19968#33324
  206. #36739#22823
  207. #37325#22823)
  208. end
  209. object zaBGL: TZjGridDBA
  210. Columns = <
  211. item
  212. Title.Caption = #21464#26356#20196#21495
  213. Title.CaptionAcrossCols = '1'
  214. Title.Font.Charset = GB2312_CHARSET
  215. Title.Font.Color = clWindowText
  216. Title.Font.Height = -12
  217. Title.Font.Name = #23435#20307
  218. Title.Font.Style = []
  219. Alignment = taLeftJustify
  220. Font.Charset = GB2312_CHARSET
  221. Font.Color = clWindowText
  222. Font.Height = -12
  223. Font.Name = #23435#20307
  224. Font.Style = []
  225. FieldName = 'Code'
  226. Width = 80
  227. ReadOnly = False
  228. end
  229. item
  230. Title.Caption = #21517#31216
  231. Title.CaptionAcrossCols = '1'
  232. Title.Font.Charset = GB2312_CHARSET
  233. Title.Font.Color = clWindowText
  234. Title.Font.Height = -12
  235. Title.Font.Name = #23435#20307
  236. Title.Font.Style = []
  237. Alignment = taLeftJustify
  238. Font.Charset = GB2312_CHARSET
  239. Font.Color = clWindowText
  240. Font.Height = -12
  241. Font.Name = #23435#20307
  242. Font.Style = []
  243. FieldName = 'Name'
  244. Width = 120
  245. ReadOnly = False
  246. end
  247. item
  248. Title.Caption = #37329#39069
  249. Title.CaptionAcrossCols = '1'
  250. Title.Font.Charset = GB2312_CHARSET
  251. Title.Font.Color = clWindowText
  252. Title.Font.Height = -12
  253. Title.Font.Name = #23435#20307
  254. Title.Font.Style = []
  255. Alignment = taRightJustify
  256. Font.Charset = GB2312_CHARSET
  257. Font.Color = clWindowText
  258. Font.Height = -12
  259. Font.Name = #23435#20307
  260. Font.Style = []
  261. FieldName = 'TotalPrice'
  262. Width = 60
  263. ReadOnly = True
  264. end
  265. item
  266. Title.Caption = #25209#22797#25991#21495
  267. Title.CaptionAcrossCols = '1'
  268. Title.Font.Charset = GB2312_CHARSET
  269. Title.Font.Color = clWindowText
  270. Title.Font.Height = -12
  271. Title.Font.Name = #23435#20307
  272. Title.Font.Style = []
  273. Alignment = taLeftJustify
  274. Font.Charset = GB2312_CHARSET
  275. Font.Color = clWindowText
  276. Font.Height = -12
  277. Font.Name = #23435#20307
  278. Font.Style = []
  279. FieldName = 'ApprovalCode'
  280. Width = 80
  281. ReadOnly = False
  282. end
  283. item
  284. Title.Caption = #21464#26356#22270#21495
  285. Title.CaptionAcrossCols = '1'
  286. Title.Font.Charset = GB2312_CHARSET
  287. Title.Font.Color = clWindowText
  288. Title.Font.Height = -12
  289. Title.Font.Name = #23435#20307
  290. Title.Font.Style = []
  291. Alignment = taLeftJustify
  292. Font.Charset = GB2312_CHARSET
  293. Font.Color = clWindowText
  294. Font.Height = -12
  295. Font.Name = #23435#20307
  296. Font.Style = []
  297. FieldName = 'DrawingCode'
  298. Width = 80
  299. ReadOnly = False
  300. end
  301. item
  302. Title.Caption = #21464#26356#24615#36136
  303. Title.CaptionAcrossCols = '1'
  304. Title.Font.Charset = GB2312_CHARSET
  305. Title.Font.Color = clWindowText
  306. Title.Font.Height = -12
  307. Title.Font.Name = #23435#20307
  308. Title.Font.Style = []
  309. Alignment = taCenter
  310. Font.Charset = GB2312_CHARSET
  311. Font.Color = clWindowText
  312. Font.Height = -12
  313. Font.Name = #23435#20307
  314. Font.Style = []
  315. FieldName = 'BGLType'
  316. Width = 60
  317. ReadOnly = False
  318. end
  319. item
  320. Title.Caption = #24050#25191#34892'(%)'
  321. Title.CaptionAcrossCols = '1'
  322. Title.Font.Charset = GB2312_CHARSET
  323. Title.Font.Color = clWindowText
  324. Title.Font.Height = -12
  325. Title.Font.Name = #23435#20307
  326. Title.Font.Style = []
  327. Alignment = taRightJustify
  328. Font.Charset = GB2312_CHARSET
  329. Font.Color = clWindowText
  330. Font.Height = -12
  331. Font.Name = #23435#20307
  332. Font.Style = []
  333. FieldName = 'ExecutionRate'
  334. Width = 60
  335. ReadOnly = True
  336. end>
  337. Grid = zgBGL
  338. ExtendRowCount = 1
  339. Left = 96
  340. Top = 88
  341. end
  342. object zaBGBills: TZjGridDBA
  343. Columns = <
  344. item
  345. Title.Caption = #28165#21333#32534#21495
  346. Title.CaptionAcrossCols = '1'
  347. Title.Font.Charset = GB2312_CHARSET
  348. Title.Font.Color = clWindowText
  349. Title.Font.Height = -12
  350. Title.Font.Name = #23435#20307
  351. Title.Font.Style = []
  352. Alignment = taLeftJustify
  353. Font.Charset = GB2312_CHARSET
  354. Font.Color = clWindowText
  355. Font.Height = -12
  356. Font.Name = #23435#20307
  357. Font.Style = []
  358. FieldName = 'B_Code'
  359. Width = 60
  360. ReadOnly = False
  361. end
  362. item
  363. Title.Caption = #21517#31216
  364. Title.CaptionAcrossCols = '1'
  365. Title.Font.Charset = GB2312_CHARSET
  366. Title.Font.Color = clWindowText
  367. Title.Font.Height = -12
  368. Title.Font.Name = #23435#20307
  369. Title.Font.Style = []
  370. Alignment = taLeftJustify
  371. Font.Charset = GB2312_CHARSET
  372. Font.Color = clWindowText
  373. Font.Height = -12
  374. Font.Name = #23435#20307
  375. Font.Style = []
  376. FieldName = 'Name'
  377. Width = 110
  378. ReadOnly = False
  379. end
  380. item
  381. Title.Caption = #21333#20301
  382. Title.CaptionAcrossCols = '1'
  383. Title.Font.Charset = GB2312_CHARSET
  384. Title.Font.Color = clWindowText
  385. Title.Font.Height = -12
  386. Title.Font.Name = #23435#20307
  387. Title.Font.Style = []
  388. Alignment = taCenter
  389. Font.Charset = GB2312_CHARSET
  390. Font.Color = clWindowText
  391. Font.Height = -12
  392. Font.Name = 'smartSimSun'
  393. Font.Style = []
  394. FieldName = 'Units'
  395. Width = 35
  396. ReadOnly = False
  397. end
  398. item
  399. Title.Caption = #21333#20215
  400. Title.CaptionAcrossCols = '1'
  401. Title.Font.Charset = GB2312_CHARSET
  402. Title.Font.Color = clWindowText
  403. Title.Font.Height = -12
  404. Title.Font.Name = #23435#20307
  405. Title.Font.Style = []
  406. Alignment = taRightJustify
  407. Font.Charset = GB2312_CHARSET
  408. Font.Color = clWindowText
  409. Font.Height = -12
  410. Font.Name = #23435#20307
  411. Font.Style = []
  412. FieldName = 'Price'
  413. Width = 45
  414. ReadOnly = False
  415. end
  416. item
  417. Title.Caption = #25968#37327
  418. Title.CaptionAcrossCols = '1'
  419. Title.Font.Charset = GB2312_CHARSET
  420. Title.Font.Color = clWindowText
  421. Title.Font.Height = -12
  422. Title.Font.Name = #23435#20307
  423. Title.Font.Style = []
  424. Alignment = taRightJustify
  425. Font.Charset = GB2312_CHARSET
  426. Font.Color = clWindowText
  427. Font.Height = -12
  428. Font.Name = #23435#20307
  429. Font.Style = []
  430. FieldName = 'Quantity'
  431. Width = 50
  432. ReadOnly = False
  433. end
  434. item
  435. Title.Caption = #37329#39069
  436. Title.CaptionAcrossCols = '1'
  437. Title.Font.Charset = GB2312_CHARSET
  438. Title.Font.Color = clWindowText
  439. Title.Font.Height = -12
  440. Title.Font.Name = #23435#20307
  441. Title.Font.Style = []
  442. Alignment = taRightJustify
  443. Font.Charset = GB2312_CHARSET
  444. Font.Color = clWindowText
  445. Font.Height = -12
  446. Font.Name = #23435#20307
  447. Font.Style = []
  448. FieldName = 'TotalPrice'
  449. Width = 50
  450. ReadOnly = True
  451. end
  452. item
  453. Title.Caption = #24050#21464#26356
  454. Title.CaptionAcrossCols = '1'
  455. Title.Font.Charset = GB2312_CHARSET
  456. Title.Font.Color = clWindowText
  457. Title.Font.Height = -12
  458. Title.Font.Name = #23435#20307
  459. Title.Font.Style = []
  460. Alignment = taRightJustify
  461. Font.Charset = GB2312_CHARSET
  462. Font.Color = clWindowText
  463. Font.Height = -12
  464. Font.Name = #23435#20307
  465. Font.Style = []
  466. FieldName = 'UsedQuantity'
  467. Width = 50
  468. ReadOnly = True
  469. end>
  470. Grid = zgBGBills
  471. ExtendRowCount = 1
  472. OnGridSetCellText = zaBGBillsGridSetCellText
  473. Left = 96
  474. Top = 456
  475. end
  476. object alBGL: TActionList
  477. Images = MainForm.Images
  478. Left = 232
  479. Top = 88
  480. object actnNew: TAction
  481. Caption = #26032#22686#21464#26356#20196
  482. ImageIndex = 11
  483. OnExecute = actnNewExecute
  484. end
  485. object actnApply: TAction
  486. Caption = #24212#29992#21040#28165#21333
  487. ImageIndex = 32
  488. end
  489. object actnBatchWritePos_Reason: TAction
  490. Caption = #19968#38190#22635#21517#31216#33267#21407#22240
  491. Visible = False
  492. OnExecute = actnBatchWritePos_ReasonExecute
  493. end
  494. object actnCopyBGLBlock: TAction
  495. Caption = #22797#21046#25972#22359
  496. OnExecute = actnCopyBGLBlockExecute
  497. end
  498. end
  499. object dxpmBGL: TdxBarPopupMenu
  500. BarManager = MainForm.dxBarManager
  501. ItemLinks = <
  502. item
  503. Item = MainForm.dxbtnCopyBillsBlock
  504. Visible = True
  505. end
  506. item
  507. Item = MainForm.dxbtnCopy
  508. Visible = True
  509. end
  510. item
  511. Item = MainForm.dxbtnPaste
  512. Visible = True
  513. end
  514. item
  515. BeginGroup = True
  516. Item = MainForm.dxbtnDelete
  517. Visible = True
  518. end
  519. item
  520. BeginGroup = True
  521. Item = MainForm.dxbtnBatchWritePos_Reason
  522. Visible = True
  523. end>
  524. UseOwnFont = False
  525. OnPopup = dxpmBGLPopup
  526. Left = 168
  527. Top = 88
  528. end
  529. object dxpmBGBills: TdxBarPopupMenu
  530. BarManager = MainForm.dxBarManager
  531. ItemLinks = <
  532. item
  533. Item = MainForm.dxbtnCopy
  534. Visible = True
  535. end
  536. item
  537. Item = MainForm.dxbtnPaste
  538. Visible = True
  539. end
  540. item
  541. BeginGroup = True
  542. Item = MainForm.dxbtnDelete
  543. Visible = True
  544. end>
  545. UseOwnFont = False
  546. Left = 160
  547. Top = 456
  548. end
  549. end