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.

152 lines
7.4 KiB
JavaScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Ext.define('MsOpReceiptEntity', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' }, // 惟一编号
{ name: 'BSNO', type: 'string' }, // 关联编号/业务编号BSNO
{ name: 'RECEIPTNO', type: 'string' }, // 单据编号
{ name: 'RECEIPTTYPE', type: 'string' }, // 单据类型
{ name: 'DOCNUM', type: 'number' }, // 单据类型
{ name: 'RECEIVE_MAN', type: 'string' }, // 接单人
//{ name: 'RECEIVE_DATE', type: 'string' }, // 接单日期
//{ name: 'RECEIVE_DATE', type: 'date' }, // 接单日期
{ name: 'RECEIVE_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 接单日期
{ name: 'SEND_MAN', type: 'string' }, // 送单人
//{ name: 'SEND_DATE', type: 'string' }, // 送单日期
{ name: 'SEND_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 送单日期
{ name: 'TRANCER', type: 'string' }, // 送单的快递公司
{ name: 'TRANCNO', type: 'string' }, // 送单的快递单号
{ name: 'ISREPEAT', type: 'string' }, // 是否回单
//{ name: 'ISREPEAT', type: 'boolean' }, // 是否回单
{ name: 'REPEAT_MAN', type: 'string' }, // 回单人
//{ name: 'REPEAT_DATE', type: 'string' }, // 回单日期
{ name: 'REPEAT_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 回单日期
{ name: 'ISRECEIVE', type: 'string' }, // 是否还单
{ name: 'RETURN_MAN', type: 'string' }, // 还单人
//{ name: 'RETURN_DATE', 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' } // 更改操作时间
//{ name: 'AuditDate', type: 'date', dateFormat: 'Y-m-d H:i:s' },
//{ name: 'EnterDate', type: 'date',dateFormat: 'Y-m-d H:i:s' },
]
});
Ext.define('MsOpReceipt', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' }, // 惟一编号
{ name: 'BSNO', type: 'string' }, // 关联编号/业务编号BSNO
{ name: 'OPLB', type: 'string' },
{ name: 'OPLBNAME', type: 'string' },
{ name: 'OPTYPE', type: 'string' },
{ name: 'BSTYPE', type: 'string' },
{ name: 'BLTYPE', type: 'string' },
{ name: 'BLFRT', type: 'string' },
{ name: 'FEESTATUSREF', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'CUSTFULLNAME', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'ETD', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'DOC', type: 'string' },
{ name: 'CUSTSERVICE', type: 'string' },
{ name: 'FRCUSTSERVICE', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'DESTINATION', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'LANE', type: 'string' },
{ name: 'CONTRACTNO', type: 'string' },
{ name: 'FORWARDER', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'TRADETYPE', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'OPDATE', type: 'string' },
{ name: 'CUSTOMDATE', type: 'string' },
{ name: 'ENTERP', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'RECEIPTNO', type: 'string' }, // 单据编号
{ name: 'RECEIPTTYPE', type: 'string' }, // 单据类型
{ name: 'DOCNUM', type: 'number' }, // 单据类型
{ name: 'RECEIVE_MAN', type: 'string' }, // 接单人
//{ name: 'RECEIVE_DATE', type: 'string' }, // 接单日期
//{ name: 'RECEIVE_DATE', type: 'date' }, // 接单日期
{ name: 'RECEIVE_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 接单日期
{ name: 'SEND_MAN', type: 'string' }, // 送单人
//{ name: 'SEND_DATE', type: 'string' }, // 送单日期
{ name: 'SEND_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 送单日期
{ name: 'TRANCER', type: 'string' }, // 送单的快递公司
{ name: 'TRANCNO', type: 'string' }, // 送单的快递单号
{ name: 'ISREPEAT', type: 'string' }, // 是否回单
//{ name: 'ISREPEAT', type: 'boolean' }, // 是否回单
{ name: 'REPEAT_MAN', type: 'string' }, // 回单人
//{ name: 'REPEAT_DATE', type: 'string' }, // 回单日期
{ name: 'REPEAT_DATE', type: 'date', dateFormat: 'Y-m-d' }, // 回单日期
{ name: 'ISRECEIVE', type: 'string' }, // 是否还单
{ name: 'RETURN_MAN', type: 'string' }, // 还单人
//{ name: 'RETURN_DATE', 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' } // 更改操作时间
//{ name: 'AuditDate', type: 'date', dateFormat: 'Y-m-d H:i:s' },
//{ name: 'EnterDate', type: 'date',dateFormat: 'Y-m-d H:i:s' },
]
});
Ext.define('MsReceiptOP', {
extend: 'Ext.data.Model',
idProperty: 'OPID',
fields: [
{ name: 'OPID', 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: 'ISPUBLIC', type: 'bool' },
{ name: 'Driect_URL', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDUSERRef', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'DOCUMENTATTACHEDCODE', type: 'string' }, //易航线_随附单证代码//需求编号SR2017081100003
{ name: 'DOCUMENTATTACHEDNO', type: 'string' }, //易航线_随附单证编号//需求编号SR2017081100003
]
});