|
|
|
|
Ext.define('MsChFeeAutoDuimb', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
|
|
|
{ name: 'FEETYPE', type: 'string' },
|
|
|
|
|
{ name: 'DUITYPE', type: 'string' },
|
|
|
|
|
{ name: 'FEEDC', type: 'string' },
|
|
|
|
|
{ name: 'CURR', type: 'string' },
|
|
|
|
|
{ name: 'DUISTATUS', type: 'string' },
|
|
|
|
|
{ name: 'STARTDATE', type: 'string' },
|
|
|
|
|
{ name: 'ENDDATE', type: 'string' },
|
|
|
|
|
{ name: 'OP', type: 'string' },
|
|
|
|
|
|
|
|
|
|
{ name: 'OPDATE', type: 'string' },
|
|
|
|
|
{ name: 'REMARK', type: 'string' },
|
|
|
|
|
{ name: 'REMARK2', type: 'string' },
|
|
|
|
|
{ name: 'RMBAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'USDAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'L_RMBAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'L_USDAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'STATUS', type: 'string' },
|
|
|
|
|
{ name: 'STATUS_REF', type: 'string' },
|
|
|
|
|
{ name: 'TimeMark', type: 'string' },
|
|
|
|
|
{ name: 'DUINO', type: 'string' },
|
|
|
|
|
{ name: 'FEEDUITYPECONDIT', type: 'string' },
|
|
|
|
|
{ name: 'FEEDUITYPE', type: 'string' },
|
|
|
|
|
{ name: 'FSTATUS', type: 'string' },
|
|
|
|
|
|
|
|
|
|
{ name: 'HAVEDEBIT', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.define('CH_FEE_AutoDuiDetailmb', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' },
|
|
|
|
|
{ name: 'BSNO', type: 'string' },
|
|
|
|
|
{ name: 'B_BSNO', type: 'string' },
|
|
|
|
|
{ name: 'MBLNO', type: 'string' },
|
|
|
|
|
{ name: 'ETD', type: 'string' },
|
|
|
|
|
{ name: 'CUSTOMERNAME', type: 'string' },
|
|
|
|
|
{ name: 'OP', type: 'string' },
|
|
|
|
|
{ name: 'CARRIER', type: 'string' },
|
|
|
|
|
{ name: 'TEU', type: 'string' },
|
|
|
|
|
{ name: 'CUSTNO', type: 'string' },
|
|
|
|
|
{ name: 'SALE', type: 'string' },
|
|
|
|
|
{ name: 'RMBAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'USDAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'L_RMBAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'L_USDAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'Y_RMBAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'Y_USDAMOUNT', type: 'number' },
|
|
|
|
|
{ name: 'ISOK', type: 'string' },
|
|
|
|
|
{ name: 'REMARK', type: 'string' },
|
|
|
|
|
{ name: 'REMARK2', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.define('MsCompanySale', {
|
|
|
|
|
extend: 'Ext.data.Model',
|
|
|
|
|
idProperty: 'GID',
|
|
|
|
|
fields: [
|
|
|
|
|
{ name: 'GID', type: 'string' }, //GID
|
|
|
|
|
{ name: 'CODENAME', type: 'string' }, //CODENAME
|
|
|
|
|
{ name: 'NAME', type: 'string' }, //NAME
|
|
|
|
|
{ name: 'CodeAndName', type: 'string' }, //NAME
|
|
|
|
|
{ name: 'FULLNAME', type: 'string' }
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function RowClass(feeStatus) {
|
|
|
|
|
if (feeStatus == 2) {
|
|
|
|
|
return 'feestatus_refer';
|
|
|
|
|
} else if (feeStatus == 0) {
|
|
|
|
|
return 'feestatus_pass';
|
|
|
|
|
} else if (feeStatus == 6) {
|
|
|
|
|
return 'feestatus_nopass';
|
|
|
|
|
} else if (feeStatus == 8 || feeStatus == 9) {
|
|
|
|
|
return 'feestatus_settle';
|
|
|
|
|
} else if (feeStatus == 3) {
|
|
|
|
|
return 'feestatus_shenmodify';
|
|
|
|
|
}else
|
|
|
|
|
|
|
|
|
|
return '';
|
|
|
|
|
}
|