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/CityDistance/CityDistanceModel.js

32 lines
1.1 KiB
JavaScript

Ext.define('CityDistancemb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'id', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'DISTANCE', type: 'numeric' },
{ name: 'PAY_DISTANCE', type: 'numeric' },
{ name: 'IN_PROVINCE', type: 'numeric' },
{ name: 'IN_PROVINCE_REF', type: 'string' },
{ name: 'AREANAME', type: 'string' },
{ name: 'WEIGHTPRICE', type: 'numeric' },
{ name: 'DISTANCEPRICE', type: 'numeric' },
{ name: 'PROVINCENAME', type: 'string' }
]
});
Ext.define('LTJYDistancemb', {
extend: 'Ext.data.Model',
idProperty: 'id',
fields: [
{ name: 'id', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'CUSTOMERNAME', type: 'string' },
{ name: 'PRICETYPE', type: 'string' },
{ name: 'DISTANCE', type: 'string' },
{ name: 'PRICE', type: 'string' }
]
});