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.

46 lines
1.7 KiB
JavaScript

Ext.define('MsCodeGoods', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'GOODCODE', type: 'string' },
{ name: 'GOODNAME', type: 'string' },
{ name: 'GOODNO', type: 'string' },
{ name: 'DESCRIP', type: 'string' },
{ name: 'ARRATE', type: 'string' },
{ name: 'APRATE', type: 'string' },
{ name: 'AROUTRATE', type: 'string' },
{ name: 'APOUTRATE', type: 'string' },
{ name: 'GOODSTYPEGID', type: 'string' },
{ name: 'GOODSTYPE', type: 'string' },
{ name: 'CREATEUSER', type: 'string' },
{ name: 'CREATEUSERREF', type: 'string' },
{ name: 'CREATETIME', type: 'string' },
{ name: 'CORPID', type: 'string' },
{ name: 'ISSTOP', type: 'string' }
]
});
Ext.define('MsCodeGoodsDetail', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'GOODSDETAILNAME', type: 'string' },
{ name: 'GOODSDETAILPKGS', type: 'number' },
{ name: 'REMARK', type: 'string' }
]
});
Ext.define('MsCodeGoodsType', {
extend: 'Ext.data.Model',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'LINKGID', type: 'string' },
{ name: 'GOODSTYPECODENAME', type: 'string' },
{ name: 'GOODSTYPECODE', type: 'string' },
{ name: 'GOODSTYPENAME', type: 'string' },
{ name: 'DESCRIPTION', type: 'string' }
]
});