BatchInsertBillsFrm.dfm 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  1. object BatchInsertBillsForm: TBatchInsertBillsForm
  2. Left = 384
  3. Top = 229
  4. Width = 795
  5. Height = 420
  6. BorderIcons = [biSystemMenu]
  7. Caption = #25209#37327#25554#20837#21518#39033
  8. Color = clBtnFace
  9. Font.Charset = ANSI_CHARSET
  10. Font.Color = clWindowText
  11. Font.Height = -12
  12. Font.Name = #23435#20307
  13. Font.Style = []
  14. OldCreateOrder = False
  15. Position = poMainFormCenter
  16. PixelsPerInch = 96
  17. TextHeight = 12
  18. object pnlButton: TPanel
  19. Left = 0
  20. Top = 361
  21. Width = 787
  22. Height = 28
  23. Align = alBottom
  24. BevelOuter = bvNone
  25. TabOrder = 0
  26. DesignSize = (
  27. 787
  28. 28)
  29. object lblHint: TLabel
  30. Left = 6
  31. Top = 8
  32. Width = 204
  33. Height = 12
  34. Caption = #21487#20174#31614#32422#21512#21516#28165#21333#22788#21452#20987#28155#21152#28165#21333#20449#24687
  35. Font.Charset = ANSI_CHARSET
  36. Font.Color = clRed
  37. Font.Height = -12
  38. Font.Name = #23435#20307
  39. Font.Style = []
  40. ParentFont = False
  41. Visible = False
  42. end
  43. object btnOK: TButton
  44. Left = 615
  45. Top = 1
  46. Width = 72
  47. Height = 23
  48. Anchors = [akTop, akRight]
  49. Caption = #30830' '#23450
  50. TabOrder = 0
  51. OnClick = btnOKClick
  52. end
  53. object btnCancel: TButton
  54. Left = 702
  55. Top = 1
  56. Width = 72
  57. Height = 23
  58. Anchors = [akTop, akRight]
  59. Caption = #21462' '#28040
  60. ModalResult = 2
  61. TabOrder = 1
  62. end
  63. end
  64. object pnlAllGrid: TPanel
  65. Left = 0
  66. Top = 0
  67. Width = 787
  68. Height = 361
  69. Align = alClient
  70. BevelOuter = bvNone
  71. TabOrder = 1
  72. object pnlPositon_Bills: TPanel
  73. Left = 0
  74. Top = 0
  75. Width = 488
  76. Height = 361
  77. Align = alClient
  78. BevelOuter = bvNone
  79. TabOrder = 0
  80. object pnlPosition: TPanel
  81. Left = 0
  82. Top = 0
  83. Width = 488
  84. Height = 201
  85. Align = alClient
  86. BevelOuter = bvNone
  87. TabOrder = 0
  88. DesignSize = (
  89. 488
  90. 201)
  91. object lblPostion: TLabel
  92. Left = 8
  93. Top = 8
  94. Width = 84
  95. Height = 12
  96. Caption = #37096#20301#25968#37327#22797#26680#34920
  97. Font.Charset = ANSI_CHARSET
  98. Font.Color = clBlue
  99. Font.Height = -12
  100. Font.Name = #23435#20307
  101. Font.Style = []
  102. ParentFont = False
  103. end
  104. object zgPosition: TZJGrid
  105. Left = 8
  106. Top = 27
  107. Width = 474
  108. Height = 166
  109. OptionsEx = []
  110. ColCount = 9
  111. ShowGridLine = False
  112. DefaultColWidth = 50
  113. DefaultFixedColWidth = 25
  114. Selection.AlphaBlend = False
  115. Selection.TransparentColor = False
  116. FrozenCol = 0
  117. FrozenRow = 0
  118. OnCellTextChanged = zgPositionCellTextChanged
  119. OnCustomPaste = zgPositionCustomPaste
  120. OnMouseDown = zgPositionMouseDown
  121. Anchors = [akLeft, akTop, akRight, akBottom]
  122. end
  123. object pnlPositionSpr: TPanel
  124. Left = 99
  125. Top = 14
  126. Width = 378
  127. Height = 2
  128. Anchors = [akLeft, akTop, akRight]
  129. BevelInner = bvLowered
  130. BevelOuter = bvNone
  131. TabOrder = 1
  132. end
  133. end
  134. object pnlBills: TPanel
  135. Left = 0
  136. Top = 201
  137. Width = 488
  138. Height = 135
  139. Align = alBottom
  140. BevelOuter = bvNone
  141. TabOrder = 1
  142. DesignSize = (
  143. 488
  144. 135)
  145. object lblBills: TLabel
  146. Left = 8
  147. Top = 1
  148. Width = 48
  149. Height = 12
  150. Caption = #28165#21333#32534#21495
  151. Font.Charset = ANSI_CHARSET
  152. Font.Color = clBlue
  153. Font.Height = -12
  154. Font.Name = #23435#20307
  155. Font.Style = []
  156. ParentFont = False
  157. end
  158. object zgBills: TZJGrid
  159. Left = 7
  160. Top = 22
  161. Width = 475
  162. Height = 105
  163. OptionsEx = []
  164. ColCount = 6
  165. RowCount = 7
  166. ShowGridLine = False
  167. DefaultColWidth = 50
  168. DefaultFixedColWidth = 60
  169. Selection.AlphaBlend = False
  170. Selection.TransparentColor = False
  171. FrozenCol = 0
  172. FrozenRow = 0
  173. OnCellTextChanged = zgBillsCellTextChanged
  174. OnMouseDown = zgBillsMouseDown
  175. Anchors = [akLeft, akTop, akRight, akBottom]
  176. end
  177. object pnlBillsSpr: TPanel
  178. Left = 62
  179. Top = 7
  180. Width = 414
  181. Height = 2
  182. Anchors = [akLeft, akTop, akRight]
  183. BevelInner = bvLowered
  184. BevelOuter = bvNone
  185. TabOrder = 1
  186. end
  187. end
  188. object pnlOther: TPanel
  189. Left = 0
  190. Top = 336
  191. Width = 488
  192. Height = 25
  193. Align = alBottom
  194. BevelOuter = bvNone
  195. TabOrder = 2
  196. object leBeginCode: TLabeledEdit
  197. Left = 99
  198. Top = 1
  199. Width = 38
  200. Height = 20
  201. EditLabel.Width = 90
  202. EditLabel.Height = 12
  203. EditLabel.Caption = #36215#22987#37096#20301#32534#21495#65306' '
  204. EditLabel.Font.Charset = ANSI_CHARSET
  205. EditLabel.Font.Color = clBlue
  206. EditLabel.Font.Height = -12
  207. EditLabel.Font.Name = #23435#20307
  208. EditLabel.Font.Style = []
  209. EditLabel.ParentFont = False
  210. LabelPosition = lpLeft
  211. TabOrder = 0
  212. Text = '1'
  213. OnKeyPress = leBeginCodeKeyPress
  214. end
  215. object leDrawingCode: TLabeledEdit
  216. Left = 231
  217. Top = 0
  218. Width = 244
  219. Height = 20
  220. EditLabel.Width = 66
  221. EditLabel.Height = 12
  222. EditLabel.Caption = #22270'('#20876')'#21495#65306' '
  223. EditLabel.Font.Charset = ANSI_CHARSET
  224. EditLabel.Font.Color = clBlue
  225. EditLabel.Font.Height = -12
  226. EditLabel.Font.Name = #23435#20307
  227. EditLabel.Font.Style = []
  228. EditLabel.ParentFont = False
  229. LabelPosition = lpLeft
  230. MaxLength = 255
  231. TabOrder = 1
  232. Visible = False
  233. end
  234. object udBeginCode: TUpDown
  235. Left = 137
  236. Top = 1
  237. Width = 16
  238. Height = 20
  239. Associate = leBeginCode
  240. Max = 10
  241. Position = 1
  242. TabOrder = 2
  243. end
  244. end
  245. end
  246. object pnlDealBills: TPanel
  247. Left = 488
  248. Top = 0
  249. Width = 299
  250. Height = 361
  251. Align = alRight
  252. BevelOuter = bvNone
  253. TabOrder = 1
  254. DesignSize = (
  255. 299
  256. 361)
  257. object lblDealBills: TLabel
  258. Left = 5
  259. Top = 8
  260. Width = 48
  261. Height = 12
  262. Caption = #31614#32422#28165#21333
  263. Font.Charset = ANSI_CHARSET
  264. Font.Color = clBlue
  265. Font.Height = -12
  266. Font.Name = #23435#20307
  267. Font.Style = []
  268. ParentFont = False
  269. end
  270. object zgDealBills: TZJGrid
  271. Left = 0
  272. Top = 27
  273. Width = 295
  274. Height = 328
  275. Options = [goRangeSelect, goRowSizing, goColSizing, goCellNotMaintainData, goFixedRowShowNo, goFixedColShowNo, goAlwaysShowSelection]
  276. OptionsEx = []
  277. RowCount = 7
  278. ShowGridLine = False
  279. DefaultColWidth = 50
  280. DefaultFixedColWidth = 25
  281. Selection.AlphaBlend = False
  282. Selection.TransparentColor = False
  283. FrozenCol = 0
  284. FrozenRow = 0
  285. OnMouseDown = zgDealBillsMouseDown
  286. Anchors = [akLeft, akTop, akRight, akBottom]
  287. end
  288. object pnlDealBillsSpr: TPanel
  289. Left = 58
  290. Top = 14
  291. Width = 236
  292. Height = 2
  293. Anchors = [akLeft, akTop, akRight]
  294. BevelInner = bvLowered
  295. BevelOuter = bvNone
  296. TabOrder = 1
  297. end
  298. end
  299. end
  300. object dxpmInsertBills: TdxBarPopupMenu
  301. BarManager = MainForm.dxBarManager
  302. ItemLinks = <
  303. item
  304. Visible = True
  305. end
  306. item
  307. Visible = True
  308. end
  309. item
  310. Item = MainForm.dxbtnCopy
  311. Visible = True
  312. end
  313. item
  314. Item = MainForm.dxbtnPaste
  315. Visible = True
  316. end
  317. item
  318. Item = MainForm.dxbtnInsertCol
  319. Visible = True
  320. end
  321. item
  322. Item = MainForm.dxbtnInsertRow
  323. Visible = True
  324. end
  325. item
  326. Item = MainForm.dxbtnDeleteRow
  327. Visible = True
  328. end
  329. item
  330. Item = MainForm.dxbtnRemapedPaste
  331. Visible = True
  332. end>
  333. UseOwnFont = False
  334. OnPopup = dxpmInsertBillsPopup
  335. Left = 139
  336. Top = 99
  337. end
  338. object sgdDealBills: TsdGridDBA
  339. Columns = <
  340. item
  341. Title.Caption = #28165#21333#32534#21495
  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 = taLeftJustify
  349. Font.Charset = GB2312_CHARSET
  350. Font.Color = clWindowText
  351. Font.Height = -12
  352. Font.Name = #23435#20307
  353. Font.Style = []
  354. FieldName = 'B_Code'
  355. Width = 60
  356. ReadOnly = True
  357. end
  358. item
  359. Title.Caption = #28165#21333#21517#31216
  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 = taLeftJustify
  367. Font.Charset = GB2312_CHARSET
  368. Font.Color = clWindowText
  369. Font.Height = -12
  370. Font.Name = #23435#20307
  371. Font.Style = []
  372. FieldName = 'Name'
  373. Width = 80
  374. ReadOnly = True
  375. end
  376. item
  377. Title.Caption = #21333#20301
  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 = taCenter
  385. Font.Charset = GB2312_CHARSET
  386. Font.Color = clWindowText
  387. Font.Height = -12
  388. Font.Name = #23435#20307
  389. Font.Style = []
  390. FieldName = 'Units'
  391. Width = 40
  392. ReadOnly = True
  393. end
  394. item
  395. Title.Caption = #21333#20215
  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 = 'Price'
  409. Width = 60
  410. ReadOnly = True
  411. end>
  412. Grid = zgDealBills
  413. ExtendRowCount = 0
  414. Options = []
  415. Left = 568
  416. Top = 139
  417. end
  418. object alBatchInsertBills: TActionList
  419. Images = MainForm.Images
  420. Left = 203
  421. Top = 99
  422. object actnInsertCol: TAction
  423. Caption = #25554#20837#19968#21015
  424. OnExecute = actnInsertColExecute
  425. OnUpdate = actnInsertColUpdate
  426. end
  427. object actnDeleteRow: TAction
  428. Caption = #21024#38500
  429. ImageIndex = 6
  430. OnExecute = actnDeleteRowExecute
  431. OnUpdate = actnDeleteRowUpdate
  432. end
  433. object actnInsertRow: TAction
  434. Caption = #26032#22686
  435. ImageIndex = 2
  436. OnExecute = actnInsertRowExecute
  437. OnUpdate = actnInsertRowUpdate
  438. end
  439. end
  440. object dxpmBills: TdxBarPopupMenu
  441. BarManager = MainForm.dxBarManager
  442. ItemLinks = <
  443. item
  444. Item = MainForm.dxbtnRemapedPaste
  445. Visible = True
  446. end>
  447. UseOwnFont = False
  448. Left = 135
  449. Top = 255
  450. end
  451. end