$PBExportHeader$w_rp_spt_sub_hz2_mx.srw forward global type w_rp_spt_sub_hz2_mx from w_publ_easyq end type type cbx_ifpost from checkbox within w_rp_spt_sub_hz2_mx end type end forward global type w_rp_spt_sub_hz2_mx from w_publ_easyq integer width = 3611 integer height = 2280 string title = "供应商明细" boolean minbox = false boolean maxbox = false boolean resizable = false windowtype windowtype = response! windowstate windowstate = normal! boolean if_ue_sort = true boolean if_ue_sentdataout = true cbx_ifpost cbx_ifpost end type global w_rp_spt_sub_hz2_mx w_rp_spt_sub_hz2_mx type variables s_edit_index_tran s_open end variables on w_rp_spt_sub_hz2_mx.create int iCurrent call super::create this.cbx_ifpost=create cbx_ifpost iCurrent=UpperBound(this.Control) this.Control[iCurrent+1]=this.cbx_ifpost end on on w_rp_spt_sub_hz2_mx.destroy call super::destroy destroy(this.cbx_ifpost) end on event open;call super::open;s_open = Message.PowerObjectParm em_1.Text = String(s_open.c_long) em_2.Text = String(s_open.d_long) cbx_ifpost.Checked = ( s_open.e_long = -1 ) cb_1.TriggerEvent(Clicked!) end event type cb_func from w_publ_easyq`cb_func within w_rp_spt_sub_hz2_mx end type type cb_exit from w_publ_easyq`cb_exit within w_rp_spt_sub_hz2_mx end type type cb_2 from w_publ_easyq`cb_2 within w_rp_spt_sub_hz2_mx end type type cb_psetup from w_publ_easyq`cb_psetup within w_rp_spt_sub_hz2_mx end type type cb_1 from w_publ_easyq`cb_1 within w_rp_spt_sub_hz2_mx end type event cb_1::clicked;call super::clicked;Long ls_firstcmon,ls_lastmon,ll_sptid String ls_subid Int li_ifpost IF cbx_ifpost.Checked THEN li_ifpost = -1 ELSE li_ifpost = 1 END IF ls_firstcmon = Long(em_1.Text) ls_lastmon = Long(em_2.Text) ll_sptid = s_open.b_long ls_subid = s_open.b_string ls_subid = ls_subid + '%' dw_1.Retrieve(sys_accsetid,li_ifpost,ls_firstcmon,ls_lastmon,ll_sptid,ls_subid) end event type st_3 from w_publ_easyq`st_3 within w_rp_spt_sub_hz2_mx integer width = 206 string text = "期间从:" end type type st_4 from w_publ_easyq`st_4 within w_rp_spt_sub_hz2_mx integer x = 517 end type type em_1 from w_publ_easyq`em_1 within w_rp_spt_sub_hz2_mx integer width = 306 alignment alignment = center! string mask = "yyyymm" end type type em_2 from w_publ_easyq`em_2 within w_rp_spt_sub_hz2_mx integer x = 622 integer width = 306 alignment alignment = center! string mask = "yyyymm" end type type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_spt_sub_hz2_mx end type type cbx_yl from w_publ_easyq`cbx_yl within w_rp_spt_sub_hz2_mx end type type dw_1 from w_publ_easyq`dw_1 within w_rp_spt_sub_hz2_mx string dataobject = "dw_rp_spt_sub_hz2_mx" boolean rbutton_filter_use = true boolean titleclick_sort_use = true end type event dw_1::doubleclicked;call super::doubleclicked;s_edit_index_tran s_tran //翻页功能窗口 传递参数使用 s_tran.if_retrieve_all = TRUE //是否一次RETRIEVE所有行 s_tran.work_mode = 0 //0-单纯编辑模式, 1-选择模式 s_tran.arg_pkid = 0 //目标定位PKID (备用) s_tran.arg_string_code = '' //查询列部分内容,用于初步筛选 Long li_row li_row = THIS.GetRow() IF li_row <= 0 THEN RETURN s_tran.e_long = THIS.Object.cw_credence_credid[li_row] OpenWithParm(w_credence_edit,s_tran) end event type ln_bar from w_publ_easyq`ln_bar within w_rp_spt_sub_hz2_mx end type type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_spt_sub_hz2_mx end type type r_bar from w_publ_easyq`r_bar within w_rp_spt_sub_hz2_mx end type type ln_1 from w_publ_easyq`ln_1 within w_rp_spt_sub_hz2_mx end type type ln_2 from w_publ_easyq`ln_2 within w_rp_spt_sub_hz2_mx end type type cbx_ifpost from checkbox within w_rp_spt_sub_hz2_mx integer x = 951 integer y = 200 integer width = 466 integer height = 80 boolean bringtotop = true integer textsize = -9 integer weight = 400 fontcharset fontcharset = gb2312charset! fontpitch fontpitch = variable! string facename = "宋体" long textcolor = 33554432 long backcolor = 67108864 string text = "包括未登帐凭证" end type event clicked;cb_1.TriggerEvent(Clicked!) end event