You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/OA/Viewsjs/Jiekuan/JiekuanModel.js

95 lines
3.3 KiB
JavaScript

Ext.define('Jiekuanmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'ENTEROPERATOR', type: 'string' },
{ name: 'ENTERDATE', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'DEPTID', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'SHOWNAME', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'MBLNO', type: 'string' }
, { name: 'JKSTATUS', type: 'string' }
, { name: 'JKSTATUS_REF', type: 'string' }
, { name: 'REMAIN', type: 'string' }
, { name: 'REMARK', type: 'string' }
]
});
Ext.define('Tradermb', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'codename', type: 'string' }
]
});
Ext.define('currRef', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'codename', type: 'string' },
{ name: 'defaultrate', type: 'string' }
]
});
Ext.define('BANKmb', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'bankname', type: 'string' }
]
});
Ext.define('CHEQUEmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BILLNO', type: 'string' },
{ name: 'MAKETIMEUPPER', type: 'string' },//bsno
{ name: 'MBLNO', type: 'string' },//主提单号
{ name: 'CHEQUECUSTNAME', type: 'string' },//取密码的人名
{ name: 'CHEQUENO', type: 'string' },
{ name: 'CHEQUEAMOUNTUPPER', type: 'number' },//借款金额
{name: 'CHEQUEAMOUNT', type: 'number' }, //支取金额
{ name: 'PASSWORD', type: 'string' },
{ name: 'CHEQUEMAKETIME', type: 'string' },//支取时间
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'PRINTTIME', type: 'date' },
{ name: 'PRINTUSER', type: 'string' },
{ name: 'PURPOSE', type: 'string' }
, { name: 'CUSTOMERNAME', type: 'string' }
, { name: 'ModifiedTime', type: 'date' }
]
});
Ext.define('DEPTmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'DEPTNAME', type: 'string' }
]
});
Ext.define('BSmb', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'MBLNO', type: 'string' }
]
});