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/MvcShipping/Viewsjs/MsOpReceipt/ReceiptComm.js

15 lines
427 B
JavaScript

Ext.namespace('Shipping');
Shipping.ReceiptGetRowClass = function (ReceiptStatus) {
if (ReceiptStatus == 2) {
return 'Receiptstatus_refer';
} else if (ReceiptStatus == 0) {
return 'Receiptstatus_pass';
} else if (ReceiptStatus == 6) {
return 'Receiptstatus_nopass';
} else if (ReceiptStatus == 8 || ReceiptStatus == 9) {
return 'Receiptstatus_settle';
}
return '';
}