//**************************************************************************
// Copyright Sybase, Inc. 1998-1999
// All Rights reserved.
//
// Sybase, Inc. ("Sybase") claims copyright in this
// program and documentation as an unpublished work, versions of
// which were first licensed on the date indicated in the foregoing
// notice. Claim of copyright does not imply waiver of Sybase's
// other rights.
//
// This code is generated by the PowerBuilder HTML DataWindow generator.
// It is provided subject to the terms of the Sybase License Agreement
// for use as is, without alteration or modification.
// Sybase shall have no obligation to provide support or error correction
// services with respect to any altered or modified versions of this code.
//
// ***********************************************************
// ** DO NOT MODIFY OR ALTER THIS CODE IN ANY WAY **
// ***********************************************************
//
// ***************************************************************
// ** IMPLEMENTATION DETAILS SUBJECT TO CHANGE WITHOUT NOTICE. **
// ** DO NOT RELY ON IMPLEMENTATION!!!! **
// ***************************************************************
//
// Use the public interface only.
//**************************************************************************
// these arrays will be filled with internationalized strings based on the server
var DW_shortDayNames = new Array("Sun", "Mon", "Tues", "Wed", "Thurs", "Fri", "Sat");
var DW_longDayNames = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
var DW_shortMonthNames = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec");
var DW_longMonthNames = new Array("January", "Febuary", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
// this is dependent on the control panel setting on the server
// it indicates the order of days (this is mm/dd/yyyy)
var DW_PARSEDT_monseq = 0;
var DW_PARSEDT_dayseq = 1;
var DW_PARSEDT_yearseq = 2;
// DWItemStatus
var DW_ITEMSTATUS_NOCHANGE = 0;
var DW_ITEMSTATUS_MODIFIED = 1;
var DW_ITEMSTATUS_NEW = 2;
var DW_ITEMSTATUS_NEW_MODIFIED = 3;
// Added to determine if dates are being processed in client side JavaScript.
var bDateTimeProcessingEnabled = false;
var gMask = "";
// common utility functions
function escapeString( inString )
{
var index;
var outString = "";
var tempChar;
// force to string type or charAt will fail!
if (typeof inString != "string")
inString = inString.toString();
var strLength = inString.length;
for ( index=0; index < strLength; index++ )
{
tempChar = inString.charAt( index );
if (tempChar == "\"" || tempChar == "'")
outString += "~" + tempChar;
else if (tempChar == "\r")
outString += "~r";
else if (tempChar == "\n")
outString += "~n";
else
outString += tempChar;
}
return outString;
}
function convertToRGB( color )
{
var hexValue = "000000" + eval( color ).toString(16);
hexValue = hexValue.substr( hexValue.length - 6, 6 );
hexValue = hexValue.substr( 4, 2 ) + hexValue.substr( 2, 2 ) + hexValue.substr( 0, 2 );
return hexValue;
}
// default event returns to 0
function _evtDefault (value)
{
if (value + "" == "undefined")
return 0;
return value;
}
// need to double up because of template expander!
function DW_parseIsSpace(theChar)
{
return /^\s$/.test(theChar);
}
function DW_parseIsDigit(theChar)
{
return /^\d$/.test(theChar);
}
function DW_parseIsAlpha(theChar)
{
return /^\w$/.test(theChar) && ! /^\d$/.test(theChar);
}
// auto binding of events expect <controlName>_<eventName>
function HTDW_eventImplemented(sEventName)
{
// check if we already have one scripted
if (this[sEventName] == null)
{
// check for function with default name
var testName = this.name + '_' + sEventName;
if (eval ('typeof ' + testName) == 'function')
this[sEventName] = eval(testName);
}
return this[sEventName] != null;
}
// utility functions
function allowInString (inString, refString)
{
var index, tempChar;
var strLength = inString.length;
for (index=0; index < strLength; index++)
{
tempChar= inString.charAt (index);
if (refString.indexOf (tempChar)==-1)
return false;
}
return true;
}
function DW_Trim(inString)
{
var indexStart, indexEnd, tempChar, outString;
var strLength = inString.length;
// skip leading blanks
for (indexStart=0; indexStart < strLength; indexStart++)
{
tempChar= inString.charAt (indexStart);
if (tempChar != " ")
break;
}
if (indexStart != strLength)
{
// skip trailing blanks
for (indexEnd=strLength-1; indexEnd > 0; indexEnd--)
{
tempChar= inString.charAt (indexEnd);
if (tempChar != " ")
break;
}
// get all chars in between
outString = inString.substring(indexStart, indexEnd+1);
}
else
outString = "";
return outString;
}
function DW_Round(num, decPlaces)
{
var powTen = Math.pow(10.0,decPlaces);
num *= powTen;
if (num >= 0)
num = Math.floor(num + 0.5);
else
num = Math.ceil(num - 0.5);
return num / powTen;
}
function DW_IsNonNegativeNumber(inString, bNilIsNull)
{
if (arguments.length < 2)
bNilIsNull = false;
if (inString == "")
return bNilIsNull;
else
{
var newString = DW_Trim(inString);
if (newString == "")
return false;
else
{
var result = new DW_NumberClass();
if(DW_parseNumberStringAgainstMask(inString, result, false))
{
if (result >= 0)
return true;
}
return false;
}
}
}
function DW_IsValidDisplayOrDataValue(inString, bNilIsNull)
{
if (arguments.length < 2)
bNilIsNull = false;
if (inString == "")
return bNilIsNull;
else
{
var i;
for(i = 0; i < this.displayValue.length; i++)
{
if (inString == this.displayValue[i])
return true;
if (inString == this.dataValue[i])
return true;
}
return false;
}
}
function DW_IsNumber(inString, bNilIsNull)
{
if (arguments.length < 2)
bNilIsNull = false;
if (inString == "")
return bNilIsNull;
else
{
var newString = DW_Trim(inString);
if (newString == "")
return false;
else
return DW_parseNumberStringAgainstMask(inString, null, true);
}
}
// exprContext class
function HTDW_exprContextClass(dataWindow)
{
this.dw = dataWindow;
this.row = -1;
this.currentText = "";
}
// Col0 class
function HTDW_Col0Class(rowId, dwItemStatus)
{
this.colModified = new Array();
this.rowId = rowId;
this.itemStatus = dwItemStatus;
}
// Row class
function HTDW_RowClass(rowId)
{
var col;
// column 0 holds special data
this[0] = new HTDW_Col0Class(rowId, arguments[1]);
// get data values
for (col = 1; col < arguments.length - 1; col++)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
PB9开发的一个进销存框架(outlook形式) (831个子文件)
Sungxf.ani 6KB
No.ani 6KB
Ok.ani 3KB
1024-768.bmp 1.88MB
SIRUI主底图.bmp 1.15MB
界面1.bmp 1.09MB
基础数据药库.BMP 710KB
44.bmp 703KB
3.bmp 703KB
1.bmp 703KB
Cmd2.bmp 583KB
进货管理无.bmp 527KB
back.BMP 402KB
Back.bmp 402KB
wellcome.bmp 301KB
Text.bmp 241KB
Splash.bmp 144KB
Splash_dot.bmp 144KB
SPLASH-DOT.bmp 144KB
Splash1.bmp 144KB
look.bmp 121KB
文字.bmp 110KB
Logo.bmp 98KB
jz.bmp 71KB
Openmap.bmp 66KB
gcrj标志.bmp 59KB
Zhcx.bmp 57KB
Zymain.bmp 54KB
Handshak.bmp 43KB
temp.bmp 32KB
bookba_right.bmp 32KB
bookbar.bmp 32KB
temp.bmp 32KB
Temp.bmp 32KB
bookba_right.bmp 32KB
Bookbar.bmp 32KB
Main_3.bmp 31KB
gcsoft.bmp 31KB
光彩标志.psd.bmp 29KB
Fish4l.bmp 20KB
Fish1r.bmp 20KB
Fish5l.bmp 20KB
Fish3r.bmp 20KB
Fish5r.bmp 20KB
Fish3l.bmp 20KB
Fish4r.bmp 20KB
Fish1l.bmp 20KB
Fish2r.bmp 20KB
Fish2l.bmp 20KB
search.bmp 17KB
横线.bmp 14KB
进货管理查询金.bmp 12KB
进货综合统计金.bmp 12KB
进货管理查询银.bmp 12KB
进货综合统计银.bmp 12KB
Zfbz.bmp 11KB
仓库出库银.bmp 11KB
仓库出库金.bmp 11KB
ToolBarb.bmp 11KB
仓库调整银.bmp 10KB
仓库调整金.bmp 10KB
库存单银.bmp 10KB
库存单金.bmp 10KB
仓库盘点金.bmp 10KB
仓库盘点银.bmp 10KB
入库退货银.bmp 10KB
仓库报损银.bmp 10KB
仓库报损金.bmp 10KB
入库退货金.bmp 10KB
付款单银.bmp 10KB
付款单金.bmp 10KB
出库退货金.bmp 10KB
出库退货银.bmp 10KB
领用单银.bmp 10KB
领用单金.bmp 10KB
收发票金.bmp 9KB
采购退货银.bmp 9KB
采购借入金.bmp 9KB
委托代销金.bmp 9KB
采购借入银.bmp 9KB
质量检验银.bmp 9KB
来货登记银.bmp 9KB
采购订单银.bmp 9KB
质量检验金.bmp 9KB
来货登记金.bmp 9KB
采购订单金.bmp 9KB
验收入库金.bmp 9KB
验收入库银.bmp 9KB
收发票银.bmp 9KB
委托代销银.bmp 9KB
采购退货金.bmp 9KB
仓库入库银.bmp 9KB
仓库入库金.bmp 9KB
结算方式金.bmp 9KB
客商信息金.bmp 9KB
客商信息银.bmp 9KB
结算方式银.bmp 9KB
供货信息银.bmp 9KB
Orient_dire.bmp 8KB
Orient_land.bmp 8KB
共 831 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
lonjia8818
- 粉丝: 2
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 服务器概述服务器概述服务器概述服务器概述.txt
- 华中农业大学python实验题.txt
- 海康威视相机采图交叉编译示例程序,c++
- DETR-基于Tensorflow实现DETR目标检测算法-附流程教程+项目源码-优质项目实战.zip
- 3d激光slam地图发布程序,3d地图点云处理,c++程序
- 送给妈妈的一束鲜花.zip(母亲节祝福HTML源码)
- 稀疏化DETR-基于Pytorch实现稀疏化DETR-SparseDETR-附流程教程+项目源码-优质项目实战.zip
- 人工分类:SLTM的微博评论二分类数据集
- (自适应手机端)响应式房产合同知识产权网站pbootcms模板 企业管理类网站源码下载.zip
- (自适应手机端)响应式动力刀座pbootcms网站模板 五金机械设备类网站源码下载.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页