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/Import/Viewsjs/cargoinfo/cargoinfoMode.js

28 lines
852 B
JavaScript

2 years ago
Ext.define('Import_cargoinfo', {
extend: 'Ext.data.Model',
idProperty: 'ID,Code',
fields: [
{ name: 'ID', type: 'number' },
{ name: 'Code', type: 'string' },
{ name: 'Name', type: 'string' },
{ name: 'Tax_Zhg', type: 'number' },
{ name: 'Tax_Pt', type: 'number' },
{ name: 'Tax_Zz', type: 'number' },
{ name: 'Tax_Cl', type: 'number' },
{ name: 'JG', type: 'string' }
]
});
Ext.define('Import_cargociq', {
extend: 'Ext.data.Model',
idProperty: 'ID',
fields: [
{ name: 'ID', type: 'string' },
{ name: 'CargoinfoID', type: 'string' },
{ name: 'CargoinfoCode', type: 'string' },
{ name: 'CiqCode', type: 'string' },
{ name: 'CiqName', type: 'string' }
]
});