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/MsOpOther/MsOpOtherModel.js

149 lines
6.9 KiB
JavaScript

2 years ago
Ext.define('MsOpOtherEntity', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' }, // 业务编号
{ name: 'OPLB', type: 'string' }, // 业务类型
{ name: 'OPLBNAME', type: 'string' }, // 业务类型名称
{ name: 'BSSTATUS', type: 'boolean' }, // 业务状态, type: 'bool', convert: function (v) { return v === '1'; }
{ name: 'FEESTATUS', type: 'boolean' }, // 费用状态, type: 'bool', convert: function (v) { return v === '1'; }
{ name: 'BSSTATUSREF', type: 'string' }, // 业务状态
{name: 'FEESTATUSREF', type: 'string' }, // 费用状态
{name: 'DRFEESTATUS', type: 'string' },
{ name: 'CRFEESTATUS', type: 'string' },
{ name: 'DRINVSTATUS', type: 'string' },
{ name: 'DRDUISTATUS', type: 'string' },
{ name: 'CUSTNO', type: 'string' }, // 委托编号
{ name: 'MBLNO', type: 'string' }, // 主提单号
{ name: 'HBLNO', type: 'string' }, // 分提单号
{ name: 'CONTRACTNO', type: 'string' }, // 合同号
{ name: 'CUSTOMERNAME', type: 'string' }, // 委托单位
{ name: 'BSDATE', type: 'string' }, // 接单日期 //, type: 'datetime', dateFormat: 'Y-m-d H:i:s'
{ name: 'ACCDATE', type: 'string' }, // 会计期间
{ name: 'BSSOURCE', type: 'string' }, // 业务来源
{ name: 'BSSOURCEDETAIL', type: 'string' }, // 来源明细
{ name: 'OP', type: 'string' }, // 操作员
{ name: 'CUSTSERVICE', type: 'string' }, // 客服员
{ name: 'FRCUSTSERVICE', type: 'string' }, // 客服员
{ name: 'SALE', type: 'string' }, // 揽货人
{ name: 'SALEDEPT', type: 'string' }, // 部门
{ name: 'CORPID', type: 'string' }, // 分公司代码
{ name: 'SALECORPID', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'TRANSTYPE', type: 'string' }, // 运输方式
{ name: 'VESSEL', type: 'string' }, // 运输工具
{ name: 'VOYNO', type: 'string' }, // 班次号
{ name: 'ETD', type: 'string' }, // 到港/开船日期
{ name: 'PORTLOAD', type: 'string' }, // 装货地
{ name: 'PORTDISCHARGE', type: 'string' }, // 卸货地
{ name: 'TRADETYPE', type: 'string' }, // 贸易方式
{ name: 'GOODSNAME', type: 'string' }, // 品名
{ name: 'KGS', type: 'number' }, // 毛重
{ name: 'NETWEIGHT', type: 'number' }, // 净重
{ name: 'PKGS', type: 'number' }, // 件数
{ name: 'KINDPKGS', type: 'string' }, // 件数包装
{name: 'CBM', type: 'number' }, // 立方数/尺码
{name: 'CTNALL', type: 'string' },
{ name: 'CTNNUM', type: 'number' },
{ name: 'AMEND', type: 'string' },
{ name: 'ISVOU', type: 'boolean', convert: function (v) { return v === '1'; } }, // 是否生成凭证
{name: 'VOUNO', type: 'string' }, // 凭证号
{ name: 'OPERATOR', type: 'string' },//客户联系人
{ name: 'CUSTOMERNAME2', type: 'string' },//实际客户
2 years ago
{ name: 'STLNAME', type: 'string' },
{ name: 'STLDATE', type: 'string' },
{ name: 'ENTERP', type: 'string' },
{ name: 'REMARK', type: 'string' }, // 备注
{ name: 'CREATEUSER', type: 'string' }, // 创建人
{name: 'CREATETIME', type: 'string' }, // 创建时间, dateFormat: 'Y-m-d H:i:s'
{ name: 'MODIFIEDUSER', type: 'string' }, // 最后一次操作人
{name: 'MODIFIEDTIME', type: 'string' }, // 最后一次操作时间, dateFormat: 'Y-m-d H:i:s'
{ name: 'BOOKNO', type: 'string' },
{ name: 'CLOSINGDATE', type: 'string' },
{ name: 'CLOSEDOCDATE', type: 'string' },
{ name: 'ORDERNO', type: 'string' },
{ name: 'CUSTOMSER', type: 'string' },
{ name: 'WAREHOUSE', type: 'string' },
{ name: 'COUNTRYOFORIGIN', type: 'string' },
{ name: 'ISPRINTPR', type: 'string' },
{ name: 'IsSERVICE1', type: 'string' },
{ name: 'IsSERVICE2', type: 'string' },
{ name: 'IsSERVICE3', type: 'string' },
{ name: 'IsSERVICE4', type: 'string' },
{ name: 'IsSERVICE5', type: 'string' },
{ name: 'IsSERVICE6', type: 'string' },
{ name: 'IsSERVICE7', type: 'string' },
{ name: 'IsSERVICE8', type: 'string' },
{ name: 'IsSERVICE9', type: 'string' },
{ name: 'IsSERVICE10', type: 'string' },
{ name: 'IsSERVICE11', type: 'string' },
{ name: 'IsSERVICE12', type: 'string' },
{ name: 'IsSERVICE13', type: 'string' },
{ name: 'IsSERVICE14', type: 'string' },
{ name: 'IsSERVICE15', type: 'string' },
{ name: 'IsSERVICE16', type: 'string' },
{ name: 'SERVICE1', type: 'string' },
{ name: 'SERVICE2', type: 'string' },
{ name: 'SERVICE3', type: 'string' },
{ name: 'SERVICE4', type: 'string' },
{ name: 'SERVICE5', type: 'string' },
{ name: 'SERVICE6', type: 'string' },
{ name: 'SERVICE7', type: 'string' },
{ name: 'SERVICE8', type: 'string' },
{ name: 'SERVICE9', type: 'string' },
{ name: 'SERVICE10', type: 'string'},
{ name: 'SERVICE11', type: 'string' },
{ name: 'SERVICE12', type: 'string' },
{ name: 'SERVICE13', type: 'string' },
{ name: 'SERVICE14', type: 'string' },
{ name: 'SERVICE15', type: 'string' },
{ name: 'SERVICE16', type: 'string' },
{ name: 'BillFeeStatus', type: 'string' },
{ name: 'DUIYUEHAO', type: 'string' },
{ name: 'SHIPAGENT', type: 'string' },
{ name: 'SOURCEOP', type: 'string' }
2 years ago
]
});
Ext.define('MsCodeOpService', {
extend: 'Ext.data.Model',
idProperty: 'OS_ID',
fields: [
{ name: 'OS_ID', type: 'string' },
{ name: 'OPField', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'SERVICENAME', type: 'string' },
{ name: 'OPTYPE', type: 'string' },
{ name: 'OPTYPESTR', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
2 years ago
});
Ext.define('MsSeaeOrderCtn', {
extend: 'Ext.data.Model',
idProperty: 'ORDNO,CTN_ID',
fields: [
{ name: 'CTN_ID', type: 'string' },
{ name: 'ORDNO', type: 'string' },
{ name: 'CTNNUM', type: 'int' },
{ name: 'CTNALL', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('OpSeaeShipper', {
extend: 'Ext.data.Model',
idProperty: 'SHIPPERID',
fields: [
{ name: 'SHIPPERID', type: 'string' },
{ name: 'CODENAME', type: 'string' },
{ name: 'SHORTNAME', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'SHIPPERDETAIL', type: 'string' },
{ name: 'SHIPPERTYPE', type: 'int' },
{ name: 'LOADADDRESS', type: 'string' },
{ name: 'DELIVERADDRESS', type: 'string' },
{ name: 'ISPUBLIC', type: 'bool' }
]
2 years ago
});