w_buytask_custom_fx.srw 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066
  1. $PBExportHeader$w_buytask_custom_fx.srw
  2. $PBExportComments$定制产品销售订单
  3. forward
  4. global type w_buytask_custom_fx from w_publ_base_style
  5. end type
  6. type cb_retr from uo_imflatbutton within w_buytask_custom_fx
  7. end type
  8. type cb_new from uo_imflatbutton within w_buytask_custom_fx
  9. end type
  10. type cb_edit from uo_imflatbutton within w_buytask_custom_fx
  11. end type
  12. type cb_audit from uo_imflatbutton within w_buytask_custom_fx
  13. end type
  14. type cb_inware from uo_imflatbutton within w_buytask_custom_fx
  15. end type
  16. type cb_back from uo_imflatbutton within w_buytask_custom_fx
  17. end type
  18. type em_pagesize from editmask within w_buytask_custom_fx
  19. end type
  20. type cb_toppage from uo_imflatbutton within w_buytask_custom_fx
  21. end type
  22. type cb_page_ch from uo_imflatbutton within w_buytask_custom_fx
  23. end type
  24. type cbx_ch_all from checkbox within w_buytask_custom_fx
  25. end type
  26. type st_1 from statictext within w_buytask_custom_fx
  27. end type
  28. type ddlb_daterangemode from dropdownlistbox within w_buytask_custom_fx
  29. end type
  30. type st_2 from statictext within w_buytask_custom_fx
  31. end type
  32. type dp_a from datepicker within w_buytask_custom_fx
  33. end type
  34. type st_3 from statictext within w_buytask_custom_fx
  35. end type
  36. type dp_z from datepicker within w_buytask_custom_fx
  37. end type
  38. type ddlb_status from dropdownlistbox within w_buytask_custom_fx
  39. end type
  40. type st_4 from statictext within w_buytask_custom_fx
  41. end type
  42. type ddlb_querymode from dropdownlistbox within w_buytask_custom_fx
  43. end type
  44. type sle_query from singlelineedit within w_buytask_custom_fx
  45. end type
  46. type dw_1 from u_dw_rbtnfilter within w_buytask_custom_fx
  47. end type
  48. type uo_tab from uo_fx_saletask_custom_tab within w_buytask_custom_fx
  49. end type
  50. type uo_tab from uo_fx_saletask_custom_tab within w_buytask_custom_fx
  51. end type
  52. type st_split from u_lbs_stsplitbar within w_buytask_custom_fx
  53. end type
  54. end forward
  55. global type w_buytask_custom_fx from w_publ_base_style
  56. integer width = 3872
  57. integer height = 2504
  58. string title = "定制产品订单"
  59. boolean maxbox = true
  60. boolean resizable = true
  61. long backcolor = 16777215
  62. event ue_page_next ( )
  63. event ue_page_before ( )
  64. event ue_page_end ( )
  65. event ue_tab_fj_upload ( )
  66. cb_retr cb_retr
  67. cb_new cb_new
  68. cb_edit cb_edit
  69. cb_audit cb_audit
  70. cb_inware cb_inware
  71. cb_back cb_back
  72. em_pagesize em_pagesize
  73. cb_toppage cb_toppage
  74. cb_page_ch cb_page_ch
  75. cbx_ch_all cbx_ch_all
  76. st_1 st_1
  77. ddlb_daterangemode ddlb_daterangemode
  78. st_2 st_2
  79. dp_a dp_a
  80. st_3 st_3
  81. dp_z dp_z
  82. ddlb_status ddlb_status
  83. st_4 st_4
  84. ddlb_querymode ddlb_querymode
  85. sle_query sle_query
  86. dw_1 dw_1
  87. uo_tab uo_tab
  88. st_split st_split
  89. end type
  90. global w_buytask_custom_fx w_buytask_custom_fx
  91. type variables
  92. long ins_cur_pageNum = 1 // 用于记录当前页码
  93. long ins_totalPages = 1 // 用于记录总页数
  94. end variables
  95. forward prototypes
  96. public subroutine wf_retr ()
  97. public subroutine wf_init_split ()
  98. end prototypes
  99. event ue_page_next();// 下一页
  100. ins_cur_pageNum++
  101. wf_retr()
  102. end event
  103. event ue_page_before();// 上一页
  104. if (ins_cur_pageNum <= 1) then return
  105. ins_cur_pageNum --
  106. wf_retr()
  107. end event
  108. event ue_page_end();// 末页
  109. if (ins_cur_pageNum = ins_totalPages) then return
  110. ins_cur_pageNum = ins_totalPages
  111. wf_retr()
  112. end event
  113. event ue_tab_fj_upload();// uo_tab附件页【上传】按钮触发事件
  114. long ll_row
  115. ll_row = dw_1.GetRow()
  116. if (ll_row <= 0) then return
  117. long ll_taskid, ll_status, ll_printid, ll_dftFjtype
  118. ll_taskid = dw_1.Object.fx_saletask_taskid[ll_row]
  119. ll_status = dw_1.Object.fx_saletask_status[ll_row]
  120. ll_printid = 1 // 定制订单明细默认1项
  121. if (ll_status = 2) then // 已退回
  122. MessageBox('提示', '退回订单请双击进入编辑状态进行附件管理')
  123. return
  124. end if
  125. if (ll_status <> 4) then // 非待付款状态
  126. ll_dftFjtype = 2 // 下单附件
  127. else
  128. ll_dftFjtype = 0 // 付款凭证
  129. end if
  130. OpenWithParm(w_fjtype_ch_fx, ll_dftFjtype)
  131. ll_dftFjtype = Message.DoubleParm
  132. if (ll_dftFjtype = - 1) then return
  133. // TODO:可重构,与w_buytask_custom_view_fx的ue_tab_fj_upload相似
  134. oleobject parm, ret, fullNamesArr, namesArr, extsArr, md5sArr
  135. parm = FXAppCom.CreatePbDictionary()
  136. parm.SetString('filter', '')
  137. parm.SetString('ifMulti', 1)
  138. ret = FXAppCom.OpenFiles(parm)
  139. long ll_cnt, ll_insertRow, ll_i
  140. datetime ldt_now = DateTime(Today(), Now())
  141. string ls_md5s_arr[], ls_filepaths_arr[]
  142. ll_cnt = ret.GetInt('cnt')
  143. if (ll_cnt > 0) then
  144. fullNamesArr = ret.GetPBArray('fullNamesArr')
  145. namesArr = ret.GetPBArray('namesArr')
  146. extsArr = ret.GetPBArray('extsArr')
  147. md5sArr = ret.GetPBArray('md5sArr')
  148. uo_tab.tabpage_fj.dw_fj.SetRedraw(false)
  149. for ll_i = 1 to ll_cnt
  150. ll_insertRow = uo_tab.tabpage_fj.dw_fj.InsertRow(0)
  151. uo_tab.tabpage_fj.dw_fj.Object.mxprintid[ll_insertRow] = ll_printid
  152. uo_tab.tabpage_fj.dw_fj.Object.fjtype[ll_insertRow] = ll_dftFjtype
  153. uo_tab.tabpage_fj.dw_fj.Object.filename[ll_insertRow] = namesArr.GetString(ll_i - 1)
  154. uo_tab.tabpage_fj.dw_fj.Object.dscrp[ll_insertRow] = ''
  155. uo_tab.tabpage_fj.dw_fj.Object.opemp[ll_insertRow] = app_username
  156. uo_tab.tabpage_fj.dw_fj.Object.opdate[ll_insertRow] = ldt_now
  157. uo_tab.tabpage_fj.dw_fj.Object.ch[ll_insertRow] = 0
  158. uo_tab.tabpage_fj.dw_fj.Object.fjprintid[ll_insertRow] = 0
  159. uo_tab.tabpage_fj.dw_fj.Object.fileType[ll_insertRow] = extsArr.GetString(ll_i - 1)
  160. uo_tab.tabpage_fj.dw_fj.Object.filemd5[ll_insertRow] = md5sArr.GetString(ll_i - 1)
  161. uo_tab.tabpage_fj.dw_fj.Object.filepath[ll_insertRow] = fullNamesArr.GetString(ll_i - 1)
  162. ls_md5s_arr[ll_i] = md5sArr.GetString(ll_i - 1)
  163. ls_filepaths_arr[ll_i] = fullNamesArr.GetString(ll_i - 1)
  164. next
  165. uo_tab.tabpage_fj.dw_fj.AcceptText()
  166. uo_tab.tabpage_fj.dw_fj.SetRedraw(true)
  167. end if
  168. end event
  169. public subroutine wf_retr ();long ll_old_row
  170. ll_old_row = dw_1.GetRow()
  171. dw_1.Reset()
  172. long ll_pos, ll_status
  173. ll_pos = Pos(ddlb_status.Text, '[')
  174. if (ll_pos <= 0) then return
  175. ll_status = long(Mid(ddlb_status.Text, ll_pos + 1, Len(ddlb_status.Text) - ll_pos - 1))
  176. long ll_daterangemode
  177. ll_pos = Pos(ddlb_daterangemode.Text, '[')
  178. if (ll_pos <= 0) then return
  179. ll_daterangemode = long(Mid(ddlb_daterangemode.Text, ll_pos + 1, Len(ddlb_daterangemode.Text) - ll_pos - 1))
  180. datetime ldt_a, ldt_z
  181. ldt_a = DateTime(Date(dp_a.Value), Time('00:00:00'))
  182. ldt_z = DateTime(Date(dp_z.Value), Time('23:59:59'))
  183. long ll_querymode
  184. ll_pos = Pos(ddlb_querymode.Text, '[')
  185. if (ll_pos <= 0) then return
  186. ll_querymode = long(Mid(ddlb_querymode.Text, ll_pos + 1, Len(ddlb_querymode.Text) - ll_pos - 1))
  187. string ls_query
  188. ls_query = Trim(sle_query.Text)
  189. long ll_pagesize
  190. ll_pagesize = long(em_pagesize.Text)
  191. string arg_msg
  192. oleobject req, rsp
  193. req = FXAppCom.CreatePbDictionary()
  194. req.SetString('token', app_token_fx)
  195. req.SetInt('clientMode', 2) // 0-手机 1-ERP 2-PB客户端
  196. req.SetInt('status', ll_status)
  197. req.SetInt('dateRangeMode', ll_daterangemode)
  198. req.SetDateTime('begindate', ldt_a)
  199. req.SetDateTime('enddate', ldt_z)
  200. req.SetInt('queryMode', ll_querymode)
  201. req.SetString('querystr', ls_query)
  202. req.SetInt('pageindex', ins_cur_pageNum)
  203. req.SetInt('pagesize', ll_pagesize)
  204. rsp = FXAppCom.DoExecute('GetTaskList', req)
  205. arg_msg = rsp.GetString('ErrMsg')
  206. if (arg_msg <> '') then
  207. MessageBox('提示', arg_msg)
  208. return
  209. end if
  210. oleobject list, item
  211. long ll_i, ll_insertRow
  212. list = rsp.GetPBArray('tasklist')
  213. ins_totalPages = rsp.GetInt('totalPages')
  214. dw_1.SetRedraw(false)
  215. for ll_i = 1 to list.Count
  216. item = list.GetPBDictionary(ll_i - 1)
  217. ll_insertRow = dw_1.InsertRow(0)
  218. dw_1.Object.ch[ll_insertRow] = 0
  219. dw_1.Object.fx_saletask_status[ll_insertRow] = item.GetInt('status')
  220. dw_1.Object.fx_saletask_gpCode[ll_insertRow] = item.GetString('gpCode')
  221. dw_1.Object.fx_saletask_tid[ll_insertRow] = item.GetString('tid')
  222. dw_1.Object.fx_mtrldef_mtrlcode[ll_insertRow] = item.GetString('mtrlcode')
  223. dw_1.Object.fx_mtrldef_mtrlname[ll_insertRow] = item.GetString('mtrlname')
  224. dw_1.Object.fx_mtrldef_mtrlmode[ll_insertRow] = item.GetString('mtrlmode')
  225. dw_1.Object.fx_saletaskmx_mxstatus[ll_insertRow] = item.GetString('mxstatus')
  226. dw_1.Object.fx_saletaskmx_woodcode[ll_insertRow] = item.GetString('woodcode')
  227. dw_1.Object.fx_saletaskmx_pcode[ll_insertRow] = item.GetString('pcode')
  228. dw_1.Object.fx_saletaskmx_qty[ll_insertRow] = item.GetDouble('qty')
  229. dw_1.Object.fx_saletaskmx_price[ll_insertRow] = item.GetDouble('price')
  230. if (not IsNull(item.GetDateTime('taskdate'))) then
  231. dw_1.Object.fx_saletask_taskdate[ll_insertRow] = item.GetDateTime('taskdate')
  232. end if
  233. if (not IsNull(item.GetDateTime('mxrequiredate'))) then
  234. dw_1.Object.fx_saletaskmx_mxrequiredate[ll_insertRow] = item.GetDateTime('mxrequiredate')
  235. end if
  236. if (not IsNull(item.GetDateTime('replyrqdate'))) then
  237. dw_1.Object.fx_saletask_replyrqdate[ll_insertRow] = item.GetDateTime('replyrqdate')
  238. end if
  239. dw_1.Object.fx_saletask_opemp[ll_insertRow] = item.GetString('opemp')
  240. if (not IsNull(item.GetDateTime('opdate'))) then
  241. dw_1.Object.fx_saletask_opdate[ll_insertRow] = item.GetDateTime('opdate')
  242. end if
  243. dw_1.Object.fx_saletask_modemp[ll_insertRow] = item.GetString('modemp')
  244. if (not IsNull(item.GetDateTime('moddate'))) then
  245. dw_1.Object.fx_saletask_moddate[ll_insertRow] = item.GetDateTime('moddate')
  246. end if
  247. dw_1.Object.fx_saletask_erpConfirmEmp[ll_insertRow] = item.GetString('erpConfirmEmp')
  248. if (not IsNull(item.GetDateTime('erpConfirmDate'))) then
  249. dw_1.Object.fx_saletask_erpConfirmDate[ll_insertRow] = item.GetDateTime('erpConfirmDate')
  250. end if
  251. dw_1.Object.fx_saletask_splitEmp[ll_insertRow] = item.GetString('splitEmp')
  252. if (not IsNull(item.GetDateTime('splitDate'))) then
  253. dw_1.Object.fx_saletask_splitDate[ll_insertRow] = item.GetDateTime('splitDate')
  254. end if
  255. dw_1.Object.fx_saletask_splitConfirmEmp[ll_insertRow] = item.GetString('splitConfirmEmp')
  256. if (not IsNull(item.GetDateTime('splitConfirmDate'))) then
  257. dw_1.Object.fx_saletask_splitConfirmDate[ll_insertRow] = item.GetDateTime('splitConfirmDate')
  258. end if
  259. dw_1.Object.fx_saletask_price_emp[ll_insertRow] = item.GetString('price_emp')
  260. if (not IsNull(item.GetDateTime('priceDate'))) then
  261. dw_1.Object.fx_saletask_priceDate[ll_insertRow] = item.GetDateTime('priceDate')
  262. end if
  263. dw_1.Object.fx_saletask_priceConfirmEmp[ll_insertRow] = item.GetString('priceConfirmEmp')
  264. if (not IsNull(item.GetDateTime('priceConfirmDate'))) then
  265. dw_1.Object.fx_saletask_priceConfirmDate[ll_insertRow] = item.GetDateTime('priceConfirmDate')
  266. end if
  267. dw_1.Object.fx_saletask_payConfirmEmp[ll_insertRow] = item.GetString('payConfirmEmp')
  268. if (not IsNull(item.GetDateTime('payConfirmDate'))) then
  269. dw_1.Object.fx_saletask_payConfirmDate[ll_insertRow] = item.GetDateTime('payConfirmDate')
  270. end if
  271. dw_1.Object.fx_saletask_taskrelcode[ll_insertRow] = item.GetString('taskrelcode')
  272. dw_1.Object.fx_saletask_cus_rep[ll_insertRow] = item.GetString('cus_rep')
  273. dw_1.Object.fx_saletask_cus_tele[ll_insertRow] = item.GetString('cus_tele')
  274. dw_1.Object.fx_saletask_cus_address[ll_insertRow] = item.GetString('cus_address')
  275. dw_1.Object.fx_saletask_buyer_name[ll_insertRow] = item.GetString('buyer_name')
  276. dw_1.Object.fx_saletask_buyer_tele[ll_insertRow] = item.GetString('buyer_tele')
  277. dw_1.Object.fx_saletask_freight[ll_insertRow] = item.GetString('freight')
  278. dw_1.Object.fx_saletask_freight_tele[ll_insertRow] = item.GetString('freight_tele')
  279. dw_1.Object.fx_saletask_temp1[ll_insertRow] = item.GetString('temp1')
  280. dw_1.Object.fx_saletask_temp2[ll_insertRow] = item.GetString('temp2')
  281. dw_1.Object.fx_saletask_temp3[ll_insertRow] = item.GetString('temp3')
  282. dw_1.Object.fx_saletask_taskcode[ll_insertRow] = item.GetString('taskcode')
  283. dw_1.Object.fx_saletask_addCost[ll_insertRow] = item.GetDouble('addCost')
  284. dw_1.Object.fx_saletaskmx_mxdscrp[ll_insertRow] = item.GetString('mxdscrp')
  285. dw_1.Object.fx_saletaskmx_mxdscrp2[ll_insertRow] = item.GetString('mxdscrp2')
  286. dw_1.Object.fx_saletaskmx_cus_receiveqty[ll_insertRow] = item.GetDouble('cus_receiveqty')
  287. dw_1.Object.fx_saletaskmx_qty_ready[ll_insertRow] = item.GetDouble('qty_ready')
  288. dw_1.Object.fx_saletaskmx_outQty[ll_insertRow] = item.GetDouble('outQty')
  289. dw_1.Object.fx_saletaskmx_stopQty[ll_insertRow] = item.GetDouble('stopQty')
  290. dw_1.Object.fx_saletask_taskid[ll_insertRow] = item.GetInt('taskid')
  291. dw_1.Object.fx_saletask_sptcomid[ll_insertRow] = item.GetInt('sptcomid')
  292. dw_1.Object.fx_saletask_cuscomid[ll_insertRow] = item.GetInt('cuscomid')
  293. dw_1.Object.fx_saletask_billtype[ll_insertRow] = item.GetInt('billtype')
  294. dw_1.Object.fx_saletaskmx_fxmtrlid[ll_insertRow] = item.GetInt('fxmtrlid')
  295. dw_1.Object.fx_saletaskmx_mtrlid[ll_insertRow] = item.GetInt('mtrlid')
  296. dw_1.Object.fx_saletaskmx_fxmtrlid_ori[ll_insertRow] = item.GetInt('fxmtrlid_ori')
  297. dw_1.Object.fx_saletaskmx_mtrlid_ori[ll_insertRow] = item.GetInt('mtrlid_ori')
  298. dw_1.Object.fx_saletask_erpstatus[ll_insertRow] = item.GetInt('erpstatus')
  299. // dw_1.Object.fx_saletask_temp4[ll_insertRow] = item.GetString('temp4')
  300. // dw_1.Object.fx_saletask_temp5[ll_insertRow] = item.GetString('temp5')
  301. // dw_1.Object.fx_saletask_temp6[ll_insertRow] = item.GetString('temp6')
  302. // dw_1.Object.fx_saletask_replydscrp[ll_insertRow] = item.GetString('replydscrp')
  303. // dw_1.Object.fx_saletask_replydate[ll_insertRow] = item.GetDateTime('replydate')
  304. // dw_1.Object.fx_saletask_confirmemp[ll_insertRow] = item.GetString('confirmemp')
  305. // dw_1.Object.fx_saletask_confirmdate[ll_insertRow] = item.GetDateTime('confirmdate')
  306. // dw_1.Object.fx_saletask_outwarecode[ll_insertRow] = item.GetString('outwarecode')
  307. // dw_1.Object.fx_saletask_fstatus[ll_insertRow] = item.GetInt('fstatus')
  308. next
  309. if (dw_1.RowCount() > 0) then
  310. if (ll_old_row > 0 and ll_old_row <= dw_1.RowCount()) then
  311. dw_1.post event rowfocuschanged(ll_old_row)
  312. else
  313. dw_1.post event rowfocuschanged(1)
  314. end if
  315. end if
  316. dw_1.AcceptText()
  317. dw_1.SetRedraw(true)
  318. end subroutine
  319. public subroutine wf_init_split ();// 将所有该分割条的上下的object都进行注册
  320. st_split.of_Reset()
  321. st_split.of_Register(dw_1, st_split.ABOVE)
  322. st_split.of_Register(uo_tab, st_split.BELOW)
  323. // 定位拖动条--以tv_1为位移基准
  324. st_split.uf_possplitbar(dw_1)
  325. end subroutine
  326. on w_buytask_custom_fx.create
  327. int iCurrent
  328. call super::create
  329. this.cb_retr=create cb_retr
  330. this.cb_new=create cb_new
  331. this.cb_edit=create cb_edit
  332. this.cb_audit=create cb_audit
  333. this.cb_inware=create cb_inware
  334. this.cb_back=create cb_back
  335. this.em_pagesize=create em_pagesize
  336. this.cb_toppage=create cb_toppage
  337. this.cb_page_ch=create cb_page_ch
  338. this.cbx_ch_all=create cbx_ch_all
  339. this.st_1=create st_1
  340. this.ddlb_daterangemode=create ddlb_daterangemode
  341. this.st_2=create st_2
  342. this.dp_a=create dp_a
  343. this.st_3=create st_3
  344. this.dp_z=create dp_z
  345. this.ddlb_status=create ddlb_status
  346. this.st_4=create st_4
  347. this.ddlb_querymode=create ddlb_querymode
  348. this.sle_query=create sle_query
  349. this.dw_1=create dw_1
  350. this.uo_tab=create uo_tab
  351. this.st_split=create st_split
  352. iCurrent=UpperBound(this.Control)
  353. this.Control[iCurrent+1]=this.cb_retr
  354. this.Control[iCurrent+2]=this.cb_new
  355. this.Control[iCurrent+3]=this.cb_edit
  356. this.Control[iCurrent+4]=this.cb_audit
  357. this.Control[iCurrent+5]=this.cb_inware
  358. this.Control[iCurrent+6]=this.cb_back
  359. this.Control[iCurrent+7]=this.em_pagesize
  360. this.Control[iCurrent+8]=this.cb_toppage
  361. this.Control[iCurrent+9]=this.cb_page_ch
  362. this.Control[iCurrent+10]=this.cbx_ch_all
  363. this.Control[iCurrent+11]=this.st_1
  364. this.Control[iCurrent+12]=this.ddlb_daterangemode
  365. this.Control[iCurrent+13]=this.st_2
  366. this.Control[iCurrent+14]=this.dp_a
  367. this.Control[iCurrent+15]=this.st_3
  368. this.Control[iCurrent+16]=this.dp_z
  369. this.Control[iCurrent+17]=this.ddlb_status
  370. this.Control[iCurrent+18]=this.st_4
  371. this.Control[iCurrent+19]=this.ddlb_querymode
  372. this.Control[iCurrent+20]=this.sle_query
  373. this.Control[iCurrent+21]=this.dw_1
  374. this.Control[iCurrent+22]=this.uo_tab
  375. this.Control[iCurrent+23]=this.st_split
  376. end on
  377. on w_buytask_custom_fx.destroy
  378. call super::destroy
  379. destroy(this.cb_retr)
  380. destroy(this.cb_new)
  381. destroy(this.cb_edit)
  382. destroy(this.cb_audit)
  383. destroy(this.cb_inware)
  384. destroy(this.cb_back)
  385. destroy(this.em_pagesize)
  386. destroy(this.cb_toppage)
  387. destroy(this.cb_page_ch)
  388. destroy(this.cbx_ch_all)
  389. destroy(this.st_1)
  390. destroy(this.ddlb_daterangemode)
  391. destroy(this.st_2)
  392. destroy(this.dp_a)
  393. destroy(this.st_3)
  394. destroy(this.dp_z)
  395. destroy(this.ddlb_status)
  396. destroy(this.st_4)
  397. destroy(this.ddlb_querymode)
  398. destroy(this.sle_query)
  399. destroy(this.dw_1)
  400. destroy(this.uo_tab)
  401. destroy(this.st_split)
  402. end on
  403. event open;call super::open;wf_init_split()
  404. cb_toppage.post event clicked()
  405. end event
  406. event resize;call super::resize;cb_exit.X = this.workspacewidth() - cb_exit.Width
  407. cb_page_ch.X = cb_exit.X - 87
  408. cb_toppage.X = cb_page_ch.X - 155
  409. em_pagesize.X = cb_toppage.X - 311
  410. dw_1.Width = this.workspacewidth()
  411. if (dw_1.Height >= (this.workspaceheight() - dw_1.Y) - 300) then
  412. dw_1.Height = (this.workspaceheight() - dw_1.Y) - 400
  413. end if
  414. st_split.Y = dw_1.Y + dw_1.Height
  415. st_split.WIdth = this.workspacewidth()
  416. uo_tab.Y = st_split.Y + st_split.Height
  417. uo_tab.Width = this.workspacewidth()
  418. uo_tab.Height = this.workspaceheight() - uo_tab.Y
  419. uo_tab.post event ue_resize()
  420. end event
  421. type cb_func from w_publ_base_style`cb_func within w_buytask_custom_fx
  422. boolean visible = false
  423. integer x = 2715
  424. boolean enabled = false
  425. end type
  426. type cb_exit from w_publ_base_style`cb_exit within w_buytask_custom_fx
  427. integer x = 3625
  428. end type
  429. type ln_bar from w_publ_base_style`ln_bar within w_buytask_custom_fx
  430. end type
  431. type ln_bar2 from w_publ_base_style`ln_bar2 within w_buytask_custom_fx
  432. end type
  433. type r_bar from w_publ_base_style`r_bar within w_buytask_custom_fx
  434. end type
  435. type cb_retr from uo_imflatbutton within w_buytask_custom_fx
  436. integer width = 151
  437. integer height = 164
  438. integer taborder = 30
  439. boolean bringtotop = true
  440. string text = "刷新"
  441. string normalpicname = "refresh.bmp"
  442. integer picsize = 16
  443. toolbaralignment pic_align = alignattop!
  444. boolean border = false
  445. end type
  446. event clicked;call super::clicked;cb_toppage.post event clicked()
  447. end event
  448. type cb_new from uo_imflatbutton within w_buytask_custom_fx
  449. integer x = 155
  450. integer width = 151
  451. integer height = 164
  452. integer taborder = 40
  453. boolean bringtotop = true
  454. string text = "新建"
  455. string normalpicname = "new.bmp"
  456. integer picsize = 16
  457. toolbaralignment pic_align = alignattop!
  458. boolean border = false
  459. end type
  460. event clicked;call super::clicked;s_fx_saletask s_tran
  461. s_tran.taskid = 0
  462. s_tran.status = 0
  463. long ll_ret
  464. OpenWithParm(w_buytask_custom_view_fx, s_tran)
  465. ll_ret = Message.DoubleParm
  466. if (ll_ret = 1) then
  467. cb_toppage.post event clicked()
  468. end if
  469. end event
  470. type cb_edit from uo_imflatbutton within w_buytask_custom_fx
  471. integer x = 311
  472. integer width = 151
  473. integer height = 164
  474. integer taborder = 50
  475. boolean bringtotop = true
  476. string text = "修改"
  477. string normalpicname = "open.bmp"
  478. integer picsize = 16
  479. toolbaralignment pic_align = alignattop!
  480. boolean border = false
  481. end type
  482. type cb_audit from uo_imflatbutton within w_buytask_custom_fx
  483. integer x = 466
  484. integer width = 151
  485. integer height = 164
  486. integer taborder = 60
  487. boolean bringtotop = true
  488. string text = "审核"
  489. string normalpicname = "audit.bmp"
  490. integer picsize = 16
  491. toolbaralignment pic_align = alignattop!
  492. boolean border = false
  493. end type
  494. type cb_inware from uo_imflatbutton within w_buytask_custom_fx
  495. integer x = 622
  496. integer width = 151
  497. integer height = 164
  498. integer taborder = 70
  499. boolean bringtotop = true
  500. string text = "收货"
  501. string normalpicname = "audit.bmp"
  502. integer picsize = 16
  503. toolbaralignment pic_align = alignattop!
  504. boolean border = false
  505. end type
  506. type cb_back from uo_imflatbutton within w_buytask_custom_fx
  507. integer x = 777
  508. integer width = 151
  509. integer height = 164
  510. integer taborder = 80
  511. boolean bringtotop = true
  512. string text = "退回"
  513. string normalpicname = "caudit.bmp"
  514. integer picsize = 16
  515. toolbaralignment pic_align = alignattop!
  516. boolean border = false
  517. end type
  518. type em_pagesize from editmask within w_buytask_custom_fx
  519. integer x = 3072
  520. integer y = 40
  521. integer width = 306
  522. integer height = 84
  523. integer taborder = 40
  524. boolean bringtotop = true
  525. integer textsize = -9
  526. integer weight = 400
  527. fontcharset fontcharset = gb2312charset!
  528. fontpitch fontpitch = variable!
  529. string facename = "宋体"
  530. long textcolor = 33554432
  531. string text = "100"
  532. alignment alignment = center!
  533. borderstyle borderstyle = stylelowered!
  534. string mask = "#####"
  535. boolean spin = true
  536. double increment = 1
  537. string minmax = "1~~"
  538. end type
  539. type cb_toppage from uo_imflatbutton within w_buytask_custom_fx
  540. integer x = 3383
  541. integer width = 151
  542. integer height = 164
  543. integer taborder = 40
  544. boolean bringtotop = true
  545. string text = "首页"
  546. boolean border = false
  547. end type
  548. event clicked;call super::clicked;// 首页
  549. ins_cur_pageNum = 1
  550. wf_retr()
  551. end event
  552. type cb_page_ch from uo_imflatbutton within w_buytask_custom_fx
  553. integer x = 3538
  554. integer width = 82
  555. integer height = 164
  556. integer taborder = 50
  557. boolean bringtotop = true
  558. string text = "▼"
  559. boolean border = false
  560. end type
  561. event clicked;call super::clicked;m_Dfc_Control_PopupMenu dmPopupMenu
  562. string menustr
  563. menustr="Text=下页~tEvent=ue_page_next"
  564. menustr = menustr + "|" + "Text=上页~tEvent=ue_page_before"
  565. menustr = menustr + "|" + "Text=末页~tEvent=ue_page_end"
  566. if len(trim(menustr))<>0 then
  567. dmPopupMenu = Create m_Dfc_Control_PopupMenu
  568. dmPopupMenu.mf_BuildMenu(This, menustr)
  569. dmPopupMenu.mf_PopMenu()
  570. Destroy dmPopupMenu
  571. end if
  572. end event
  573. type cbx_ch_all from checkbox within w_buytask_custom_fx
  574. integer x = 18
  575. integer y = 192
  576. integer width = 192
  577. integer height = 60
  578. boolean bringtotop = true
  579. integer textsize = -9
  580. integer weight = 400
  581. fontcharset fontcharset = gb2312charset!
  582. fontpitch fontpitch = variable!
  583. string facename = "宋体"
  584. long textcolor = 33554432
  585. long backcolor = 16777215
  586. string text = "全选"
  587. end type
  588. type st_1 from statictext within w_buytask_custom_fx
  589. integer x = 233
  590. integer y = 196
  591. integer width = 151
  592. integer height = 48
  593. boolean bringtotop = true
  594. integer textsize = -9
  595. integer weight = 400
  596. fontcharset fontcharset = gb2312charset!
  597. fontpitch fontpitch = variable!
  598. string facename = "宋体"
  599. long textcolor = 33554432
  600. long backcolor = 16777215
  601. string text = "状态:"
  602. boolean focusrectangle = false
  603. end type
  604. type ddlb_daterangemode from dropdownlistbox within w_buytask_custom_fx
  605. integer x = 818
  606. integer y = 180
  607. integer width = 480
  608. integer height = 628
  609. integer taborder = 60
  610. boolean bringtotop = true
  611. integer textsize = -9
  612. integer weight = 400
  613. fontcharset fontcharset = gb2312charset!
  614. fontpitch fontpitch = variable!
  615. string facename = "宋体"
  616. long textcolor = 33554432
  617. boolean sorted = false
  618. boolean vscrollbar = true
  619. borderstyle borderstyle = stylelowered!
  620. end type
  621. event constructor;long cnt = 0
  622. this.Reset()
  623. string ls_space
  624. ls_space = Fill(' ', 100)
  625. cnt++
  626. this.InsertItem('下单日期' + ls_space + '[0]', cnt)
  627. cnt++
  628. this.InsertItem('接单时间' + ls_space + '[1]', cnt)
  629. cnt++
  630. this.InsertItem('拆单时间' + ls_space + '[2]', cnt)
  631. cnt++
  632. this.InsertItem('拆单确认时间' + ls_space + '[3]', cnt)
  633. cnt++
  634. this.InsertItem('报价时间' + ls_space + '[4]', cnt)
  635. cnt++
  636. this.InsertItem('报价确认时间' + ls_space + '[5]', cnt)
  637. cnt++
  638. this.InsertItem('付款确认时间' + ls_space + '[6]', cnt)
  639. this.SelectItem(1)
  640. end event
  641. event selectionchanged;cb_toppage.post event clicked()
  642. end event
  643. type st_2 from statictext within w_buytask_custom_fx
  644. integer x = 1312
  645. integer y = 196
  646. integer width = 96
  647. integer height = 48
  648. boolean bringtotop = true
  649. integer textsize = -9
  650. integer weight = 400
  651. fontcharset fontcharset = gb2312charset!
  652. fontpitch fontpitch = variable!
  653. string facename = "宋体"
  654. long textcolor = 33554432
  655. long backcolor = 16777215
  656. string text = "从:"
  657. boolean focusrectangle = false
  658. end type
  659. type dp_a from datepicker within w_buytask_custom_fx
  660. integer x = 1394
  661. integer y = 180
  662. integer width = 453
  663. integer height = 84
  664. integer taborder = 70
  665. boolean bringtotop = true
  666. boolean allowedit = true
  667. datetimeformat format = dtfcustom!
  668. string customformat = "yyyy-MM-dd"
  669. date maxdate = Date("2999-12-31")
  670. date mindate = Date("1800-01-01")
  671. datetime value = DateTime(Date("2018-05-15"), Time("09:46:32.000000"))
  672. integer textsize = -9
  673. fontcharset fontcharset = gb2312charset!
  674. fontpitch fontpitch = variable!
  675. string facename = "宋体"
  676. integer calendarfontweight = 400
  677. boolean todaysection = true
  678. boolean todaycircle = true
  679. end type
  680. event constructor;this.Value = DateTime(RelativeDate(Today(), - 120), Time('00:00:00'))
  681. end event
  682. type st_3 from statictext within w_buytask_custom_fx
  683. integer x = 1865
  684. integer y = 196
  685. integer width = 69
  686. integer height = 48
  687. boolean bringtotop = true
  688. integer textsize = -9
  689. integer weight = 400
  690. fontcharset fontcharset = gb2312charset!
  691. fontpitch fontpitch = variable!
  692. string facename = "宋体"
  693. long textcolor = 33554432
  694. long backcolor = 16777215
  695. string text = "到"
  696. boolean focusrectangle = false
  697. end type
  698. type dp_z from datepicker within w_buytask_custom_fx
  699. integer x = 1934
  700. integer y = 180
  701. integer width = 453
  702. integer height = 84
  703. integer taborder = 70
  704. boolean bringtotop = true
  705. boolean allowedit = true
  706. datetimeformat format = dtfcustom!
  707. string customformat = "yyyy-MM-dd"
  708. date maxdate = Date("2999-12-31")
  709. date mindate = Date("1800-01-01")
  710. datetime value = DateTime(Date("2018-05-15"), Time("09:46:32.000000"))
  711. integer textsize = -9
  712. fontcharset fontcharset = gb2312charset!
  713. fontpitch fontpitch = variable!
  714. string facename = "宋体"
  715. integer calendarfontweight = 400
  716. boolean todaysection = true
  717. boolean todaycircle = true
  718. end type
  719. event constructor;this.Value = DateTime(Today(), Time('23:59:59'))
  720. end event
  721. type ddlb_status from dropdownlistbox within w_buytask_custom_fx
  722. integer x = 370
  723. integer y = 180
  724. integer width = 421
  725. integer height = 816
  726. integer taborder = 50
  727. boolean bringtotop = true
  728. integer textsize = -9
  729. integer weight = 400
  730. fontcharset fontcharset = gb2312charset!
  731. fontpitch fontpitch = variable!
  732. string facename = "宋体"
  733. long textcolor = 33554432
  734. boolean sorted = false
  735. boolean vscrollbar = true
  736. borderstyle borderstyle = stylelowered!
  737. end type
  738. event constructor;long cnt = 0
  739. this.Reset()
  740. string ls_space
  741. ls_space = Fill(' ', 100)
  742. cnt++
  743. this.InsertItem('全部' + ls_space + '[-1]', cnt)
  744. cnt++
  745. this.InsertItem('已完成' + ls_space + '[7]', cnt)
  746. cnt++
  747. this.InsertItem('已发货' + ls_space + '[8]', cnt)
  748. cnt++
  749. this.InsertItem('在进行' + ls_space + '[6]', cnt)
  750. cnt++
  751. this.InsertItem('待付款确认' + ls_space + '[5]', cnt)
  752. cnt++
  753. this.InsertItem('待付款' + ls_space + '[4]', cnt)
  754. cnt++
  755. this.InsertItem('报价待审' + ls_space + '[3]', cnt)
  756. cnt++
  757. this.InsertItem('待报价' + ls_space + '[11]', cnt)
  758. cnt++
  759. this.InsertItem('拆单待审' + ls_space + '[10]', cnt)
  760. cnt++
  761. this.InsertItem('待拆单' + ls_space + '[9]', cnt)
  762. cnt++
  763. this.InsertItem('待接单' + ls_space + '[0]', cnt)
  764. cnt++
  765. this.InsertItem('已退回' + ls_space + '[2]', cnt)
  766. this.SelectItem(1)
  767. end event
  768. event selectionchanged;cb_toppage.post event clicked()
  769. end event
  770. type st_4 from statictext within w_buytask_custom_fx
  771. integer x = 2409
  772. integer y = 196
  773. integer width = 315
  774. integer height = 48
  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 = 16777215
  783. string text = "关键字筛选:"
  784. boolean focusrectangle = false
  785. end type
  786. type ddlb_querymode from dropdownlistbox within w_buytask_custom_fx
  787. integer x = 2711
  788. integer y = 180
  789. integer width = 480
  790. integer height = 600
  791. integer taborder = 80
  792. boolean bringtotop = true
  793. integer textsize = -9
  794. integer weight = 400
  795. fontcharset fontcharset = gb2312charset!
  796. fontpitch fontpitch = variable!
  797. string facename = "宋体"
  798. long textcolor = 33554432
  799. boolean sorted = false
  800. boolean vscrollbar = true
  801. borderstyle borderstyle = stylelowered!
  802. end type
  803. event constructor;long cnt = 0
  804. this.Reset()
  805. string ls_space
  806. ls_space = Fill(' ', 100)
  807. cnt++
  808. this.InsertItem('云订单号' + ls_space + '[0]', cnt)
  809. cnt++
  810. this.InsertItem('云订单成组号' + ls_space + '[1]', cnt)
  811. cnt++
  812. this.InsertItem('订单明细备注' + ls_space + '[2]', cnt)
  813. cnt++
  814. this.InsertItem('排产批号' + ls_space + '[3]', cnt)
  815. //cnt++
  816. //this.InsertItem('本地销售订单号' + ls_space + '[4]', cnt)
  817. //cnt++
  818. //this.InsertItem('客户名称编号' + ls_space + '[5]', cnt)
  819. this.SelectItem(1)
  820. end event
  821. event selectionchanged;cb_toppage.post event clicked()
  822. end event
  823. type sle_query from singlelineedit within w_buytask_custom_fx
  824. event ue_keydown pbm_keydown
  825. integer x = 3205
  826. integer y = 180
  827. integer width = 585
  828. integer height = 84
  829. integer taborder = 90
  830. boolean bringtotop = true
  831. integer textsize = -9
  832. integer weight = 400
  833. fontcharset fontcharset = gb2312charset!
  834. fontpitch fontpitch = variable!
  835. string facename = "宋体"
  836. long textcolor = 33554432
  837. borderstyle borderstyle = stylelowered!
  838. end type
  839. event ue_keydown;if (key = KeyEnter!) then
  840. cb_toppage.post event clicked()
  841. end if
  842. end event
  843. type dw_1 from u_dw_rbtnfilter within w_buytask_custom_fx
  844. integer y = 268
  845. integer width = 3799
  846. integer height = 1072
  847. integer taborder = 20
  848. boolean bringtotop = true
  849. string dataobject = "dw_fx_buytask_custom"
  850. boolean hscrollbar = true
  851. boolean vscrollbar = true
  852. boolean hsplitscroll = true
  853. boolean rbutton_filter_use = true
  854. boolean rbutton_setposition_use = true
  855. boolean titleclick_sort_use = true
  856. end type
  857. event clicked;call super::clicked;if (row > 0) then
  858. this.SetRow(row)
  859. this.SelectRow(0, false)
  860. this.SelectRow(row, true)
  861. end if
  862. end event
  863. event rowfocuschanged;call super::rowfocuschanged;long ll_taskid, ll_status
  864. string ls_tid
  865. if (currentrow > 0) then
  866. this.SetRow(currentrow)
  867. this.SelectRow(0, false)
  868. this.SelectRow(currentrow, true)
  869. ll_taskid = dw_1.Object.fx_saletask_taskid[currentrow]
  870. ll_status = dw_1.Object.fx_saletask_status[currentrow]
  871. ls_tid = dw_1.Object.fx_saletask_tid[currentrow]
  872. if (not IsNull(ll_taskid)) then
  873. uo_tab.post event ue_init_with_tid(ll_taskid, ll_status, ls_tid, parent)
  874. end if
  875. end if
  876. end event
  877. event doubleclicked;call super::doubleclicked;s_fx_saletask s_tran
  878. long ll_ret
  879. if (row > 0) then
  880. s_tran.taskid = dw_1.Object.fx_saletask_taskid[row]
  881. s_tran.tid = dw_1.Object.fx_saletask_tid[row]
  882. s_tran.taskdate = dw_1.Object.fx_saletask_taskdate[row]
  883. s_tran.sptcomid = dw_1.Object.fx_saletask_sptcomid[row]
  884. s_tran.cuscomid = dw_1.Object.fx_saletask_cuscomid[row]
  885. s_tran.cus_rep = dw_1.Object.fx_saletask_cus_rep[row]
  886. s_tran.cus_tele = dw_1.Object.fx_saletask_cus_tele[row]
  887. s_tran.cus_address = dw_1.Object.fx_saletask_cus_address[row]
  888. s_tran.freight = dw_1.Object.fx_saletask_freight[row]
  889. s_tran.freight_tele = dw_1.Object.fx_saletask_freight_tele[row]
  890. s_tran.opemp = dw_1.Object.fx_saletask_opemp[row]
  891. s_tran.opdate = dw_1.Object.fx_saletask_opdate[row]
  892. s_tran.modemp = dw_1.Object.fx_saletask_modemp[row]
  893. s_tran.moddate = dw_1.Object.fx_saletask_moddate[row]
  894. s_tran.buyer_name = dw_1.Object.fx_saletask_buyer_name[row]
  895. s_tran.buyer_tele = dw_1.Object.fx_saletask_buyer_tele[row]
  896. s_tran.requiredate = dw_1.Object.fx_saletaskmx_mxrequiredate[row]
  897. s_tran.temp1 = dw_1.Object.fx_saletask_temp1[row]
  898. s_tran.temp2 = dw_1.Object.fx_saletask_temp2[row]
  899. s_tran.temp3 = dw_1.Object.fx_saletask_temp3[row]
  900. s_tran.price_emp = dw_1.Object.fx_saletask_price_emp[row]
  901. s_tran.replyrqdate = dw_1.Object.fx_saletask_replyrqdate[row]
  902. s_tran.status = dw_1.Object.fx_saletask_status[row]
  903. s_tran.taskcode = dw_1.Object.fx_saletask_taskcode[row]
  904. s_tran.erpstatus = dw_1.Object.fx_saletask_erpstatus[row]
  905. s_tran.addCost = dw_1.Object.fx_saletask_addCost[row]
  906. s_tran.billtype = dw_1.Object.fx_saletask_billtype[row]
  907. s_tran.gpCode = dw_1.Object.fx_saletask_gpCode[row]
  908. s_tran.erpConfirmEmp = dw_1.Object.fx_saletask_erpConfirmEmp[row]
  909. s_tran.erpConfirmDate = dw_1.Object.fx_saletask_erpConfirmDate[row]
  910. s_tran.splitEmp = dw_1.Object.fx_saletask_splitEmp[row]
  911. s_tran.splitDate = dw_1.Object.fx_saletask_splitDate[row]
  912. s_tran.splitConfirmEmp = dw_1.Object.fx_saletask_splitConfirmEmp[row]
  913. s_tran.splitConfirmDate = dw_1.Object.fx_saletask_splitConfirmDate[row]
  914. s_tran.priceDate = dw_1.Object.fx_saletask_priceDate[row]
  915. s_tran.priceConfirmEmp = dw_1.Object.fx_saletask_priceConfirmEmp[row]
  916. s_tran.priceConfirmDate = dw_1.Object.fx_saletask_priceConfirmDate[row]
  917. s_tran.payConfirmEmp = dw_1.Object.fx_saletask_payConfirmEmp[row]
  918. s_tran.payConfirmDate = dw_1.Object.fx_saletask_payConfirmDate[row]
  919. s_tran.taskrelcode = dw_1.Object.fx_saletask_taskrelcode[row]
  920. // s_tran.replydscrp = dw_1.Object.fx_saletask_replydscrp[row]
  921. // s_tran.replydate = dw_1.Object.fx_saletask_replydate[row]
  922. // s_tran.confirmemp = dw_1.Object.fx_saletask_confirmemp[row]
  923. // s_tran.confirmdate = dw_1.Object.fx_saletask_confirmdate[row]
  924. // s_tran.outwarecode = dw_1.Object.fx_saletask_outwarecode[row]
  925. // s_tran.fstatus = dw_1.Object.fx_saletask_fstatus[row]
  926. OpenWithParm(w_buytask_custom_view_fx, s_tran)
  927. ll_ret = Message.DoubleParm
  928. if (ll_ret = 1) then
  929. cb_toppage.post event clicked()
  930. end if
  931. end if
  932. end event
  933. type uo_tab from uo_fx_saletask_custom_tab within w_buytask_custom_fx
  934. integer y = 1356
  935. integer width = 3703
  936. integer height = 984
  937. integer taborder = 30
  938. boolean bringtotop = true
  939. end type
  940. type st_split from u_lbs_stsplitbar within w_buytask_custom_fx
  941. integer y = 1336
  942. boolean bringtotop = true
  943. end type
  944. event clicked;call super::clicked;// click事件
  945. parent.postevent('resize')
  946. end event