|
|
|
|
Ext.define('op_bs', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
|
|
{ name: 'MBLNO', type: 'string' },
|
|
|
|
|
{ name: 'HBLNO', type: 'string' },
|
|
|
|
|
{ name: 'BSDATE', type: 'string' },
|
|
|
|
|
{ name: 'INPUTBY', type: 'string' },
|
|
|
|
|
{ name: 'OP', type: 'string' },
|
|
|
|
|
{ name: 'VESSEL', type: 'string' },
|
|
|
|
|
{ name: 'VOYNO', type: 'string' },
|
|
|
|
|
{ name: 'ETD', type: 'string' },
|
|
|
|
|
{ name: 'ETA', type: 'string' },
|
|
|
|
|
{ name: 'PORTLOAD', type: 'string' },
|
|
|
|
|
{ name: 'COUNTRYLOAD', type: 'string' },
|
|
|
|
|
{ name: 'WAREHOUSE', type: 'string' },
|
|
|
|
|
{ name: 'PORTDISCHARGE', type: 'string' },
|
|
|
|
|
{ name: 'GOODCREPATH', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.define('op_bs_goods', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GOODS_GID', type: 'string' },
|
|
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
|
|
{ name: 'CODEGOODSNAME', type: 'string' },
|
|
|
|
|
{ name: 'GOODCOUNTRY', type: 'string' },
|
|
|
|
|
{ name: 'CODEGOODSID', type: 'string' },
|
|
|
|
|
{ name: 'PKGS', type: 'number' },
|
|
|
|
|
{ name: 'GOODSMODEL', type: 'string' },
|
|
|
|
|
{ name: 'WAREHOUSEDATE', type: 'date' },
|
|
|
|
|
{ name: 'DELIVERYDATE', type: 'date' },
|
|
|
|
|
{ name: 'CODECOUNT', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
Ext.define('cmbCodeGoods', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'GOODSNAME', type: 'string' },
|
|
|
|
|
{ name: 'GOODSFULLNAME', type: 'string' },
|
|
|
|
|
{ name: 'CODEANDNAME', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|