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/MvcShipping/Viewsjs/MsOpExpress/MsOpExpressModel.js

118 lines
5.7 KiB
JavaScript

3 years ago
Ext.define('MsOpExpress', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'EXNO', type: 'string' },
{ name: 'BILLDATE', type: 'string' },
{ name: 'BILLSTATUS', type: 'string' },
{ name: 'BILLTYPE', type: 'string' },
{ name: 'EXPRESSCORP', type: 'string' },
{ name: 'SENDERCUST', type: 'string' },
{ name: 'SENDERATTN', type: 'string' },
{ name: 'SENDERCITY', type: 'string' },
{ name: 'SENDER', type: 'string' },
{ name: 'SENDERADDR', type: 'string' },
{ name: 'SENDERPOST', type: 'string' },
{ name: 'SENDERTEL', type: 'string' },
{ name: 'RECEIVECUST', type: 'string' },
{ name: 'RECEIVEATTN', type: 'string' },
{ name: 'RECEIVECITY', type: 'string' },
{ name: 'RECEIVE', type: 'string' },
{ name: 'RECEIVEADDR', type: 'string' },
{ name: 'RECEIVEPOST', type: 'string' },
{ name: 'RECEIVETEL', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'REMARKS', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATEUSERREF', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'BILLFEE', type: 'string' },
{ name: 'EXCOUNT', type: 'string' }
]
});
Ext.define('MsOpReceiptEntity', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{name: 'GID', type: 'string' }, // 惟一编号
{name: 'DOCID', type: 'string' }, // 惟一编号
{name: 'EXPID', type: 'string' }, // 惟一编号
{name: 'DOCTYPE', type: 'string' }, // 惟一编号
{name: 'BSNO', type: 'string' }, //
{name: 'MBLNO', type: 'string' }, //
{name: 'CUSTNO', type: 'string' }, //
{ name: 'SALE', type: 'string' }, //
{ name: 'OP', type: 'string' }, //
{ name: 'CUSTOMERNAME', type: 'string' }, //
{name: 'OPLBNAME', type: 'string' }, //
{name: 'RECEIPTNO', type: 'string' }, // 单据编号
{name: 'RECEIPTTYPE', type: 'string' }, // 单据类型
{name: 'RECEIPTTYPENO', type: 'string' }, // 单据类型
{name: 'RECEIVE_MAN', type: 'string' }, // 接单人
{name: 'RECEIVE_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 接单日期
{name: 'SEND_MAN', type: 'string' }, // 送单人
{name: 'SEND_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 送单日期
{name: 'TRANCER', type: 'string' }, // 送单的快递公司
{name: 'TRANCNO', type: 'string' }, // 送单的快递单号
{name: 'ISREPEAT', type: 'string' }, // 是否回单
{name: 'REPEAT_MAN', type: 'string' }, // 回单人
{name: 'REPEAT_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 回单日期
{name: 'ISRECEIVE', type: 'string' }, // 是否还单
{name: 'RETURN_MAN', type: 'string' }, // 还单人
{name: 'RETURN_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 还单日期
{name: 'RETURN_TRANCER', type: 'string' }, // 还单的快递公司
{name: 'RETURN_TRANCNO', type: 'string' }, // 还单的快递单号
{name: 'REMARK', type: 'string' }, // 备注
{name: 'CORPID', type: 'string' }, // 分公司代码
{name: 'CREATEUSER', type: 'string' }, // 创建人GID
{name: 'CREATETIME', type: 'string' }, // 创建时间
{name: 'MODIFIEDUSER', type: 'string' }, // 更改操作人GID
{name: 'MODIFIEDTIME', type: 'string'} // 更改操作时间
]
});
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: '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' }
]
});