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/WMSNew/WMSNewINModel.js

838 lines
36 KiB
JavaScript

3 years ago
Ext.define('WMSmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'WMSNO', type: 'string' },
{ name: 'WMSDATE', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'WMSOP', type: 'string' },
{ name: 'STOREMAN', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'ARCLIENT', type: 'string' },
{ name: 'TRUCKNAME', type: 'string' },
{ name: 'ISLOCK', type: 'string' },
{ name: 'LOCKTIME', type: 'string' },
{ name: 'LOCKUSER', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'GOODSMODEL', type: 'string' },
{ name: 'CHARGEUNIT', type: 'string' },
{ name: 'GOODSPACK', type: 'number' },
{ name: 'GOODSPACKSTOCK', type: 'number' },
{ name: 'GOODSRKSL', type: 'number' },
{ name: 'GOODSSTOCK', type: 'number' },
{ name: 'ARFEE', type: 'number' },
{ name: 'APFEE', type: 'number' },
{ name: 'FREESTORAGEPERIOD', type: 'string' },
{ name: 'ASSOCIATEDNO', type: 'string' },
{ name: 'BLNO', type: 'string' },
{ name: 'CONTRACTNO', type: 'string' },
{ name: 'CLIENTCODEOLD', type: 'string' },
{ name: 'CLIENTNAMEOLD', type: 'string' },
{ name: 'STORAGENAME', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'STARTBILLINGDATE', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'GOODSSTANDARD', type: 'string' },
{ name: 'GOODSPACKACTUAL', type: 'string' },
{ name: 'GOODSRKSLACTUAL', type: 'string' },
{ name: 'FREESTORAGEPERIODAP', type: 'string' },
{ name: 'STARTBILLINGDATEAP', type: 'string' },
{ name: 'ISCHANGE', type: 'string' },
{ name: 'AREANAME', type: 'string' },
{ name: 'MARKETVALUE', type: 'string' },
{ name: 'BANKVALUE', type: 'string' },
{ name: 'BZTCHNO', type: 'string' },
{ name: 'CLIENTBSNO', type: 'string' },
{ name: 'CARGO_GID', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'Inspection_Storage', type: 'string' },
{ name: 'inspection_date', type: 'string' },
{ name: 'Unsealdate', type: 'string' },
{ name: 'Productiondate_min', type: 'string' },
{ name: 'Productiondate_max', type: 'string' },
{ name: 'Overfilled', type: 'string' },
{ name: 'SALEINFO', type: 'string' },
{ name: 'AGENT', type: 'string' },
{ name: 'COUNTRY', type: 'string' },
{ name: 'FACTORYNO', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'DECLARENUMBER', type: 'string' },
{ name: 'SALER', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'COSTPRICE', type: 'string' },
{ name: 'WMSINCOST', type: 'number' },
{ name: 'HTH', type: 'string' },
{ name: 'Mainstate', type: 'string' },
{ name: 'MainStateRef', type: 'string' },
{ name: 'PUTINTYPE', type: 'string' },
{ name: 'TiDanJianShu', type: 'string' },
{ name: 'TiDanZhongLiang', type: 'string' }
]
});
Ext.define('WMSINmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'ASSOCIATEDNO', type: 'string' },
{ name: 'BLNO', type: 'string' },
{ name: 'CONTRACTNO', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'SEALNO', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CLIENTCODE', type: 'string' },
{ name: 'CLIENTNAME', type: 'string' },
{ name: 'DODATE', type: 'date' },
{ name: 'STORAGECODE', type: 'string' },
{ name: 'STORAGENAME', type: 'string' },
{ name: 'AREACODE', type: 'string' },
{ name: 'AREANAME', type: 'string' },
{ name: 'GOODSCODE', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'GOODSTYPE', type: 'string' },
{ name: 'GOODSMODEL', type: 'string' },
{ name: 'GOODSSTANDARD', type: 'string' },
{ name: 'GOODSPACK', type: 'number' },
{ name: 'CHARGEUNIT', type: 'string' },
{ name: 'GOODSRKSL', type: 'number' },
{ name: 'GOODSSTOCK', type: 'number' },
{ name: 'FREESTORAGEPERIOD', type: 'string' },
{ name: 'ISLOCK', type: 'string' },
{ name: 'TRAYNO', type: 'string' },
{ name: 'LOCKTIME', type: 'date' },
{ name: 'LOCKUSER', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETETIME', type: 'date' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'date' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'date' },
{ name: 'REMARK', type: 'string' },
{ name: 'GOODSPACKSTOCK', type: 'number' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'GOODSKGS', type: 'string' },
{ name: 'CLIENTCODEOLD', type: 'string' },
{ name: 'CLIENTNAMEOLD', type: 'string' },
{ name: 'ARFEE', type: 'number' },
{ name: 'APFEE', type: 'number' },
{ name: 'CORPID', type: 'string' },
{ name: 'CTNALL', type: 'string' },
{ name: 'GOODSTHICKNESS', type: 'string' },
{ name: 'GOODSWIDTH', type: 'string' },
{ name: 'GOODSLENGTH', type: 'string' },
{ name: 'GOODSSLICE', type: 'number' },
{ name: 'GOODSGRADE', type: 'string' },
{ name: 'STACKLOCATION', type: 'string' },
{ name: 'GOODSPACKACTUAL', type: 'number' },
{ name: 'GOODSRKSLACTUAL', type: 'number' },
{ name: 'ISCHANGE', type: 'string' },
{ name: 'MARKETVALUE', type: 'number' },
{ name: 'BANKVALUE', type: 'number' },
{ name: 'LINENUM', type: 'number' },
{ name: 'GOODSNAMEID', type: 'string' },
{ name: 'GOODSNAMEDISPLAY', type: 'string' },
{ name: 'XIANGHAO2', type: 'string' },
{ name: 'JIANSHU1', type: 'number' },
{ name: 'JIANSHU2', type: 'number' },
{ name: 'ZHUANGXIEGONGID', type: 'string' },
{ name: 'ZHUANGXIEGONG', type: 'string' },
{ name: 'TRUCKNO', type: 'string' },
{ name: 'LUYUNFEI', type: 'number' },
{ name: 'DIAOTOUFEI', type: 'number' },
{ name: 'XIUXIXIANGFEI', type: 'number' },
{ name: 'DIAOZHUANGFEI', type: 'number' },
{ name: 'CHEDUIID', type: 'string' },
{ name: 'CHEDUI', type: 'string' },
{ name: 'CHIMA1', type: 'number' },
{ name: 'CHIMA2', type: 'number' },
{ name: 'ZHONGLIANG2', type: 'string' },
{ name: 'SHIJICHIMA', type: 'number' },
{ name: 'SHIJIZHONGLIANG', type: 'number' },
{ name: 'PICIHAO', type: 'string' },
{ name: 'ZhuangXieFei', type: 'number' },
{ name: 'ZhuangXieFeeType', type: 'string' },
{ name: 'ZhuangXieFeiDanJiaTon', type: 'number' },
{ name: 'ZhuangXieFeiDanJiaJian', type: 'number' },
{ name: 'COUNTRY', type: 'string' },
{ name: 'COUNTRYID', type: 'string' },
{ name: 'DOCK', type: 'string' },
{ name: 'LinShiZhuangXieFeiDanJiaDun', type: 'number' },
{ name: 'LinShiZhuangXieFeiDanJiaJian', type: 'number' },
{ name: 'LOADERFEE', type: 'number' },
{ name: 'PRODUCTIONDATE', type: 'string' },
{ name: 'FACTORYNO', type: 'string' },
{ name: 'INVOICENO', type: 'string' },
{ name: 'BZTCHNO', type: 'string' }
]
});
Ext.define('CHARGEUNITmb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'CHARGEUNIT', type: 'string' }
]
});
Ext.define('ZhuangXieFeiTypemb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'type', type: 'string' }
]
});
Ext.define('WMSRATEmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'FEETYPE', type: 'string' },
{ name: 'FEEGRADE', type: 'string' },
{ name: 'FEESCALE', type: 'string' },
{ name: 'FEEPRICE', type: 'string' },
{ name: 'FEEUNIT', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'date' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'date' },
{ name: 'REMARK', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'ADDPRICE', type: 'string' },
{ name: 'ENDBILLINGDATE', type: 'date' },
{ name: 'RATETYPE', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'ISCHANGE', type: 'string' },
{ name: 'CAPPRICE', type: 'string' },
{ name: 'FEETYPEREF', type: 'string' },
{ name: 'CREATEUSER2', type: 'string' }
]
});
Ext.define('WMSOUTmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'ASSOCIATEDNO', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CLIENTGID', type: 'string' },
{ name: 'CLIENTCODE', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'DODATE', type: 'string' },
{ name: 'STORAGECODE', type: 'string' },
{ name: 'STORAGENAME', type: 'string' },
{ name: 'AREACODE', type: 'string' },
{ name: 'AREANAME', type: 'string' },
{ name: 'GOODSCODE', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'GOODSTYPE', type: 'string' },
{ name: 'GOODSMODEL', type: 'string' },
{ name: 'GOODSSTANDARD', type: 'string' },
{ name: 'GOODSPACK', type: 'string' },
{ name: 'CHARGEUNIT', type: 'string' },
{ name: 'GOODSPFSL', type: 'string' },
{ name: 'GOODSOUTFEE', type: 'string' },
{ name: 'GOODSOUTFEEAP', type: 'string' },
{ name: 'TRUCKNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'GOODSPACKPFSL', type: 'string' },
{ name: 'TRUCKNAME', type: 'string' },
{ name: 'WMSOP', type: 'string' },
{ name: 'STOREMAN', type: 'string' },
{ name: 'ISLOCK', type: 'string' },
{ name: 'LOCKTIME', type: 'string' },
{ name: 'LOCKUSER', type: 'string' },
{ name: 'ARFEE', type: 'string' },
{ name: 'APFEE', type: 'string' },
{ name: 'INSPECTIONNO', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'CLIENTNAMEOLD', type: 'string' },
{ name: 'OLDCUSTFEEDATE', type: 'date' },
{ name: 'CLIENTBSNO', type: 'string' },
{ name: 'ARCLIENT', type: 'string' },
{ name: 'INGIDNEW', type: 'string' },
{ name: 'VALIDDATE', type: 'date' },
{ name: 'TOTALNO', type: 'string' },
{ name: 'REMARK2', type: 'string' },
{ name: 'MBLNONEW', type: 'string' },
{ name: 'ISCHANGE', type: 'string' },
{ name: 'ARCLIENTWMSOUT', type: 'string' },
{ name: 'BZTCHNO', type: 'string' },
{ name: 'ISCOLLECTING', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'SUPPLIER_BILLNO', type: 'string' },
{ name: 'CONTAINERNO', type: 'string' },
{ name: 'FACTORYNO', type: 'string' },
{ name: 'COUNTRY', type: 'string' },
{ name: 'CARGOTYPE', type: 'string' },
{ name: 'SALER', type: 'string' },
//{ name: 'CUSTOMERNAME', type: 'string' },
{name: 'OP', type: 'string' },
{ name: 'WEIGHT_EX', type: 'string' },
{ name: 'BOXCOUNT_EX', type: 'string' },
{ name: 'GOODSPFSL_ACT', type: 'string' },
{ name: 'GOODSPACKPFSL_ACT', type: 'string' },
{ name: 'SFCM', type: 'string' },
{ name: 'COSTPRICE', type: 'string' },
{ name: 'PRICERMB', type: 'string' },
{ name: 'TOTALCOST', type: 'string' },
{ name: 'PAYMONEY', type: 'number' },
{ name: 'ML', type: 'number' },
{ name: 'MLRATE', type: 'string' }
]
});
Ext.define('WMSOUTImportmb', {
extend: 'Ext.data.Model',
idProperty: '',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'ASSOCIATEDNO', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CLIENTGID', type: 'string' },
{ name: 'CLIENTCODE', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'DODATE', type: 'string' },
{ name: 'STORAGECODE', type: 'string' },
{ name: 'STORAGENAME', type: 'string' },
{ name: 'AREACODE', type: 'string' },
{ name: 'AREANAME', type: 'string' },
{ name: 'GOODSCODE', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'GOODSTYPE', type: 'string' },
{ name: 'GOODSMODEL', type: 'string' },
{ name: 'GOODSSTANDARD', type: 'string' },
{ name: 'GOODSPACK', type: 'string' },
{ name: 'CHARGEUNIT', type: 'string' },
{ name: 'GOODSPFSL', type: 'number' },
{ name: 'GOODSOUTFEE', type: 'number' },
{ name: 'GOODSOUTFEEAP', type: 'number' },
{ name: 'TRUCKNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'string' },
{ name: 'GOODSPACKPFSL', type: 'number' },
{ name: 'TRUCKNAME', type: 'string' },
{ name: 'WMSOP', type: 'string' },
{ name: 'STOREMAN', type: 'string' },
{ name: 'ISLOCK', type: 'string' },
{ name: 'LOCKTIME', type: 'string' },
{ name: 'LOCKUSER', type: 'string' },
{ name: 'ARFEE', type: 'number' },
{ name: 'APFEE', type: 'number' },
{ name: 'INSPECTIONNO', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'CLIENTNAMEOLD', type: 'string' },
{ name: 'OLDCUSTFEEDATE', type: 'date' },
{ name: 'CLIENTBSNO', type: 'string' },
{ name: 'ARCLIENT', type: 'string' },
{ name: 'INGIDNEW', type: 'string' },
{ name: 'VALIDDATE', type: 'date' },
{ name: 'TOTALNO', type: 'string' },
{ name: 'REMARK2', type: 'string' },
{ name: 'MBLNONEW', type: 'string' },
{ name: 'ISCHANGE', type: 'string' },
{ name: 'ARCLIENTWMSOUT', type: 'string' },
{ name: 'BZTCHNO', type: 'string' },
{ name: 'ISCOLLECTING', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'SUPPLIER_BILLNO', type: 'string' },
{ name: 'CONTAINERNO', type: 'string' },
{ name: 'FACTORYNO', type: 'string' },
{ name: 'COUNTRY', type: 'string' },
{ name: 'CARGOTYPE', type: 'string' },
{ name: 'SALER', type: 'string' },
//{ name: 'CUSTOMERNAME', type: 'string' },
{name: 'OP', type: 'string' },
{ name: 'WEIGHT_EX', type: 'number' },
{ name: 'BOXCOUNT_EX', type: 'number' },
{ name: 'GOODSPFSL_ACT', type: 'number' },
{ name: 'GOODSPACKPFSL_ACT', type: 'number' },
{ name: 'SFCM', type: 'string' },
{ name: 'COSTPRICE', type: 'string' },
{ name: 'PRICERMB', type: 'string' },
{ name: 'TOTALCOST', type: 'number' },
{ name: 'PAYMONEY', type: 'number' },
{ name: 'ML', type: 'number' },
{ name: 'MLRATE', type: 'string' },
{ name: 'OUTRECEIPT', type: 'string' },
{ name: 'Sales_OP', type: 'string' },
{ name: 'Delivery_OP', type: 'string' },
{ name: 'CONTACT', type: 'string' },
{ name: 'TEL', type: 'string' }
]
});
Ext.define('WMSRATEDetailmb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'ASSOCIATEDNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'FEETYPE', type: 'string' },
{ name: 'FEETYPEREF', type: 'string' },
{ name: 'FEEGRADE', type: 'string' },
{ name: 'STARTBILLINGDATE', type: 'date' },
{ name: 'ENDBILLINGDATE', type: 'date' },
{ name: 'FEESCALE', type: 'string' },
{ name: 'FEEUNIT', type: 'string' },
{ name: 'FEEPRICE', type: 'string' },
{ name: 'GOODSPFSL', type: 'string' },
{ name: 'OUTFEE', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'date' },
{ name: 'MODIFIEDUSER', type: 'string' },
{ name: 'MODIFIEDTIME', type: 'date' },
{ name: 'WMSOUTGID', type: 'string' }
]
});
Ext.define('WMSOUTDetailmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'INBSNO', type: 'string' },
{ name: 'OUTBSNO', type: 'string' },
{ name: 'BLNO', type: 'string' },
{ name: 'CONTRACTNO', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'SEALNO', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CLIENTGID', type: 'string' },
{ name: 'CLIENTCODE', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'DODATE', type: 'date' },
{ name: 'STORAGECODE', type: 'string' },
{ name: 'STORAGENAME', type: 'string' },
{ name: 'AREACODE', type: 'string' },
{ name: 'AREANAME', type: 'string' },
{ name: 'GOODSCODE', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'GOODSTYPE', type: 'string' },
{ name: 'GOODSMODEL', type: 'string' },
{ name: 'GOODSSTANDARD', type: 'string' },
{ name: 'GOODSPACK', type: 'number' },
{ name: 'CHARGEUNIT', type: 'string' },
{ name: 'GOODSPFSL', type: 'number' },
{ name: 'GOODSPACKPFSL', type: 'number' },
{ name: 'GOODSOUTFEE', type: 'number' },
{ name: 'GOODSOUTFEEAP', type: 'number' },
{ name: 'TRUCKNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'date' },
{ name: 'ASSOCIATEDNO', type: 'string' },
{ name: 'ARFEE', type: 'number' },
{ name: 'APFEE', type: 'number' },
{ name: 'ISLOCK', type: 'string' },
{ name: 'LOCKTIME', type: 'date' },
{ name: 'LOCKUSER', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'CLIENTNAMEOLD', type: 'string' },
{ name: 'OLDCUSTFEEDATE', type: 'date' },
{ name: 'STARTBILLINGDATE', type: 'date' },
{ name: 'ENDBILLINGDATE', type: 'date' },
{ name: 'FEEDAYS', type: 'string' },
{ name: 'GOODSSLICE', type: 'string' },
{ name: 'GOODSGRADE', type: 'string' },
{ name: 'STARTBILLINGDATEAP', type: 'date' },
{ name: 'ENDBILLINGDATEAP', type: 'date' },
{ name: 'FEEDAYSAP', type: 'string' },
{ name: 'ISCHANGE', type: 'string' },
{ name: 'MARKETVALUE', type: 'string' },
{ name: 'BZTCHNO', type: 'string' },
{ name: 'i_WMSDATE', type: 'string' },
{ name: 'i_CUSTOMERNAME', type: 'string' },
{ name: 'i_GOODSNAME', type: 'string' },
{ name: 'i_GOODSMODEL', type: 'string' },
{ name: 'i_GOODSPACKSTOCK', type: 'number' },
{ name: 'i_GOODSSTOCK', type: 'number' },
{ name: 'i_BLNO', type: 'string' },
{ name: 'i_STARTBILLINGDATE', type: 'string' },
{ name: 'i_STARTBILLINGDATEAP', type: 'string' },
{ name: 'i_MARKETVALUE', type: 'string' },
{ name: 'i_BANKVALUE', type: 'string' },
{ name: 'i_ISDELETE', type: 'string' },
{ name: 'i_INBSNO', type: 'string' },
{ name: 'i_BZTCHNO', type: 'string' }
]
});
/*dbo.trimdate(i.wmsdate) i_wmsdate,i.customername i_customername
,i.goodsmodel i_goodsmodel,i.goodspackstock i_goodspackstock
,i.goodsstock i_goodsstock,i.blno i_blno,dbo.trimdate(i.startbillingdate) i_startbillingdate*/
Ext.define('MsSeai', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'BSSTATUS', type: 'boolean' },
{ name: 'FEESTATUS', type: 'boolean' },
{ name: 'BSDATE', type: 'date' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'TRANSNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'BLTYPE', type: 'string' },
{ name: 'SHIPPERID', type: 'string' },
{ name: 'CONSIGNEEID', type: 'string' },
{ name: 'NOTIFYPARTYID', type: 'string' },
{ name: 'AGENTID', type: 'string' },
{ name: 'YARD', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'ETD', type: 'date' },
{ name: 'CLOSINGDATE', type: 'date' },
{ name: 'ETA', type: 'date' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'PORTDISCHARGEID', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'BLFRT', type: 'string' },
{ name: 'SERVICE', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CUSTSERVICE', type: 'string' },
{ name: 'LANE', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'FORWARDER', type: 'string' },
{ name: 'CUSTOMSER', type: 'string' },
{ name: 'TRUCKER', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'BSSOURCEDETAIL', type: 'string' },
{ name: 'ORDTYPE', type: 'string' },
{ name: 'ORDERNO', type: 'string' },
{ name: 'ISFUMIGATION', type: 'boolean' },
{ name: 'ISSTORAGE', type: 'boolean' },
{ name: 'ISLAND', type: 'boolean' },
{ name: 'ISCUSTOMS', type: 'boolean' },
{ name: 'ISINSPECTION', type: 'boolean' },
{ name: 'ISBOOKING', type: 'boolean' },
{ name: 'ISAGENT', type: 'boolean' },
{ name: 'ISHBLNO', type: 'boolean' },
{ name: 'SERVICE9', type: 'boolean' },
{ name: 'SERVICE10', type: 'boolean' },
{ name: 'CORPID', type: 'string' },
{ name: 'SALEDEPT', type: 'string' },
{ name: 'PKGS', type: 'number' },
{ name: 'KGS', type: 'number' },
{ name: 'CBM', type: 'number' },
{ name: 'MBLFRT', type: 'string' }
]
});
Ext.define('WMSOUTFEEmb', {
extend: 'Ext.data.Model',
//idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'WMSOUTBSNO', type: 'string' },
{ name: 'GOODSOUTFEE', type: 'string' },
{ name: 'ARFEE', type: 'string' },
{ name: 'GOODSOUTFEEAP', type: 'string' },
{ name: 'APFEE', type: 'string' }
]
});
Ext.define('MsOpSeaiModel', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'ORDERTYPE', type: 'string' },
{ name: 'MASTERNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'APPLYNO', type: 'string' },
{ name: 'BSSTATUS', type: 'bool' },
{ name: 'FEESTATUS', type: 'bool' },
{ name: 'BSSTATUSREF', type: 'string' },
{ name: 'FEESTATUSREF', type: 'string' },
{ name: 'DRFEESTATUS', type: 'string' },
{ name: 'CRFEESTATUS', type: 'string' },
{ name: 'DRINVSTATUS', type: 'string' },
{ name: 'FENPIAO', type: 'string' },
{ name: 'ISAPPLY', type: 'string' },
{ name: 'BSDATE', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'BSSOURCEDETAIL', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CUSTSERVICE', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'SALEDEPT', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'ETD', type: 'string' },
{ name: 'PORTLOADID', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGEID', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'OTCNTR', type: 'string' },
{ name: 'TEU', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'COUNTRYOFORIGIN', type: 'string' },
{ name: 'NUMBERPLATE', type: 'string' },
{ name: 'CONTRACTNO', type: 'string' },
{ name: 'UNITS', type: 'string' },
{ name: 'BALES', type: 'string' },
{ name: 'KGS', type: 'string' },
{ name: 'NETWEIGHT', type: 'string' },
{ name: 'ENTERP', type: 'string' },
{ name: 'CUSTOMSER', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'CUSTOMDATE', type: 'string' },
{ name: 'INSPECTION', type: 'string' },
{ name: 'INSPECTIONNO', type: 'string' },
{ name: 'INSPECTIONDATE', type: 'string' },
{ name: 'TRANSNO', type: 'string' },
{ name: 'BLTYPE', type: 'string' },
{ name: 'SHIPPERID', type: 'string' },
{ name: 'CONSIGNEEID', type: 'string' },
{ name: 'NOTIFYPARTYID', type: 'string' },
{ name: 'SHIPPER', type: 'string' },
{ name: 'CONSIGNEE', type: 'string' },
{ name: 'NOTIFYPARTY', type: 'string' },
{ name: 'AGENTID', type: 'string' },
{ name: 'AGENT', type: 'string' },
{ name: 'YARD', type: 'string' },
{ name: 'CLOSINGDATE', type: 'string' },
{ name: 'ETA', type: 'string' },
{ name: 'PLACERECEIPT', type: 'string' },
{ name: 'PLACEDELIVERYID', type: 'string' },
{ name: 'PLACEDELIVERY', type: 'string' },
{ name: 'DESTINATIONID', type: 'string' },
{ name: 'DESTINATION', type: 'string' },
{ name: 'NOBILL', type: 'string' },
{ name: 'ISSUETYPE', type: 'string' },
{ name: 'ISSUEDATE', type: 'string' },
{ name: 'ISSUEPLACE', type: 'string' },
{ name: 'BLFRT', type: 'string' },
{ name: 'PREPARDAT', type: 'string' },
{ name: 'PAYABLEAT', type: 'string' },
{ name: 'SERVICE', type: 'string' },
{ name: 'MARKS', type: 'string' },
{ name: 'CNTRSEALNO', type: 'string' },
{ name: 'NOPKGS', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' },
{ name: 'GROSSWEIGHT', type: 'string' },
{ name: 'MEASUREMENT', type: 'string' },
{ name: 'PKGS', type: 'string' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'CBM', type: 'string' },
{ name: 'TOTALNO', type: 'string' },
{ name: 'LANE', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'FORWARDER', type: 'string' },
{ name: 'TRUCKER', type: 'string' },
{ name: 'INVNO', type: 'string' },
{ name: 'CARGOID', type: 'string' },
{ name: 'DCLASS', type: 'string' },
{ name: 'DUNNO', type: 'string' },
{ name: 'REEFERF', type: 'string' },
{ name: 'TEMPID', type: 'string' },
{ name: 'TEMPSET', type: 'string' },
{ name: 'TEMPMAX', type: 'string' },
{ name: 'TEMPMIN', type: 'string' },
{ name: 'CUSTOMSNUM', type: 'string' },
{ name: 'ORDTYPE', type: 'string' },
{ name: 'ORDERNO', type: 'string' },
{ name: 'INSURANCEER', type: 'string' },
{ name: 'INSURANCENO', type: 'string' },
{ name: 'INAMOUT', type: 'string' },
{ name: 'ISVOU', type: 'string' },
{ name: 'VOUNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'DOC', type: 'string' },
{ name: 'PACKINGTYPE', type: 'string' },
{ name: 'WAREHOUSE', type: 'string' },
{ name: 'CLOSEDOCDATE', type: 'string' },
{ name: 'INTOPORTDATE', type: 'string' },
{ name: 'MBLFRT', type: 'string' },
{ name: 'STLNAME', type: 'string' },
{ name: 'STLDATE', type: 'string' },
{ name: 'OPERATORCODE', type: 'string' },
{ name: 'OPERATOR', type: 'string' },
{ name: 'OPERATOREMAIL', type: 'string' },
{ name: 'OPERATORTEL', type: 'string' },
{ name: 'OPERATORFAX', type: 'string' },
{ name: 'FINANCIALSTAFFCODE', type: 'string' },
{ name: 'FINANCIALSTAFF', type: 'string' },
{ name: 'FINANCIALSTAFFEMAIL', type: 'string' },
{ name: 'FINANCIALSTAFFTEL', type: 'string' },
{ name: 'FINANCIALSTAFFFAX', type: 'string' },
{ name: 'PLACERECEIPTID', type: 'string' },
{ name: 'SOURCECODE', type: 'string' },
{ name: 'ISCONTAINERSOC', type: 'string' },
{ name: 'DPAGE', type: 'string' },
{ name: 'DLABEL', type: 'string' },
{ name: 'LINKMAN', type: 'string' },
{ name: 'VESSELID', type: 'string' },
{ name: 'ISSUEPLACEID', type: 'string' },
{ name: 'UNITOFWEIGHT', type: 'string' },
{ name: 'FBP', type: 'string' },
{ name: 'BMDDATE', type: 'string' },
{ name: 'MDTDATE', type: 'string' },
{ name: 'MT', type: 'string' },
{ name: 'TRADINGAGENCY', type: 'string' },
{ name: 'GOODSTYPENAME', type: 'string' },
{ name: 'TRADETYPE', type: 'string' },
{ name: 'TRADETERM', type: 'string' },
{ name: 'SHOWNAME', type: 'string' },
{ name: 'EMAIL', type: 'string' },
{ name: 'TEL', type: 'string' },
{ name: 'FAX', type: 'string' },
{ name: 'TARRIFSPAIEDTIEM', type: 'string' },
{ name: 'APPROVENO', type: 'string' },
{ name: 'GRADE', type: 'string' },
{ name: 'NOR', type: 'string' },
{ name: 'STORAGENAME', type: 'string' },
{ name: 'ISFORCEDTODESPATCH', type: 'string' },
{ name: 'BSKGS', type: 'string' },
{ name: 'ACTUALKGS', type: 'string' },
{ name: 'DRAFTKGS', type: 'string' },
{ name: 'WHARFSKGS', type: 'string' },
{ name: 'WMSINKGS', type: 'string' },
{ name: 'WMSOUTKGS', type: 'string' },
{ name: 'DIFFERENCEKGS', type: 'string' },
{ name: 'WATERCONTENT', type: 'string' },
{ name: 'WATERDENSITY', type: 'string' },
{ name: 'BSTYPE', type: 'string' },
{ name: 'WMSTYPE', type: 'string' },
{ name: 'ISFUMIGATION', type: 'boolean' },
{ name: 'ISSTORAGE', type: 'boolean' },
{ name: 'ISLAND', type: 'boolean' },
{ name: 'ISCUSTOMS', type: 'boolean' },
{ name: 'ISINSPECTION', type: 'boolean' },
{ name: 'ISBOOKING', type: 'boolean' },
{ name: 'ISAGENT', type: 'boolean' },
{ name: 'ISHBLNO', type: 'boolean' },
{ name: 'SERVICE9', type: 'boolean' },
{ name: 'SERVICE10', type: 'boolean' },
{ name: 'ISPRINTPR', type: 'string' },
{ name: 'CNTR1', type: 'number' },
{ name: 'CNTR2', type: 'number' },
{ name: 'CNTR3', type: 'number' },
{ name: 'CNTR4', type: 'number' },
{ name: 'CNTR5', type: 'number' },
{ name: 'CNTR6', type: 'number' },
{ name: 'CNTR7', type: 'number' },
{ name: 'CNTR8', type: 'number' },
{ name: 'CNTR9', type: 'number' },
{ name: 'CNTR10', type: 'number' },
{ name: 'OTCNTR', type: 'string' },
{ name: 'OPSTATUS', type: 'string' },
{ name: 'CHANGEDOCDATE', type: 'string' },
{ name: 'ISMOREGOOD', type: 'boolean' },
{ name: 'TERMSDELIVERY', type: 'string' },
{ name: 'INSPECTSERVICE', type: 'string' }
]
});
Ext.define('MsOpSeaiDetail', {
extend: 'Ext.data.Model',
idProperty: 'BSNO,CTNCODE,CTN_ID',
fields: [
{ name: 'CTN_ID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'CTNCODE', type: 'string' },
{ name: 'SIZE', type: 'string' },
{ name: 'CTN', type: 'string' },
{ name: 'CTNNUM', type: 'int' },
{ name: 'TEU', type: 'int' },
{ name: 'CTNALL', type: 'string' },
{ name: 'CNTRNO', type: 'string' },
{ name: 'SEALNO', type: 'string' },
{ name: 'PKGS', type: 'int' },
{ name: 'KGS', type: 'decimal' },
{ name: 'CBM', type: 'decimal' },
{ name: 'REMARK', type: 'string' },
{ name: 'KINDPKGS', type: 'string' },
{ name: 'TAREWEIGHT', type: 'decimal' }, //箱皮重
{name: 'GOODSNAME', 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' }
]
});
Ext.define('CustomsNo', {
extend: 'Ext.data.Model',
idProperty: 'SHIPPERID',
fields: [
{ name: 'CUSTOMNO', type: 'string' }
]
});
Ext.define('DsShipping.ux.CodeCtnModelNEW', {
extend: 'Ext.data.Model',
fields: [
{ name: 'CTNALL', type: 'string' }
]
});