123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394 |
- $PBExportHeader$w_saletask_dm_tab_new_edit.srw
- forward
- global type w_saletask_dm_tab_new_edit from w_publ_base_style
- end type
- type cb_1 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- end type
- type cb_2 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- end type
- type cb_3 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- end type
- type cb_4 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- end type
- type cb_5 from commandbutton within w_saletask_dm_tab_new_edit
- end type
- type cb_6 from commandbutton within w_saletask_dm_tab_new_edit
- end type
- type cb_18 from commandbutton within w_saletask_dm_tab_new_edit
- end type
- type cb_19 from commandbutton within w_saletask_dm_tab_new_edit
- end type
- type dw_1 from datawindow within w_saletask_dm_tab_new_edit
- end type
- type cb_8 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- end type
- type dw_2 from datawindow within w_saletask_dm_tab_new_edit
- end type
- type cb_11 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- end type
- end forward
- global type w_saletask_dm_tab_new_edit from w_publ_base_style
- integer width = 3168
- integer height = 2008
- string title = "订单管理(门店)"
- boolean maxbox = true
- boolean resizable = true
- cb_1 cb_1
- cb_2 cb_2
- cb_3 cb_3
- cb_4 cb_4
- cb_5 cb_5
- cb_6 cb_6
- cb_18 cb_18
- cb_19 cb_19
- dw_1 dw_1
- cb_8 cb_8
- dw_2 dw_2
- cb_11 cb_11
- end type
- global w_saletask_dm_tab_new_edit w_saletask_dm_tab_new_edit
- type variables
- datawindow dw_1, dw_2, dw_3, dw_4, dw_5, dw_6
- long tab_index
- end variables
- forward prototypes
- public subroutine wf_face ()
- end prototypes
- public subroutine wf_face ();cb_3.Enabled = tab_index = 2
- cb_4.Enabled = tab_index = 4
- end subroutine
- on w_saletask_dm_tab_new_edit.create
- int iCurrent
- call super::create
- this.cb_1=create cb_1
- this.cb_2=create cb_2
- this.cb_3=create cb_3
- this.cb_4=create cb_4
- this.cb_5=create cb_5
- this.cb_6=create cb_6
- this.cb_18=create cb_18
- this.cb_19=create cb_19
- this.dw_1=create dw_1
- this.cb_8=create cb_8
- this.dw_2=create dw_2
- this.cb_11=create cb_11
- iCurrent=UpperBound(this.Control)
- this.Control[iCurrent+1]=this.cb_1
- this.Control[iCurrent+2]=this.cb_2
- this.Control[iCurrent+3]=this.cb_3
- this.Control[iCurrent+4]=this.cb_4
- this.Control[iCurrent+5]=this.cb_5
- this.Control[iCurrent+6]=this.cb_6
- this.Control[iCurrent+7]=this.cb_18
- this.Control[iCurrent+8]=this.cb_19
- this.Control[iCurrent+9]=this.dw_1
- this.Control[iCurrent+10]=this.cb_8
- this.Control[iCurrent+11]=this.dw_2
- this.Control[iCurrent+12]=this.cb_11
- end on
- on w_saletask_dm_tab_new_edit.destroy
- call super::destroy
- destroy(this.cb_1)
- destroy(this.cb_2)
- destroy(this.cb_3)
- destroy(this.cb_4)
- destroy(this.cb_5)
- destroy(this.cb_6)
- destroy(this.cb_18)
- destroy(this.cb_19)
- destroy(this.dw_1)
- destroy(this.cb_8)
- destroy(this.dw_2)
- destroy(this.cb_11)
- end on
- event resize;call super::resize;//tab_1.width = this.workspacewidth() - tab_1.x
- //tab_1.height = this.workspaceheight() - tab_1.y
- //
- //
- //dw_1.width = tab_1.tabpage_1.width - dw_1.x
- //dw_1.height = tab_1.tabpage_1.height - dw_1.y
- //
- //dw_2.width = tab_1.tabpage_2.width - dw_2.x
- //dw_2.height = tab_1.tabpage_2.height - dw_2.y
- //
- //dw_3.width = tab_1.tabpage_3.width - dw_3.x
- //dw_3.height = tab_1.tabpage_3.height - dw_3.y
- //
- //dw_4.width = tab_1.tabpage_4.width - dw_4.x
- //dw_4.height = (tab_1.tabpage_4.height - dw_4.y) / 2
- //
- //dw_6.width = dw_4.width
- //dw_6.y = dw_4.y + dw_4.height
- //dw_6.height = dw_4.height
- //
- //dw_5.width = tab_1.tabpage_5.width - dw_5.x
- //dw_5.height = tab_1.tabpage_5.height - dw_5.y
- //
- //
- end event
- event open;call super::open;//dw_1 = tab_1.tabpage_1.dw_1
- //dw_2 = tab_1.tabpage_2.dw_2
- //dw_3 = tab_1.tabpage_3.dw_3
- //dw_4 = tab_1.tabpage_4.dw_4
- //dw_5 = tab_1.tabpage_5.dw_5
- //dw_6 = tab_1.tabpage_4.dw_6
- end event
- type cb_func from w_publ_base_style`cb_func within w_saletask_dm_tab_new_edit
- boolean visible = false
- integer x = 850
- end type
- type cb_exit from w_publ_base_style`cb_exit within w_saletask_dm_tab_new_edit
- boolean visible = false
- integer x = 1001
- end type
- type ln_bar from w_publ_base_style`ln_bar within w_saletask_dm_tab_new_edit
- boolean visible = false
- end type
- type ln_bar2 from w_publ_base_style`ln_bar2 within w_saletask_dm_tab_new_edit
- boolean visible = false
- end type
- type r_bar from w_publ_base_style`r_bar within w_saletask_dm_tab_new_edit
- boolean visible = false
- end type
- type cb_1 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- boolean visible = false
- integer width = 151
- integer height = 164
- integer taborder = 50
- boolean bringtotop = true
- string text = "刷新"
- string normalpicname = "refresh.bmp"
- integer picsize = 16
- toolbaralignment pic_align = alignattop!
- boolean border = false
- end type
- event clicked;call super::clicked;//DateTime first_date,end_date
- //
- //first_date = DateTime(Date(em_1.Text),Time(0))
- //end_date = DateTime(Date(em_2.Text),Time('23:59:59'))
- //String ls_cust_str, ls_mtrl_str
- //IF Pos(sle_cust.Text,"%") <> 0 THEN
- // ls_cust_str = trim(sle_cust.Text)
- //ELSE
- // ls_cust_str = "%"+trim(sle_cust.Text)+"%"
- //END IF
- //IF Pos(sle_mtrl.Text,"%") <> 0 THEN
- // ls_mtrl_str = trim(sle_mtrl.Text)
- //ELSE
- // ls_mtrl_str = "%"+trim(sle_mtrl.Text)+"%"
- //END IF
- //dw_1.Retrieve(DATE(EM_1.TEXT),DATE(EM_2.TEXT),ls_cust_str,ls_mtrl_str)
- //dw_1.OBJECT.date_mid.TEXT=EM_1.TEXT+'~~'+EM_2.TEXT
- end event
- type cb_2 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- boolean visible = false
- integer x = 151
- integer width = 151
- integer height = 164
- integer taborder = 60
- boolean bringtotop = true
- string text = "新建"
- string normalpicname = "NEW.BMP"
- integer picsize = 16
- toolbaralignment pic_align = alignattop!
- boolean border = false
- end type
- event clicked;call super::clicked;open(w_saletask_dm_edit)
- end event
- type cb_3 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- boolean visible = false
- integer x = 302
- integer width = 274
- integer height = 164
- integer taborder = 70
- boolean bringtotop = true
- boolean enabled = false
- string text = "订单审核"
- string normalpicname = "ok.bmp"
- integer picsize = 16
- toolbaralignment pic_align = alignattop!
- boolean border = false
- end type
- event clicked;call super::clicked;//DateTime first_date,end_date
- //
- //first_date = DateTime(Date(em_1.Text),Time(0))
- //end_date = DateTime(Date(em_2.Text),Time('23:59:59'))
- //String ls_cust_str, ls_mtrl_str
- //IF Pos(sle_cust.Text,"%") <> 0 THEN
- // ls_cust_str = trim(sle_cust.Text)
- //ELSE
- // ls_cust_str = "%"+trim(sle_cust.Text)+"%"
- //END IF
- //IF Pos(sle_mtrl.Text,"%") <> 0 THEN
- // ls_mtrl_str = trim(sle_mtrl.Text)
- //ELSE
- // ls_mtrl_str = "%"+trim(sle_mtrl.Text)+"%"
- //END IF
- //dw_1.Retrieve(DATE(EM_1.TEXT),DATE(EM_2.TEXT),ls_cust_str,ls_mtrl_str)
- //dw_1.OBJECT.date_mid.TEXT=EM_1.TEXT+'~~'+EM_2.TEXT
- end event
- type cb_4 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- boolean visible = false
- integer x = 576
- integer width = 274
- integer height = 164
- integer taborder = 80
- boolean bringtotop = true
- boolean enabled = false
- string text = "收货确认"
- string normalpicname = "ok.bmp"
- integer picsize = 16
- toolbaralignment pic_align = alignattop!
- boolean border = false
- end type
- event clicked;call super::clicked;//DateTime first_date,end_date
- //
- //first_date = DateTime(Date(em_1.Text),Time(0))
- //end_date = DateTime(Date(em_2.Text),Time('23:59:59'))
- //String ls_cust_str, ls_mtrl_str
- //IF Pos(sle_cust.Text,"%") <> 0 THEN
- // ls_cust_str = trim(sle_cust.Text)
- //ELSE
- // ls_cust_str = "%"+trim(sle_cust.Text)+"%"
- //END IF
- //IF Pos(sle_mtrl.Text,"%") <> 0 THEN
- // ls_mtrl_str = trim(sle_mtrl.Text)
- //ELSE
- // ls_mtrl_str = "%"+trim(sle_mtrl.Text)+"%"
- //END IF
- //dw_1.Retrieve(DATE(EM_1.TEXT),DATE(EM_2.TEXT),ls_cust_str,ls_mtrl_str)
- //dw_1.OBJECT.date_mid.TEXT=EM_1.TEXT+'~~'+EM_2.TEXT
- end event
- type cb_5 from commandbutton within w_saletask_dm_tab_new_edit
- integer width = 347
- integer height = 92
- integer taborder = 130
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- string text = "新建订单"
- end type
- type cb_6 from commandbutton within w_saletask_dm_tab_new_edit
- integer y = 108
- integer width = 347
- integer height = 92
- integer taborder = 140
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- string text = "查询订单"
- end type
- type cb_18 from commandbutton within w_saletask_dm_tab_new_edit
- integer y = 216
- integer width = 347
- integer height = 92
- integer taborder = 210
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- string text = "修改密码"
- end type
- type cb_19 from commandbutton within w_saletask_dm_tab_new_edit
- integer y = 324
- integer width = 347
- integer height = 92
- integer taborder = 210
- boolean bringtotop = true
- integer textsize = -9
- integer weight = 400
- fontcharset fontcharset = gb2312charset!
- fontpitch fontpitch = variable!
- string facename = "宋体"
- string text = "安全退出"
- end type
- type dw_1 from datawindow within w_saletask_dm_tab_new_edit
- integer x = 361
- integer width = 2770
- integer height = 1640
- integer taborder = 20
- boolean bringtotop = true
- string title = "none"
- string dataobject = "dw_saletask_dm_uc_bak"
- boolean livescroll = true
- borderstyle borderstyle = stylelowered!
- end type
- type cb_8 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- integer x = 2409
- integer y = 1660
- integer width = 370
- integer taborder = 30
- boolean bringtotop = true
- string text = "保存询价"
- string normalpicname = "save.bmp"
- end type
- type dw_2 from datawindow within w_saletask_dm_tab_new_edit
- integer x = 384
- integer y = 672
- integer width = 2688
- integer height = 308
- integer taborder = 30
- boolean bringtotop = true
- string title = "none"
- string dataobject = "dw_saletask_dm_fj"
- boolean livescroll = true
- borderstyle borderstyle = stylelowered!
- end type
- type cb_11 from uo_imflatbutton within w_saletask_dm_tab_new_edit
- integer x = 512
- integer y = 1660
- integer width = 370
- integer taborder = 40
- boolean bringtotop = true
- boolean enabled = false
- string text = "下单确认"
- string normalpicname = "ok.bmp"
- end type
|