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/Account/Viewsjs/Chfee_do_detail/Chfee_do_detailModel.js

377 lines
16 KiB
JavaScript

2 years ago
Ext.define('Chfee_do_detail', {
extend: 'Ext.data.Model',
idProperty: 'FEEDOID',
fields: [
{ name: 'FEEDOID', type: 'string' },
{ name: 'FEEID', type: 'string' },
{ name: 'BILLNO', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'PARENTID', type: 'string' },
{ name: 'BSSTATUSREF', type: 'string' },
{ name: 'FEESTATUSREF', type: 'string' },
{ name: 'BLISSUESTATUS', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'OPLBNAME', type: 'string' },
{ name: 'OPTYPE', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'FEEOBJNAME', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'ETD', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'DESTINATION', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'DOC', type: 'string' },
{ name: 'AUDITDATE', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'BSSOURCEDETAIL', type: 'string' },
{ name: 'FEENAME', type: 'string' },
{ name: 'FEETYPE', type: 'string' },
{ name: 'FEETYPEREF', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'ORIGCURRENCY', type: 'string' },
{ name: 'ENTERP', type: 'string' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'DOAMOUNT', type: 'number' },
{ name: 'ORIGAMOUNT', type: 'number' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'ORIGEXCHANGERATE', type: 'number' },
{ name: 'APPEXCHANGERATE', type: 'number' },
{ name: 'ACCTAXRATE', type: 'number' },
{ name: 'TTLNODR', type: 'number' },
{ name: 'INVOICENO', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'INPUTMODE', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'BSSALECORP', type: 'string' },
{ name: 'COMPANYNAME', type: 'string' }
]
});
Ext.define('Chfee_do_sum', {
extend: 'Ext.data.Model',
fields: [
{ name: 'FEETYPEREF', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'AMOUNT', type: 'number' }
]
});
Ext.define('Chfee_do_selectsum', {
extend: 'Ext.data.Model',
fields: [
{ name: 'RMBDRAMOUNT', type: 'number' },
{ name: 'RMBCRAMOUNT', type: 'number' },
{ name: 'USDDRAMOUNT', type: 'number' },
{ name: 'USDCRAMOUNT', type: 'number' },
{ name: 'OTDRAMOUNT', type: 'number' },
{ name: 'OTCRAMOUNT', type: 'number' }
]
});
Ext.define('MsChFeedoBill', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'PARENTID', type: 'string' },
{ name: 'BSSTATUS', type: 'boolean' },
{ name: 'FEESTATUS', type: 'boolean' },
{ name: 'BSSTATUSREF', type: 'string' },
{ name: 'FEESTATUSREF', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'OPLB', type: 'string' },
{ name: 'OPLBNAME', type: 'string' },
{ name: 'BSTYPE', type: 'string' },
{ name: 'OPTYPE', type: 'string' },
{ name: 'BLTYPE', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'ORDERNO', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'INVNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'REMARK2', type: 'string' },
{ name: 'CARGOID', type: 'string' },
{ name: 'DCLASS', type: 'string' },
{ name: 'BILLFEESTATUSTIME', type: 'string' },
{ name: 'TRADETERM', type: 'string' },
{ name: 'REASON', type: 'string' },
{ name: 'ETD', type: 'date' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'PLACERECEIPT', type: 'string' },
{ name: 'DESTINATION', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CUSTSERVICE', type: 'string' },
{ name: 'DOC', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'ENTERP', type: 'string' },
{ name: 'BSSOURCE', type: 'string' },
{ name: 'BSSOURCEDETAIL', type: 'string' },
{ name: 'DRFEESTATUS', type: 'string' },
{ name: 'CRFEESTATUS', type: 'string' },
{ name: 'OPSTATUS', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'PKGS', type: 'string' },
{ name: 'KGS', type: 'string' },
{ name: 'CBM', type: 'string' },
{ name: 'BSCUSTOMNO', type: 'string' },
{ name: 'COMMISSIONRATE', type: 'string' },
{ name: 'GOODSNAME', type: 'string' },
{ name: 'BLFRT', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'YARD', type: 'string' },
{ name: 'FORWARDER', type: 'string' },
{ name: 'ISSUETYPE', type: 'string' },
{ name: 'CONTRACTNO', type: 'string' },
{ name: 'SERVICE', type: 'string' },
{ name: 'BillFeeStatus', type: 'string' },
{ name: 'BILLFEEOP', type: 'string' },
{ name: 'CUSTOMSNUM', type: 'string' },
{ name: 'SALEDEPT', type: 'string' },
{ name: 'SALECORP', type: 'string' }
]
});
Ext.define('Chfee_add_detail', {
extend: 'Ext.data.Model',
idProperty: 'CH_ID',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'CH_ID', type: 'string' },
{ name: 'FEEDOID', type: 'string' },
{ name: 'FeeType', type: 'number' },
{ name: 'FeeType_Ref', type: 'string' },
{ name: 'Amount', type: 'number' },
{ name: 'FeeName', type: 'string' },
{ name: 'CustomerName', type: 'string' },
{ name: 'AccTaxRate', type: 'number' },
{ name: 'BalAmount', type: 'number' },
{ name: 'StlAmount', type: 'number' },
{ name: 'Currency', type: 'string' },
{ name: 'ExChangerate', type: 'number' },
{ name: 'DoAmount', type: 'number' },
{ name: 'Invoice', type: 'number' },
{ name: 'InvNo', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'INPUTMODE', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'UNIT', type: 'string' },
{ name: 'UNITPRICE', type: 'number' },
{ name: 'QUANTITY', type: 'number' },
{ name: 'ORIGCURRENCY', type: 'string' },
{ name: 'ORIGAMOUNT', type: 'number' },
{ name: 'ORIGEXCHANGERATE', type: 'number' },
{ name: 'dgid', type: 'string' }
]
});
Ext.define('MsChFeeAddBillFee', {
extend: 'Ext.data.Model',
idProperty: 'CH_ID',
fields: [
{ name: 'CH_ID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'BSSTATUS', type: 'boolean' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'OPLB', type: 'string' },
{ name: 'OPLBNAME', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'ETD', type: 'date' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CUSTSERVICE', type: 'string' },
{ name: 'DOC', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'ENTERP', type: 'string' },
{ name: 'FeeType', type: 'number' },
{ name: 'FeeType_Ref', type: 'string' },
{ name: 'FeeName', type: 'string' },
{ name: 'FeeObjName', type: 'string' },
{ name: 'Amount', type: 'number' },
{ name: 'BalAmount', type: 'number' },
{ name: 'StlAmount', type: 'number' },
{ name: 'Currency', type: 'string' },
{ name: 'ExChangerate', type: 'number' },
{ name: 'EXRATE', type: 'number' },
{ name: 'AccTaxRate', type: 'number' },
{ name: 'Invoice', type: 'number' },
{ name: 'DoAmount', type: 'number' }
]
});
Ext.define('MsAddBillCustFee', {
extend: 'Ext.data.Model',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'BSSTATUS', type: 'boolean' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'OPLB', type: 'string' },
{ name: 'OPLBNAME', type: 'string' },
{ name: 'OPTYPE', type: 'string' },
{ name: 'STLNAME', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'ORDERNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'CUSTOMNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'VESSEL', type: 'string' },
{ name: 'VOYNO', type: 'string' },
{ name: 'CARRIER', type: 'string' },
{ name: 'ETD', type: 'date' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'INPUTBY', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CNTRTOTAL', type: 'string' },
{ name: 'RMBDRSTATUS', type: 'string' },
{ name: 'USDDRSTATUS', type: 'string' },
{ name: 'CUSTSERVICE', type: 'string' },
{ name: 'INVNO', type: 'string' },
{ name: 'DOC', type: 'string' },
{ name: 'SALE', type: 'string' },
{ name: 'SALECORPID', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'ENTERP', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'FEEOBJNAME', type: 'string' },
{ name: 'RMBDrAmount', type: 'number' },
{ name: 'RMBDrBalAmount', type: 'number' },
{ name: 'RMBDrDoAmount', type: 'number' },
{ name: 'RMBCrAmount', type: 'number' },
{ name: 'RMBCrBalAmount', type: 'number' },
{ name: 'RMBCrDoAmount', type: 'number' },
{ name: 'USDDrAmount', type: 'number' },
{ name: 'USDDrBalAmount', type: 'number' },
{ name: 'USDDrDoAmount', type: 'number' },
{ name: 'USDCrAmount', type: 'number' },
{ name: 'USDCrBalAmount', type: 'number' },
{ name: 'USDCrDoAmount', type: 'number' },
{ name: 'OTDrAmount', type: 'number' },
{ name: 'OTDrBalAmount', type: 'number' },
{ name: 'OTDrDoAmount', type: 'number' },
{ name: 'OTCrAmount', type: 'number' },
{ name: 'OTCrBalAmount', type: 'number' },
{ name: 'OTCrDoAmount', type: 'number' },
{ name: 'BALRMBINVDR', type: 'number' },
{ name: 'BALRMBINVCR', type: 'number' },
{ name: 'BALUSDINVDR', type: 'number' },
{ name: 'BALUSDINVCR', type: 'number' },
{ name: 'BALTTLDR', type: 'number' },
{ name: 'COMPANYNAME', type: 'string' },
{ name: 'COMPANYID', type: 'string' }
]
});
Ext.define('STLMODE', {
extend: 'Ext.data.Model',
fields: [
{ name: 'STLCODE', type: 'number' },
{ name: 'STLNAME', type: 'string' }
]
});
Ext.define('BANK', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'CODENAME', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'BANKNAME', type: 'string' },
{ name: 'ACCOUNTNAME', type: 'string' },
{ name: 'ACCBANKNAME', type: 'string' },
{ name: 'ACCOUNT', type: 'string' },
{ name: 'BANKACCOUNT', type: 'string' },
{ name: 'ISSTOP', type: 'string' },
{ name: 'ISDEF', type: 'string' }
]
});
Ext.define('Payapplication_do_detail', {
extend: 'Ext.data.Model',
idProperty: 'BILLNO',
fields: [
{ name: 'BILLNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'SALECORPID', type: 'string' },
{ name: 'SALECORP', type: 'string' },
{ name: 'BILLSTATUS', type: 'string' },
{ name: 'BILLSTATUSREF', type: 'string' },
{ name: 'CURR', type: 'string' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'DOAMOUNT', type: 'number' },
{ name: 'BALAMOUNT', type: 'number' },
{ name: 'STLAMOUNT', type: 'number' },
{ name: 'USDAMOUNT', type: 'number' },
{ name: 'USDDOAMOUNT', type: 'number' },
{ name: 'USDBALAMOUNT', type: 'number' },
{ name: 'USDSTLAMOUNT', type: 'number' },
{ name: 'ORIGCURRENCY', type: 'string' },
{ name: 'ORIGAMOUNT', type: 'number' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'APPLICANT', type: 'string' },
{ name: 'APPLICANTNAME', type: 'string' },
{ name: 'APPLYTIME', type: 'string' },
{ name: 'PAYABLETIME', type: 'string' },
{ name: 'ENTERTIME', type: 'string' },
{ name: 'ISINVOICE', type: 'string' },
{ name: 'CUSTACCOUNTGID', type: 'string' },
{ name: 'CUSTBANKNAME', type: 'string' },
{ name: 'CUSTACCOUNT', type: 'string' },
{ name: 'AUDITSTLAMOUNT', type: 'number' },
{ name: 'AUDITSTLRATE', type: 'number' },
{ name: 'AUDITSTLCURR', type: 'string' },
{ name: 'SETTLETYPE', type: 'number' },
{ name: 'SETTLETYPEREF', type: 'string' },
{ name: 'REMARK', type: 'string' }
]
});