私募表结构
2016-05-06 14:06:55 2 举报
AI智能生成
私募表结构是一种用于记录和管理私募基金信息的数据库结构。它通常包括以下几个主要字段:基金名称、基金代码、基金类型、基金规模、基金成立日期、基金经理、投资策略、历史收益率等。这些字段可以帮助投资者快速了解基金的基本信息和投资特点,从而做出更明智的投资决策。私募表结构还可以根据实际需求进行扩展,例如添加风险等级、费用标准、投资期限等字段,以满足不同投资者的需求。总之,私募表结构是一种有效的工具,可以帮助投资者更好地管理和跟踪私募基金的表现。
作者其他创作
大纲/内容
comment on column PEF_REDEMPTION_SURE.breachfee
is 'ΥԼ��';
comment on column PEF_REDEMPTION_SURE.transferfee
is '������';
comment on column PEF_REDEMPTION_SURE.otherfee1
is '��������1';
comment on column PEF_REDEMPTION_SURE.nav
is '������λ��ֵ';
comment on column PEF_REDEMPTION_SURE.agencyfee
is '������';
comment on column PEF_REDEMPTION_SURE.charge
is '������';
comment on column PEF_REDEMPTION_SURE.downloaddate
is '���������´�����';
comment on column PEF_REDEMPTION_SURE.businessfinishflag
is 'ҵ��������ȫ������ʶ';
comment on column PEF_REDEMPTION_SURE.taserialno
is 'TAȷ�Ͻ�����ˮ��';
comment on column PEF_REDEMPTION_SURE.returncode
is '���״������ش���';
comment on column PEF_REDEMPTION_SURE.confirmedamount
is 'ÿ�ʽ���ȷ�Ͻ���';
comment on column PEF_REDEMPTION_SURE.confirmedvol
is '�����˻�����ȷ�Ϸ���';
comment on column PEF_REDEMPTION_SURE.currencytype
is '�������� ����������GB/T 12406-2008';
comment on column PEF_REDEMPTION_SURE.transactioncfmdate
is '����ȷ������';
comment on column PEF_REDEMPTION_SURE.is_delete
is 'ɾ����ʾ(0δɾ����1ɾ��)';
comment on column PEF_REDEMPTION_SURE.create_by
is '������';
comment on column PEF_REDEMPTION_SURE.update_by
is '����';
comment on column PEF_REDEMPTION_SURE.create_date
is '��������';
comment on column PEF_REDEMPTION_SURE.update_date
is '������';
-- Create/Recreate primary, unique and foreign key constraints
alter table PEF_REDEMPTION_SURE
add constraint PK_PEF_REDEMPTION_SURE primary key (ID)
using index
tablespace BSYS_DATA
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Grant/Revoke object privileges
grant insert on PEF_REDEMPTION_SURE to BSYSTEM_INSERT;
grant select on PEF_REDEMPTION_SURE to BSYSTEM_SELECT;
grant update on PEF_REDEMPTION_SURE to BSYSTEM_UPDATE;
�Ϲ�������
-----------------------------------------------------------
-- Create table
create table PEF_SUBSCRIBE_APPLY
(
id NUMBER(18) not null,
app_sheet_serialno VARCHAR2(32) not null,
currency_type VARCHAR2(32) not null,
fund_code VARCHAR2(32) not null,
transaction_date VARCHAR2(32) not null,
transaction_time VARCHAR2(32) not null,
transaction_account_id VARCHAR2(32) not null,
distributor_code VARCHAR2(32) not null,
application_amount NUMBER(32,2) not null,
business_code VARCHAR2(32) not null,
ta_account_id VARCHAR2(32),
branch_code VARCHAR2(32) not null,
share_class VARCHAR2(32) not null,
subs_class VARCHAR2(32),
is_agree_outrisk VARCHAR2(32),
is_agree_nextday VARCHAR2(32),
extension VARCHAR2(2000),
process_status VARCHAR2(32),
is_delete VARCHAR2(32) default 0 not null,
create_by VARCHAR2(64) not null,
create_date DATE not null,
update_by VARCHAR2(64) not null,
update_date DATE not null,
subscribe_amount NUMBER(32,2) not null,
afp_no VARCHAR2(16),
handletradedate VARCHAR2(8),
institutioncode VARCHAR2(6),
investorname VARCHAR2(120) not null,
discountrateofcommission NUMBER(5,4)
)
tablespace BSYS_DATA
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Add comments to the table
comment on table PEF_SUBSCRIBE_APPLY
is '�Ϲ�������';
-- Add comments to the columns
comment on column PEF_SUBSCRIBE_APPLY.id
is 'ID(PK)';
comment on column PEF_SUBSCRIBE_APPLY.app_sheet_serialno
is '���뵥����';
comment on column PEF_SUBSCRIBE_APPLY.currency_type
is '��������';
comment on column PEF_SUBSCRIBE_APPLY.fund_code
is '��������';
comment on column PEF_SUBSCRIBE_APPLY.transaction_date
is '����������';
comment on column PEF_SUBSCRIBE_APPLY.transaction_time
is '������ʱ��';
comment on column PEF_SUBSCRIBE_APPLY.transaction_account_id
is 'Ͷ���˻��������˺�';
comment on column PEF_SUBSCRIBE_APPLY.distributor_code
is '�����˴���';
comment on column PEF_SUBSCRIBE_APPLY.application_amount
is '��������';
comment on column PEF_SUBSCRIBE_APPLY.business_code
is 'ҵ������';
comment on column PEF_SUBSCRIBE_APPLY.ta_account_id
is 'Ͷ���˻����˺�';
comment on column PEF_SUBSCRIBE_APPLY.branch_code
is '��������';
comment on column PEF_SUBSCRIBE_APPLY.share_class
is '�շѷ�ʽ(0-ǰ�շѣ�1-���շ�)';
comment on column PEF_SUBSCRIBE_APPLY.subs_class
is '�깺��ʽ(�ջ�0��ʾ��ͨ��1-��ʾ�����깺)';
comment on column PEF_SUBSCRIBE_APPLY.is_agree_outrisk
is '�Ƿ�ͬ�����ܳ�������(0-��ͬ��,1-ͬ��(�������ݡ��Ƿ�ǿ�ƹ��롱��־λ��)';
comment on column PEF_SUBSCRIBE_APPLY.is_agree_nextday
is '�Ƿ�ͬ��˳������һ������(0-��ͬ��,1-ͬ��)';
comment on column PEF_SUBSCRIBE_APPLY.extension
is '��Ϣ��չ';
comment on column PEF_SUBSCRIBE_APPLY.process_status
is '����״̬��0000�������룬0001���ɹ���0002��ʧ�ܣ�';
comment on column PEF_SUBSCRIBE_APPLY.is_delete
is 'ɾ����ʾ(0δɾ����1ɾ��)';
comment on column PEF_SUBSCRIBE_APPLY.create_by
is '������';
comment on column PEF_SUBSCRIBE_APPLY.create_date
is '��������';
comment on column PEF_SUBSCRIBE_APPLY.update_by
is '����';
comment on column PEF_SUBSCRIBE_APPLY.update_date
is '������';
comment on column PEF_SUBSCRIBE_APPLY.subscribe_amount
is '��Ҫ���ݻ������Ϲ��������Ϲ��ѣ�û����0';
comment on column PEF_SUBSCRIBE_APPLY.afp_no
is '����ʦ����';
comment on column PEF_SUBSCRIBE_APPLY.investorname
is 'Ͷ��������';
comment on column PEF_SUBSCRIBE_APPLY.discountrateofcommission
is '����Ӷ���ۿ��� ';
-- Create/Recreate primary, unique and foreign key constraints
alter table PEF_SUBSCRIBE_APPLY
add primary key (ID)
using index
tablespace BSYS_DATA
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Grant/Revoke object privileges
grant select, insert on PEF_SUBSCRIBE_APPLY to BSYSTEM_APP;
grant insert on PEF_SUBSCRIBE_APPLY to BSYSTEM_INSERT;
grant select on PEF_SUBSCRIBE_APPLY to BSYSTEM_SELECT;
grant update on PEF_SUBSCRIBE_APPLY to BSYSTEM_UPDATE;
�Ϲ�ȷ�ϱ�
--------------------------------------------------------------
-- Create table
create table PEF_SUBSCRIBE_SURE
(
id NUMBER(18) not null,
app_sheet_serialno VARCHAR2(32) not null,
fund_code VARCHAR2(32) not null,
return_code VARCHAR2(32) not null,
transaction_account_id VARCHAR2(32) not null,
distributor_code VARCHAR2(32) not null,
application_amount NUMBER(32,2) not null,
business_code VARCHAR2(32) not null,
ta_account_id VARCHAR2(32) not null,
deposit_acct VARCHAR2(32),
region_code VARCHAR2(32),
transaction_cfm_date VARCHAR2(32) not null,
download_date VARCHAR2(32) not null,
charge NUMBER(16,2),
agency_fee NUMBER(16,2),
confirmed_vol NUMBER(32,2),
confirmed_amount NUMBER(32,2) not null,
branch_code VARCHAR2(32) not null,
transaction_date VARCHAR2(32) not null,
transaction_time VARCHAR2(32) not null,
individual_or_institution VARCHAR2(32),
application_vol NUMBER(32,2),
trading_price NUMBER(8,4),
ta_serialno VARCHAR2(32) not null,
stamp_duty NUMBER(32,2),
valid_period VARCHAR2(32),
transfer_fee NUMBER(16,2),
from_ta_flag VARCHAR2(32),
share_class VARCHAR2(32) not null,
fee_calculator VARCHAR2(32),
future_subscribe_date VARCHAR2(32),
balance_flg VARCHAR2(32),
is_delete VARCHAR2(32) default 0 not null,
create_by VARCHAR2(64) not null,
create_date DATE not null,
update_by VARCHAR2(64) not null,
update_date DATE not null,
nav NUMBER(16,4) not null,
handletradedate VARCHAR2(8),
institutioncode VARCHAR2(6)
)
tablespace BSYS_DATA
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Add comments to the table
comment on table PEF_SUBSCRIBE_SURE
is '�Ϲ�ȷ�ϱ�';
-- Add comments to the columns
comment on column PEF_SUBSCRIBE_SURE.id
is 'ID(PK)';
comment on column PEF_SUBSCRIBE_SURE.app_sheet_serialno
is '���뵥����';
comment on column PEF_SUBSCRIBE_SURE.fund_code
is '��������';
comment on column PEF_SUBSCRIBE_SURE.return_code
is '���״������ش���';
comment on column PEF_SUBSCRIBE_SURE.transaction_account_id
is 'Ͷ���˻��������˺�';
comment on column PEF_SUBSCRIBE_SURE.distributor_code
is '�����˴���';
comment on column PEF_SUBSCRIBE_SURE.application_amount
is '��������';
comment on column PEF_SUBSCRIBE_SURE.business_code
is 'ҵ������';
comment on column PEF_SUBSCRIBE_SURE.ta_account_id
is 'Ͷ���˻����˺�';
comment on column PEF_SUBSCRIBE_SURE.deposit_acct
is 'Ͷ�����������˴��������ʽ��˺�';
comment on column PEF_SUBSCRIBE_SURE.region_code
is '�������ڵ�������';
comment on column PEF_SUBSCRIBE_SURE.transaction_cfm_date
is '����ȷ������';
comment on column PEF_SUBSCRIBE_SURE.download_date
is '���������´�����';
comment on column PEF_SUBSCRIBE_SURE.charge
is '������';
comment on column PEF_SUBSCRIBE_SURE.agency_fee
is '������';
comment on column PEF_SUBSCRIBE_SURE.confirmed_vol
is '�����˻�����ȷ�Ϸ���';
comment on column PEF_SUBSCRIBE_SURE.confirmed_amount
is 'ÿ�ʽ���ȷ�Ͻ���';
comment on column PEF_SUBSCRIBE_SURE.branch_code
is '��������';
comment on column PEF_SUBSCRIBE_SURE.transaction_date
is '����������';
comment on column PEF_SUBSCRIBE_SURE.transaction_time
is '������ʱ��';
comment on column PEF_SUBSCRIBE_SURE.individual_or_institution
is '����/������־(0-������1-����)';
comment on column PEF_SUBSCRIBE_SURE.application_vol
is '������������';
comment on column PEF_SUBSCRIBE_SURE.trading_price
is '���۸�(��λ������ֵ+���ַ���)';
comment on column PEF_SUBSCRIBE_SURE.ta_serialno
is 'TAȷ�Ͻ�����ˮ��';
comment on column PEF_SUBSCRIBE_SURE.stamp_duty
is 'ӡ��˰';
comment on column PEF_SUBSCRIBE_SURE.valid_period
is '��������������';
comment on column PEF_SUBSCRIBE_SURE.transfer_fee
is '������';
comment on column PEF_SUBSCRIBE_SURE.from_ta_flag
is '�Ƿ�ע���Ǽ��˷���ҵ����־(0-�������˷�����1-��ע���Ǽ��˷���)';
comment on column PEF_SUBSCRIBE_SURE.share_class
is '�շѷ�ʽ(0-ǰ�շѣ�1-���շ�)';
comment on column PEF_SUBSCRIBE_SURE.fee_calculator
is '�Ʒ���(0-TA�Ʒ� 1-�����Ʒ�)';
comment on column PEF_SUBSCRIBE_SURE.future_subscribe_date
is 'ָ���Ϲ�����';
comment on column PEF_SUBSCRIBE_SURE.balance_flg
is '����״̬��0������1�쳣��2�Ѵ�����';
comment on column PEF_SUBSCRIBE_SURE.is_delete
is 'ɾ����ʾ(0δɾ����1ɾ��)';
comment on column PEF_SUBSCRIBE_SURE.create_by
is '������';
comment on column PEF_SUBSCRIBE_SURE.create_date
is '��������';
comment on column PEF_SUBSCRIBE_SURE.update_by
is '����';
comment on column PEF_SUBSCRIBE_SURE.update_date
is '������';
comment on column PEF_SUBSCRIBE_SURE.nav
is '������λ��ֵ';
-- Create/Recreate primary, unique and foreign key constraints
alter table PEF_SUBSCRIBE_SURE
add primary key (ID)
using index
tablespace BSYS_DATA
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Grant/Revoke object privileges
grant select, insert on PEF_SUBSCRIBE_SURE to BSYSTEM_APP;
grant insert on PEF_SUBSCRIBE_SURE to BSYSTEM_INSERT;
grant select on PEF_SUBSCRIBE_SURE to BSYSTEM_SELECT;
grant update on PEF_SUBSCRIBE_SURE to BSYSTEM_UPDATE;
���� ���ӣ�
-- Create sequence
create sequence S_PEF_REDEMPTION_SURE
minvalue 1
maxvalue 999999999999999999
start with 281
increment by 1
cache 20;
var pef = pef || {};
// ��������
pef.datetimepicker = function() {
var target = $(".form_date");
if (target.length == 0)
return;
target.datetimepicker({
language : 'zh-CN',
weekStart : 1,
todayBtn : 1,
autoclose : 1,
todayHighlight : 1,
startView : 2,
minView : 2,
forceParse : 0
});
}
// ���߷���
pef.tool = {
checkLength : function() {
if (arguments.length < 2)
return;
var str = $.trim(arguments[0]), l = arguments[1], s = 1, result = false;
if (arguments.length > 2)
s = arguments[2]; // 1->,2->=,3-<,4-<=,5-===
if ((s === 1 && str.length > l) || (s === 2 && str.length >= l)
|| (s === 3 && str.length < l) || (s === 4 && str.length <= l)
|| (s === 5 && str.length === l)) {
result = true;
}
return result;
},
checkInt : function() {
if (arguments.length < 1)
return;
if (arguments[1] == 3) {
var result = false, reg = /^[0-9]{1,3}?$/g;
if (reg.test(arguments[0])) {
result = true;
}
}
if (arguments[1] == 10) {
var result = false, reg = /^[0-9]{1,10}?$/g;
if (reg.test(arguments[0])) {
result = true;
}
}
if (arguments[1] == 19) {
var result = false, reg = /^[0-9]{1,19}?$/g;
if (reg.test(arguments[0])) {
result = true;
}
}
if (arguments[1] == 14) {
var result = false, reg = /^[0-9]{1,14}?$/g;
if (reg.test(arguments[0])) {
result = true;
}
}
return result;
},
checkFloat : function() {
if (arguments.length < 1)
return;
if (arguments.length >= 2) {
result = false;
if (arguments[1] == 2) {
var reg = /(^[0-9]{1,2})+(.[0-9]{1,2})?$/g;
if (reg.test(arguments[0])) {
result = true;
}
}
if (arguments[1] == 19) {
var reg = /(^[0-9]{1,19})+(.[0-9]{1,2})?$/g;
if (reg.test(arguments[0])) {
result = true;
}
}
if (arguments[1] == 14) {
var reg = /(^[0-9]{1,14})+(.[0-9]{1,2})?$/g;
if (reg.test(arguments[0])) {
result = true;
}
}
if (arguments[1] == 1) {
var reg = /(^[0]{1})+(.[0-9]{1,2})?$/g;
if (reg.test(arguments[0])) {
result = true;
}
}
return result;
}
}
};
// ������ƷУ��
pef.formCheck = {
txtCheck : function(obj, strmin, type1, strmax, type2, tip) {
var _t = this, str = obj.val(), minLength = pef.tool.checkLength(str,
strmin, type1), maxLength = pef.tool.checkLength(str, strmax,
type2), alter = obj.next(".alter");
if (!minLength) {
_t.state = false;
alter.html("!" + tip + "������");
obj.addClass("warncolor");
} else if (!maxLength) {
_t.state = false;
alter.html("!" + tip + "���Ȳ��ܳ���" + strmax + "���ַ�");
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
},
selectCheck : function(obj, tip) {
var _t = this, v = obj.find("option:selected").val(), txt = obj.find(
"option:selected").text(), alter = obj.next(".alter");
if (v == "" || txt == '��ѡ��') {
_t.state = false;
alter.html("!" + tip);
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
},
dateCheck : function(obj1, tip1, obj2, tip2, limitMax) {
var _t = this;
if (arguments.length == 2) {
var str = obj1.val(), empty = pef.tool.checkLength(str, 0, 5), alter = obj1
.parent(".controls").siblings(".alter");
if (empty) {
_t.state = false;
alter.html("!" + tip1 + "������");
} else {
alter.html("");
}
}
if (arguments.length == 4) {
var str = obj2.val(), empty = pef.tool.checkLength(str, 0, 5), alter = obj2
.parent(".controls").siblings(".alter");
if (empty) {
_t.state = false;
alter.html("!" + tip2 + "������");
} else {
var str2 = obj1.val(), empty2 = pef.tool
.checkLength(str2, 0, 5);
if (!empty2) {
str = parseInt(str.replace(/-/g, ""), 10);
str2 = parseInt(str2.replace(/-/g, ""), 10);
if (str2 > str) {
_t.state = false;
alter.html("!" + tip2 + "������" + tip1);
} else {
alter.html("");
}
}
}
}
if (arguments.length == 5) {
var str = obj2.val(), empty = pef.tool.checkLength(str, 0, 5), alter = obj2
.parent(".controls").siblings(".alter");
if (empty) {
_t.state = false;
alter.html("!" + tip2 + "������");
} else {
var str2 = obj1.val(), empty2 = pef.tool
.checkLength(str2, 0, 5);
if (!empty2) {
str = parseInt(str.replace(/-/g, ""), 10);
str2 = parseInt(str2.replace(/-/g, ""), 10);
if (str2 > str) {
_t.state = false;
alter.html("!" + tip2 + "������" + tip1);
} else if (str - str2 >= limitMax) {
_t.state = false;
alter.html("!ļ���ڲ��ܳ���" + limitMax + "��");
} else {
alter.html("");
}
}
}
}
},
date2Check : function(obj1, tip1) {
var _t = this;
var str = obj1.val(), empty = pef.tool.checkLength(str, 0, 5), alter = obj1
.siblings(".alter");
if (empty) {
_t.state = false;
alter.html("!" + tip1 + "������");
} else {
alter.html("");
}
},
moneyCheck : function(obj, tip1) {
var _t = this, str = obj.val(), minLength = pef.tool
.checkLength(str, 0), maxLength = pef.tool.checkLength(str, 22,
4), alter = obj.siblings(".alter");
if (!(str == null || str == "")) {
obj.val(parseFloat(str));
}
if (tip1 == "") {
if (minLength && !pef.tool.checkFloat(str, 14)) {
_t.state = false;
alter.html("!����������14λ���ڣ�С��2λ���ڵ�����");
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
} else {
if (!minLength) {
_t.state = false;
alter.html("!" + tip1);
obj.addClass("warncolor");
} else if (!pef.tool.checkFloat(str, 14)) {
_t.state = false;
alter.html("!����������14λ���ڣ�С��2λ���ڵ�����");
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
}
},
moneyIntCheck : function(obj, tip1) {
var _t = this, str = obj.val(), minLength = pef.tool
.checkLength(str, 0), maxLength = pef.tool.checkLength(str, 14,
4), alter = obj.siblings(".alter");
if (!(str == null || str == "")) {
obj.val(parseFloat(str));
}
if (tip1 == "") {
if (minLength && !pef.tool.checkInt(str, 14)) {
_t.state = false;
alter.html("!������14λ���ڵ�������");
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
} else {
if (!minLength) {
_t.state = false;
alter.html("!" + tip1);
obj.addClass("warncolor");
} else if (!pef.tool.checkInt(str, 14)) {
_t.state = false;
alter.html("!������14λ���ڵ�������");
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
}
},
lineCheck : function(obj, tip1) {
var _t = this, str = obj.val(), minLength = pef.tool.checkLength(str,
0, 5), alter = obj.siblings(".alter");
if (minLength) {
_t.state = false;
alter.html("!" + tip1 + "������");
obj.addClass("warncolor");
} else if (!pef.tool.checkFloat(str, 1)) {
_t.state = false;
alter.html("!������С��1��С��2λ���ڵ�����");
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
},
rateCheck : function(obj, tip) {
var _t = this, val = $.trim(obj.val()), alter = obj.siblings(".alter");
if (val == "") {
_t.state = false;
alter.html("!" + tip + "������");
obj.addClass("warncolor");
} else if (!pef.tool.checkFloat(val, 2)) {
_t.state = false;
alter.html("!����������2λ���ڣ�С��λ2λ���ڵ�����");
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
},
intCheck : function(obj, tip, l, min, max) {
var _t = this, data = $.trim(obj.val()), alter = obj.siblings(".alter");
if (data == "") {
_t.state = false;
alter.html("!" + tip + "������");
obj.addClass("warncolor");
} else if (!pef.tool.checkInt(data, l)) {
_t.state = false;
alter.html("!������" + l + "���������");
obj.addClass("warncolor");
} else if (parseInt(data) < parseInt(min)) {
_t.state = false;
alter.html("!������" + min);
obj.addClass("warncolor");
} else if (parseInt(data) > parseInt(max)) {
_t.state = false;
alter.html("!���ܴ���" + max);
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
},
textareaCheck : function(obj, l, tip) {
var _t = this;
str = obj.val(), minLength = pef.tool.checkLength(str, 0),
maxLength = pef.tool.checkLength(str, l, 4), alter = obj
.siblings(".alter");
if (!minLength) {
_t.state = false;
alter.html("!" + tip + "������");
obj.addClass("warncolor");
} else if (!maxLength) {
_t.state = false;
alter.html("!" + tip + "���Ȳ��ܳ���" + l + "���ַ�");
obj.addClass("warncolor");
} else {
alter.html("");
obj.removeClass("warncolor");
}
},
textareaSet : function(obj, l) {
var count = l - $.trim(obj.val()).length;
if (count <= 0) {
count = 0;
obj.val($.trim(obj.val()).slice(0, l));
}
obj.siblings(".alter").html(
"����������" + count + "��");
obj.removeClass("warncolor");
},
conditionSet : function(str) {
var _t = this;
if (str == "B") {
_t.objReadOnly.removeAttr("readonly");
_t.objReadOnly.parent().prev("td.tag-name").find(".required-field")
.html("*");
} else {
_t.objReadOnly.attr("readonly", "readonly")
.removeClass("warncolor");
_t.objReadOnly.siblings(".alter").html("");
_t.objReadOnly.parent().prev("td.tag-name").find(".required-field")
.html("");
_t.objReadOnly.parent().find(".form-control").val("");
}
},
bind : function() {
var _t = this;
_t.txt.on("keyup", function() {
$(this).siblings(".alter").html("");
$(this).removeClass("warncolor");
});
_t.sel.on("change", function() {
$(this).siblings(".alter").html("");
$(this).removeClass("warncolor");
});
_t.date.on("blur", function() {
if ($(this).val() != "") {
$(this).siblings(".alter").html("");
}
});
$("textarea").on("blur", function() {
$(this).next(".alter").html("");
});
_t.submitBtn
.on(
"click",
function() {
_t.state = true;
/* base information */
var index = 0;
_t.txtCheck(_t.name, 0, 1, 66, 4, "��Ʒ����");
// _t.intCheck(_t.discountRate, "�ۿ���", 3, 1, 100);
_t.txtCheck(_t.jname, 0, 1, 66, 4, "��Ʒ����");
_t.txtCheck(_t.fundCode, 0, 1, 6, 4, "��������");
// _t.txtCheck(_t.fundManagerCode, 0, 1, 8, 4,
// "���������˴���");
_t.txtCheck(_t.structure, 0, 1, 150, 4, "��Ʒ�ṹ");
_t.selectCheck(_t.category, "��ѡ����Ʒ����");
_t.selectCheck(_t.packagingModel, "��ѡ����Ʒ��װģʽ");
_t.selectCheck(_t.modefityMethod, "��ѡ���Ƿ�֧���ķֺ췽ʽ");
// _t.selectCheck(_t.cllx, "��ѡ����������");
_t.selectCheck(_t.subscribeMethod, "��ѡ���Ϲ�����ȡ��ʽ");
_t.selectCheck(_t.purchaseMethod, "��ѡ���깺����ȡ��ʽ");
_t.selectCheck(_t.isNotAchievementGatherPay,
"��ѡ���Ƿ���ȡҵ������");
// _t.selectCheck(_t.riskLevel, "��ѡ����Ʒ���յȼ�");
_t.moneyCheck(_t.scale, "��Ʒ��ģ����Ϊ��");
// _t.selectCheck(_t.fundStrategy, "��ѡ����������");
_t.moneyCheck(_t.startAmount, "��Ͷ�����Ϊ��");
_t.moneyCheck(_t.lowest, "���ͳ�����ģ����Ϊ��");
_t.moneyCheck(_t.initialAmount, "���������Ϲ������Ϊ��");
_t.moneyCheck(_t.incrementalAmount, "�����Ϲ������Ϊ��");
_t.moneyCheck(_t.maxInvestTZAmount, "����Ͷ�ʽ����Ϊ��");
_t.date2Check(_t.dateStart, "ļ������ʼ����");
_t.date2Check(_t.dateEnd, "ļ������ֹ����");
_t.date2Check(_t.dateFound, "Ԥ�Ƴ���ʱ��");
_t.date2Check(_t.dateEnd2, "Ԥ�Ƶ���ʱ��");
// _t.intCheck(_t.duration, "��������", 3);
_t.txtCheck(_t.openPeriod, 0, 1, 150, 4, "��������");
_t.rateCheck(_t.closureRate, "���������ط���");
_t.intCheck(_t.closurePeriod, "������", 10);
_t.intCheck(_t.closurePeriod2, "������", 10);
_t.selectCheck(_t.productIncome, "��ѡ����Ʒ������֤");
_t
.intCheck(_t.investmentNumber, "��Ͷ������", 3,
1, 200);
_t.moneyCheck(_t.maxSubAmount, "�����Ϲ������Ϊ��");
_t.intCheck(_t.mixPerson, "��Ʒ��С����", 3);
_t.intCheck(_t.maxPerson, "��Ʒ��������", 3, 1, 200);
_t.moneyCheck(_t.raiseLimit, "��Ʒļ����ģ������Ϊ��");
// _t.intCheck(_t.subsistLimit, "��Ʒ������ģ����", 3);
_t.moneyCheck(_t.firstMixMoney, "�״��깺���ͽ����Ϊ��");
_t.moneyCheck(_t.againMixMoney, "���깺���ͽ����Ϊ��");
_t.textareaCheck(_t.redemptiontj, 1200, "��������");
_t.selectCheck(_t.productStatus, "��ѡ����Ʒ����״̬");
/* end base information */
_t.date2Check(_t.startYyPurchaseDate,
"��ʼԤԼ�깺�Ǽ���(������)");
_t.date2Check(_t.endYyPurchaseDate, "����ԤԼ�깺�Ǽ���(������)");
_t.intCheck(_t.startYyRedemptionDate,
"��ʼԤԼ���صǼ���(������)", 3);
_t.intCheck(_t.endYyRedemptionDate,
"����ԤԼ���صǼ���(������)", 3);
if ($("#isNotModefityShowMethod").hasClass(
"isNotModefityShowMethod")) {
_t.isNotModefityShowMethod = $(
".isNotModefityShowMethod", _t.f);
_t.selectCheck(_t.isNotModefityShowMethod,
"��ѡ���Ƿ�֧���ķֺ췽ʽ");
}
if ($("#purchaseOpenRule").hasClass(
"purchaseOpenRule")) {
_t.purchaseOpenRule = $(".purchaseOpenRule",
_t.f);
_t.selectCheck(_t.purchaseOpenRule, "��ѡ���깺���Ź���");
}
if ($("#redemptionOpenRule").hasClass(
"redemptionOpenRule")) {
_t.redemptionOpenRule = $(
".redemptionOpenRule", _t.f);
_t.selectCheck(_t.redemptionOpenRule, "��ѡ�����ؿ��Ź���");
}
if ($("#purchaseOpenMons").hasClass(
"purchaseOpenMons")) {
_t.purchaseOpenMons = $(".purchaseOpenMons",
_t.f);
_t.intCheck(_t.purchaseOpenMons, "�깺������", 3);
}
if ($.trim(_t.lowestHoldNormalMoney.val()) == "") {
if ($.trim(_t.lowestHoldNormalShare.val()) == "") {
_t.intCheck(_t.lowestHoldNormalMoney,
"���ͳ��б�(Ԫ)", 14);
} else {
_t.intCheck(_t.lowestHoldNormalShare,
"���ͳ��б�(��)", 14);
}
} else {
_t.intCheck(_t.lowestHoldNormalMoney,
"���ͳ��б�(Ԫ)", 14);
}
if ($("#redemptionOpenMons").hasClass(
"redemptionOpenMons")) {
_t.redemptionOpenMons = $(
".redemptionOpenMons", _t.f);
_t.intCheck(_t.redemptionOpenMons, "���ؿ�����", 3);
}
if ($("#purchaseOpenDays").hasClass(
"purchaseOpenDays")) {
_t.purchaseOpenDays = $(".purchaseOpenDays",
_t.f);
_t.intCheck(_t.purchaseOpenDays, "�깺������", 3);
}
if ($("#redemptionOpenDays").hasClass(
"redemptionOpenDays")) {
_t.redemptionOpenDays = $(
".redemptionOpenDays", _t.f);
_t.intCheck(_t.redemptionOpenDays, "���ؿ�����", 3);
}
if ($("#purchaseOpenNumber").hasClass(
"purchaseOpenNumber")) {
_t.purchaseOpenNumber = $(
".purchaseOpenNumber", _t.f);
_t.intCheck(_t.purchaseOpenNumber, "�깺������", 3);
}
if ($("#redemptionOpenNumber").hasClass(
"redemptionOpenNumber")) {
_t.redemptionOpenNumber = $(
".redemptionOpenNumber", _t.f);
_t
.intCheck(_t.redemptionOpenNumber,
"���ؿ�����", 3);
}
/* organization */
_t.txtCheck(_t.investmentAdviser, 0, 1, 170, 4,
"Ͷ�ʹ���");
_t.txtCheck(_t.fundManager, 0, 1, 170, 4,
"���������ˣ����ƣ�");
_t.txtCheck(_t.custodian, 0, 1, 200, 4, "�й��ˣ����ƣ�");
// _t.txtCheck(_t.riskControlConsultant, 0, 1, 200,
// 4,
// "���ع��ʣ����ƣ�");
_t.txtCheck(_t.futuresOrg, 0, 1, 200, 4,
"�ڻ����ͻ��������ƣ�");
_t.txtCheck(_t.administrationOrg, 0, 1, 200, 4,
"�����������������ƣ�");
_t.txtCheck(_t.consignamentOrg, 0, 1, 200, 4,
"���������������ƣ�");
_t.txtCheck(_t.securityOrg, 0, 1, 200, 4,
"֤ȯ���ͻ��������ƣ�");
// _t.txtCheck(_t.rewardRate, 0, 1, 200, 4,
// "��ҵ��������");
_t.rateCheck(_t.managementRate, "��������");
_t.rateCheck(_t.redeemRate, "���ط���");
_t.rateCheck(_t.manageCost, "�йܷ���");
_t.rateCheck(_t.subscriptionRate, "�Ϲ�����");
_t.rateCheck(_t.salesRate, "���۷�������");
// _t.rateCheck(_t.maintenanceRate, "�ͻ�ά������");
_t.selectCheck(_t.formula, "��ѡ���Ϲ����깺�ݶ������ؽ����ļ��㷽ʽ");
_t.selectCheck(_t.purchaseReg, "��ѡ���Ƿ�ԤԼ�깺�Ǽ�");
_t.selectCheck(_t.redeemReg, "��ѡ���Ƿ�ԤԼ���صǼ�");
_t.textareaCheck(_t.briefIntroduction, 1000,
"������������");
_t.textareaCheck(_t.fundManagerIntro, 1200,
"���������˽���");
// _t.rateCheck(_t.organizationServe, "�����������۷�������");
_t.intCheck(_t.subscribeRebate, "�Ϲ��ۿ���", 3, 1, 100);
_t.rateCheck(_t.purchaseRate, "�깺����");
// _t.rateCheck(_t.excessAchievementPay, "����ҵ��������");
_t.intCheck(_t.purchaseRebate, "�깺�ۿ���", 3, 1, 100);
// _t.rateCheck(_t.organizationCustomerFee,
// "���������ͻ�ά������");
// _t.txtCheck(_t.riskCounselorCode, 0, 1, 50, 4,
// "���ع��ʣ����룩");
// _t.txtCheck(_t.investmentAdviserCode, 0, 1, 50,
// 4,
// "Ͷ�ʹ��ʣ����룩");
// _t.txtCheck(_t.fundMandatorCode, 0, 1, 50, 4,
// "�й��ˣ����룩");
// _t.txtCheck(_t.administrativeManagerCode, 0, 1,
// 50,
// 4, "�����������������룩");
// _t.txtCheck(_t.salesOrganizationCode, 0, 1, 50,
// 4,
// "���������������룩");
// _t.txtCheck(_t.securityOrganizationCode, 0, 1,
// 50,
// 4, "֤ȯ���ͻ��������룩");
// _t.txtCheck(_t.futuresOrganizationCode, 0, 1, 50,
// 4, "�ڻ����ͻ��������룩");
_t.textareaCheck(_t.achievementPayTerm, 300,
"ҵ��������ȡ����");
_t.briefIntroduction.on("keyup change", function() {
_t.textareaSet($(this), 1000);
});
_t.fundManagerIntro.on("keyup change", function() {
_t.textareaSet($(this), 1200);
});
_t.redemptiontj.on("keyup change", function() {
_t.textareaSet($(this), 1200);
});
_t.achievementPayTerm.on("keyup change",
function() {
_t.textareaSet($(this), 300);
});
/* end organization */
/* product description */
_t.rateCheck(_t.expectedReturnRate, "Ԥ��������");
// _t.txtCheck(_t.splitRatio, 0, 1, 50, 4,
// "�����ֳɱ���");
_t.txtCheck(_t.benchmark, 0, 1, 130, 4, "ҵ���Ƚϻ�");
//_t.txtCheck(_t.secInvestor, 0, 1, 200, 4, "�������");
// _t.rateCheck(_t.participationRate, "������");
_t.lineCheck(_t.warningLine, "Ԥ����");
_t.lineCheck(_t.stopLine, "ֹ����");
// _t.rateCheck(_t.guaranteedRate, "������");
// _t.selectCheck(_t.frequency, "��������Ƶ��");
// if ($("#earningsAllotWay").hasClass("earningsAllotWay")) {
// _t.earningsAllotWay = $(".earningsAllotWay", _t.f);
// _t.selectCheck(_t.earningsAllotWay, "��ѡ���������䷽ʽ");
// }
if ($("#durationTime").hasClass("duration")) {
_t.durationTime = $(".duration", _t.f);
_t.intCheck(_t.durationTime, "��������",10);
}
if ($("#fundStrategy").hasClass("fundStrategy")) {
_t.fundStrategy = $(".fundStrategy", _t.f);
_t.selectCheck(_t.fundStrategy, "��ѡ����������");
}
_t.selectCheck(_t.checkFrequency, "��ѡ����ֵ�˶�Ƶ��");
_t.textareaCheck(_t.investmentScope, 1200,
"Ͷ�ʷ�Χ/����");
_t.textareaCheck(_t.investmentLimit, 1200, "Ͷ������");
_t.textareaCheck(_t.investmentTarget, 1200, "Ͷ��Ŀ��");
_t.textareaCheck(_t.investmentStrategy, 1200,
"Ͷ�ʲ���");
_t.investmentScope.on("keyup change", function() {
_t.textareaSet($(this), 1200);
});
_t.investmentLimit.on("keyup change", function() {
_t.textareaSet($(this), 1200);
});
_t.investmentTarget.on("keyup change", function() {
_t.textareaSet($(this), 1200);
});
_t.investmentStrategy.on("keyup change",
function() {
_t.textareaSet($(this), 1200);
});
_t.popularOpinion.on("keyup change", function() {
_t.textareaSet($(this), 1300);
});
_t.otherInstrucetions.on("keyup change",
function() {
_t.textareaSet($(this), 1300);
});
/* end product description */
/* running info --Start */
_t.intCheck(_t.subscribeDays, "�Ϲ���������", 3);
_t.intCheck(_t.cfmDays, "�Ϲ�ȷ������", 3);
_t.intCheck(_t.purchaseDeliveryDays, "�깺��������", 3);
_t.intCheck(_t.purchaseCfmDays, "�깺ȷ������", 3);
_t.intCheck(_t.redemptionDays, "���ؽ�������", 3);
_t.intCheck(_t.redemptionCfmDays, "����ȷ������", 3);
_t.intCheck(_t.dividendDeliveryDays, "�ֺ콻������", 3);
_t.intCheck(_t.lqdfundsDeliveryDays, "�����������", 3);
_t.intCheck(_t.seccfmFailrfndDeliveryDays,
"����ȷ��ʧ���˿������", 3);
_t.intCheck(_t.raiseFailRfndDeliveryDays,
"ļ��ʧ���˿������", 3);
_t
.txtCheck(_t.raiseAccName, 0, 1, 50, 4,
"ļ���˻��˻���");
_t.txtCheck(_t.raiseAccNo, 0, 1, 30, 4, "ļ���˻��˺�");
_t.txtCheck(_t.raiseAccBankName, 0, 1, 50, 4,
"ļ���˻�������");
_t.txtCheck(_t.raiseAccCnapsCode, 0, 1, 30, 4,
"ļ�������к�");
_t.txtCheck(_t.lqdAccCnapsCode, 0, 1, 30, 4,
"���㻧���к�");
// _t.intCheck(_t.taCode, "TA����", 3);
_t.txtCheck(_t.taCode, 0, 1, 3, 4, "TA����");
/* running info --End */
/* attachment */
_t.popularOpinion.on("keyup change", function() {
_t.textareaSet($(this), 1300);
});
_t.riskControlOpinion.on("keyup change",
function() {
_t.textareaSet($(this), 1300);
});
_t.messageShow.on("keyup change",
function() {
_t.textareaSet($(this), 1300);
});
/* end attachment */
if (_t.state) {
$('#baseInfo').ajaxSubmit({
target : '#mainbody',
type : 'POST',
dataType : 'json',
success : function(rs) {
if (rs.success) {
layer.msg("�����ɹ�", {
icon : 1
});
$('#infoSubmit').attr('disabled','disabled');
$('#infoSubmit').removeAttr('href');
$('#infoSubmit').unbind("click");
if ($('#id').val() == '') {
$('#id').val(rs.data.id);
$('#assetId').val(rs.data.assetId);
$('#uuid').val(rs.data.uuid);
}
} else {
layer.msg(rs.errorMsg,{icon : 2});
}
}
});
}
});
},
init : function() {
var _t = this;
_t.f = $("#baseInfo");
_t.state = true;
_t.submitBtn = $("#infoSubmit", _t.f);
/* base information */
_t.name = $(".name", _t.f);
// _t.discountRate = $(".discountRate", _t.f);
_t.jname = $(".jname", _t.f);
_t.fundCode = $(".fundCode", _t.f);
// _t.riskLevel = $(".riskLevel", _t.f);
// _t.fundStrategy = $(".fundStrategy", _t.f);
_t.packagingModel = $(".packagingModel", _t.f)
_t.category = $(".category", _t.f);
_t.structure = $(".structure", _t.f);
_t.dateStart = $(".date-start", _t.f);
_t.dateEnd = $(".date-end", _t.f);
_t.dateFound = $(".found-day", _t.f);
_t.dateEnd2 = $(".end-day2", _t.f);
_t.currency1 = $(".currency1", _t.f);
_t.scale = $(".scale", _t.f);
_t.startAmount = $(".startAmount", _t.f);
_t.currency2 = $(".currency2", _t.f);
_t.lowest = $(".lowest", _t.f);
_t.currency3 = $(".currency3", _t.f);
_t.initialAmount = $(".initialAmount", _t.f);
_t.currency4 = $(".currency4", _t.f);
_t.incrementalAmount = $(".incrementalAmount", _t.f);
_t.maxInvestTZAmount = $(".maxInvestTZAmount", _t.f);
_t.processingMode = $(".processingMode", _t.f);
_t.duration = $(".duration", _t.f);
_t.openPeriod = $(".openPeriod", _t.f);
_t.closurePeriod = $(".closurePeriod", _t.f);
_t.closurePeriod2 = $(".closurePeriod2", _t.f);
_t.productIncome = $(".productIncome", _t.f);// ��Ʒ����ƾ֤
_t.investmentNumber = $(".investmentNumber", _t.f);// ��Ͷ������
_t.maxSubAmount = $(".maxSubAmount", _t.f);// �����Ϲ�����
_t.mixPerson = $(".mixPerson", _t.f);// ��Ʒ��С����
_t.maxPerson = $(".maxPerson", _t.f);// ��Ʒ��������
_t.raiseLimit = $(".raiseLimit", _t.f);// ��Ʒļ����ģ����Ԫ
// _t.subsistLimit = $(".subsistLimit", _t.f);// ��Ʒ������ģ����
_t.firstMixMoney = $(".firstMixMoney", _t.f);// �״��깺���ͽ���Ԫ
_t.againMixMoney = $(".againMixMoney", _t.f);// ���깺���ͽ���
_t.redemptiontj = $(".redemptiontj", _t.f);// ��������
_t.productStatus = $(".productStatus", _t.f);// ��Ʒ����״̬
_t.closureRate = $(".closureRate", _t.f);
_t.lowestHoldNormalMoney = $(".lowestHoldNormalMoney", _t.f);
_t.lowestHoldNormalShare = $(".lowestHoldNormalShare", _t.f);
_t.modefityMethod = $(".modefityMethod", _t.f);
// _t.cllx = $(".cllx", _t.f);
_t.subscribeMethod = $(".subscribeMethod", _t.f);
_t.purchaseMethod = $(".purchaseMethod", _t.f);
_t.isNotAchievementGatherPay = $(".isNotAchievementGatherPay", _t.f);
/* end base information */
/* organization */
_t.investmentAdviser = $(".investmentAdviser", _t.f);
_t.fundManager = $(".fundManager", _t.f);
_t.custodian = $(".custodian", _t.f);
// _t.riskControlConsultant = $(".riskControlConsultant", _t.f);
_t.futuresOrg = $(".futuresOrg", _t.f);
_t.administrationOrg = $(".administrationOrg", _t.f);
_t.consignamentOrg = $(".consignamentOrg", _t.f);
_t.securityOrg = $(".securityOrg", _t.f);
_t.managementRate = $(".managementRate", _t.f);// ��������
_t.manageCost = $(".manageCost", _t.f);// �йܷ���
_t.subscriptionRate = $(".subscriptionRate", _t.f);
_t.purchaseReg = $(".purchaseReg", _t.f);
_t.redeemReg = $(".redeemReg", _t.f);
_t.redeemRate = $(".redeemRate", _t.f);
_t.formula = $(".formula", _t.f);
// _t.rewardRate = $(".rewardRate", _t.f);
_t.salesRate = $(".salesRate", _t.f);
// _t.maintenanceRate = $(".maintenanceRate", _t.f);
_t.briefIntroduction = $(".briefIntroduction", _t.f);
_t.warningLine = $(".warningLine", _t.f);
_t.stopLine = $(".stopLine", _t.f);
_t.fundManagerIntro = $(".fundManagerIntro", _t.f);
// _t.organizationServe = $(".organizationServe", _t.f);// �����������۷�������
_t.subscribeRebate = $(".subscribeRebate", _t.f);// �Ϲ��ۿ���
_t.purchaseRate = $(".purchaseRate", _t.f);// �깺����
// _t.excessAchievementPay = $(".excessAchievementPay", _t.f);// ����ҵ��������
_t.purchaseRebate = $(".purchaseRebate", _t.f); // �깺�ۿ���
// _t.organizationCustomerFee = $(".organizationCustomerFee", _t.f); //
// ���������ͻ�ά������
// _t.riskCounselorCode = $(".riskCounselorCode", _t.f); // ���ع���(����)
// _t.investmentAdviserCode = $(".investmentAdviserCode", _t.f); //
// Ͷ�ʹ���(����)
// _t.fundMandatorCode = $(".fundMandatorCode", _t.f); // ���(����)
// _t.administrativeManagerCode = $(".administrativeManagerCode", _t.f);
// // ������������(����)
// _t.salesOrganizationCode = $(".salesOrganizationCode", _t.f); //
// ����������(����)
// _t.securityOrganizationCode = $(".securityOrganizationCode", _t.f);
// // ֤ȯ���ͻ���(����)
// _t.futuresOrganizationCode = $(".futuresOrganizationCode", _t.f); //
// �ڻ����ͻ���(����)
_t.achievementPayTerm = $(".achievementPayTerm", _t.f);// ҵ��������ȡ����
// _t.fundManagerCode = $(".fundManagerCode", _t.f);
/* end organization */
/* product description */
_t.expectedReturnRate = $(".expectedReturnRate", _t.f);
// _t.splitRatio = $(".splitRatio", _t.f);
// _t.frequency = $(".frequency", _t.f);
_t.startYyPurchaseDate = $(".startYyPurchaseDate", _t.f);
_t.endYyPurchaseDate = $(".endYyPurchaseDate", _t.f);
_t.startYyRedemptionDate = $(".startYyRedemptionDate", _t.f);
_t.endYyRedemptionDate = $(".endYyRedemptionDate", _t.f);
_t.benchmark = $(".benchmark", _t.f);
_t.parVal = $(".parVal", _t.f);
_t.issuePrice = $(".issuePrice", _t.f);
_t.spotPrice = $(".spotPrice", _t.f);
_t.clearingPrice = $(".clearingPrice", _t.f);
_t.upperLimit = $(".upperLimit", _t.f);
_t.lowerLimit = $(".lowerLimit", _t.f);
// _t.participationRate = $(".participationRate", _t.f);
// _t.warningLine = $(".warningLine", _t.f);
// _t.stopLine = $(".stopLine", _t.f);
// _t.guaranteedRate = $(".guaranteedRate", _t.f);
_t.checkFrequency = $(".checkFrequency", _t.f);
//_t.secInvestor = $(".secInvestor", _t.f);
_t.investmentScope = $(".investmentScope", _t.f);
_t.investmentLimit = $(".investmentLimit", _t.f);
_t.investmentTarget = $(".investmentTarget", _t.f);
_t.investmentStrategy = $(".investmentStrategy", _t.f);
_t.otherInstrucetions = $(".otherInstrucetions", _t.f);
/* end product description */
/* Running info Start */
_t.subscribeDays = $(".subscribeDays", _t.f);
_t.cfmDays = $(".cfmDays", _t.f);
_t.purchaseCfmDays = $(".purchaseCfmDays", _t.f);
_t.redemptionDays = $(".redemptionDays", _t.f);
_t.redemptionCfmDays = $(".redemptionCfmDays", _t.f);
_t.redemptionDays = $(".redemptionDays", _t.f);
_t.dividendDeliveryDays = $(".dividendDeliveryDays", _t.f);// �ֺ콻������
_t.lqdfundsDeliveryDays = $(".lqdfundsDeliveryDays", _t.f);// �����������
_t.raiseAccName = $(".raiseAccName", _t.f);// ļ���˻��˻���
_t.seccfmFailrfndDeliveryDays = $(".seccfmFailrfndDeliveryDays", _t.f);// ����ȷ��ʧ���˿������
_t.raiseFailRfndDeliveryDays = $(".raiseFailRfndDeliveryDays", _t.f);// ļ��ʧ���˿������
_t.raiseAccNo = $(".raiseAccNo", _t.f);// ļ���˻��˺�
_t.raiseAccBankName = $(".raiseAccBankName", _t.f);// ļ���˻�������
_t.purchaseDeliveryDays = $(".purchaseDeliveryDays", _t.f);// �깺��������
_t.raiseAccCnapsCode = $(".raiseAccCnapsCode", _t.f);// ļ�������к�
_t.lqdAccCnapsCode = $(".lqdAccCnapsCode", _t.f);// ���㻧���к�
_t.taCode = $(".taCode", _t.f);// TA����
/* Running info End */
/* attachment */
_t.popularOpinion = $(".popularOpinion", _t.f);
_t.riskControlOpinion = $(".riskControlOpinion", _t.f);
_t.messageShow = $(".messageShow", _t.f);
/*
* _t.startTime = $(".startTime",_t.f); _t.endTime = $(".endTime",_t.f);
*/
/* end attachment */
_t.txt = $("input.form-control", _t.f)
_t.sel = $("select.form-control", _t.f);
_t.date = $(".date-start,.date-end,.found-day,.date-end2,.startYyPurchaseDate,.endYyPurchaseDate", _t.f);
_t.objReadOnly = $(
".parVal,.issuePrice,.spotPrice,.clearingPrice,.upperLimit,.lowerLimit",
_t.f);
_t.bind();
}
};
// init dom ready
$(function() {
pef.datetimepicker();
pef.formCheck.init();
// $(".a-mun").blur(function(){
// $(this).val(formatNumber($(this).val(),2));
// });
// if (!$("#fundManagerDesc").attr("readonly")) {
// $("#fundManagerDesc").jSuggest({
// loadingImg : getRootPath() + "/static/img/ajax-loader.gif",
// url : getRootPath() + "/jsuggest/getSupplierList",
// beforeSubmit : function() {
// $("#fundManager").val("");
// $("#fundManagerCode").val("");
// $("#fundManagerIntro").val("");
// },
// showBack : function(objLi, textBox, data) {
// $(textBox).val(objLi.html());
// $("#fundManager").val(objLi.html());
// $("#fundManagerCode").val(objLi.attr("id"));
// $("#fundManagerIntro").val(objLi.attr("compintro"));
// }
// });
// }
if (!$("#investmentAdviserDesc").attr("readonly")) {
$("#investmentAdviserDesc").jSuggest({
loadingImg : getRootPath() + "/static/img/ajax-loader.gif",
url : getRootPath() + "/jsuggest/getInvestmentAdviserList",
beforeSubmit : function() {
$("#investmentAdviser").val("");
$("#investmentAdviserCode").val("");
},
showBack : function(objLi, textBox, data) {
$(textBox).val(objLi.html());
$("#investmentAdviser").val(objLi.html());
$("#investmentAdviserCode").val(objLi.attr("id"));
}
});
}
// if (!$("#fundMandatorDesc").attr("readonly")) {
// $("#fundMandatorDesc").jSuggest({
// loadingImg : getRootPath() + "/static/img/ajax-loader.gif",
// url : getRootPath() + "/jsuggest/getSupplierList",
// beforeSubmit : function() {
// $("#fundMandator").val("");
// },
// showBack : function(objLi, textBox, data) {
// $(textBox).val(objLi.html());
// $("#fundMandator").val(objLi.html());
// }
// });
// }
// if (!$("#riskCounselorDesc").attr("readonly")) {
// $("#riskCounselorDesc").jSuggest({
// loadingImg : getRootPath() + "/static/img/ajax-loader.gif",
// url : getRootPath() + "/jsuggest/getSupplierList",
// beforeSubmit : function() {
// $("#riskCounselor").val("");
// },
// showBack : function(objLi, textBox, data) {
// $(textBox).val(objLi.html());
// $("#riskCounselor").val(objLi.html());
// }
// });
// }
$("#productYield")
.bind(
"change",
function() {
if ($("#productYield").val() == '1') {
$("#openRule").show();
$("#openNumber").show();
$("#purchaseOpenNumber").addClass(
"purchaseOpenNumber");
$("#redemptionOpenNumber").addClass(
"redemptionOpenNumber");
$("#purchaseOpenRule").addClass("purchaseOpenRule");
$("#redemptionOpenRule").addClass(
"redemptionOpenRule");
$("#isNotModefityShowMethod").addClass(
"isNotModefityShowMethod");
} else {
$("#openRule").hide();
$("#openNumber").hide();
$("#purchaseMKRule").hide();
$("#purchaseMVRule").hide();
$("#purchaseDKRule").hide();
$("#purchaseDVRule").hide();
$("#redemptionMKRule").hide();
$("#redemptionMVRule").hide();
$("#redemptionDKRule").hide();
$("#redemptionDVRule").hide();
$("#purchaseOpenNumber").removeClass(
"purchaseOpenNumber");
$("#redemptionOpenNumber").removeClass(
"redemptionOpenNumber");
$("#purchaseOpenRule").removeClass(
"purchaseOpenRule");
$("#redemptionOpenRule").removeClass(
"redemptionOpenRule");
$("#purchaseOpenMons").removeClass(
"purchaseOpenMons");
$("#purchaseOpenDays").removeClass(
"purchaseOpenDays");
$("#redemptionOpenMons").removeClass(
"redemptionOpenMons");
$("#redemptionOpenDays").removeClass(
"redemptionOpenDays");
$("#isNotModefityShowMethod").removeClass(
"isNotModefityShowMethod");
}
});
$("#purchaseOpenRule").bind(
"change",
function() {
var purchaseOpenRule = $("#purchaseOpenRule").val();
if (purchaseOpenRule == '0' || purchaseOpenRule == '1'
|| purchaseOpenRule == '5' || purchaseOpenRule == '16'
|| purchaseOpenRule == '17') {
$("#purchaseRule").hide();
$("#purchaseMKRule").hide();
$("#purchaseMVRule").hide();
$("#purchaseDKRule").hide();
$("#purchaseDVRule").hide();
$("#purchaseOpenMons").val("");
$("#purchaseOpenDays").val("");
// $("#purchaseMRule").hide();
// $("#purchaseDRule").hide();
$("#purchaseOpenMons").removeClass("purchaseOpenMons");
$("#purchaseOpenDays").removeClass("purchaseOpenDays");
} else if (purchaseOpenRule == '2' || purchaseOpenRule == '3'
|| purchaseOpenRule == '4' || purchaseOpenRule == '6') {
$("#purchaseRule").show();
$("#purchaseMKRule").hide();
$("#purchaseMVRule").hide();
$("#purchaseOpenMons").val("");
$("#purchaseOpenMons").removeClass("purchaseOpenMons");
$("#purchaseDKRule").show();
$("#purchaseDVRule").show();
$("#purchaseOpenDays").addClass("purchaseOpenDays");
} else if (purchaseOpenRule == '9' || purchaseOpenRule == '12'
|| purchaseOpenRule == '15') {
$("#purchaseRule").show();
$("#purchaseMKRule").show();
$("#purchaseMVRule").show();
$("#purchaseDKRule").hide();
$("#purchaseDVRule").hide();
$("#purchaseOpenDays").val("");
$("#purchaseOpenMons").addClass("purchaseOpenMons");
$("#purchaseOpenDays").removeClass("purchaseOpenDays");
} else {
$("#purchaseRule").show();
$("#purchaseMKRule").show();
$("#purchaseMVRule").show();
$("#purchaseDKRule").show();
$("#purchaseDVRule").show();
$("#purchaseOpenMons").addClass("purchaseOpenMons");
$("#purchaseOpenDays").addClass("purchaseOpenDays");
}
});
$("#redemptionOpenRule").bind(
"change",
function() {
var redemptionOpenRule = $("#redemptionOpenRule").val();
if (redemptionOpenRule == '0' || redemptionOpenRule == '1'
|| redemptionOpenRule == '5'
|| redemptionOpenRule == '16'
|| redemptionOpenRule == '17') {
$("#redemptionRule").hide();
$("#redemptionMKRule").hide();
$("#redemptionMVRule").hide();
$("#redemptionDKRule").hide();
$("#redemptionDVRule").hide();
$("#redemptionOpenMons").val("");
$("#redemptionOpenDays").val("");
// $("#redemptionMRule").hide();
// $("#redemptionDRule").hide();
$("#redemptionOpenMons").removeClass("redemptionOpenMons");
$("#redemptionOpenDays").removeClass("redemptionOpenDays");
} else if (redemptionOpenRule == '2'
|| redemptionOpenRule == '3'
|| redemptionOpenRule == '4'
|| redemptionOpenRule == '6') {
$("#redemptionRule").show();
$("#redemptionMKRule").hide();
$("#redemptionMVRule").hide();
$("#redemptionOpenMons").val("");
$("#redemptionDKRule").show();
$("#redemptionDVRule").show();
$("#redemptionOpenMons").removeClass("redemptionOpenMons");
$("#redemptionOpenDays").addClass("redemptionOpenDays");
} else if (redemptionOpenRule == '9'
|| redemptionOpenRule == '12'
|| redemptionOpenRule == '15') {
$("#redemptionRule").show();
$("#redemptionMKRule").show();
$("#redemptionMVRule").show();
$("#redemptionDKRule").hide();
$("#redemptionDVRule").hide();
$("#redemptionOpenDays").val("");
$("#redemptionOpenMons").addClass("redemptionOpenMons");
$("#redemptionOpenDays").removeClass("redemptionOpenDays");
} else {
$("#redemptionRule").show();
$("#redemptionMKRule").show();
$("#redemptionMVRule").show();
$("#redemptionDKRule").show();
$("#redemptionDVRule").show();
$("#redemptionOpenMons").addClass("redemptionOpenMons");
$("#redemptionOpenDays").addClass("redemptionOpenDays");
}
});
// ��ʼԤԼ���صǼ��գ������գ���"�Ƿ���ҪԤԼ���صǼ�"ѡ���ǣ������룬�����϶�Ϊ0
// ����ԤԼ���صǼ��գ������գ���"�Ƿ���ҪԤԼ���صǼ�"ѡ���ǣ������룬�����϶�Ϊ0
$("#isNotYyRedemptionRegister").bind(
"change",
function() {
var isNotYyRedemptionRegister = $("#isNotYyRedemptionRegister")
.val();
if (isNotYyRedemptionRegister == '1') {
$("#startYyRedemptionDate").val("");
$("#startYyRedemptionDate").attr("readonly", false);
$("#endYyRedemptionDate").val("");
$("#endYyRedemptionDate").attr("readonly", false);
} else if (isNotYyRedemptionRegister == '0') {
$("#startYyRedemptionDate").val('0');
$("#startYyRedemptionDate").attr("readonly", true);
$("#endYyRedemptionDate").val('0');
$("#endYyRedemptionDate").attr("readonly", true);
}
});
// $("#isNotYyPurchaseRegister").bind(
// "change",
// function() {
// var isNotYyPurchaseRegister = $("#isNotYyPurchaseRegister")
// .val();
// if (isNotYyPurchaseRegister == '1') {
// $("#startYyPurchaseDate").val("");
// $("#startYyPurchaseDate").attr("readonly", false);
// $("#endYyPurchaseDate").val("");
// $("#endYyPurchaseDate").attr("readonly", false);
// } else if (isNotYyPurchaseRegister == '0') {
// $("#startYyPurchaseDate").val('0');
// $("#startYyPurchaseDate").attr("readonly", true);
// $("#endYyPurchaseDate").val('0');
// $("#endYyPurchaseDate").attr("readonly", true);
// }
// });
// ��ҵ�������ֳɾ���������ת��˰��"��ҵ�������ֳ��Ƿ�������ת"Ҫ��Ϊ"��"������
$("#isNotRomAchievementPay").bind("change", function() {
var isNotRomAchievementPay = $("#isNotRomAchievementPay").val() == '1';
if (isNotRomAchievementPay) {
$("#cessAchievementPay").removeAttr("readonly");
} else {
$("#cessAchievementPay").attr("readonly", "readonly");
}
});
$("#isNotSaleServe").bind("change", function() {
var isNotSaleServe = $("#isNotSaleServe").val() == '1';
if (isNotSaleServe) {
$("#cessSaleServe").removeAttr("readonly");
} else {
$("#cessSaleServe").attr("readonly", "readonly");
}
});
// ���ͻ�ά���Ѿ���������ת��˰��"���ͻ�ά�����Ƿ�������ת"Ҫ��Ϊ"��"������
$("#isNotRomCustomerFee").bind("change", function() {
var isNotRomCustomerFee = $("#isNotRomCustomerFee").val() == '1';
if (isNotRomCustomerFee) {
$("#cessCustomerFee").removeAttr("readonly");
} else {
$("#cessCustomerFee").attr("readonly", "readonly");
}
});
//���ͻ�ά������ѡ������0 �����ͻ�ά���ѽ���Ƶ�� ��Ӧ¼��
$("#customerServeRate").bind("change", function() {
var customerServeRate = $("#customerServeRate").val() != '' && parseFloat($("#customerServeRate").val()) != '0' && $("#customerServeRate").val() != null
if (customerServeRate) {
$("#customerFeeMethod").removeAttr("disabled");
} else {
$("#customerFeeMethod").val("0");
$("#customerFeeMethod").attr("disabled", "disabled");
}
});
//�Ƿ������طѷֳ�ѡ���� ��ô�����������طѷֳ� �û�
$("#isNotRedemptionFallInto").bind("change", function() {
var isNotRedemptionFallInto = $("#isNotRedemptionFallInto").val() =='0';
if (isNotRedemptionFallInto) {
$("#organizationRedemption").val("");
$("#organizationRedemption").attr("disabled", "disabled");
} else {
$("#organizationRedemption").removeAttr("disabled");
}
});
//�Ƿ���ȡҵ������ѡ���� ��ô����ҵ�������� �û�
$("#isNotAchievementGatherPay").bind("change", function() {
var isNotAchievementGatherPay = $("#isNotAchievementGatherPay").val() =='0';
if (isNotAchievementGatherPay) {
$("#excessAchievementPay").val("");
$("#excessAchievementPay").attr("disabled", "disabled");
} else {
$("#excessAchievementPay").removeAttr("disabled");
}
});
//�����������䷽ʽ���ڷDZ��� �����ձ��� �������� earningsAllotWay
// $("#productYield").bind("change", function() {
// var productYield = $("#productYield").val() == '0';
// if (productYield) {
// $("#earningsAllotWaySpan").html("*");
// $("#earningsAllotWay").addClass("earningsAllotWay");
// } else {
// $("#earningsAllotWaySpan").html("");
// $("#earningsAllotWay").removeClass("earningsAllotWay");
// if($("#earningsAllotWay").hasClass("warncolor")) {
// $("#earningsAllotWay").removeClass("warncolor");
// $("#earningsAllotWay").siblings(".alter").html("");
// }
// }
// });
//����ѡ�������ڵ�λ�еġ�����������ô�������DZ�����
$("#durationTimeUnits").bind("change", function() {
var durationTimeUnits = $("#durationTimeUnits").val() == '6';
if (durationTimeUnits) {
$("#durationTimeSpan").html("");
$("#durationTime").val("");
$("#durationTime").attr("readonly", "readonly");
$("#durationTime").removeClass("warncolor");
$("#durationTime").removeClass("duration");
} else {
$("#durationTimeSpan").html("*");
$("#durationTime").removeAttr("readonly");
$("#durationTime").addClass("duration");
if($("#durationTime").hasClass("warncolor")){
$("#durationTimeSpan").removeClass("warncolor");
}
}
});
// ������Ʒ����ѡ�����͡�ʱ�����������������ڱ�ѡ��;productSonType
$("#productSonType").bind("change", function() {
var productSonType = $("#productSonType").val() == 'D';
if (productSonType) {
isRequired("fundStrategy", true);
} else {
isRequired("fundStrategy", false);
}
});
// ���ط�
$("#isNotRomRedemption").bind("change", function() {
var isNotRomRedemption = $("#isNotRomRedemption").val() == '1';
if (isNotRomRedemption) {
$("#cessRedemption").removeAttr("readonly");
} else {
$("#cessRedemption").attr("readonly", "readonly");
}
});
// ������
$("#managerFeeIsRoam").bind("change", function() {
var managerFeeIsRoam = $("#managerFeeIsRoam").val() == '1';
if (managerFeeIsRoam) {
$("#managerFeeCess").removeAttr("readonly");
} else {
$("#managerFeeCess").attr("readonly", "readonly");
}
});
});
function isRequired(id, isRequired) {
if (isRequired) {
$("#" + id + "Span").html("*");
if(!$("#" + id).hasClass(id)) {
$("#" + id).addClass(id);
}
} else {
$("#" + id + "Span").html("");
$("#" + id).val("");
if($("#" + id).hasClass(id)) {
$("#" + id).removeClass(id);
}
if ($("#" + id).hasClass("warncolor")) {
$("#" + id).removeClass("warncolor");
$("#" + id).siblings(".alter").html("");
}
}
}
function test(id) {
var value = $("#" + id).val();
if (value == "" || value == null) {
$("#" + id).removeAttr("readonly");
}
}
//function customerChange(id) {
// if(id=="customerServeRate"){
// var customerServeRate=$("#customerServeRate").val();
// if(customerServeRate==""||customerServeRate=="0" ||customerServeRate == null){
// $("#customerFeeMethod").attr("readonly", "readonly");
// }else{
// $("#customerFeeMethod").removeAttr("readonly");
// }
// }
//}
function test1(id) {
if (id == "lowestHoldNormalMoney") {
var v1 = $("#lowestHoldNormalShare").val();
if (v1 != "" && v1 != null) {
$("#lowestHoldNormalMoney").attr("readonly", true);
} else {
$("#lowestHoldNormalShare").attr("readonly", true);
$("#lowestHoldNormalMoney").attr("readonly", false);
}
}
if (id == "lowestHoldNormalShare") {
var v1 = $("#lowestHoldNormalMoney").val();
if (v1 != "" && v1 != null) {
$("#lowestHoldNormalShare").attr("readonly", true);
} else {
$("#lowestHoldNormalShare").attr("readonly", false);
$("#lowestHoldNormalMoney").attr("readonly", true);
}
}
}
�깺������
-- Create table
create table PEF_PURCHASE_APPLY
(
id NUMBER(32) not null,
appsheetserialno VARCHAR2(24),
currencytype VARCHAR2(3),
fundcode VARCHAR2(6),
transactiondate VARCHAR2(8),
transactionaccountid VARCHAR2(17),
distributorcode VARCHAR2(9),
applicationamount NUMBER(16,2),
businesscode VARCHAR2(3),
taaccountid VARCHAR2(12),
branchcode VARCHAR2(9),
transactiontime VARCHAR2(6),
shareclass VARCHAR2(1),
raisefee NUMBER(16,2),
plannerno VARCHAR2(16),
handletradedate VARCHAR2(8),
institutioncode VARCHAR2(6),
process_status VARCHAR2(32),
is_delete VARCHAR2(20 CHAR) not null,
create_by VARCHAR2(20 CHAR) not null,
update_by VARCHAR2(20 CHAR) not null,
create_date DATE not null,
update_date DATE not null,
investorname VARCHAR2(120) not null
)
tablespace BSYS_DATA
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Add comments to the columns
comment on column PEF_PURCHASE_APPLY.id
is '��������';
comment on column PEF_PURCHASE_APPLY.appsheetserialno
is '���뵥����';
comment on column PEF_PURCHASE_APPLY.currencytype
is '��������';
comment on column PEF_PURCHASE_APPLY.fundcode
is '��������';
comment on column PEF_PURCHASE_APPLY.transactiondate
is '����������';
comment on column PEF_PURCHASE_APPLY.transactionaccountid
is 'Ͷ���˻��������˺�';
comment on column PEF_PURCHASE_APPLY.distributorcode
is '�����˴���';
comment on column PEF_PURCHASE_APPLY.applicationamount
is '��������';
comment on column PEF_PURCHASE_APPLY.businesscode
is 'ҵ������';
comment on column PEF_PURCHASE_APPLY.taaccountid
is 'Ͷ���˻����˺�';
comment on column PEF_PURCHASE_APPLY.branchcode
is '��������';
comment on column PEF_PURCHASE_APPLY.transactiontime
is '������ʱ��';
comment on column PEF_PURCHASE_APPLY.shareclass
is '�շѷ�ʽ';
comment on column PEF_PURCHASE_APPLY.raisefee
is '�Ϲ��� ��0-ǰ�շѣ�1-���շѣ�';
comment on column PEF_PURCHASE_APPLY.plannerno
is '����ʦ����';
comment on column PEF_PURCHASE_APPLY.handletradedate
is '���������� ���ݹ鲢������������';
comment on column PEF_PURCHASE_APPLY.institutioncode
is '��������';
comment on column PEF_PURCHASE_APPLY.process_status
is '����״̬��0000�������룬0001���ɹ���0002��ʧ�ܣ�';
comment on column PEF_PURCHASE_APPLY.is_delete
is 'ɾ����ʾ(0δɾ����1ɾ��)';
comment on column PEF_PURCHASE_APPLY.create_by
is '������';
comment on column PEF_PURCHASE_APPLY.update_by
is '����';
comment on column PEF_PURCHASE_APPLY.create_date
is '��������';
comment on column PEF_PURCHASE_APPLY.update_date
is '������';
comment on column PEF_PURCHASE_APPLY.investorname
is 'Ͷ��������';
-- Create/Recreate primary, unique and foreign key constraints
alter table PEF_PURCHASE_APPLY
add constraint PK_PEF_PURCHASE_APPLY primary key (ID)
using index
tablespace BSYS_DATA
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Grant/Revoke object privileges
grant insert on PEF_PURCHASE_APPLY to BSYSTEM_INSERT;
grant select on PEF_PURCHASE_APPLY to BSYSTEM_SELECT;
grant update on PEF_PURCHASE_APPLY to BSYSTEM_UPDATE;
�깺ȷ�ϱ�
--------------------------------------------------
-- Create table
create table PEF_PURCHASE_SURE
(
id NUMBER(32) not null,
shareclass VARCHAR2(1),
transferfee NUMBER(10,2),
taserialno VARCHAR2(20),
transactiontime VARCHAR2(6),
branchcode VARCHAR2(9),
nav NUMBER(7,4),
agencyfee NUMBER(10,2),
charge NUMBER(10,2),
downloaddate VARCHAR2(8),
taaccountid VARCHAR2(12),
businesscode VARCHAR2(3),
applicationamount NUMBER(16,2),
distributorcode VARCHAR2(9),
transactionaccountid VARCHAR2(17),
returncode VARCHAR2(4),
transactiondate VARCHAR2(8),
fundcode VARCHAR2(6),
confirmedamount NUMBER(16,2),
confirmedvol NUMBER(16,2),
currencytype VARCHAR2(3),
transactioncfmdate VARCHAR2(8),
appsheetserialno VARCHAR2(24),
handletradedate VARCHAR2(8),
institutioncode VARCHAR2(6),
is_delete VARCHAR2(20 CHAR) not null,
create_by VARCHAR2(20 CHAR) not null,
update_by VARCHAR2(20 CHAR) not null,
create_date DATE not null,
update_date DATE not null
)
tablespace BSYS_DATA
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Add comments to the table
comment on table PEF_PURCHASE_SURE
is '�깺ȷ��';
-- Add comments to the columns
comment on column PEF_PURCHASE_SURE.id
is '��������';
comment on column PEF_PURCHASE_SURE.shareclass
is '�շѷ�ʽ';
comment on column PEF_PURCHASE_SURE.transferfee
is '������';
comment on column PEF_PURCHASE_SURE.taserialno
is 'TAȷ�Ͻ�����ˮ��';
comment on column PEF_PURCHASE_SURE.transactiontime
is '������ʱ��';
comment on column PEF_PURCHASE_SURE.branchcode
is '��������';
comment on column PEF_PURCHASE_SURE.nav
is '������λ��ֵ';
comment on column PEF_PURCHASE_SURE.agencyfee
is '������';
comment on column PEF_PURCHASE_SURE.charge
is '������';
comment on column PEF_PURCHASE_SURE.downloaddate
is '���������´�����';
comment on column PEF_PURCHASE_SURE.taaccountid
is 'Ͷ���˻����˺�';
comment on column PEF_PURCHASE_SURE.businesscode
is 'ҵ������';
comment on column PEF_PURCHASE_SURE.applicationamount
is '��������';
comment on column PEF_PURCHASE_SURE.distributorcode
is '�����˴���';
comment on column PEF_PURCHASE_SURE.transactionaccountid
is 'Ͷ���˻��������˺�';
comment on column PEF_PURCHASE_SURE.returncode
is '���״������ش���';
comment on column PEF_PURCHASE_SURE.transactiondate
is '����������';
comment on column PEF_PURCHASE_SURE.fundcode
is '��������';
comment on column PEF_PURCHASE_SURE.confirmedamount
is 'ÿ�ʽ���ȷ�Ͻ���';
comment on column PEF_PURCHASE_SURE.confirmedvol
is '�����˻�����ȷ�Ϸ���';
comment on column PEF_PURCHASE_SURE.currencytype
is '��������';
comment on column PEF_PURCHASE_SURE.transactioncfmdate
is '����ȷ������';
comment on column PEF_PURCHASE_SURE.appsheetserialno
is '���뵥����';
comment on column PEF_PURCHASE_SURE.handletradedate
is '���������� ���ݹ鲢������������';
comment on column PEF_PURCHASE_SURE.institutioncode
is '��������';
comment on column PEF_PURCHASE_SURE.is_delete
is 'ɾ����ʾ(0δɾ����1ɾ��)';
comment on column PEF_PURCHASE_SURE.create_by
is '������';
comment on column PEF_PURCHASE_SURE.update_by
is '����';
comment on column PEF_PURCHASE_SURE.create_date
is '��������';
comment on column PEF_PURCHASE_SURE.update_date
is '������';
-- Create/Recreate primary, unique and foreign key constraints
alter table PEF_PURCHASE_SURE
add constraint PK_PEF_PURCHASE_SURE primary key (ID)
using index
tablespace BSYS_DATA
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Grant/Revoke object privileges
grant insert on PEF_PURCHASE_SURE to BSYSTEM_INSERT;
grant select on PEF_PURCHASE_SURE to BSYSTEM_SELECT;
grant update on PEF_PURCHASE_SURE to BSYSTEM_UPDATE;
ļ��ʧ�ܱ�
-----------------------------------------------------
-- Create table
create table PEF_RAISE_FAIL
(
id NUMBER(18) not null,
transactioncfm_date VARCHAR2(32),
currency_type VARCHAR2(32),
confirmed_amount NUMBER(32,2),
fund_code VARCHAR2(32),
interest NUMBER(16,2),
transaction_date VARCHAR2(32),
transaction_account_id VARCHAR2(32),
distributor_code VARCHAR2(32),
application_amount NUMBER(32,2),
business_code VARCHAR2(32),
taaccount_id VARCHAR2(32),
interest_tax NUMBER(32,2),
deposit_acct VARCHAR2(32),
trans_date_throughclear_age VARCHAR2(32),
download_date VARCHAR2(32),
ta_serialno VARCHAR2(32),
raise_interest NUMBER(32,2),
refund_amount NUMBER(32,2),
share_class VARCHAR2(32),
is_delete VARCHAR2(32) default 0 not null,
create_by VARCHAR2(64) not null,
create_date DATE not null,
update_by VARCHAR2(64) not null,
update_date DATE not null,
handletradedate VARCHAR2(8),
institutioncode VARCHAR2(6),
appsheetserialno VARCHAR2(32),
confirmedvol NUMBER(16,2),
returncode VARCHAR2(8),
discountrateofcommission NUMBER(5,4),
regioncode VARCHAR2(8),
charge NUMBER(10,2),
agencyfee NUMBER(10,2),
branchcode VARCHAR2(16),
transactiontime VARCHAR2(8),
otherfee1 NUMBER(10,2),
individualorinstitution VARCHAR2(8),
tradingprice NUMBER(7,4),
stampduty NUMBER(16,2),
transferfee NUMBER(10,2),
volumebyinterest NUMBER(16,2),
feecalculator VARCHAR2(8)
)
tablespace BSYS_DATA
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Add comments to the table
comment on table PEF_RAISE_FAIL
is 'ļ��ʧ��';
-- Add comments to the columns
comment on column PEF_RAISE_FAIL.id
is '��������';
comment on column PEF_RAISE_FAIL.transactioncfm_date
is '����ȷ������';
comment on column PEF_RAISE_FAIL.currency_type
is '��������';
comment on column PEF_RAISE_FAIL.confirmed_amount
is 'ÿ�ʽ���ȷ�Ͻ���';
comment on column PEF_RAISE_FAIL.fund_code
is '��������';
comment on column PEF_RAISE_FAIL.interest
is '�����˻���Ϣ����(�Ϲ�һ��ȷ�ϵĽ�����������Ϣ�����в�������Ϣ)';
comment on column PEF_RAISE_FAIL.transaction_date
is '����������(��ʽΪ��YYYYMMDD)';
comment on column PEF_RAISE_FAIL.transaction_account_id
is 'Ͷ���˻��������˺�(Ͷ���������ۻ����ڿ��������ڽ����˺�)';
comment on column PEF_RAISE_FAIL.distributor_code
is '�����˴���';
comment on column PEF_RAISE_FAIL.application_amount
is '��������';
comment on column PEF_RAISE_FAIL.business_code
is 'ҵ������';
comment on column PEF_RAISE_FAIL.taaccount_id
is 'Ͷ���˻����˺�';
comment on column PEF_RAISE_FAIL.interest_tax
is '��Ϣ˰';
comment on column PEF_RAISE_FAIL.deposit_acct
is 'Ͷ�����������˴����ڽ����ʽ��˺�';
comment on column PEF_RAISE_FAIL.trans_date_throughclear_age
is '�����ʽ��������˻�������';
comment on column PEF_RAISE_FAIL.download_date
is '���������´�����';
comment on column PEF_RAISE_FAIL.ta_serialno
is 'TAȷ�Ͻ�����ˮ��';
comment on column PEF_RAISE_FAIL.raise_interest
is '�Ϲ��ڼ���Ϣ';
comment on column PEF_RAISE_FAIL.refund_amount
is '�˿�����';
comment on column PEF_RAISE_FAIL.share_class
is '�շѷ�ʽ(0-ǰ�շѣ�1-���շ�)';
comment on column PEF_RAISE_FAIL.is_delete
is 'ɾ����ʾ(0δɾ����1ɾ��)';
comment on column PEF_RAISE_FAIL.create_by
is '������';
comment on column PEF_RAISE_FAIL.create_date
is '��������';
comment on column PEF_RAISE_FAIL.update_by
is '����';
comment on column PEF_RAISE_FAIL.update_date
is '������';
comment on column PEF_RAISE_FAIL.appsheetserialno
is '���뵥����';
comment on column PEF_RAISE_FAIL.confirmedvol
is '�����˻�����ȷ�Ϸ���';
comment on column PEF_RAISE_FAIL.returncode
is '���״������ش���';
comment on column PEF_RAISE_FAIL.discountrateofcommission
is '����Ӷ���ۿ���';
comment on column PEF_RAISE_FAIL.regioncode
is '�������ڵ�������';
comment on column PEF_RAISE_FAIL.charge
is '������';
comment on column PEF_RAISE_FAIL.agencyfee
is '������';
comment on column PEF_RAISE_FAIL.branchcode
is '��������';
comment on column PEF_RAISE_FAIL.transactiontime
is '������ʱ��';
comment on column PEF_RAISE_FAIL.otherfee1
is '��������1';
comment on column PEF_RAISE_FAIL.individualorinstitution
is '����/������־';
comment on column PEF_RAISE_FAIL.tradingprice
is '���۸�';
comment on column PEF_RAISE_FAIL.stampduty
is 'ӡ��˰';
comment on column PEF_RAISE_FAIL.transferfee
is '������';
comment on column PEF_RAISE_FAIL.volumebyinterest
is '��Ϣ�����Ļ�������';
comment on column PEF_RAISE_FAIL.feecalculator
is '�Ʒ���';
-- Create/Recreate primary, unique and foreign key constraints
alter table PEF_RAISE_FAIL
add primary key (ID)
using index
tablespace BSYS_DATA
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Grant/Revoke object privileges
grant select, insert on PEF_RAISE_FAIL to BSYSTEM_APP;
grant insert on PEF_RAISE_FAIL to BSYSTEM_INSERT;
grant select on PEF_RAISE_FAIL to BSYSTEM_SELECT;
grant update on PEF_RAISE_FAIL to BSYSTEM_UPDATE;
��������
--------------------------------------------------
-- Create table
create table PEF_REDEMPTION_APPLY
(
id NUMBER(32) not null,
appsheetserialno VARCHAR2(24),
fundcode VARCHAR2(6),
largeredemptionflag VARCHAR2(1),
transactiondate VARCHAR2(8),
transactionaccountid VARCHAR2(17),
distributorcode VARCHAR2(9),
applicationvol NUMBER(16,2),
businesscode VARCHAR2(3),
taaccountid VARCHAR2(12),
branchcode VARCHAR2(9),
transactiontime VARCHAR2(6),
shareclass VARCHAR2(1),
chargetype VARCHAR2(1),
handletradedate VARCHAR2(8),
institutioncode VARCHAR2(6),
processstatus VARCHAR2(32),
is_delete VARCHAR2(20 CHAR) not null,
create_by VARCHAR2(20 CHAR) not null,
update_by VARCHAR2(20 CHAR) not null,
create_date DATE not null,
update_date DATE not null
)
tablespace BSYS_DATA
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Add comments to the table
comment on table PEF_REDEMPTION_APPLY
is '��������';
-- Add comments to the columns
comment on column PEF_REDEMPTION_APPLY.id
is '��������';
comment on column PEF_REDEMPTION_APPLY.appsheetserialno
is '���뵥����';
comment on column PEF_REDEMPTION_APPLY.fundcode
is '��������';
comment on column PEF_REDEMPTION_APPLY.largeredemptionflag
is '�����ش�����־';
comment on column PEF_REDEMPTION_APPLY.transactiondate
is '����������';
comment on column PEF_REDEMPTION_APPLY.transactionaccountid
is 'Ͷ���˻��������˺�';
comment on column PEF_REDEMPTION_APPLY.distributorcode
is '�����˴���';
comment on column PEF_REDEMPTION_APPLY.applicationvol
is '������������';
comment on column PEF_REDEMPTION_APPLY.businesscode
is 'ҵ������';
comment on column PEF_REDEMPTION_APPLY.taaccountid
is 'Ͷ���˻����˺�';
comment on column PEF_REDEMPTION_APPLY.branchcode
is '��������';
comment on column PEF_REDEMPTION_APPLY.transactiontime
is '������ʱ��';
comment on column PEF_REDEMPTION_APPLY.shareclass
is '�շѷ�ʽ';
comment on column PEF_REDEMPTION_APPLY.chargetype
is '�շ�����';
comment on column PEF_REDEMPTION_APPLY.handletradedate
is '���������� ���ݹ鲢������������';
comment on column PEF_REDEMPTION_APPLY.institutioncode
is '��������';
comment on column PEF_REDEMPTION_APPLY.processstatus
is '����״̬��0000�������룬0001���ɹ���0002��ʧ�ܣ�';
comment on column PEF_REDEMPTION_APPLY.is_delete
is 'ɾ����ʾ(0δɾ����1ɾ��)';
comment on column PEF_REDEMPTION_APPLY.create_by
is '������';
comment on column PEF_REDEMPTION_APPLY.update_by
is '����';
comment on column PEF_REDEMPTION_APPLY.create_date
is '��������';
comment on column PEF_REDEMPTION_APPLY.update_date
is '������';
-- Create/Recreate primary, unique and foreign key constraints
alter table PEF_REDEMPTION_APPLY
add constraint PK_PEF_REDEMPTION_APPLY primary key (ID)
using index
tablespace BSYS_DATA
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Grant/Revoke object privileges
grant insert on PEF_REDEMPTION_APPLY to BSYSTEM_INSERT;
grant select on PEF_REDEMPTION_APPLY to BSYSTEM_SELECT;
grant update on PEF_REDEMPTION_APPLY to BSYSTEM_UPDATE;
����ȷ�ϱ�
-------------------------------------------------------
-- Create table
create table PEF_REDEMPTION_SURE
(
id NUMBER(32) not null,
appsheetserialno VARCHAR2(24),
fundcode VARCHAR2(6),
largeredemptionflag VARCHAR2(1),
transactiondate VARCHAR2(8),
transactionaccountid VARCHAR2(17),
distributorcode VARCHAR2(9),
applicationvol NUMBER(16,2),
businesscode VARCHAR2(3),
taaccountid VARCHAR2(12),
branchcode VARCHAR2(9),
transactiontime VARCHAR2(6),
shareclass VARCHAR2(1),
handletradedate VARCHAR2(8),
institutioncode VARCHAR2(6),
achievementpay NUMBER(16,2),
achievementcompen NUMBER(16,2),
punishfee NUMBER(16,2),
breachfeebacktofund NUMBER(16,2),
breachfee NUMBER(16,2),
transferfee NUMBER(10,2),
otherfee1 NUMBER(10,2),
nav NUMBER(7,4),
agencyfee NUMBER(10,2),
charge NUMBER(10,2),
downloaddate VARCHAR2(8),
businessfinishflag VARCHAR2(1),
taserialno VARCHAR2(20),
returncode VARCHAR2(4),
confirmedamount NUMBER(16,2),
confirmedvol NUMBER(16,2),
currencytype VARCHAR2(3),
transactioncfmdate VARCHAR2(8),
is_delete VARCHAR2(20 CHAR) not null,
create_by VARCHAR2(20 CHAR) not null,
update_by VARCHAR2(20 CHAR) not null,
create_date DATE not null,
update_date DATE not null
)
tablespace BSYS_DATA
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
-- Add comments to the table
comment on table PEF_REDEMPTION_SURE
is '����ȷ��';
-- Add comments to the columns
comment on column PEF_REDEMPTION_SURE.id
is '��������';
comment on column PEF_REDEMPTION_SURE.appsheetserialno
is '���뵥����';
comment on column PEF_REDEMPTION_SURE.fundcode
is '��������';
comment on column PEF_REDEMPTION_SURE.largeredemptionflag
is '�����ش�����־ (0-ȡ����1-˳��
)';
comment on column PEF_REDEMPTION_SURE.transactiondate
is '����������';
comment on column PEF_REDEMPTION_SURE.transactionaccountid
is 'Ͷ���˻��������˺�';
comment on column PEF_REDEMPTION_SURE.distributorcode
is '�����˴���';
comment on column PEF_REDEMPTION_SURE.applicationvol
is '������������';
comment on column PEF_REDEMPTION_SURE.businesscode
is 'ҵ������';
comment on column PEF_REDEMPTION_SURE.taaccountid
is 'Ͷ���˻����˺�';
comment on column PEF_REDEMPTION_SURE.branchcode
is '��������';
comment on column PEF_REDEMPTION_SURE.transactiontime
is '������ʱ��';
comment on column PEF_REDEMPTION_SURE.shareclass
is '�շѷ�ʽ (0-ǰ�շѣ�1-���շ�)';
comment on column PEF_REDEMPTION_SURE.handletradedate
is '���������� ���ݹ鲢������������';
comment on column PEF_REDEMPTION_SURE.institutioncode
is '��������';
comment on column PEF_REDEMPTION_SURE.achievementpay
is 'ҵ������';
comment on column PEF_REDEMPTION_SURE.achievementcompen
is 'ҵ������';
comment on column PEF_REDEMPTION_SURE.punishfee
is '�ͷ��Է���';
comment on column PEF_REDEMPTION_SURE.breachfeebacktofund
is 'ΥԼ���������ʲ�����';
0 条评论
下一页