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/MsWlInsure/MsWlInsureModel.js

71 lines
2.4 KiB
JavaScript

2 years ago
Ext.define('MsWlInsureHead', {
extend: 'Ext.data.Model',
idProperty: 'BillNo',
fields: [
{ name: 'BillNo', type: 'string' },
{ name: 'LrDate', type: 'string' },
{ name: 'UserCode', type: 'string' },
{ name: 'UserName', type: 'string' },
{ name: 'JzDate', type: 'string' },
{ name: 'JzrCode', type: 'string' },
{ name: 'JzrName', type: 'string' },
{ name: 'RptDate', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'YwType', type: 'string' },
{ name: 'OrgCode', type: 'string' },
{ name: 'OrgName', type: 'string' },
{ name: 'TruckNo', type: 'string' },
{ name: 'TruckNo_Ref', type: 'string' },
{ name: 'OpUserCode', type: 'string' },
{ name: 'OpUserCode_Ref', type: 'string' },
{ name: 'OpUserName', type: 'string' },
{ name: 'InsureCompCode', type: 'string' },
{ name: 'InsureComp', type: 'string' },
{ name: 'InsureBillNo', type: 'string' },
{ name: 'InsureDate', type: 'string' },
{ name: 'NextDate', type: 'string' },
{ name: 'NoticeDays', type: 'number' },
{ name: 'Remark', type: 'string' },
{ name: 'Beneficiary', type: 'string' },
{ name: 'InsureBgnDate', type: 'string' },
{ name: 'InsureEndDate', type: 'string' }
]
});
Ext.define('MsWlInsureHeadRefMsWlTruck', {
extend: 'Ext.data.Model',
fields: [
{ name: 'TruckNo', type: 'string' }
]
});
Ext.define('MsWlInsureHeadRefMsWlInsureLtd', {
extend: 'Ext.data.Model',
fields: [
{ name: 'Code', type: 'string' },
{ name: 'Name', type: 'string' },
{ name: 'CodeAndName', type: 'string' }
]
});
Ext.define('MsWlInsureBody', {
extend: 'Ext.data.Model',
idProperty: 'BillNo,SerialNo',
fields: [
{ name: 'BillNo', type: 'string' },
{ name: 'SerialNo', type: 'number' },
{ name: 'InsureType', type: 'string' },
{ name: 'InsureType_Ref', type: 'string' },
{ name: 'InsureTotal', type: 'number' },
{ name: 'InsureAmount', type: 'number' }
]
});