w_saletask_pc.srw 20 KB

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