BGLFme.dfm 13 KB

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