BGLFme.dfm 14 KB

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