|
9#
楼主 |
发表于 2011-4-12 14:17:15
|
只看该作者
Action()
{
lr_think_time(5);
web_url("mouseOverBg.jpg",
"URL=http://192.168.150.18:2010/images/main/mouseOverBg.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://192.168.150.18:2010/inventory/inv_elsein_list.asp",
"Snapshot=t7.inf",
LAST);
web_url("mainBottomBg.jpg",
"URL=http://192.168.150.18:2010/images/main/mainBottomBg.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://192.168.150.18:2010/inventory/inv_elsein_list.asp",
"Snapshot=t8.inf",
LAST);
web_add_cookie("keyvalue=1; DOMAIN=192.168.150.18");
web_url("inv_elsein_edit.asp",
"URL=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t9.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/gb/prev_icon.gif", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
"Url=../images/gb/next_icon.gif", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
"Url=../images/main/grid-loading.gif", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
"Url=../images/main/tableToptitleBg.jpg", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
LAST);
web_url("{NewParam}INV_ELSEIN_EDIT_config.xml",
"URL=http://192.168.150.18:2010/tempXML/{NewParam}INV_ELSEIN_EDIT_config.xml",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add",
"Snapshot=t10.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/main/mgSpliter1st.jpg", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
"Url=../images/main/mgSpliter.jpg", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
LAST);
web_url("{NewParam}INV_ELSEIN_EDIT_data.xml",
"URL=http://192.168.150.18:2010/tempXML/{NewParam}INV_ELSEIN_EDIT_data.xml",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://192.168.150.18:2010/inventory/",
"Snapshot=t11.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/main/mgKSList.gif", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
"Url=../images/main/mgKSCell.gif", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
"Url=../images/main/mgEdit.gif", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
"Url=../images/gb/loading_16x16.gif", "Referer=http://192.168.150.18:2010/common/myGrid_List.asp?ExclusiveID=&ListHeight=152", ENDITEM,
LAST);
web_url("myGrid_Content.asp",
"URL=http://192.168.150.18:2010/common/myGrid_Content.asp?ExclusiveID=1010706&KeyWord=*",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.150.18:2010/common/myGrid_List.asp?ExclusiveID=&ListHeight=152",
"Snapshot=t12.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/gb/loading_16x16.gif", "Referer=http://192.168.150.18:2010/common/myGrid_List.asp?ExclusiveID=&ListHeight=152", ENDITEM,
LAST);
web_url("myGrid_Content.asp_2",
"URL=http://192.168.150.18:2010/common/myGrid_Content.asp?ExclusiveID=7356313&KeyWord=%u6210%u54C1%u4ED3&JV_7356313_9558941=00001",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.150.18:2010/common/myGrid_List.asp?ExclusiveID=&ListHeight=152",
"Snapshot=t13.inf",
"Mode=HTML",
EXTRARES,
"Url=../images/main/mouseOverBg.jpg", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
"Url=../images/main/mainBottomBg.jpg", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add", ENDITEM,
LAST);
//lr_rendezvous("point");
lr_start_transaction("add");
web_custom_request("myGrid_Save.asp",
"URL=http://192.168.150.18:2010/common/myGrid_Save.asp?xmlName=/tempXML/{NewParam}INV_ELSEIN_EDIT_save.xml",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add",
"Mode=HTML",
"EncType=text/xml; charset=UTF-8",
"BodyBinary=<?xml version=\"1.0\"?>\r\n<data><r index=\"1\"><f1>00001</f1><f2>test</f2><f3>KG</f3><f4>鎴愬搧浠\\x93</f4><f5>10.0</f5><f6>0.0</f6><f7>0.00000000</f7><f8>0.0000</f8><f9>0.00000000</f9><f10></f10><f11>0.00</f11><f12>0.00</f12><f13>-5,716,212.96</f13><f14>1,083.00</f14><f15>39,717.00</f15><f16>0.00</f16><f17>5757012.96</f17><f18>0.00</f18></r><r index=\"1\"><f1></f1><f2></f2><f3></f3><f4></f4><f5></f5><f6></f6><f7></f7><f8></f8><f9></f9><f10></f10><f11></f11><f12></f12><f13></f13><f14><"
"/f14><f15></f15><f16></f16><f17></f17><f18></f18></r></data>\r\n",
LAST);
web_submit_data("inv_elsein_edit_save.asp",
"Action=http://192.168.150.18:2010/inventory/inv_elsein_edit_save.asp",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.150.18:2010/inventory/inv_elsein_edit.asp?hidAction=Add",
"Snapshot=t14.inf",
"Mode=HTML",
ITEMDATA,
"Name=SubmitAction", "Value=Add", ENDITEM,
"Name=hidAction", "Value=", ENDITEM,
"Name=pID_", "Value=", ENDITEM,
"Name=COMPANYCODE", "Value=C01", ENDITEM,
"Name=BILL_TYPE", "Value=I_1", ENDITEM,
"Name=DEPARTMENT", "Value=", ENDITEM,
"Name=ID_", "Value=", ENDITEM,
"Name=Codeing_Name", "Value=其它入库单", ENDITEM,
"Name=EI_NO", "Value=", ENDITEM,
"Name=EI_DATE", "Value=2011-4-12", ENDITEM,
"Name=EI_SHIP_DATE", "Value=2011-4-12", ENDITEM,
"Name=CURRENCYCODE", "Value=RMB", ENDITEM,
"Name=EXCHANGERATE", "Value=1.00000000", ENDITEM,
"Name=VENDORNAME", "Value=", ENDITEM,
"Name=VENDORNUMBER", "Value=", ENDITEM,
"Name=ADDRESSCODE", "Value=", ENDITEM,
"Name=ADDRESSNAME", "Value=", ENDITEM,
"Name=EI_define_1", "Value=", ENDITEM,
"Name=EI_define_2", "Value=", ENDITEM,
"Name=EI_define_3", "Value=", ENDITEM,
"Name=sumAMOUNT", "Value=0.00", ENDITEM,
"Name=REMARKS", "Value=", ENDITEM,
EXTRARES,
"Url=../images/main/mouseOverBg.jpg", "Referer=http://192.168.150.18:2010/inventory/inv_elsein_list.asp", ENDITEM,
LAST);
lr_end_transaction("add", LR_AUTO);
return 0;
} |
|