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.
|
|
|
|
Ext.namespace('DsTruck');
|
|
|
|
|
|
|
|
|
|
DsTruck.MsChFeeGetRowClass = function (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';
|
|
|
|
|
}
|
|
|
|
|
return '';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DsTruck.FinanceGetRowClass = function (FinanceStatus) {
|
|
|
|
|
if (FinanceStatus == 1) {
|
|
|
|
|
return 'feestatus_refer';
|
|
|
|
|
} else if (FinanceStatus == 3) {
|
|
|
|
|
return 'feestatus_pass';
|
|
|
|
|
} else if (FinanceStatus == 2 || FinanceStatus == 5) {
|
|
|
|
|
return 'feestatus_nopass';
|
|
|
|
|
} else if ( FinanceStatus == 4) {
|
|
|
|
|
return 'feestatus_settle';
|
|
|
|
|
}
|
|
|
|
|
return '';
|
|
|
|
|
}
|