w_orderrqwp_change_his.srw 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. $PBExportHeader$w_orderrqwp_change_his.srw
  2. forward
  3. global type w_orderrqwp_change_his from w_publ_base
  4. end type
  5. type dw_1 from u_dw_rbtnfilter within w_orderrqwp_change_his
  6. end type
  7. end forward
  8. global type w_orderrqwp_change_his from w_publ_base
  9. integer width = 3611
  10. integer height = 1916
  11. string title = "工序明细变更历史"
  12. boolean minbox = false
  13. windowtype windowtype = response!
  14. dw_1 dw_1
  15. end type
  16. global w_orderrqwp_change_his w_orderrqwp_change_his
  17. type variables
  18. long ins_scid,ins_orderid
  19. end variables
  20. on w_orderrqwp_change_his.create
  21. int iCurrent
  22. call super::create
  23. this.dw_1=create dw_1
  24. iCurrent=UpperBound(this.Control)
  25. this.Control[iCurrent+1]=this.dw_1
  26. end on
  27. on w_orderrqwp_change_his.destroy
  28. call super::destroy
  29. destroy(this.dw_1)
  30. end on
  31. event open;call super::open;s_edit_index_tran s_tran
  32. s_tran = message.powerobjectparm
  33. ins_scid = s_tran.b_long
  34. ins_orderid = s_tran.c_long
  35. dw_1.settransobject(sqlca)
  36. dw_1.retrieve(ins_scid,ins_orderid)
  37. end event
  38. type cb_func from w_publ_base`cb_func within w_orderrqwp_change_his
  39. boolean visible = false
  40. end type
  41. type cb_exit from w_publ_base`cb_exit within w_orderrqwp_change_his
  42. integer x = 3218
  43. integer y = 1716
  44. end type
  45. type dw_1 from u_dw_rbtnfilter within w_orderrqwp_change_his
  46. integer x = 9
  47. integer y = 8
  48. integer width = 3579
  49. integer height = 1680
  50. integer taborder = 20
  51. boolean bringtotop = true
  52. string dataobject = "dw_orderrqwp_change_his"
  53. boolean hscrollbar = true
  54. boolean vscrollbar = true
  55. boolean hsplitscroll = true
  56. end type
  57. event rowfocuschanged;call super::rowfocuschanged;IF currentrow <= 0 THEN RETURN
  58. THIS.SelectRow(0,FALSE)
  59. THIS.SelectRow(currentrow,TRUE)
  60. end event
  61. event doubleclicked;call super::doubleclicked;IF row > 0 THEN
  62. String ls_code
  63. ls_code = This.Object.u_orderrqwp_change_billcode[row]
  64. f_open_win(0,ls_code)
  65. END IF
  66. end event