w_saletask_dm_tab_new.srw 22 KB

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