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/OA/Viewsjs/Jiekuan2/JiekuanModel.js

203 lines
8.1 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: 'STLAMOUNT', type: 'number' },
{ 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: 'DEPTNAME', type: 'string' }
, { name: 'JKSTATUS', type: 'string' }
, { name: 'JKSTATUS_REF', type: 'string' }
, { name: 'JKTYPE', type: 'string' }
, { name: 'JKTYPE_REF', type: 'string' }
, { name: 'REMAIN', type: 'string' }
, { name: 'REMARK', type: 'string' }
, { name: 'RMBAMOUNT', type: 'number' }
, { name: 'USDAMOUNT', type: 'number' }
, { name: 'OTHERAMOUNT', type: 'number' }
, { name: 'BALAMOUNT', type: 'number' }
, { name: 'CHEQUENO', type: 'string' }
, { name: 'RMBAMOUNT_SETTLEMENT', type: 'number' }
, { name: 'USDAMOUNT_SETTLEMENT', type: 'number' }
, { name: 'OTHERAMOUNT_SETTLEMENT', type: 'number' },
{ name: 'EXREPAYDATE', type: 'string' },
{ name: 'SETTINFO', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'REASON', type: 'string' },
{ name: 'SALECORPID', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'AUDITOR', type: 'string' },
{ name: 'AUDITTIME', 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('JieKuan2Bodymb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'JKGID', type: 'string' },
{ name: 'BXGID', type: 'string' },
{ name: 'PaymentGID', type: 'string' },
{ name: 'CARGO_GID', type: 'string' },
{ name: 'FEETYPE', type: 'string' },
{ name: 'FEETYPE_REF', type: 'string' },
{ name: 'FEESTATUS', type: 'string' },
{ name: 'FEESTATUS_REF', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'UNIT', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'TAXRATE', type: 'number' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'NOTAXAMOUNT', type: 'number' },
{ name: 'TAX', type: 'number' },
{ name: 'SETTLEMENT', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'INVOICENUM', type: 'string' },
{ name: 'F_NO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'CUSTNAME', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'FEEDESCRIPTION', type: 'string' },
{ name: 'SALESNO', type: 'string' }
]
});
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: 'CUSTNAME', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'MBLNO', type: 'string' }
]
});
//用户参照Model
Ext.define('DsShipping.ux.UserRefModel', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'UserCode', type: 'string' },
{ name: 'UserName', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'CodeAndFull', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'DEPTGID', type: 'string' },
{ name: 'DEPTNAME', type: 'string' }
]
});
Ext.define('MsFeeCurr', {
extend: 'Ext.data.Model',
idProperty: 'CURR',
fields: [
{ name: 'CURR', type: 'string' },
{ name: 'DEFRATE', type: 'number' },
{ name: 'CRDEFRATE', type: 'number' }
]
});
Ext.define('MsCompanysEntity', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' }, //GID
{ name: 'CODENAME', type: 'string' }, //CODENAME
{ name: 'NAME', type: 'string' }, //NAME
{ name: 'FULLNAME', type: 'string' }, //FULLNAME
{ name: 'ENNAME', type: 'string' }, //公司英文名称
{ name: 'ADDRESS', type: 'string' }, //ADDRESS
{ name: 'ENADDRESS', type: 'string' }, //公司英文地址
{ name: 'POSTCODE', type: 'string' }, //POSTCODE
{ name: 'OFFICEPHONE', type: 'string' }, //OFFICEPHONE
{ name: 'FAX', type: 'string' }, //FAX
{ name: 'EMAIL', type: 'string' }, //EMAIL
{ name: 'WEBSITEURL', type: 'string' }, //WEBSITEURL
{ name: 'LICENSECODE', type: 'string' }, //LICENSECODE
{ name: 'TAXCODE', type: 'string' }, //TAXCODE
//{name: 'LOGO', type: 'byte[]' }, //徽标
{ name: 'CREATEUSER', type: 'string' }, //CREATEUSER
{ name: 'CREATETIME', type: 'DateTime' }, //CREATETIME
{ name: 'MODIFIEDUSER', type: 'string' }, //更新人gid
{ name: 'MODIFIEDTIME', type: 'DateTime' }, //更新时间
{ name: 'ISDELETED', type: 'bool' }, //ISDELETED
{ name: 'ISDISABLE', type: 'bool' }, //ISDISABLE
{ name: 'PARENTID', type: 'string' }, //PARENTID
{ name: 'BILLRISES', type: 'string' }, //发票抬头
{ name: 'CHEQUEPAYABLE', type: 'string' }, //支票抬头
{ name: 'PRTHEADXML1', type: 'string' }, //打印抬头1
{ name: 'PRTHEADXML2', type: 'string' }, //打印抬头2
{ name: 'PRTHEADXML3', type: 'string' }, //打印抬头3
{ name: 'PRTHEADXML4', type: 'string' }, //打印抬头4
{ name: 'PRTHEADXML5', type: 'string' }, //打印抬头5
{ name: 'BANKSHEAD', type: 'string' }, //BANKSHEAD
{ name: 'LOCALCURR', type: 'string' }, //本地货币
{ name: 'WORKFLOWMSG', type: 'string' }, //是否启用消息提示
{ name: 'GPSUSER', type: 'string' }, //GPSUser
{ name: 'GPSPASSWORD', type: 'string' }, //GPSPassWord
{ name: 'ORGANIZATIONCODE', type: 'string' },
{ name: 'MODIFIEDUSERNAME', type: 'string' },
{ name: 'DBNAME', type: 'string' },
{ name: 'LOGOURL', type: 'string' }
]
});