BatchInsertBillsFrm.dfm 11 KB

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