BatchInsertBillsFrm.dfm 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  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. UseOwnFont = False
  322. OnPopup = dxpmInsertBillsPopup
  323. Left = 139
  324. Top = 99
  325. end
  326. object sgdDealBills: TsdGridDBA
  327. Columns = <
  328. item
  329. Title.Caption = #28165#21333#32534#21495
  330. Title.CaptionAcrossCols = '1'
  331. Title.Font.Charset = GB2312_CHARSET
  332. Title.Font.Color = clWindowText
  333. Title.Font.Height = -12
  334. Title.Font.Name = #23435#20307
  335. Title.Font.Style = []
  336. Alignment = taLeftJustify
  337. Font.Charset = GB2312_CHARSET
  338. Font.Color = clWindowText
  339. Font.Height = -12
  340. Font.Name = #23435#20307
  341. Font.Style = []
  342. FieldName = 'B_Code'
  343. Width = 60
  344. ReadOnly = True
  345. end
  346. item
  347. Title.Caption = #28165#21333#21517#31216
  348. Title.CaptionAcrossCols = '1'
  349. Title.Font.Charset = GB2312_CHARSET
  350. Title.Font.Color = clWindowText
  351. Title.Font.Height = -12
  352. Title.Font.Name = #23435#20307
  353. Title.Font.Style = []
  354. Alignment = taLeftJustify
  355. Font.Charset = GB2312_CHARSET
  356. Font.Color = clWindowText
  357. Font.Height = -12
  358. Font.Name = #23435#20307
  359. Font.Style = []
  360. FieldName = 'Name'
  361. Width = 80
  362. ReadOnly = True
  363. end
  364. item
  365. Title.Caption = #21333#20301
  366. Title.CaptionAcrossCols = '1'
  367. Title.Font.Charset = GB2312_CHARSET
  368. Title.Font.Color = clWindowText
  369. Title.Font.Height = -12
  370. Title.Font.Name = #23435#20307
  371. Title.Font.Style = []
  372. Alignment = taCenter
  373. Font.Charset = GB2312_CHARSET
  374. Font.Color = clWindowText
  375. Font.Height = -12
  376. Font.Name = #23435#20307
  377. Font.Style = []
  378. FieldName = 'Units'
  379. Width = 40
  380. ReadOnly = True
  381. end
  382. item
  383. Title.Caption = #21333#20215
  384. Title.CaptionAcrossCols = '1'
  385. Title.Font.Charset = GB2312_CHARSET
  386. Title.Font.Color = clWindowText
  387. Title.Font.Height = -12
  388. Title.Font.Name = #23435#20307
  389. Title.Font.Style = []
  390. Alignment = taRightJustify
  391. Font.Charset = GB2312_CHARSET
  392. Font.Color = clWindowText
  393. Font.Height = -12
  394. Font.Name = #23435#20307
  395. Font.Style = []
  396. FieldName = 'Price'
  397. Width = 60
  398. ReadOnly = True
  399. end>
  400. Grid = zgDealBills
  401. ExtendRowCount = 0
  402. Options = []
  403. Left = 568
  404. Top = 139
  405. end
  406. object alBatchInsertBills: TActionList
  407. Left = 203
  408. Top = 99
  409. object actnInsertCol: TAction
  410. Caption = #25554#20837#19968#21015
  411. OnExecute = actnInsertColExecute
  412. OnUpdate = actnInsertColUpdate
  413. end
  414. end
  415. end