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/TruckMng/Viewsjs/MsWl_HH_ZY/MsWl_HH_ZYModel.js

70 lines
2.8 KiB
JavaScript

Ext.define('HH_ZYmb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'OrgCode', type: 'string' },
{ name: 'Destination', type: 'string' },
{ name: 'ExpDate', type: 'date' },
{ name: 'TruckNo', type: 'string' },
{ name: 'ContractNo', type: 'string' },
{ name: 'MBLNO', type: 'string' },
{ name: 'CargoQty', type: 'number' },
{ name: 'Tons', type: 'number' },
{ name: 'Distance', type: 'number' },
{ name: 'Pay_Distance', type: 'number' },
{ name: 'Price_1', type: 'number' },
{ name: 'Price_2', type: 'number' },
{ name: 'Amount_1', type: 'number' },
{ name: 'Amount_2', type: 'number' },
{ name: 'In_Province', type: 'string' },
{ name: 'In_Province_REF', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'Paid_Amount_1', type: 'number' },
{ name: 'Paid_Amount_2', type: 'number' },
{ name: 'Remain_Amount_1', type: 'number' },
{ name: 'Remain_Amount_2', type: 'number' },
{ name: 'HZSTATUS', type: 'string' },
{ name: 'HZSTATUS_REF', type: 'string' },
{ name: 'BizProperty_REF', type: 'string' },
{ name: 'OWNER_REF', type: 'string' },
{ name: 'BillingType', type: 'string' },
{ name: 'BillingTypeREF', type: 'string' },
{ name: 'Tax', type: 'string' },
{ name: 'Pay_Amount_2', type: 'string' },
{ name: 'Property', type: 'string' },
{ name: 'TaxAmount_1', type: 'number' },
{ name: 'TaxAmount_2', type: 'number' },
{ name: 'agio_Amount_1', type: 'number' },
{ name: 'agio_Amount_2', type: 'number' },
{ name: 'AmountPaid_1_Ref', type: 'string' },
{ name: 'AmountPaid_2_Ref', type: 'string' },
{ name: 'Price_3', type: 'number' },
{ name: 'Amount_3', type: 'number' },
{ name: 'agio_Amount_3', type: 'number' },
{ name: 'PROVINCENAME', type: 'string' },
{ name: 'AreaName', type: 'string' }
]
});
Ext.define('Truckmb', {
extend: 'Ext.data.Model',
idProperty: '',
fields: [
{ name: 'TruckNo', type: 'string' }
]
});
Ext.define('companymb', {
extend: 'Ext.data.Model',
fields: [
{ name: 'gid', type: 'string' },
{ name: 'code', type: 'string' },
{ name: 'name', type: 'string' }
]
});