var sql = "Ugs_BH_Main";
var a = FR.remoteEvaluate('SQL("数据库", "' + sql + '", 1, 1)');
--手机端可用
var value;
FR.remoteEvaluateAsync("=SQL(\"BSERP3\", \"exec [dbo].[fr_rsyc_sh_tzh] '" + RSBH + "','" + SHR + "','" + SHYJ + "','1','" + RQ + "'\", 1, 1)",
function callback(value) {
if (value == 1) {
// alert("提交成功");
setTimeout("window.close();", 1000);
} else {
alert("提交失败\n错误代码:"+value);
};
});
--PC
13:45
var sql = "exec [dbo].[fr_uwms_sjcx_tzh] '"+DJBH+"','"+DJBH2+"'";
var a = FR.remoteEvaluate('SQL("BSERP3", "' + sql + '", 1, 1)');