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.

99 lines
3.9 KiB
JavaScript

10 months ago
Ext.define('CWAdvancePaymentmb', {
extend: 'Ext.data.Model',
idProperty: 'GID' ,
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'BILLNO', type: 'string' },
{ name: 'BLSTATUS', type: 'string' },
{ name: 'FEETYPE', type: 'number' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'AMOUNT', type: 'number' },
{ name: 'DOAMOUNT', type: 'number' },
{ name: 'REMAIN', type: 'number' },
{ name: 'EXCHANGERATE', type: 'number' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'SETTLEUSER', type: 'string' },
{ name: 'SETTLETIME', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'ISFINISH', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'BANKACCID', type: 'string' },
{ name: 'BANKACCIDNAME', type: 'string' },
{ name: 'ISVOU', type: 'string' },
{ name: 'VOUCHERNO', type: 'string' },
{ name: 'CREATEUSERREF', type: 'string' },
{ name: 'COMPANYREF', type: 'string' }
, { name: 'FEETYPEREF', type: 'string' }
, { name: 'REASON', type: 'string' }
, { name: 'RKAMOUNT', type: 'string' }
, { name: 'UnRKAMOUNT', type: 'string' }
]
});
Ext.define('CWAdvancePaymentBodymb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'BILLNO', type: 'string' },
{ name: 'SETTLELINKGID', type: 'string' },
{ name: 'SETTLEBILLNO', type: 'string' },
{ name: 'FEETYPE', type: 'string' },
{ name: 'FEETYPEREF', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'CURRENCY', type: 'string' },
{ name: 'DOAMOUNT', type: 'string' },
{ name: 'SETTLEUSER', type: 'string' },
{ name: 'SETTLEUSERREF', type: 'string' },
{ name: 'SETTLETIME', type: 'string' },
{ name: 'REMARK', type: 'string' },
{ name: 'ISDELETE', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'DELETETIME', type: 'string' },
{ name: 'COMPANYID', type: 'string' },
{ name: 'VOUCHERNO', 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('', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SALESNO', type: 'string' },
{ name: 'DOAMOUNT', type: 'string' },
{ name: 'PASSED', type: 'string' },
{ name: 'AD_BILLNO', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'DELETEUSER', type: 'string' },
{ name: 'DELETETIME', type: 'string' }
]
});
DsTruck.DeliveryGetRowClass = function (PASSED) {
if (PASSED == 0) {
return '';
} else if (PASSED == 1) {
return 'feestatus_pass';
}
return '';
}