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/Import/Viewsjs/ImportSales/ImportSalesModel.js

673 lines
31 KiB
JavaScript

Ext.define('ImportSalesmb', {
extend: 'Ext.data.Model',
idProperty: 'SaleDetail_GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'SALER', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'DEPTGID', type: 'string' },
{ name: 'CARGONAME', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'EXCHANGERATE', type: 'string' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'AMOUNTRMB', type: 'number' },
{ name: 'SALESDATE', type: 'string' },
{ name: 'DELIVERYDATE', type: 'string' },
{ name: 'DELIVERYADDRESS', type: 'string' },
{ name: 'DELIVERYCONTACTS', type: 'string' },
{ name: 'DELIVERYTEL', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'FEESTATUS', type: 'string' },
{ name: 'TimeMark', type: 'string' },
{ name: 'OPRef', type: 'string' },
{ name: 'SALERRef', type: 'string' },
{ name: 'BSSTATUSRef', type: 'string' },
{ name: 'FEESTATUSRef', type: 'string' },
{ name: 'DELIVERYWEIGHT', type: 'number' },
{ name: 'MAINSTATE', type: 'string' },
{ name: 'MAINSTATERef', type: 'string' },
{ name: 'SALESTATUS', type: 'string' },
{ name: 'SALESTATUSRef', type: 'string' },
{ name: 'Forecast_Amount', type: 'number' },
{ name: 'Forecast_Remain', type: 'number' },
{ name: 'WHX_YS', type: 'number' },
{ name: 'KERENKUAN', type: 'number' },
{ name: 'DAIRENKUAN', type: 'number' },
{ name: 'PREPAYMENT', type: 'number' },
{ name: 'REPLY', type: 'string' },
{ name: 'ISMAKED', type: 'string' },
{ name: 'SALES_AMOUNT', type: 'number' },
{ name: 'SALES_SETTLEMENT', type: 'number' },
{ name: 'SALEINFO', type: 'string' },
{ name: 'DeliveryInfo', type: 'string' },
{ name: 'PAYCOMPANY', type: 'string' },
{ name: 'FUNDRATE', type: 'string' },
{ name: 'AMOUNTRMB_ACT', type: 'number' },
{ name: 'AMOUNTRMB_REMAIN', type: 'number' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'ISINVOICE', type: 'string' },
{ name: 'ISINVOICE_REF', type: 'string' },
{ name: 'port', type: 'string' },
{ name: 'country', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'Cargo_Name', type: 'string' },
{ name: 'productiondate_min', type: 'string' },
{ name: 'productiondate_max', type: 'string' },
{ name: 'SD_PREPAYMENT', type: 'string' },
{ name: 'SD_PREPAYMENT_ACT', type: 'string' },
{ name: 'SD_WEIGHT', type: 'string' },
{ name: 'SD_BOXCOUNT', type: 'string' },
{ name: 'STORAGENAME', type: 'string' },
{ name: 'Ex_sailingdate', type: 'string' },
{ name: 'price_limit', type: 'string' },
{ name: 'WMSDATE', type: 'string' },
{ name: 'PRICE', type: 'string' },
{ name: 'PRICERMB', type: 'string' },
{ name: 'DirectPrice', type: 'string' },
{ name: 'SaleDetail_GID', type: 'string' },
{ name: 'ZDAMOUNT', type: 'number' },
{ name: 'AMOUNTRMB_Detail', type: 'number' },
{ name: 'Agent', type: 'string' },
{ name: 'Inspection_Storage', type: 'string' },
{ name: 'Unsealdate', type: 'string' },
{ name: 'CargoType', type: 'string' }
]
});
Ext.define('ImportSales_Singlemb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'SALER', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'DEPTGID', type: 'string' },
{ name: 'CARGONAME', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'EXCHANGERATE', type: 'string' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'AMOUNTRMB', type: 'number' },
{ name: 'SALESDATE', type: 'string' },
{ name: 'DELIVERYDATE', type: 'string' },
{ name: 'DELIVERYADDRESS', type: 'string' },
{ name: 'DELIVERYCONTACTS', type: 'string' },
{ name: 'DELIVERYTEL', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'FEESTATUS', type: 'string' },
{ name: 'TimeMark', type: 'string' },
{ name: 'OPRef', type: 'string' },
{ name: 'SALERRef', type: 'string' },
{ name: 'BSSTATUSRef', type: 'string' },
{ name: 'FEESTATUSRef', type: 'string' },
{ name: 'DELIVERYWEIGHT', type: 'number' },
{ name: 'MAINSTATE', type: 'string' },
{ name: 'MAINSTATERef', type: 'string' },
{ name: 'SALESTATUS', type: 'string' },
{ name: 'SALESTATUSRef', type: 'string' },
{ name: 'Forecast_Amount', type: 'number' },
{ name: 'Forecast_Remain', type: 'number' },
{ name: 'WHX_YS', type: 'number' },
{ name: 'KERENKUAN', type: 'number' },
{ name: 'DAIRENKUAN', type: 'number' },
{ name: 'PREPAYMENT', type: 'number' },
{ name: 'REPLY', type: 'string' },
{ name: 'ISMAKED', type: 'string' },
{ name: 'SALES_AMOUNT', type: 'number' },
{ name: 'SALES_SETTLEMENT', type: 'number' },
{ name: 'SALEINFO', type: 'string' },
{ name: 'DeliveryInfo', type: 'string' },
{ name: 'PAYCOMPANY', type: 'string' },
{ name: 'FUNDRATE', type: 'string' },
{ name: 'AMOUNTRMB_ACT', type: 'number' },
{ name: 'AMOUNTRMB_REMAIN', type: 'number' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'ISINVOICE', type: 'string' },
{ name: 'ISINVOICE_REF', type: 'string' },
{ name: 'port', type: 'string' },
{ name: 'country', type: 'string' },
{ name: 'FactoryNo', type: 'string' },
{ name: 'Cargo_Name', type: 'string' },
{ name: 'productiondate_min', type: 'string' },
{ name: 'productiondate_max', type: 'string' },
{ name: 'SD_PREPAYMENT', type: 'string' },
{ name: 'SD_PREPAYMENT_ACT', type: 'string' },
{ name: 'SD_WEIGHT', type: 'string' },
{ name: 'SD_BOXCOUNT', type: 'string' },
{ name: 'STORAGENAME', type: 'string' },
{ name: 'Ex_sailingdate', type: 'string' },
{ name: 'price_limit', type: 'string' },
{ name: 'WMSDATE', type: 'string' },
{ name: 'PRICE', type: 'string' },
{ name: 'PRICERMB', type: 'string' },
{ name: 'DirectPrice', type: 'string' },
{ name: 'SaleDetail_GID', type: 'string' },
{ name: 'ZDAMOUNT', type: 'number' },
{ name: 'AMOUNTRMB_Detail', type: 'number' }
]
});
Ext.define('companymb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', type: 'string' }
]
});
Ext.define('ImportSaledetailmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'CARGO_GID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'WEIGHT', type: 'number' },
{ name: 'BOXCOUNT', type: 'number' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'PRICE', type: 'number' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'EXCHANGERATE', type: 'string' },
{ name: 'PRICERMB', type: 'number' },
{ name: 'AMOUNTRMB', type: 'number' },
{ name: 'REMARK', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'WEIGHT_ACT', type: 'string' },
{ name: 'WEIGHT_REMAIN', type: 'string' },
{ name: 'BOXCOUNT_REMAIN', type: 'string' },
{ name: 'COSTPRICE', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'PREPAYMENT', type: 'number' },
{ name: 'PREPAYMENT_ACT', type: 'number' },
{ name: 'PRICEREMARK', type: 'string' },
{ name: 'Delivery_Weight', type: 'number' },
{ name: 'Delivery_Boxcount', type: 'number' },
{ name: 'DirectPrice', type: 'string' },
{ name: 'DirectShop', type: 'string' },
{ name: 'Exchangerate_Cust', type: 'string' },
{ name: 'AGENCRATE_Cust', type: 'string' },
{ name: 'STOCKDATE_1', type: 'date' },
{ name: 'STOCKDATE_2', type: 'date' },
{ name: 'FUNDRATE', type: 'string' }
]
});
Ext.define('ImportCargomb', {
extend: 'Ext.data.Model',
idProperty: '',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'BUYER', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'FACTORYNO', type: 'string' },
{ name: 'MAINSTATEREF', type: 'string' },
{ name: 'ARRIVALDATE', type: 'string' },
{ name: 'WEIGHT', type: 'string' },
{ name: 'WEIGHT_ACT', type: 'string' },
{ name: 'WEIGHT_REMAIN', type: 'string' },
{ name: 'COSTPRICE', type: 'string' },
{ name: 'WMSDATE', type: 'string' },
{ name: 'PRODUCTIONDATE_MIN', type: 'string' },
{ name: 'PRODUCTIONDATE_MAX', type: 'string' }
]
});
Ext.define('ImportDeliverymb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'DELIVERYNO', type: 'string' },
{ name: 'DELIVERYDATE', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'DEPTGID', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'SALER', type: 'string' },
{ name: 'CONTACT', type: 'string' },
{ name: 'TEL', type: 'string' },
{ name: 'TRUCKNO', type: 'string' },
{ name: 'WAREHOUSE', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'TIMEMARK', type: 'string' },
{ name: 'CORPRef', type: 'string' },
{ name: 'DEPTRef', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'OUTRECEIPT', type: 'string' },
{ name: 'SFKC', type: 'string' },
{ name: 'SFCM', type: 'string' },
{ name: 'DeliveryType', type: 'string' },
{ name: 'DeliveryType_REF', type: 'string' }
]
});
Ext.define('ImportDeliveryDetailmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'DELIVERYNO', type: 'string' },
{ name: 'SALEDETAIL_GID', type: 'string' },
{ name: 'WEIGHT', type: 'string' },
{ name: 'BOXCOUNT', type: 'string' },
{ name: 'WEIGHT_EX', type: 'string' },
{ name: 'BOXCOUNT_EX', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'HTH', type: 'string' },
{ name: 'CARGONAME', type: 'string' },
{ name: 'FACTORYNO', type: 'string' },
{ name: 'WEIGHT_SALE', type: 'string' },
{ name: 'BOXCOUNT_SALE', type: 'string' },
{ name: 'WEIGHT_DE', type: 'string' },
{ name: 'BOXCOUNT_DE', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'SALESTATUS', type: 'string' },
{ name: 'MAINSTATE', type: 'string' },
{ name: 'GOODSSTOCK', type: 'number' },
{ name: 'GOODSPACKSTOCK', type: 'number' }
]
});
Ext.define('CWAdvancePaymentmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'BILLNO', type: 'string' },
{ name: 'FEETYPE', type: 'number' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'DOAMOUNT', type: 'number' },
{ name: 'REMAIN', type: 'number' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'SETTLEUSER', type: 'string' },
{ name: 'SETTLETIME', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'ISFINISH', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'BANKACCID', type: 'string' },
{ name: 'BANKACCIDNAME', type: 'string' },
{ name: 'ISVOU', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'CREATEUSERREF', type: 'string' },
{ name: 'COMPANYREF', type: 'string' }
, { name: 'FEETYPEREF', type: 'string' }
, { name: 'REASON', type: 'string' }
, { name: 'RKAMOUNT', type: 'string' }
, { name: 'UnRKAMOUNT', type: 'string' }
]
});
Ext.define('CWAdvancePaymentBodymb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'BILLNO', type: 'string' },
{ name: 'SETTLELINKGID', type: 'string' },
{ name: 'SETTLEBILLNO', type: 'string' },
{ name: 'FEETYPE', type: 'string' },
{ name: 'FEETYPEREF', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'DOAMOUNT', type: 'string' },
{ name: 'SETTLEUSER', type: 'string' },
{ name: 'SETTLEUSERREF', type: 'string' },
{ name: 'SETTLETIME', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' }
]
});
Ext.define('SalesStateAuditmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'DOAMOUNT', type: 'number' },
{ name: 'AD_BILLNO', type: 'string' },
{ name: 'PASSED', type: 'string' },
{ name: 'PASSED_REF', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATEUSER_REF', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'AUDITOR_REF', type: 'string' },
{ name: 'AUDITOR', type: 'string' },
{ name: 'AUDITTIME', type: 'string' },
////
//{ name: 'SALESNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'SALER', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'DEPTGID', type: 'string' },
{ name: 'CARGONAME', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'EXCHANGERATE', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'AMOUNTRMB', type: 'string' },
{ name: 'SALESDATE', type: 'string' },
{ name: 'DELIVERYDATE', type: 'string' },
{ name: 'DELIVERYADDRESS', type: 'string' },
{ name: 'DELIVERYCONTACTS', type: 'string' },
{ name: 'DELIVERYTEL', type: 'string' },
{ name: 'BSSTATUS', type: 'string' },
{ name: 'FEESTATUS', type: 'string' },
{ name: 'TIMEMARK', type: 'string' },
{ name: 'OPRef', type: 'string' },
{ name: 'SALERRef', type: 'string' },
{ name: 'BSSTATUSRef', type: 'string' },
{ name: 'FEESTATUSRef', type: 'string' },
{ name: 'DELIVERYWEIGHT', type: 'string' },
{ name: 'MAINSTATE', type: 'string' },
{ name: 'MAINSTATERef', type: 'string' },
{ name: 'SALESTATUS', type: 'string' },
{ name: 'SALESTATUSRef', type: 'string' },
{ name: 'Forecast_Amount', type: 'string' },
{ name: 'Forecast_Remain', type: 'string' }
]
});
Ext.define('SalesAdvancePay_state_DELmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'DOAMOUNT', type: 'string' },
{ name: 'PASSED', type: 'string' },
{ name: 'AD_BILLNO', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'DELETETIME', 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' }
]
});
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: 'string' },
{ name: 'CHARGEUNIT', type: 'string' },
{ name: 'GOODSPFSL', type: 'string' },
{ name: 'GOODSPACKPFSL', type: 'string' },
{ name: 'GOODSOUTFEE', type: 'string' },
{ name: 'GOODSOUTFEEAP', type: 'string' },
{ name: 'TRUCKNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'date' },
{ name: 'ASSOCIATEDNO', type: 'string' },
{ name: 'ARFEE', type: 'string' },
{ name: 'APFEE', type: 'string' },
{ 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: 'string' },
{ name: 'i_GOODSSTOCK', type: 'string' },
{ 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' }
]
});
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: 'string' },
{ name: 'GOODSPACKSTOCK', type: 'string' },
{ name: 'GOODSRKSL', type: 'string' },
{ name: 'GOODSSTOCK', type: 'string' },
{ name: 'ARFEE', type: 'string' },
{ name: 'APFEE', type: 'string' },
{ 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' }
]
});
Ext.define('Import_SaleZDmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'OPDATE', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'ISUSE', type: 'string' }
]
});
Ext.define('Import_SaleZDDetailmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'ZD_GID', type: 'string' },
{ name: 'SALEDETAIL_GID', type: 'string' },
{ name: 'WEIGHT', type: 'string' },
{ name: 'BOXCOUNT', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'PRICE', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'EXCHANGERATE_CUST', type: 'string' },
{ name: 'PREPAYMENT', type: 'string' },
{ name: 'FUNDRATE', type: 'string' },
{ name: 'STOCKDATE_1', type: 'date' },
{ name: 'STOCKDATE_2', type: 'date' },
{ name: 'AGENCRATE_CUST', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'NAME', type: 'string' }
]
});