w_saletask_dm_tab.srw 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109
  1. $PBExportHeader$w_saletask_dm_tab.srw
  2. forward
  3. global type w_saletask_dm_tab from w_publ_base_style
  4. end type
  5. type cb_1 from uo_imflatbutton within w_saletask_dm_tab
  6. end type
  7. type cb_2 from uo_imflatbutton within w_saletask_dm_tab
  8. end type
  9. type cb_3 from uo_imflatbutton within w_saletask_dm_tab
  10. end type
  11. type cb_4 from uo_imflatbutton within w_saletask_dm_tab
  12. end type
  13. type tab_1 from tab within w_saletask_dm_tab
  14. end type
  15. type tabpage_1 from userobject within tab_1
  16. end type
  17. type dw_1 from u_dw_rbtnfilter within tabpage_1
  18. end type
  19. type tabpage_1 from userobject within tab_1
  20. dw_1 dw_1
  21. end type
  22. type tabpage_2 from userobject within tab_1
  23. end type
  24. type dw_2 from u_dw_rbtnfilter within tabpage_2
  25. end type
  26. type tabpage_2 from userobject within tab_1
  27. dw_2 dw_2
  28. end type
  29. type tabpage_3 from userobject within tab_1
  30. end type
  31. type dw_3 from u_dw_rbtnfilter within tabpage_3
  32. end type
  33. type tabpage_3 from userobject within tab_1
  34. dw_3 dw_3
  35. end type
  36. type tabpage_4 from userobject within tab_1
  37. end type
  38. type dw_6 from datawindow within tabpage_4
  39. end type
  40. type dw_4 from u_dw_rbtnfilter within tabpage_4
  41. end type
  42. type tabpage_4 from userobject within tab_1
  43. dw_6 dw_6
  44. dw_4 dw_4
  45. end type
  46. type tabpage_5 from userobject within tab_1
  47. end type
  48. type dw_5 from u_dw_rbtnfilter within tabpage_5
  49. end type
  50. type pb_2 from picturebutton within tabpage_5
  51. end type
  52. type pb_em2 from picturebutton within tabpage_5
  53. end type
  54. type pb_em1 from picturebutton within tabpage_5
  55. end type
  56. type em_2 from editmask within tabpage_5
  57. end type
  58. type em_1 from editmask within tabpage_5
  59. end type
  60. type st_4 from statictext within tabpage_5
  61. end type
  62. type st_3 from statictext within tabpage_5
  63. end type
  64. type tabpage_5 from userobject within tab_1
  65. dw_5 dw_5
  66. pb_2 pb_2
  67. pb_em2 pb_em2
  68. pb_em1 pb_em1
  69. em_2 em_2
  70. em_1 em_1
  71. st_4 st_4
  72. st_3 st_3
  73. end type
  74. type tab_1 from tab within w_saletask_dm_tab
  75. tabpage_1 tabpage_1
  76. tabpage_2 tabpage_2
  77. tabpage_3 tabpage_3
  78. tabpage_4 tabpage_4
  79. tabpage_5 tabpage_5
  80. end type
  81. type cb_5 from commandbutton within w_saletask_dm_tab
  82. end type
  83. type cb_6 from commandbutton within w_saletask_dm_tab
  84. end type
  85. type cb_7 from commandbutton within w_saletask_dm_tab
  86. end type
  87. type cb_8 from commandbutton within w_saletask_dm_tab
  88. end type
  89. type cb_9 from commandbutton within w_saletask_dm_tab
  90. end type
  91. type cb_10 from commandbutton within w_saletask_dm_tab
  92. end type
  93. type cb_11 from commandbutton within w_saletask_dm_tab
  94. end type
  95. type cb_12 from commandbutton within w_saletask_dm_tab
  96. end type
  97. type cb_13 from commandbutton within w_saletask_dm_tab
  98. end type
  99. type cb_14 from commandbutton within w_saletask_dm_tab
  100. end type
  101. type cb_15 from commandbutton within w_saletask_dm_tab
  102. end type
  103. type cb_16 from commandbutton within w_saletask_dm_tab
  104. end type
  105. type cb_17 from commandbutton within w_saletask_dm_tab
  106. end type
  107. type cb_18 from commandbutton within w_saletask_dm_tab
  108. end type
  109. type cb_19 from commandbutton within w_saletask_dm_tab
  110. end type
  111. type cb_20 from commandbutton within w_saletask_dm_tab
  112. end type
  113. end forward
  114. global type w_saletask_dm_tab from w_publ_base_style
  115. integer width = 3177
  116. integer height = 2008
  117. string title = "订单管理(门店)"
  118. boolean maxbox = true
  119. boolean resizable = true
  120. cb_1 cb_1
  121. cb_2 cb_2
  122. cb_3 cb_3
  123. cb_4 cb_4
  124. tab_1 tab_1
  125. cb_5 cb_5
  126. cb_6 cb_6
  127. cb_7 cb_7
  128. cb_8 cb_8
  129. cb_9 cb_9
  130. cb_10 cb_10
  131. cb_11 cb_11
  132. cb_12 cb_12
  133. cb_13 cb_13
  134. cb_14 cb_14
  135. cb_15 cb_15
  136. cb_16 cb_16
  137. cb_17 cb_17
  138. cb_18 cb_18
  139. cb_19 cb_19
  140. cb_20 cb_20
  141. end type
  142. global w_saletask_dm_tab w_saletask_dm_tab
  143. type variables
  144. datawindow dw_1, dw_2, dw_3, dw_4, dw_5, dw_6
  145. long tab_index
  146. end variables
  147. forward prototypes
  148. public subroutine wf_face ()
  149. end prototypes
  150. public subroutine wf_face ();cb_3.Enabled = tab_index = 2
  151. cb_4.Enabled = tab_index = 4
  152. end subroutine
  153. on w_saletask_dm_tab.create
  154. int iCurrent
  155. call super::create
  156. this.cb_1=create cb_1
  157. this.cb_2=create cb_2
  158. this.cb_3=create cb_3
  159. this.cb_4=create cb_4
  160. this.tab_1=create tab_1
  161. this.cb_5=create cb_5
  162. this.cb_6=create cb_6
  163. this.cb_7=create cb_7
  164. this.cb_8=create cb_8
  165. this.cb_9=create cb_9
  166. this.cb_10=create cb_10
  167. this.cb_11=create cb_11
  168. this.cb_12=create cb_12
  169. this.cb_13=create cb_13
  170. this.cb_14=create cb_14
  171. this.cb_15=create cb_15
  172. this.cb_16=create cb_16
  173. this.cb_17=create cb_17
  174. this.cb_18=create cb_18
  175. this.cb_19=create cb_19
  176. this.cb_20=create cb_20
  177. iCurrent=UpperBound(this.Control)
  178. this.Control[iCurrent+1]=this.cb_1
  179. this.Control[iCurrent+2]=this.cb_2
  180. this.Control[iCurrent+3]=this.cb_3
  181. this.Control[iCurrent+4]=this.cb_4
  182. this.Control[iCurrent+5]=this.tab_1
  183. this.Control[iCurrent+6]=this.cb_5
  184. this.Control[iCurrent+7]=this.cb_6
  185. this.Control[iCurrent+8]=this.cb_7
  186. this.Control[iCurrent+9]=this.cb_8
  187. this.Control[iCurrent+10]=this.cb_9
  188. this.Control[iCurrent+11]=this.cb_10
  189. this.Control[iCurrent+12]=this.cb_11
  190. this.Control[iCurrent+13]=this.cb_12
  191. this.Control[iCurrent+14]=this.cb_13
  192. this.Control[iCurrent+15]=this.cb_14
  193. this.Control[iCurrent+16]=this.cb_15
  194. this.Control[iCurrent+17]=this.cb_16
  195. this.Control[iCurrent+18]=this.cb_17
  196. this.Control[iCurrent+19]=this.cb_18
  197. this.Control[iCurrent+20]=this.cb_19
  198. this.Control[iCurrent+21]=this.cb_20
  199. end on
  200. on w_saletask_dm_tab.destroy
  201. call super::destroy
  202. destroy(this.cb_1)
  203. destroy(this.cb_2)
  204. destroy(this.cb_3)
  205. destroy(this.cb_4)
  206. destroy(this.tab_1)
  207. destroy(this.cb_5)
  208. destroy(this.cb_6)
  209. destroy(this.cb_7)
  210. destroy(this.cb_8)
  211. destroy(this.cb_9)
  212. destroy(this.cb_10)
  213. destroy(this.cb_11)
  214. destroy(this.cb_12)
  215. destroy(this.cb_13)
  216. destroy(this.cb_14)
  217. destroy(this.cb_15)
  218. destroy(this.cb_16)
  219. destroy(this.cb_17)
  220. destroy(this.cb_18)
  221. destroy(this.cb_19)
  222. destroy(this.cb_20)
  223. end on
  224. event resize;call super::resize;tab_1.width = this.workspacewidth() - tab_1.x
  225. tab_1.height = this.workspaceheight() - tab_1.y
  226. dw_1.width = tab_1.tabpage_1.width - dw_1.x
  227. dw_1.height = tab_1.tabpage_1.height - dw_1.y
  228. dw_2.width = tab_1.tabpage_2.width - dw_2.x
  229. dw_2.height = tab_1.tabpage_2.height - dw_2.y
  230. dw_3.width = tab_1.tabpage_3.width - dw_3.x
  231. dw_3.height = tab_1.tabpage_3.height - dw_3.y
  232. dw_4.width = tab_1.tabpage_4.width - dw_4.x
  233. dw_4.height = (tab_1.tabpage_4.height - dw_4.y) / 2
  234. dw_6.width = dw_4.width
  235. dw_6.y = dw_4.y + dw_4.height
  236. dw_6.height = dw_4.height
  237. dw_5.width = tab_1.tabpage_5.width - dw_5.x
  238. dw_5.height = tab_1.tabpage_5.height - dw_5.y
  239. end event
  240. event open;call super::open;dw_1 = tab_1.tabpage_1.dw_1
  241. dw_2 = tab_1.tabpage_2.dw_2
  242. dw_3 = tab_1.tabpage_3.dw_3
  243. dw_4 = tab_1.tabpage_4.dw_4
  244. dw_5 = tab_1.tabpage_5.dw_5
  245. dw_6 = tab_1.tabpage_4.dw_6
  246. end event
  247. type cb_func from w_publ_base_style`cb_func within w_saletask_dm_tab
  248. integer x = 850
  249. end type
  250. type cb_exit from w_publ_base_style`cb_exit within w_saletask_dm_tab
  251. integer x = 1001
  252. end type
  253. type ln_bar from w_publ_base_style`ln_bar within w_saletask_dm_tab
  254. end type
  255. type ln_bar2 from w_publ_base_style`ln_bar2 within w_saletask_dm_tab
  256. end type
  257. type r_bar from w_publ_base_style`r_bar within w_saletask_dm_tab
  258. end type
  259. type cb_1 from uo_imflatbutton within w_saletask_dm_tab
  260. integer width = 151
  261. integer height = 164
  262. integer taborder = 50
  263. boolean bringtotop = true
  264. string text = "刷新"
  265. string normalpicname = "refresh.bmp"
  266. integer picsize = 16
  267. toolbaralignment pic_align = alignattop!
  268. boolean border = false
  269. end type
  270. event clicked;call super::clicked;//DateTime first_date,end_date
  271. //
  272. //first_date = DateTime(Date(em_1.Text),Time(0))
  273. //end_date = DateTime(Date(em_2.Text),Time('23:59:59'))
  274. //String ls_cust_str, ls_mtrl_str
  275. //IF Pos(sle_cust.Text,"%") <> 0 THEN
  276. // ls_cust_str = trim(sle_cust.Text)
  277. //ELSE
  278. // ls_cust_str = "%"+trim(sle_cust.Text)+"%"
  279. //END IF
  280. //IF Pos(sle_mtrl.Text,"%") <> 0 THEN
  281. // ls_mtrl_str = trim(sle_mtrl.Text)
  282. //ELSE
  283. // ls_mtrl_str = "%"+trim(sle_mtrl.Text)+"%"
  284. //END IF
  285. //dw_1.Retrieve(DATE(EM_1.TEXT),DATE(EM_2.TEXT),ls_cust_str,ls_mtrl_str)
  286. //dw_1.OBJECT.date_mid.TEXT=EM_1.TEXT+'~~'+EM_2.TEXT
  287. end event
  288. type cb_2 from uo_imflatbutton within w_saletask_dm_tab
  289. integer x = 151
  290. integer width = 151
  291. integer height = 164
  292. integer taborder = 60
  293. boolean bringtotop = true
  294. string text = "新建"
  295. string normalpicname = "NEW.BMP"
  296. integer picsize = 16
  297. toolbaralignment pic_align = alignattop!
  298. boolean border = false
  299. end type
  300. event clicked;call super::clicked;open(w_saletask_dm_edit)
  301. end event
  302. type cb_3 from uo_imflatbutton within w_saletask_dm_tab
  303. integer x = 302
  304. integer width = 274
  305. integer height = 164
  306. integer taborder = 70
  307. boolean bringtotop = true
  308. boolean enabled = false
  309. string text = "订单审核"
  310. string normalpicname = "ok.bmp"
  311. integer picsize = 16
  312. toolbaralignment pic_align = alignattop!
  313. boolean border = false
  314. end type
  315. event clicked;call super::clicked;//DateTime first_date,end_date
  316. //
  317. //first_date = DateTime(Date(em_1.Text),Time(0))
  318. //end_date = DateTime(Date(em_2.Text),Time('23:59:59'))
  319. //String ls_cust_str, ls_mtrl_str
  320. //IF Pos(sle_cust.Text,"%") <> 0 THEN
  321. // ls_cust_str = trim(sle_cust.Text)
  322. //ELSE
  323. // ls_cust_str = "%"+trim(sle_cust.Text)+"%"
  324. //END IF
  325. //IF Pos(sle_mtrl.Text,"%") <> 0 THEN
  326. // ls_mtrl_str = trim(sle_mtrl.Text)
  327. //ELSE
  328. // ls_mtrl_str = "%"+trim(sle_mtrl.Text)+"%"
  329. //END IF
  330. //dw_1.Retrieve(DATE(EM_1.TEXT),DATE(EM_2.TEXT),ls_cust_str,ls_mtrl_str)
  331. //dw_1.OBJECT.date_mid.TEXT=EM_1.TEXT+'~~'+EM_2.TEXT
  332. end event
  333. type cb_4 from uo_imflatbutton within w_saletask_dm_tab
  334. integer x = 576
  335. integer width = 274
  336. integer height = 164
  337. integer taborder = 80
  338. boolean bringtotop = true
  339. boolean enabled = false
  340. string text = "收货确认"
  341. string normalpicname = "ok.bmp"
  342. integer picsize = 16
  343. toolbaralignment pic_align = alignattop!
  344. boolean border = false
  345. end type
  346. event clicked;call super::clicked;//DateTime first_date,end_date
  347. //
  348. //first_date = DateTime(Date(em_1.Text),Time(0))
  349. //end_date = DateTime(Date(em_2.Text),Time('23:59:59'))
  350. //String ls_cust_str, ls_mtrl_str
  351. //IF Pos(sle_cust.Text,"%") <> 0 THEN
  352. // ls_cust_str = trim(sle_cust.Text)
  353. //ELSE
  354. // ls_cust_str = "%"+trim(sle_cust.Text)+"%"
  355. //END IF
  356. //IF Pos(sle_mtrl.Text,"%") <> 0 THEN
  357. // ls_mtrl_str = trim(sle_mtrl.Text)
  358. //ELSE
  359. // ls_mtrl_str = "%"+trim(sle_mtrl.Text)+"%"
  360. //END IF
  361. //dw_1.Retrieve(DATE(EM_1.TEXT),DATE(EM_2.TEXT),ls_cust_str,ls_mtrl_str)
  362. //dw_1.OBJECT.date_mid.TEXT=EM_1.TEXT+'~~'+EM_2.TEXT
  363. end event
  364. type tab_1 from tab within w_saletask_dm_tab
  365. event create ( )
  366. event destroy ( )
  367. integer x = 352
  368. integer y = 172
  369. integer width = 2670
  370. integer height = 1596
  371. integer taborder = 120
  372. boolean bringtotop = true
  373. integer textsize = -9
  374. integer weight = 400
  375. fontcharset fontcharset = gb2312charset!
  376. fontpitch fontpitch = variable!
  377. string facename = "宋体"
  378. long backcolor = 134217739
  379. boolean raggedright = true
  380. boolean focusonbuttondown = true
  381. integer selectedtab = 1
  382. tabpage_1 tabpage_1
  383. tabpage_2 tabpage_2
  384. tabpage_3 tabpage_3
  385. tabpage_4 tabpage_4
  386. tabpage_5 tabpage_5
  387. end type
  388. on tab_1.create
  389. this.tabpage_1=create tabpage_1
  390. this.tabpage_2=create tabpage_2
  391. this.tabpage_3=create tabpage_3
  392. this.tabpage_4=create tabpage_4
  393. this.tabpage_5=create tabpage_5
  394. this.Control[]={this.tabpage_1,&
  395. this.tabpage_2,&
  396. this.tabpage_3,&
  397. this.tabpage_4,&
  398. this.tabpage_5}
  399. end on
  400. on tab_1.destroy
  401. destroy(this.tabpage_1)
  402. destroy(this.tabpage_2)
  403. destroy(this.tabpage_3)
  404. destroy(this.tabpage_4)
  405. destroy(this.tabpage_5)
  406. end on
  407. event selectionchanged;tab_index = newindex
  408. wf_face()
  409. end event
  410. type tabpage_1 from userobject within tab_1
  411. event create ( )
  412. event destroy ( )
  413. integer x = 18
  414. integer y = 96
  415. integer width = 2633
  416. integer height = 1484
  417. long backcolor = 134217739
  418. string text = "待询价(3)"
  419. long tabtextcolor = 33554432
  420. long tabbackcolor = 134217739
  421. long picturemaskcolor = 536870912
  422. dw_1 dw_1
  423. end type
  424. on tabpage_1.create
  425. this.dw_1=create dw_1
  426. this.Control[]={this.dw_1}
  427. end on
  428. on tabpage_1.destroy
  429. destroy(this.dw_1)
  430. end on
  431. type dw_1 from u_dw_rbtnfilter within tabpage_1
  432. integer width = 2455
  433. integer height = 720
  434. integer taborder = 40
  435. boolean bringtotop = true
  436. string dataobject = "dw_saletask_dm"
  437. boolean hscrollbar = true
  438. boolean vscrollbar = true
  439. boolean hsplitscroll = true
  440. end type
  441. event rowfocuschanged;call super::rowfocuschanged;this.selectrow(0, false)
  442. if currentrow > 0 then
  443. this.selectrow(currentrow, true)
  444. end if
  445. end event
  446. type tabpage_2 from userobject within tab_1
  447. event create ( )
  448. event destroy ( )
  449. integer x = 18
  450. integer y = 96
  451. integer width = 2633
  452. integer height = 1484
  453. long backcolor = 134217739
  454. string text = "已报价(2)"
  455. long tabtextcolor = 33554432
  456. long tabbackcolor = 134217739
  457. long picturemaskcolor = 536870912
  458. dw_2 dw_2
  459. end type
  460. on tabpage_2.create
  461. this.dw_2=create dw_2
  462. this.Control[]={this.dw_2}
  463. end on
  464. on tabpage_2.destroy
  465. destroy(this.dw_2)
  466. end on
  467. type dw_2 from u_dw_rbtnfilter within tabpage_2
  468. integer width = 2455
  469. integer height = 720
  470. integer taborder = 40
  471. boolean bringtotop = true
  472. string dataobject = "dw_saletask_dm"
  473. boolean hscrollbar = true
  474. boolean vscrollbar = true
  475. boolean hsplitscroll = true
  476. end type
  477. event rowfocuschanged;call super::rowfocuschanged;this.selectrow(0, false)
  478. if currentrow > 0 then
  479. this.selectrow(currentrow, true)
  480. end if
  481. end event
  482. type tabpage_3 from userobject within tab_1
  483. event create ( )
  484. event destroy ( )
  485. integer x = 18
  486. integer y = 96
  487. integer width = 2633
  488. integer height = 1484
  489. long backcolor = 134217739
  490. string text = "已下单(5)"
  491. long tabtextcolor = 33554432
  492. long tabbackcolor = 134217739
  493. long picturemaskcolor = 536870912
  494. dw_3 dw_3
  495. end type
  496. on tabpage_3.create
  497. this.dw_3=create dw_3
  498. this.Control[]={this.dw_3}
  499. end on
  500. on tabpage_3.destroy
  501. destroy(this.dw_3)
  502. end on
  503. type dw_3 from u_dw_rbtnfilter within tabpage_3
  504. integer width = 2455
  505. integer height = 720
  506. integer taborder = 40
  507. boolean bringtotop = true
  508. string dataobject = "dw_saletask_dm"
  509. boolean hscrollbar = true
  510. boolean vscrollbar = true
  511. boolean hsplitscroll = true
  512. end type
  513. event rowfocuschanged;call super::rowfocuschanged;this.selectrow(0, false)
  514. if currentrow > 0 then
  515. this.selectrow(currentrow, true)
  516. end if
  517. end event
  518. type tabpage_4 from userobject within tab_1
  519. event create ( )
  520. event destroy ( )
  521. integer x = 18
  522. integer y = 96
  523. integer width = 2633
  524. integer height = 1484
  525. long backcolor = 134217739
  526. string text = "已发货(3)"
  527. long tabtextcolor = 33554432
  528. long tabbackcolor = 134217739
  529. long picturemaskcolor = 536870912
  530. dw_6 dw_6
  531. dw_4 dw_4
  532. end type
  533. on tabpage_4.create
  534. this.dw_6=create dw_6
  535. this.dw_4=create dw_4
  536. this.Control[]={this.dw_6,&
  537. this.dw_4}
  538. end on
  539. on tabpage_4.destroy
  540. destroy(this.dw_6)
  541. destroy(this.dw_4)
  542. end on
  543. type dw_6 from datawindow within tabpage_4
  544. integer y = 740
  545. integer width = 2432
  546. integer height = 656
  547. integer taborder = 130
  548. string title = "none"
  549. string dataobject = "dw_outwaremx_mx_barcode_edit"
  550. boolean livescroll = true
  551. borderstyle borderstyle = stylelowered!
  552. end type
  553. type dw_4 from u_dw_rbtnfilter within tabpage_4
  554. integer width = 2455
  555. integer height = 720
  556. integer taborder = 40
  557. boolean bringtotop = true
  558. string dataobject = "dw_saletask_dm"
  559. boolean hscrollbar = true
  560. boolean vscrollbar = true
  561. boolean hsplitscroll = true
  562. end type
  563. event rowfocuschanged;call super::rowfocuschanged;this.selectrow(0, false)
  564. if currentrow > 0 then
  565. this.selectrow(currentrow, true)
  566. end if
  567. end event
  568. type tabpage_5 from userobject within tab_1
  569. event create ( )
  570. event destroy ( )
  571. integer x = 18
  572. integer y = 96
  573. integer width = 2633
  574. integer height = 1484
  575. long backcolor = 134217739
  576. string text = "已收货"
  577. long tabtextcolor = 33554432
  578. long tabbackcolor = 134217739
  579. long picturemaskcolor = 536870912
  580. dw_5 dw_5
  581. pb_2 pb_2
  582. pb_em2 pb_em2
  583. pb_em1 pb_em1
  584. em_2 em_2
  585. em_1 em_1
  586. st_4 st_4
  587. st_3 st_3
  588. end type
  589. on tabpage_5.create
  590. this.dw_5=create dw_5
  591. this.pb_2=create pb_2
  592. this.pb_em2=create pb_em2
  593. this.pb_em1=create pb_em1
  594. this.em_2=create em_2
  595. this.em_1=create em_1
  596. this.st_4=create st_4
  597. this.st_3=create st_3
  598. this.Control[]={this.dw_5,&
  599. this.pb_2,&
  600. this.pb_em2,&
  601. this.pb_em1,&
  602. this.em_2,&
  603. this.em_1,&
  604. this.st_4,&
  605. this.st_3}
  606. end on
  607. on tabpage_5.destroy
  608. destroy(this.dw_5)
  609. destroy(this.pb_2)
  610. destroy(this.pb_em2)
  611. destroy(this.pb_em1)
  612. destroy(this.em_2)
  613. destroy(this.em_1)
  614. destroy(this.st_4)
  615. destroy(this.st_3)
  616. end on
  617. event constructor;this.backcolor = 14215660
  618. end event
  619. type dw_5 from u_dw_rbtnfilter within tabpage_5
  620. integer y = 96
  621. integer width = 2455
  622. integer height = 720
  623. integer taborder = 30
  624. boolean bringtotop = true
  625. string dataobject = "dw_saletask_dm"
  626. boolean hscrollbar = true
  627. boolean vscrollbar = true
  628. boolean hsplitscroll = true
  629. end type
  630. event rowfocuschanged;call super::rowfocuschanged;this.selectrow(0, false)
  631. if currentrow > 0 then
  632. this.selectrow(currentrow, true)
  633. end if
  634. end event
  635. type pb_2 from picturebutton within tabpage_5
  636. integer x = 1463
  637. integer width = 101
  638. integer height = 92
  639. integer taborder = 150
  640. boolean bringtotop = true
  641. integer textsize = -9
  642. integer weight = 400
  643. fontcharset fontcharset = gb2312charset!
  644. fontpitch fontpitch = variable!
  645. string facename = "宋体"
  646. string picturename = "date1.BMP"
  647. alignment htextalign = left!
  648. end type
  649. event clicked;m_Dfc_Control_PopupMenu dmPopupMenu
  650. string menustr
  651. menustr="Text=本日~tEvent=ue_date1"
  652. menustr = menustr + "|" + "Text=本周~tEvent=ue_date2"
  653. menustr = menustr + "|" + "Text=本月~tEvent=ue_date3"
  654. if len(trim(menustr))<>0 then
  655. dmPopupMenu = Create m_Dfc_Control_PopupMenu
  656. dmPopupMenu.mf_BuildMenu(This, menustr)
  657. dmPopupMenu.mf_PopMenu()
  658. Destroy dmPopupMenu
  659. end if
  660. end event
  661. type pb_em2 from picturebutton within tabpage_5
  662. integer x = 1353
  663. integer width = 101
  664. integer height = 92
  665. integer taborder = 140
  666. boolean bringtotop = true
  667. integer textsize = -9
  668. integer weight = 400
  669. fontcharset fontcharset = gb2312charset!
  670. fontpitch fontpitch = variable!
  671. string facename = "宋体"
  672. string picturename = "date.BMP"
  673. alignment htextalign = left!
  674. end type
  675. event clicked;em_2.triggerevent(rbuttondown!)
  676. end event
  677. type pb_em1 from picturebutton within tabpage_5
  678. integer x = 741
  679. integer width = 101
  680. integer height = 92
  681. integer taborder = 130
  682. boolean bringtotop = true
  683. integer textsize = -9
  684. integer weight = 400
  685. fontcharset fontcharset = gb2312charset!
  686. fontpitch fontpitch = variable!
  687. string facename = "宋体"
  688. string picturename = "date.BMP"
  689. alignment htextalign = left!
  690. end type
  691. event clicked;em_1.triggerevent(rbuttondown!)
  692. end event
  693. type em_2 from editmask within tabpage_5
  694. integer x = 937
  695. integer width = 407
  696. integer height = 88
  697. integer taborder = 130
  698. boolean bringtotop = true
  699. integer textsize = -9
  700. integer weight = 400
  701. fontcharset fontcharset = gb2312charset!
  702. fontpitch fontpitch = variable!
  703. string facename = "宋体"
  704. long textcolor = 33554432
  705. borderstyle borderstyle = stylelowered!
  706. maskdatatype maskdatatype = datemask!
  707. string mask = "yyyy-mm-dd"
  708. boolean spin = true
  709. end type
  710. event rbuttondown;s_calender_arg s_calender
  711. s_calender.PointerX = THIS.PointerX()
  712. s_calender.PointerY = THIS.PointerY()
  713. s_calender.X = THIS.X
  714. s_calender.Y = THIS.Y
  715. OpenWithParm(w_calendar,s_calender)
  716. THIS.Text = String(id_date_selected)
  717. end event
  718. type em_1 from editmask within tabpage_5
  719. integer x = 325
  720. integer width = 407
  721. integer height = 88
  722. integer taborder = 120
  723. boolean bringtotop = true
  724. integer textsize = -9
  725. integer weight = 400
  726. fontcharset fontcharset = gb2312charset!
  727. fontpitch fontpitch = variable!
  728. string facename = "宋体"
  729. long textcolor = 33554432
  730. borderstyle borderstyle = stylelowered!
  731. maskdatatype maskdatatype = datemask!
  732. string mask = "yyyy-mm-dd"
  733. boolean spin = true
  734. end type
  735. event rbuttondown;s_calender_arg s_calender
  736. s_calender.PointerX = THIS.PointerX()
  737. s_calender.PointerY = THIS.PointerY()
  738. s_calender.X = THIS.X
  739. s_calender.Y = THIS.Y
  740. OpenWithParm(w_calendar,s_calender)
  741. THIS.Text = String(id_date_selected)
  742. end event
  743. type st_4 from statictext within tabpage_5
  744. integer x = 832
  745. integer y = 16
  746. integer width = 105
  747. integer height = 60
  748. boolean bringtotop = true
  749. integer textsize = -9
  750. integer weight = 400
  751. fontcharset fontcharset = gb2312charset!
  752. fontpitch fontpitch = variable!
  753. string facename = "宋体"
  754. long textcolor = 33554432
  755. long backcolor = 134217739
  756. boolean enabled = false
  757. string text = "到:"
  758. alignment alignment = right!
  759. boolean focusrectangle = false
  760. end type
  761. event constructor;this.backcolor = 14215660
  762. end event
  763. type st_3 from statictext within tabpage_5
  764. integer y = 16
  765. integer width = 315
  766. integer height = 60
  767. boolean bringtotop = true
  768. integer textsize = -9
  769. integer weight = 400
  770. fontcharset fontcharset = gb2312charset!
  771. fontpitch fontpitch = variable!
  772. string facename = "宋体"
  773. long textcolor = 33554432
  774. long backcolor = 134217739
  775. boolean enabled = false
  776. string text = "订货日期从:"
  777. alignment alignment = right!
  778. boolean focusrectangle = false
  779. end type
  780. event constructor;this.backcolor = 14215660
  781. end event
  782. type cb_5 from commandbutton within w_saletask_dm_tab
  783. integer y = 180
  784. integer width = 347
  785. integer height = 92
  786. integer taborder = 130
  787. boolean bringtotop = true
  788. integer textsize = -9
  789. integer weight = 400
  790. fontcharset fontcharset = gb2312charset!
  791. fontpitch fontpitch = variable!
  792. string facename = "宋体"
  793. string text = "新建订单"
  794. end type
  795. type cb_6 from commandbutton within w_saletask_dm_tab
  796. integer y = 288
  797. integer width = 347
  798. integer height = 92
  799. integer taborder = 140
  800. boolean bringtotop = true
  801. integer textsize = -9
  802. integer weight = 400
  803. fontcharset fontcharset = gb2312charset!
  804. fontpitch fontpitch = variable!
  805. string facename = "宋体"
  806. string text = "查询订单"
  807. end type
  808. type cb_7 from commandbutton within w_saletask_dm_tab
  809. integer y = 396
  810. integer width = 347
  811. integer height = 92
  812. integer taborder = 150
  813. boolean bringtotop = true
  814. integer textsize = -9
  815. integer weight = 400
  816. fontcharset fontcharset = gb2312charset!
  817. fontpitch fontpitch = variable!
  818. string facename = "宋体"
  819. string text = "订单审核"
  820. end type
  821. type cb_8 from commandbutton within w_saletask_dm_tab
  822. integer y = 504
  823. integer width = 347
  824. integer height = 92
  825. integer taborder = 160
  826. boolean bringtotop = true
  827. integer textsize = -9
  828. integer weight = 400
  829. fontcharset fontcharset = gb2312charset!
  830. fontpitch fontpitch = variable!
  831. string facename = "宋体"
  832. boolean enabled = false
  833. string text = "收款确认"
  834. end type
  835. type cb_9 from commandbutton within w_saletask_dm_tab
  836. integer y = 612
  837. integer width = 347
  838. integer height = 92
  839. integer taborder = 170
  840. boolean bringtotop = true
  841. integer textsize = -9
  842. integer weight = 400
  843. fontcharset fontcharset = gb2312charset!
  844. fontpitch fontpitch = variable!
  845. string facename = "宋体"
  846. boolean enabled = false
  847. string text = "订单拆单"
  848. end type
  849. type cb_10 from commandbutton within w_saletask_dm_tab
  850. integer y = 720
  851. integer width = 347
  852. integer height = 92
  853. integer taborder = 180
  854. boolean bringtotop = true
  855. integer textsize = -9
  856. integer weight = 400
  857. fontcharset fontcharset = gb2312charset!
  858. fontpitch fontpitch = variable!
  859. string facename = "宋体"
  860. boolean enabled = false
  861. string text = "订单排产"
  862. end type
  863. type cb_11 from commandbutton within w_saletask_dm_tab
  864. integer y = 828
  865. integer width = 347
  866. integer height = 92
  867. integer taborder = 190
  868. boolean bringtotop = true
  869. integer textsize = -9
  870. integer weight = 400
  871. fontcharset fontcharset = gb2312charset!
  872. fontpitch fontpitch = variable!
  873. string facename = "宋体"
  874. boolean enabled = false
  875. string text = "包装入库"
  876. end type
  877. type cb_12 from commandbutton within w_saletask_dm_tab
  878. integer y = 936
  879. integer width = 347
  880. integer height = 92
  881. integer taborder = 200
  882. boolean bringtotop = true
  883. integer textsize = -9
  884. integer weight = 400
  885. fontcharset fontcharset = gb2312charset!
  886. fontpitch fontpitch = variable!
  887. string facename = "宋体"
  888. boolean enabled = false
  889. string text = "电子入库"
  890. end type
  891. type cb_13 from commandbutton within w_saletask_dm_tab
  892. integer y = 1044
  893. integer width = 347
  894. integer height = 92
  895. integer taborder = 210
  896. boolean bringtotop = true
  897. integer textsize = -9
  898. integer weight = 400
  899. fontcharset fontcharset = gb2312charset!
  900. fontpitch fontpitch = variable!
  901. string facename = "宋体"
  902. boolean enabled = false
  903. string text = "发货规划"
  904. end type
  905. type cb_14 from commandbutton within w_saletask_dm_tab
  906. integer y = 1152
  907. integer width = 347
  908. integer height = 92
  909. integer taborder = 210
  910. boolean bringtotop = true
  911. integer textsize = -9
  912. integer weight = 400
  913. fontcharset fontcharset = gb2312charset!
  914. fontpitch fontpitch = variable!
  915. string facename = "宋体"
  916. boolean enabled = false
  917. string text = "发货登记"
  918. end type
  919. type cb_15 from commandbutton within w_saletask_dm_tab
  920. integer y = 1368
  921. integer width = 347
  922. integer height = 92
  923. integer taborder = 210
  924. boolean bringtotop = true
  925. integer textsize = -9
  926. integer weight = 400
  927. fontcharset fontcharset = gb2312charset!
  928. fontpitch fontpitch = variable!
  929. string facename = "宋体"
  930. string text = "文件搜索"
  931. end type
  932. type cb_16 from commandbutton within w_saletask_dm_tab
  933. integer y = 1476
  934. integer width = 347
  935. integer height = 92
  936. integer taborder = 210
  937. boolean bringtotop = true
  938. integer textsize = -9
  939. integer weight = 400
  940. fontcharset fontcharset = gb2312charset!
  941. fontpitch fontpitch = variable!
  942. string facename = "宋体"
  943. string text = "订单统计"
  944. end type
  945. type cb_17 from commandbutton within w_saletask_dm_tab
  946. integer y = 1584
  947. integer width = 347
  948. integer height = 92
  949. integer taborder = 210
  950. boolean bringtotop = true
  951. integer textsize = -9
  952. integer weight = 400
  953. fontcharset fontcharset = gb2312charset!
  954. fontpitch fontpitch = variable!
  955. string facename = "宋体"
  956. string text = "系统管理"
  957. end type
  958. type cb_18 from commandbutton within w_saletask_dm_tab
  959. integer y = 1692
  960. integer width = 347
  961. integer height = 92
  962. integer taborder = 210
  963. boolean bringtotop = true
  964. integer textsize = -9
  965. integer weight = 400
  966. fontcharset fontcharset = gb2312charset!
  967. fontpitch fontpitch = variable!
  968. string facename = "宋体"
  969. string text = "修改密码"
  970. end type
  971. type cb_19 from commandbutton within w_saletask_dm_tab
  972. integer y = 1800
  973. integer width = 347
  974. integer height = 92
  975. integer taborder = 210
  976. boolean bringtotop = true
  977. integer textsize = -9
  978. integer weight = 400
  979. fontcharset fontcharset = gb2312charset!
  980. fontpitch fontpitch = variable!
  981. string facename = "宋体"
  982. string text = "安全退出"
  983. end type
  984. type cb_20 from commandbutton within w_saletask_dm_tab
  985. integer y = 1260
  986. integer width = 347
  987. integer height = 92
  988. integer taborder = 220
  989. boolean bringtotop = true
  990. integer textsize = -9
  991. integer weight = 400
  992. fontcharset fontcharset = gb2312charset!
  993. fontpitch fontpitch = variable!
  994. string facename = "宋体"
  995. string text = "收货确认"
  996. end type