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/TruckMng/Viewsjs/MsWlCk/MsWlCkModel.js

50 lines
1.8 KiB
JavaScript

Ext.define('MsWlCkHead', {
extend: 'Ext.data.Model',
idProperty: 'BillNo',
fields: [
{ name: 'BillNo', type: 'string' },
{ name: 'LrDate', type: 'date' },
{ name: 'JzDate', type: 'date' },
{ name: 'UserCode', type: 'string' },
{ name: 'UserName', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'YwBillNo', type: 'string' },
{ name: 'YwType', type: 'string' },
{ name: 'YwType_Ref', type: 'string' },
{ name: 'EtpCode', type: 'string' },
{ name: 'EtpCode_Ref', type: 'string' },
{ name: 'EtpName', type: 'string' },
{ name: 'OrgCode', type: 'string' },
{ name: 'OrgCode_Ref', type: 'string' },
{ name: 'OrgName', type: 'string' },
{ name: 'CkCount', type: 'number' },
{ name: 'Remark', type: 'string' }
]
});
Ext.define('MsWlCkBody', {
extend: 'Ext.data.Model',
idProperty: 'BillNo,SerialNo',
fields: [
{ name: 'BillNo', type: 'string' },
{ name: 'SerialNo', type: 'number' },
{ name: 'WlCode', type: 'string' },
{ name: 'CwCode', type: 'string' },
{ name: 'PluCode', type: 'string' },
{ name: 'PluCode_Ref', type: 'string' },
{ name: 'PluName', type: 'string' },
{ name: 'Spec', type: 'string' },
{ name: 'Weight', type: 'number' },
{ name: 'Volume', type: 'string' },
{ name: 'Unit', type: 'string' },
{ name: 'PcNo', type: 'string' },
{ name: 'CkCount', type: 'number' },
{ name: 'Remark', type: 'string' }
]
});