|
|
Ext.define('PERIOD', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'PERIOD', type: 'string' },
|
|
|
{ name: 'PYEAR', type: 'string' },
|
|
|
{ name: 'PMONTH', type: 'string' },
|
|
|
{ name: 'FDAY', type: 'string' },
|
|
|
{ name: 'TDAY', type: 'string' },
|
|
|
{ name: 'CLOSED', type: 'string' },
|
|
|
{ name: 'CLOSEUSER', type: 'string' },
|
|
|
{ name: 'CLOSEUSERREF', type: 'string' },
|
|
|
{ name: 'CLOSEDATE', type: 'string' },
|
|
|
{ name: 'CLOSEDATETYPE', type: 'string' },
|
|
|
{ name: 'CLOSEDAY', type: 'string' },
|
|
|
{ name: 'CLOSEPERIOD', type: 'string' },
|
|
|
{ name: 'COMPANYID', 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('DsShipping.ux.UserLinkRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'UserCode', type: 'string' },
|
|
|
{ name: 'UserName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'Tel', type: 'string' },
|
|
|
{ name: 'Fax', type: 'string' },
|
|
|
{ name: 'Email', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//部门
|
|
|
Ext.define('DsShipping.ux.DeptModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'Deptno', type: 'string' },
|
|
|
{ name: 'DeptName', type: 'string' },
|
|
|
{ name: 'NOANDNAME', type: 'string' },
|
|
|
{ name: 'Manage1', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.UserBaseModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'USERID', type: 'string' },
|
|
|
{ name: 'COMPANYNAME', type: 'string' },
|
|
|
{ name: 'DEPTNAME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//船名航次参照Model(95003-vMsTruckVoyInfo)
|
|
|
Ext.define('DsShipping.ux.VoyRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'VoyCode', type: 'string' },
|
|
|
{ name: 'VoyName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'EDICODE', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.VesselModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'VSID', type: 'string' },
|
|
|
{ name: 'VESSEL', type: 'string' },
|
|
|
{ name: 'CNAME', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'CARRIER', type: 'string' },
|
|
|
{ name: 'EDICODE', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.VoyNoModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'VSID', type: 'string' },
|
|
|
{ name: 'VOYNO', type: 'string' },
|
|
|
{ name: 'PORTLOAD', type: 'string' },
|
|
|
{ name: 'PORTDISCHARGE', type: 'string' },
|
|
|
{ name: 'ETD', type: 'string' },
|
|
|
{ name: 'CLOSINGDATE', type: 'string' },
|
|
|
{ name: 'ETA', type: 'string' },
|
|
|
{ name: 'ATD', type: 'string' },
|
|
|
{ name: 'CLOSEDOCDATE', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.Lane', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'LANEID', type: 'string' },
|
|
|
{ name: 'LANE', type: 'string' },
|
|
|
{ name: 'LANEEN', type: 'string' },
|
|
|
{ name: 'EDICODE', type: 'string' },
|
|
|
{ name: 'OP', type: 'string' },
|
|
|
{ name: 'DOC', type: 'string' },
|
|
|
{ name: 'CUSTSERVICE', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
|
|
|
//客户资料参照Model(95004-vMsTruckClient)
|
|
|
Ext.define('DsShipping.ux.CustomRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GId', type: 'string' },
|
|
|
{ name: 'CustCode', type: 'string' },
|
|
|
{ name: 'CustName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'CodeAndFull', type: 'string' },
|
|
|
{ name: 'DESCRIPTION', type: 'string' },
|
|
|
{ name: 'SALE', type: 'string' },
|
|
|
{ name: 'OP', type: 'string' },
|
|
|
{ name: 'DOC', type: 'string' },
|
|
|
{ name: 'SALECORPID', type: 'string' },
|
|
|
{ name: 'BSSOURCE', type: 'string' },
|
|
|
{ name: 'CONTRACTNO', type: 'string' },
|
|
|
{ name: 'FEEFRT', type: 'string' },
|
|
|
{ name: 'EMAIL', type: 'string' },
|
|
|
{ name: 'TEL', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.CustomYardRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GId', type: 'string' },
|
|
|
{ name: 'CustCode', type: 'string' },
|
|
|
{ name: 'CustName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'ADDR', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.CustomInvRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GId', type: 'string' },
|
|
|
{ name: 'CustCode', type: 'string' },
|
|
|
{ name: 'CustName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'BillRises1', type: 'string' },
|
|
|
{ name: 'RMBBillRises', type: 'string' },
|
|
|
{ name: 'RMBBank', type: 'string' },
|
|
|
{ name: 'RMBAccount', type: 'string' },
|
|
|
{ name: 'USDBillRises', type: 'string' },
|
|
|
{ name: 'USDBank', type: 'string' },
|
|
|
{ name: 'USDAccount', type: 'string' },
|
|
|
{ name: 'INVADDRTEL', type: 'string' },
|
|
|
{ name: 'TaxNo', type: 'string' },
|
|
|
{ name: 'Addr', type: 'string' },
|
|
|
{ name: 'Tel', type: 'string' },
|
|
|
{ name: 'CodeAndFull', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.AirLinesModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GId', type: 'string' },
|
|
|
{ name: 'CustCode', type: 'string' },
|
|
|
{ name: 'CustName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'UNITPRICE', type: 'string' },
|
|
|
//{ name: 'DESCRIPTION', type: 'string' },
|
|
|
{name: 'KFCodename', type: 'string' },
|
|
|
{ name: 'ISSTOP', type: 'string' },
|
|
|
{ name: 'ISAGENTCN', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.CustomVIPModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GId', type: 'string' },
|
|
|
{ name: 'CustCode', type: 'string' },
|
|
|
{ name: 'CustName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'UNITPRICE', type: 'string' },
|
|
|
//{ name: 'DESCRIPTION', type: 'string' },
|
|
|
{name: 'KFCodename', type: 'string' },
|
|
|
{ name: 'ISSTOP', type: 'string' },
|
|
|
{ name: 'ISVIP', type: 'string' },
|
|
|
{ name: 'VIPDJ', type: 'string' },
|
|
|
{ name: 'VIPDP', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
|
|
|
Ext.define('DsShipping.ux.PortRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'PORTID', type: 'string' },
|
|
|
{ name: 'PORT', type: 'string' },
|
|
|
{ name: 'CNAME', type: 'string' },
|
|
|
{ name: 'PORTANDNAME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.GoodsRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GOODCODE', type: 'string' },
|
|
|
{ name: 'GOODNAME', type: 'string' },
|
|
|
{ name: 'CODEANDNAME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.CustomerRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GId', type: 'string' },
|
|
|
{ name: 'CustCode', type: 'string' },
|
|
|
{ name: 'CustName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'REGISTRATIONNO', type: 'string' },
|
|
|
{ name: 'DESCRIPTION', type: 'string' },
|
|
|
{ name: 'RegAndDesc', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.CustomACCOUNTModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'BANKNAME', type: 'string' },
|
|
|
{ name: 'ACCOUNT', type: 'string' },
|
|
|
{ name: 'BANKNAME_ACCOUNT', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.CustomContactRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'LinkId', type: 'string' },
|
|
|
{ name: 'Code', type: 'string' },
|
|
|
{ name: 'Name', type: 'string' },
|
|
|
{ name: 'Tel', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.CustomVIPModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GId', type: 'string' },
|
|
|
{ name: 'CustCode', type: 'string' },
|
|
|
{ name: 'CustName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'UNITPRICE', type: 'string' },
|
|
|
//{ name: 'DESCRIPTION', type: 'string' },
|
|
|
{name: 'KFCodename', type: 'string' },
|
|
|
{ name: 'ISSTOP', type: 'string' },
|
|
|
{ name: 'ISVIP', type: 'string' },
|
|
|
{ name: 'VIPDJ', type: 'string' },
|
|
|
{ name: 'VIPDP', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//箱型参照Model(95005-vMsTruckCtn)
|
|
|
Ext.define('DsShipping.ux.CtnRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'CtnCode', type: 'string' },
|
|
|
{ name: 'CtnName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//费用类型参照Model
|
|
|
Ext.define('DsShipping.ux.FeeTypeRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'Name',
|
|
|
fields: [
|
|
|
{ name: 'FeeCode', type: 'string' },
|
|
|
{ name: 'Name', type: 'string' },
|
|
|
{ name: 'DefaultCurr', type: 'string' },
|
|
|
{ name: 'Description', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'DefaultDebit', type: 'string' },
|
|
|
{ name: 'DefaultCredit', type: 'string' },
|
|
|
{ name: 'DefaultDebitRef', type: 'string' },
|
|
|
{ name: 'DefaultCreditRef', type: 'string' },
|
|
|
{ name: 'DefaultUnit', type: 'string' },
|
|
|
{ name: 'FEETYPE', type: 'string' },
|
|
|
{ name: 'FEEFRT', type: 'string' },
|
|
|
{ name: 'TAXRATE', type: 'number' },
|
|
|
{ name: 'ISADVANCEDPAY', type: 'string' }
|
|
|
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//配料参照 Model
|
|
|
Ext.define('DsShipping.ux.PluRefModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'PluCode',
|
|
|
fields: [
|
|
|
{ name: 'PluCode', type: 'string' },
|
|
|
{ name: 'PluName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'Unit', type: 'string' },
|
|
|
{ name: 'Price', type: 'number' },
|
|
|
{ name: 'Spec', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//用户Range权限
|
|
|
Ext.define('DsShipping.ux.UserRightRangeModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'PluCode',
|
|
|
fields: [
|
|
|
{ name: 'RightName', type: 'string' },
|
|
|
{ name: 'HasRight', type: 'boolean' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.SourceModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'SourceID', type: 'string' },
|
|
|
{ name: 'SourceName', type: 'string' },
|
|
|
{ name: 'CorpID', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.SourceDetailModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'SourceDetailID', type: 'string' },
|
|
|
{ name: 'SourceID', type: 'string' },
|
|
|
{ name: 'SourceDetail', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.ModuleModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'id', type: 'string' },
|
|
|
{ name: 'NAME', type: 'string' },
|
|
|
{ name: 'DESCRIPTION', type: 'string' },
|
|
|
{ name: 'MODULEURL', type: 'string' },
|
|
|
{ name: 'SORT', type: 'number' },
|
|
|
{ name: 'PARENTID', type: 'string' },
|
|
|
{ name: 'PARENTNAME', type: 'string' },
|
|
|
{ name: 'TYPE', type: 'number' },
|
|
|
{ name: 'leaf', type: 'bool' },
|
|
|
{ name: 'expanded',type:'bool' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('MsOP', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'OPID',
|
|
|
fields: [
|
|
|
{ name: 'OPID', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//键值维护表 crm_key_code
|
|
|
Ext.define('DsShipping.ux.CrmKeyCodeModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'KEYVALUE', type: 'string' }
|
|
|
|
|
|
,
|
|
|
{ name: 'NAME', type: 'string' },
|
|
|
{ name: 'VALUE', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//品名
|
|
|
Ext.define('DsShipping.ux.CodeGoodsModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'GOODNAME', type: 'string' },
|
|
|
{ name: 'GOODCODE', type: 'string' },
|
|
|
{ name: 'GoodsTypeGID', type: 'string' },
|
|
|
{ name: 'GoodsTypeName', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//品名明细表
|
|
|
Ext.define('DsShipping.ux.CodeGoodsDetailModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' }, //惟一编号
|
|
|
{name: 'LINKGID', type: 'string' }, //品名GID
|
|
|
{name: 'GOODSDETAILNAME', type: 'string' }, //品牌名称
|
|
|
{name: 'REMARK', type: 'string' }, //备注
|
|
|
{name: 'GOODSDETAILPKGS', type: 'decimal' }, //规格件数
|
|
|
{name: 'GOODNAME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
//新版键值维护表_运输类型//报关业务类型96004
|
|
|
Ext.define('DsShipping.ux.TSysEnumValueDataModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'EnumValueID', type: 'string' },
|
|
|
{ name: 'EnumValueName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string'}//需求编号:SR2017081100003
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//国际港口(进口装货港、出口卸货港)
|
|
|
Ext.define('DsShipping.ux.CodeDisportModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'PORT', type: 'string' },
|
|
|
{ name: 'CNAME', type: 'string' },
|
|
|
{ name: 'EDICODE', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' },
|
|
|
{ name: 'LANE', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//国内港口(出口装货港、进口卸货港)
|
|
|
Ext.define('DsShipping.ux.CodeLoadportModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'PORT', type: 'string' },
|
|
|
{ name: 'CNAME', type: 'string' },
|
|
|
{ name: 'EDICODE', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//品名类型
|
|
|
Ext.define('DsShipping.ux.CodeGoodsTypeModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GoodsTypeCode', type: 'string' },
|
|
|
{ name: 'GoodsTypeName', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//件数包装
|
|
|
Ext.define('DsShipping.ux.CodePackageModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'PKGS', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//箱型
|
|
|
Ext.define('DsShipping.ux.CodeCtnModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'CTN', type: 'string' },
|
|
|
{ name: 'DLIKGS', type: 'float' }
|
|
|
]
|
|
|
});
|
|
|
//集装箱显示
|
|
|
Ext.define('DsShipping.ux.CtnDispModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'CNT1', type: 'string' },
|
|
|
{ name: 'CNT2', type: 'string' },
|
|
|
{ name: 'CNT3', type: 'string' },
|
|
|
{ name: 'CNT4', type: 'string' },
|
|
|
{ name: 'CNT5', type: 'string' },
|
|
|
{ name: 'CNT6', type: 'string' },
|
|
|
{ name: 'CNT7', type: 'string' },
|
|
|
{ name: 'CNT8', type: 'string' },
|
|
|
{ name: 'CNT9', type: 'string' },
|
|
|
{ name: 'CNT10', type: 'string' },
|
|
|
{ name: 'ID', type: 'string' },
|
|
|
{ name: 'CORPID', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
|
|
|
//币别
|
|
|
Ext.define('DsShipping.ux.CodeCurrencyModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'CODENAME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//委托单位_联系人
|
|
|
Ext.define('DsShipping.ux.InfoClientContactModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'GID',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'SHOWNAME', type: 'string' },
|
|
|
{ name: 'EMAIL', type: 'string' },
|
|
|
{ name: 'TEL', type: 'string' },
|
|
|
{ name: 'FAX', type: 'string' },
|
|
|
{ name: 'NAMEANDEMAIL', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//科目名称
|
|
|
Ext.define('DsShipping.ux.CwAccitemsModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'ACCID', type: 'string' },
|
|
|
{ name: 'ACCNAME', type: 'string' },
|
|
|
{ name: 'ACCIDNAME', type: 'string' },
|
|
|
{ name: 'DC', type: 'string' },
|
|
|
{ name: 'ISFCY', type: 'bool' },
|
|
|
{ name: 'ISDEPTACC', type: 'bool' }, //核算部门,按规则设置生成
|
|
|
{ name: 'ISEMPLACC', type: 'bool' }, //核算人员,按规则设置生成
|
|
|
{ name: 'ISCORPACC', type: 'bool' }, //核算客户,按规则设置生成
|
|
|
{ name: 'ISITEMACC', type: 'bool' } //核算项目,按规则设置生成
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//银行名称
|
|
|
Ext.define('DsShipping.ux.SysBankModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'gid', type: 'string' },
|
|
|
{ name: 'bankname', type: 'string' },
|
|
|
{ name: 'codename', type: 'string' },
|
|
|
{ name: 'FINANCESOFTCODE', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('BANK', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'CODENAME', type: 'string' },
|
|
|
{ name: 'CURRENCY', type: 'string' },
|
|
|
{ name: 'BANKNAME', type: 'string' },
|
|
|
{ name: 'BANKACCOUNT', type: 'string' },
|
|
|
{ name: 'ACCOUNTNAME', type: 'string' },
|
|
|
{ name: 'ACCBANKNAME', type: 'string' },
|
|
|
{ name: 'ACCOUNT', type: 'string' },
|
|
|
{ name: 'ISDEF', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.OpDefValue', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'FIELDNAME', type: 'string' },
|
|
|
{ name: 'DEFVALUE', type: 'string' },
|
|
|
{ name: 'ISMUST', type: 'string' },
|
|
|
{ name: 'ISCOLOR', type: 'string' },
|
|
|
{ name: 'ISREADONLY', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//项目名称
|
|
|
Ext.define('DsShipping.ux.CwItemModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'ITEMCODE', type: 'string' },
|
|
|
{ name: 'ITEMNAME', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//币别选项
|
|
|
Ext.define('DsShipping.ux.CwAccitemsCurrencyModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'CURRENCY',
|
|
|
fields: [
|
|
|
{name: 'CURRENCY', type: 'string' } //币别
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//业务类型
|
|
|
Ext.define('DsShipping.ux.OPLBModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'OPLB',
|
|
|
fields: [
|
|
|
{ name: 'OPLB', type: 'string' },
|
|
|
{ name: 'OPLBNAME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//总账科目名称
|
|
|
Ext.define('DsShipping.ux.CwAccitemsGlModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'ACCID', type: 'string' },
|
|
|
{ name: 'ACCNAME', type: 'string' },
|
|
|
{ name: 'ACCIDNAME', type: 'string' },
|
|
|
{ name: 'DETAILED', type: 'bool' },
|
|
|
{ name: 'DC', type: 'string' },
|
|
|
{ name: 'ISFCY', type: 'bool' },
|
|
|
{ name: 'ISDEPTACC', type: 'bool' }, //核算部门,按规则设置生成
|
|
|
{ name: 'ISEMPLACC', type: 'bool' }, //核算人员,按规则设置生成
|
|
|
{ name: 'ISCORPACC', type: 'bool' }, //核算客户,按规则设置生成
|
|
|
{ name: 'ISITEMACC', type: 'bool'}, //核算项目,按规则设置生成
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
|
{ name: 'YEAR', type: 'string' },
|
|
|
{ name: 'MONTH', type: 'string' },
|
|
|
{ name: 'PACCGID', type: 'string' },
|
|
|
{ name: 'ACCATTRIBUTE', type: 'string'},//科目属性(资产、负债、共同、权益、成本、损益)
|
|
|
//{ name: 'ISENABLE', type: 'bool' },
|
|
|
{ name: 'id', type: 'string' },
|
|
|
{ name: 'NAME', type: 'string' },
|
|
|
{ name: 'ACCTYPE', type: 'string'},//科目类别
|
|
|
{ name: 'leaf', type: 'bool' },
|
|
|
{ name: 'expanded', type: 'bool' },
|
|
|
{ name: 'DR', type: 'decimal' },
|
|
|
{ name: 'CR', type: 'decimal' },
|
|
|
{ name: 'PACCNAME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//出纳摘要
|
|
|
Ext.define('DsShipping.ux.MsCtExplanDetailModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' }, //唯一编码
|
|
|
{ name: 'LINKGID', type: 'string' }, //摘要GID
|
|
|
{ name: 'EXPLAN', type: 'string' }, //内容
|
|
|
{ name: 'MODIFIEDUSER', type: 'string' }, //更改操作人gid
|
|
|
//{ name: 'MODIFIEDTIME', type: 'DateTime' }, //更改操作时间
|
|
|
{ name: 'MODIFIEDUSERNAME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
///通用查询方法 后台方法 commMng GeneralSelect1 /2
|
|
|
Ext.define('DsTruckMng.ux.GeneralValue', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'GVALUE', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//公司
|
|
|
Ext.define('companymb', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'gid', type: 'string' },
|
|
|
{ name: 'name', type: 'string' },
|
|
|
{ name: 'isdisable', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//运输条款
|
|
|
Ext.define('DsShipping.ux.CodeServiceModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'SERVICE', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//空港 机场
|
|
|
Ext.define('DsShipping.ux.MsCodeAirPort', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'GID',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'PORTID', type: 'string' },
|
|
|
{ name: 'PORTENAME', type: 'string' },
|
|
|
{ name: 'PORTCNAME', type: 'string' },
|
|
|
{ name: 'CODEANDNAME', type: 'string' },
|
|
|
{ name: 'CODEANDCNAME', type: 'string' },
|
|
|
{ name: 'COUNTRY', type: 'string' },
|
|
|
{ name: 'LANE', type: 'string' },
|
|
|
{ name: 'CITY', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.WorkLogmb', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'GID',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
{ name: 'OP', type: 'string' },
|
|
|
{ name: 'OPDATE', type: 'string' },
|
|
|
{ name: 'ACTNAME', type: 'string' },
|
|
|
{ name: 'ACTRESULT', type: 'string' },
|
|
|
{ name: 'REMARK', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//InfoClass管理分类表
|
|
|
Ext.define('DsShipping.ux.MsInfoClassModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'ID', type: 'int' }, //id
|
|
|
{name: 'PARENTID', type: 'string' }, //parentID
|
|
|
{name: 'CLASSID', type: 'string' }, //classID
|
|
|
{name: 'CLASSNAMEENG', type: 'string' }, //classNameEng
|
|
|
{name: 'CLASSNAME', type: 'string' }, //className
|
|
|
{name: 'CLASSICON', type: 'string' }, //classIcon
|
|
|
{name: 'CLASSKEY', type: 'string' }, //classKey
|
|
|
{name: 'CLASSLOCATION', type: 'int' }, //classLocation
|
|
|
{name: 'CLASSATTRIB', type: 'int' }, //classAttrib
|
|
|
{name: 'HASCHILD', type: 'bool' }, //hasChild
|
|
|
{name: 'ISUSED', type: 'bool' }, //isUsed
|
|
|
{name: 'ISSORT', type: 'bool' }, //isSort
|
|
|
{name: 'SORTATTRIB', type: 'bool' }, //sortAttrib
|
|
|
{name: 'SORTID', type: 'int' }, //sortID
|
|
|
{name: 'AUTHOR', type: 'string' }, //author
|
|
|
{name: 'CREATEDATE', type: 'DateTime' }, //createDate
|
|
|
{name: 'LASTMODIFYDATE', type: 'DateTime' }, //lastModifyDate
|
|
|
{name: 'DEL_SIGN', type: 'bool' }, //del_sign
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//客户子项目
|
|
|
Ext.define('DsShipping.ux.MsInfoClientItemModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{name: 'GID', type: 'string' }, //惟一值
|
|
|
{name: 'LINKGID', type: 'string' }, //客户GID
|
|
|
{name: 'ITEMNAME', type: 'string' }, //项目名称
|
|
|
{name: 'STARTTIME', type: 'DateTime' }, //起始时间
|
|
|
{name: 'ENDTIME', type: 'DateTime' }, //结束时间
|
|
|
{name: 'CREATEUSER', type: 'string' }, //创建人gid
|
|
|
{name: 'CREATETIME', type: 'DateTime' }, //创建时间
|
|
|
{name: 'MODIFIEDUSER', type: 'string' }, //更改操作人gid
|
|
|
{name: 'MODIFIEDTIME', type: 'DateTime' }, //最后一次更改时间
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//
|
|
|
Ext.define('DsShipping.ux.VALUEModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'VALUEFIELD', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.DICModel', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'KEYFIELD', type: 'string' },
|
|
|
{ name: 'VALUEFIELD', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.MsOpSeaeEdiTemplate', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'gid', type: 'string' },
|
|
|
{ name: 'TEMPLATENAME', type: 'string' },
|
|
|
{ name: 'COMPANYID', type: 'string' },
|
|
|
{ name: 'USERID', type: 'string' },
|
|
|
{ name: 'TYPE', type: 'string' },
|
|
|
{ name: 'NAME', type: 'string' },
|
|
|
{ name: 'ADDRESS', type: 'string' },
|
|
|
{ name: 'ADDRESS2', type: 'string' },
|
|
|
{ name: 'ADDRESS3', type: 'string' },
|
|
|
{ name: 'COUNTRY', type: 'string' },
|
|
|
{ name: 'CITY', type: 'string' },
|
|
|
{ name: 'PROVINCE', type: 'string' },
|
|
|
{ name: 'CODETYPE', type: 'string' },
|
|
|
{ name: 'CODE', type: 'string' },
|
|
|
{ name: 'TEL', type: 'string' },
|
|
|
{ name: 'POSTCODE', type: 'string' },
|
|
|
{ name: 'ATTN', type: 'string' },
|
|
|
{ name: 'CreateTime', type: 'string' },
|
|
|
{ name: 'DisplayName', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('DsShipping.ux.CangDanCountry', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'c_code_id', type: 'string' },
|
|
|
{ name: 'CountryName', type: 'string' },
|
|
|
{ name: 'CountryNameEn', type: 'string' },
|
|
|
{ name: 'CountryCode', type: 'string' },
|
|
|
{ name: 'CompanyCodeType', type: 'string' },
|
|
|
{ name: 'CodeAndName', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//客户信息
|
|
|
Ext.define('Tradermb', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'gid',
|
|
|
fields: [
|
|
|
{ name: 'gid', type: 'string' },
|
|
|
{ name: 'name', type: 'string' },
|
|
|
{ name: 'codename', type: 'string' },
|
|
|
{ name: 'description', type: 'string' },
|
|
|
{ name: 'EnFullName', type: 'string' },
|
|
|
{ name: 'codeEnName', type: 'string' },
|
|
|
{ name: 'ISSTOP', type: 'string' },
|
|
|
{ name: 'RCVMode', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
//结算方式
|
|
|
Ext.define('STLMODE2', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'STLCODE', type: 'string' },
|
|
|
{ name: 'STLNAME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
//任务状态
|
|
|
Ext.define('SysTaskStatemb', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'ID',
|
|
|
fields: [
|
|
|
{ name: 'ID', type: 'string' },
|
|
|
{ name: 'STATEKEY', type: 'string' },
|
|
|
{ name: 'NAME', type: 'string' },
|
|
|
{ name: 'DESCRIPTION', type: 'string' },
|
|
|
{ name: 'PROP1', type: 'string' },
|
|
|
{ name: 'PROP2', type: 'string' },
|
|
|
{ name: 'PROP3', type: 'string' },
|
|
|
{ name: 'PROP4', type: 'string' },
|
|
|
{ name: 'PROP5', type: 'string' },
|
|
|
{ name: 'NAMEREF', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
//任务执行
|
|
|
Ext.define('SysTaskExecutionmb', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'ID',
|
|
|
fields: [
|
|
|
{ name: 'ID', type: 'string' },
|
|
|
{ name: 'STATEKEY', type: 'string' },
|
|
|
{ name: 'NAME', type: 'string' },
|
|
|
{ name: 'DESCRIPTION', type: 'string' },
|
|
|
{ name: 'PROP1', type: 'string' },
|
|
|
{ name: 'PROP2', type: 'string' },
|
|
|
{ name: 'PROP3', type: 'string' },
|
|
|
{ name: 'PROP4', type: 'string' },
|
|
|
{ name: 'PROP5', type: 'string' },
|
|
|
{ name: 'NAMEREF', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
//任务执行与状态的关系
|
|
|
Ext.define('SysTaskProgressIndexmb', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'ID',
|
|
|
fields: [
|
|
|
{ name: 'ID', type: 'string' },
|
|
|
{ name: 'EXECUTIONID', type: 'string' },
|
|
|
{ name: 'EXECUTIONREF', type: 'string' },
|
|
|
{ name: 'DESCRIPTION', type: 'string' },
|
|
|
{ name: 'CURRENTSTATEID', type: 'string' },
|
|
|
{ name: 'CURRENTSTATEREF', type: 'string' },
|
|
|
{ name: 'FINISHSTATEID', type: 'string' },
|
|
|
{ name: 'FINISHSTATEREF', type: 'string' },
|
|
|
{ name: 'PROP1', type: 'string' },
|
|
|
{ name: 'PROP2', type: 'string' },
|
|
|
{ name: 'PROP3', type: 'string' },
|
|
|
{ name: 'PROP4', type: 'string' },
|
|
|
{ name: 'PROP5', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
///放置进口贸易的HS代码
|
|
|
Ext.define('CargoTax', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'id', type: 'string' },
|
|
|
{ name: 'code', type: 'string' },
|
|
|
{ name: 'name', type: 'string' },
|
|
|
{ name: 'codeandname', type: 'string' },
|
|
|
{ name: 'tariff', type: 'string' },
|
|
|
{ name: 'tax', type: 'string' },
|
|
|
{ name: 'tax_zz', type: 'string' },
|
|
|
{ name: 'tax_cl', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
///放置进口贸易的CIQ代码
|
|
|
Ext.define('CargociqRef', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
fields: [
|
|
|
{ name: 'id', type: 'string' },
|
|
|
{ name: 'ciqname', type: 'string' },
|
|
|
{ name: 'codeandname', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('ReceiptDocmb', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'FieldName',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'RECEIPTTYPE', type: 'string' },
|
|
|
{ name: 'R_GID', type: 'string' },
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
{ name: 'URL', type: 'string' },
|
|
|
{ name: 'Driect_URL', type: 'string' },
|
|
|
{ name: 'MODIFIEDUSER', type: 'string' },
|
|
|
{ name: 'MODIFIEDUSERRef', type: 'string' },
|
|
|
{ name: 'MODIFIEDTIME', type: 'string' }
|
|
|
]
|
|
|
});
|
|
|
|
|
|
Ext.define('MsCodeMSDS', {
|
|
|
extend: 'Ext.data.Model',
|
|
|
idProperty: 'GID',
|
|
|
fields: [
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
{ name: 'GOODNAME', type: 'string' },
|
|
|
{ name: 'TRADEGOODSNAME', type: 'string' },
|
|
|
{ name: 'CHEMICALGOODSNAME', type: 'string' },
|
|
|
{ name: 'CHEMICALCGOODSNAME', type: 'string' },
|
|
|
{ name: 'CASNO', type: 'string' },
|
|
|
{ name: 'UNNO', type: 'string' },
|
|
|
{ name: 'DCLASS', type: 'string' },
|
|
|
{ name: 'SDCLASS', type: 'string' },
|
|
|
{ name: 'PACKINGGROUP', type: 'string' },
|
|
|
{ name: 'ISPOLLUTEOCEAN', type: 'bool' },
|
|
|
{ name: 'ISDANGEROUS', type: 'bool' },
|
|
|
{ name: 'ISWHITE', type: 'bool' },
|
|
|
{ name: 'MELTINGPOINTB', type: 'string' },
|
|
|
{ name: 'BOILINGPOINTB', type: 'string' },
|
|
|
{ name: 'FLASHPOINTB', type: 'string' },
|
|
|
{ name: 'MELTINGPOINTE', type: 'string' },
|
|
|
{ name: 'BOILINGPOINTE', type: 'string' },
|
|
|
{ name: 'FLASHPOINTE', type: 'string' },
|
|
|
{ name: 'DENSITY', type: 'string' },
|
|
|
{ name: 'PH', type: 'string' },
|
|
|
{ name: 'STABILITY', type: 'string' },
|
|
|
{ name: 'IMDG', type: 'string' },
|
|
|
{ name: 'REMARKS', type: 'string' },
|
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
|
{ name: 'INPUTBYREF', type: 'string' },
|
|
|
{ name: 'INPUTTIME', type: 'string' },
|
|
|
{ name: 'GOODNAMEANDCNAME', type: 'string' },
|
|
|
{ name: 'COMPANYID', type: 'string' }
|
|
|
]
|
|
|
}); |