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/ReceiptIO/ReceiptIOModel.js

236 lines
9.3 KiB
JavaScript

3 years ago
Ext.define('ReceiptIOmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'TRANCNO', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'DEPTGID', type: 'string' },
{ name: 'OP', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'IOTYPE', type: 'string' },
{ name: 'IOTYPERef', type: 'string' },
{ name: 'RecvCompany', type: 'string' },
{ name: 'RecvName', type: 'string' }
]
});
Ext.define('ReceiptIOBodymb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'IO_GID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'Receipt_GID', type: 'string' },
{ name: 'ReceiptName', type: 'string' },
{ name: 'NeedType', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'OPLB', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'SEQUENCE', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'BillType', type: 'string' },
{ name: 'BillTypeREF', type: 'string' },
{ name: 'ArrivalDate', type: 'string' },
{ name: 'OP', type: 'string' }
]
});
Ext.define('ReceiptListmb', {
extend: 'Ext.data.Model',
idProperty: 'RECEIPTNAME' + 'NEEDTYPE',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'RECEIPTNAME', type: 'string' },
{ name: 'NEEDTYPE', type: 'string' },
{ name: 'NEED', type: 'string' },
{ name: 'NEEDREF', type: 'string' },
{ name: 'TRANCNO', type: 'string' },
{ name: 'R_DATE', type: 'string' },
{ name: 'GID', type: 'string' },
{ name: 'OPLBNAME', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'PORTLOAD', type: 'string' },
{ name: 'PORTDISCHARGE', type: 'string' },
{ name: 'COMPANY', type: 'string' }
]
});
Ext.define('Tradermb', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'name', type: 'string' },
{ name: 'codename', type: 'string' }
]
});
Ext.define('currRef', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'codename', type: 'string' },
{ name: 'defaultrate', type: 'string' }
]
});
Ext.define('BANKmb', {
extend: 'Ext.data.Model',
idProperty: 'gid',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'bankname', type: 'string' }
]
});
Ext.define('BSmb', {
extend: 'Ext.data.Model',
idProperty: 'BSNO',
fields: [
{ name: 'BSNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'HBLNO', type: 'string' },
{ name: 'OPLB', type: 'string' },
{ name: 'Remark', type: 'string' }
]
});
Ext.define('BXPaymb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'BXGID', type: 'string' },
{ name: 'SETTLEMENTTYPE', type: 'string' },
{ name: 'TICKETNO', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'SETTLEMENTTYPE_REF', type: 'string' },
{ name: 'FINANCIALCODE', type: 'string' },
{ name: 'OPERATEDATE', type: 'date' }
]
});
Ext.define('Bankmb', {
extend: 'Ext.data.Model',
idProperty: 'bankname',
fields: [
{ name: 'bankname', type: 'string' },
{ name: 'FINANCESOFTCODE', type: 'string' },
{ name: 'codename', type: 'string' }
]
});
Ext.define('CHEQUENUMmb', {
extend: 'Ext.data.Model',
idProperty: 'CHEQUENUM',
fields: [
{ name: 'CHEQUENUM', type: 'string' }
]
});
Ext.define('BaoxiaoAuditmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'BXGID', type: 'string' },
{ name: 'BSNO', type: 'string' },
{ name: 'COMPANY', type: 'string' },
{ name: 'DEPTNAME', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATEDATE', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'BXSTATUS', type: 'string' },
{ name: 'BXSTATUS_REF', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'AMOUNT', type: 'string' },
{ name: 'CHEQUENO', type: 'string' },
{ name: 'CHEQUEAMOUNT', type: 'string' },
{ name: 'ISVOU', type: 'string' },
{ name: 'ISVOU_REF', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'BXNO', type: 'string' },
{ name: 'ISPAYED', type: 'string' },
{ name: 'GROUPID', type: 'string' },
{ name: 'STEPNO', type: 'string' },
{ name: 'WORKFLOWID', type: 'string' }
]
});
Ext.define('selectChFeemb', {
extend: 'Ext.data.Model',
idProperty: 'GId',
fields: [
{ name: 'GId', type: 'string' },
{ name: 'BsNo', type: 'string' },
{ name: 'FeeStatus', type: 'number' },
{ name: 'FeeStatus_Ref', type: 'string' },
{ name: 'FeeType', type: 'number' },
{ name: 'FeeType_Ref', type: 'string' },
{ name: 'FeeName', type: 'string' },
{ name: 'FeeName_Ref', type: 'string' },
{ name: 'FeeDescription', type: 'string' },
{ name: 'CustomerType', type: 'string' },
{ name: 'CustomerName', type: 'string' },
{ name: 'CustomerName_Ref', type: 'string' },
{ name: 'Unit', type: 'string' },
{ name: 'UnitPrice', type: 'number' },
{ name: 'Quantity', type: 'number' },
{ name: 'Amount', type: 'number' },
{ name: 'Currency', type: 'string' },
{ name: 'ExChangerate', type: 'number' },
{ name: 'Reason', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'Commissionrate', type: 'number' },
{ name: 'Settlement', type: 'number' },
{ name: 'Invoice', type: 'number' },
{ name: 'OrderAmount', type: 'number' },
{ name: 'OrderInvoice', type: 'number' },
{ name: 'SubmitDate', type: 'date' },
{ name: 'Auditoperator', type: 'string' },
{ name: 'AuditDate', type: 'date' },
{ name: 'EnteroPerator', type: 'string' },
{ name: 'EnterDate', type: 'date' },
{ name: 'DebitNo', type: 'string' },
{ name: 'IsDebit', type: 'string' },
{ name: 'IsOpen', type: 'string' },
{ name: 'IsAdvancedpay', type: 'string' },
{ name: 'Sort', type: 'string' },
{ name: 'IsInvoice', type: 'string' },
{ name: 'FeeFrt', type: 'string' },
{ name: 'IsCrmOrderFee', type: 'string' },
{ name: 'AuditStatus', type: 'number' },
{ name: 'InvoiceNum', type: 'string' },
{ name: 'ChequeNum', type: 'string' },
{ name: 'WmsOutBsNo', type: 'string' },
{ name: 'BXGID', type: 'string' },
{ name: 'ACCDATE', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'CUSTNO', type: 'string' },
{ name: 'TAXRATE', type: 'string' },
{ name: 'NOTAXAMOUNT', type: 'string' },
{ name: 'TAX', type: 'string' },
{ name: 'CHEQUENUM', type: 'string' },
{ name: 'IsOpen_REF', type: 'string' },
{ name: 'FeeNameAmount', type: 'string' }
]
});