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/MsWl_LKPC/MsWl_LKPCModel.js

294 lines
13 KiB
JavaScript

2 years ago
Ext.define('MsWlPcHead', {
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: 'OrgCode', type: 'string' },
{ name: 'OrgName', type: 'string' },
{ name: 'TruckNo', type: 'string' },
{ name: 'TruckNo_Ref', type: 'string' },
{ name: 'DrvCode', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'DrvCode_Ref', type: 'string' },
{ name: 'Mobile', type: 'string' },
{ name: 'ExpDate', type: 'string' },
{ name: 'DstArea', type: 'string' },
{ name: 'DetiNation', type: 'string' },
{ name: 'FactoryAddr', type: 'string' },
{ name: 'LinkTel', type: 'string' },
{ name: 'LinkMan', type: 'string' },
{ name: 'RatedMil', type: 'number' },
{ name: 'RatedFuel', type: 'number' },
{ name: 'FuelQty', type: 'number' },
{ name: 'RealMil', type: 'number' },
{ name: 'RealFuel', type: 'number' },
{ name: 'NoLoadMil', type: 'number' },
{ name: 'OverLoadMil', type: 'number' },
{ name: 'Ton', type: 'number' },
{ name: 'AroundTon', type: 'number' },
{ name: 'LoadCount', type: 'number' },
{ name: 'ArriveDate', type: 'string' },
{ name: 'DdCode', type: 'string' },
{ name: 'DdCode_Ref', type: 'string' },
{ name: 'DdName', type: 'string' },
{ name: 'ReturnDate', type: 'string' },
{ name: 'RefBillNo', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'BillStatus', type: 'string' },
{ name: 'BillStatus_Ref', type: 'string' },
{ name: 'FeeStatus', type: 'string' },
{ name: 'FeeStatus_Ref', type: 'string' },
{ name: 'GId', type: 'string' },
{ name: 'TimeMark', type: 'number' },
{ name: 'RefCustomerName', type: 'string' },
{ name: 'LoadPlace', type: 'string' },
{ name: 'LoadFuel', type: 'number' },
{ name: 'NoLoadFuel', type: 'number' },
{ name: 'BsType', type: 'string' },
{ name: 'BsType_Ref', type: 'string' },
{ name: 'ArriveTime', type: 'string' },
{ name: 'ReturnTime', type: 'string' },
{ name: 'BillRises1', type: 'string' },
{ name: 'ChangedMil', type: 'number' },
{ name: 'ChangedFuel', type: 'number' },
{ name: 'ChangedReson', type: 'string' },
{ name: 'FeeOpStatus', type: 'string' },
{ name: 'FeeOpStatus_Ref', type: 'string' },
{ name: 'TotalMil', type: 'number' },
{ name: 'RunTimes', type: 'number' },
{ name: 'PcBillType', type: 'string' },
{ name: 'PcBillType_Ref', type: 'string' },
{ name: 'ISPC', type: 'string' },
{ name: 'ISBACK', type: 'string' }
]
});
Ext.define('MsWlPcFixed', {
extend: 'Ext.data.Model',
idProperty: 'GId',
fields: [
{ name: 'BillNo', type: 'string' },
{ name: 'SerialNo', type: 'number' },
{ name: 'CreditDebit', type: 'string' },
{ name: 'CreditDebit_Ref', type: 'string' },
{ name: 'FeeTypeCode', type: 'string' },
{ name: 'FeeTypeCode_Ref', type: 'string' },
{ name: 'FeeTypeName', type: 'string' },
{ name: 'DistCount', type: 'number' },
{ name: 'Price', type: 'number' },
{ name: 'FsTotal', type: 'number' },
{ name: 'JsTotal', type: 'number' },
{ name: 'Remark', type: 'string' },
{ name: 'GId', type: 'string' },
{ name: 'FeeStatus', type: 'number' },
{ name: 'FeeStatus_Ref', type: 'string' },
{ name: 'SubmitDate', type: 'date' },
{ name: 'Auditoperator', type: 'string' },
{ name: 'AuditDate', type: 'date' },
{ name: 'AuditStatus', type: 'number' }
]
});
Ext.define('MsWlPcHeadRefMsWlTruck', {
extend: 'Ext.data.Model',
fields: [
{ name: 'TruckNo', type: 'string' },
{ name: 'DrvCode', type: 'string' },
{ name: 'Mobile', type: 'string' }
]
});
Ext.define('MsWlBsHeadRefMsWlDriver', {
extend: 'Ext.data.Model',
fields: [
{ name: 'DrvCode', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'CodeAndName', type: 'string' },
{ name: 'Mobile', type: 'string' }
]
});
Ext.define('MsWl_LK_Cargomb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SEQUENCE', type: 'string' },
{ name: 'PC_BILLNO', type: 'string' },
{ name: 'CARGOINFO_GID', type: 'string' },
{ name: 'CARGO_NAME', type: 'string' },
{ name: 'CargoType', type: 'string' },
{ name: 'PalletCount', type: 'number' },
{ name: 'CargoCount', type: 'number' },
{ name: 'WEIGHT', type: 'number' },
{ name: 'POINT_GID', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: 'ADDRESS', type: 'string' },
{ name: 'CONTACTER', type: 'string' },
{ name: 'TEL', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'BOXCOUNT', type: 'string' },
{ name: 'BOXWEIGHT', type: 'string' },
{ name: 'AREA', type: 'string' },
{ name: 'DdName', type: 'string' },
{ name: 'ExpDate', type: 'string' },
{ name: 'TruckNo', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'PcBillType_Ref', type: 'string' }
]
});
Ext.define('MsWl_LK_CargoDomb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'GID', type: 'string' },
{ name: 'SEQUENCE', type: 'string' },
{ name: 'PC_BILLNO', type: 'string' },
{ name: 'CARGOINFO_GID', type: 'string' },
{ name: 'CARGO_NAME', type: 'string' },
{ name: 'CargoType', type: 'string' },
{ name: 'INNUM', type: 'number' },
{ name: 'OUTNUM', type: 'number' },
{ name: 'Remark', type: 'string' },
{ name: 'POINT_GID', type: 'string' },
{ name: 'POINT_NAME', type: 'string' },
{ name: 'DdName', type: 'string' },
{ name: 'ExpDate', type: 'string' },
{ name: 'TruckNo', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'PcBillType_Ref', type: 'string' }
]
});
Ext.define('MsWl_LK_CargoDoRPT2mb', {
extend: 'Ext.data.Model',
idProperty: 'GID',
fields: [
{ name: 'PcBillType_Ref', type: 'string' },
{ name: 'BillNo', type: 'string' },
{ name: 'DdName', type: 'string' },
{ name: 'ExpDate', type: 'string' },
{ name: 'TruckNo', type: 'string' },
{ name: 'DrvName', type: 'string' },
{ name: 'NAME', type: 'string' },
{ name: '崂矿大_市内_入', type: 'number' },
{ name: '崂矿大_市内_出', type: 'number' },
{ name: '山泉大_市内_入', type: 'number' },
{ name: '山泉大_市内_出', type: 'number' },
{ name: '旧版矿泉_市内_入', type: 'number' },
{ name: '旧版矿泉_市内_出', type: 'number' },
{ name: '旧版山泉_市内_入', type: 'number' },
{ name: '旧版山泉_市内_出', type: 'number' },
{ name: 'VIP矿泉_市内_入', type: 'number' },
{ name: 'VIP矿泉_市内_出', type: 'number' },
{ name: 'VIP山泉_市内_入', type: 'number' },
{ name: 'VIP山泉_市内_出', type: 'number' },
{ name: '崂矿大_周边_入', type: 'number' },
{ name: '崂矿大_周边_出', type: 'number' },
{ name: '山泉大_周边_入', type: 'number' },
{ name: '山泉大_周边_出', type: 'number' },
{ name: '旧版矿泉_周边_入', type: 'number' },
{ name: '旧版矿泉_周边_出', type: 'number' },
{ name: '旧版山泉_周边_入', type: 'number' },
{ name: '旧版山泉_周边_出', type: 'number' },
{ name: 'VIP矿泉_周边_入', type: 'number' },
{ name: 'VIP矿泉_周边_出', type: 'number' },
{ name: 'VIP山泉_周边_入', type: 'number' },
{ name: 'VIP山泉_周边_出', type: 'number' },
{ name: '山泉桶_市内_入', type: 'number' },
{ name: '山泉桶_市内_出', type: 'number' },
{ name: '矿泉桶_周边_入', type: 'number' },
{ name: '矿泉桶_周边_出', type: 'number' },
{ name: '山泉桶_周边_入', type: 'number' },
{ name: '山泉桶_周边_出', type: 'number' },
{ name: '矿泉桶_市内_入', type: 'number' },
{ name: '矿泉桶_市内_出', type: 'number' },
{ name: '交运托盘_入', type: 'number' },
{ name: '交运托盘_出', type: 'number' },
{ name: '交运围架_入', type: 'number' },
{ name: '交运围架_出', type: 'number' },
{ name: '车次', type: 'number' }
]
});
Ext.define('CW_GXYSmb', {//刺猬网 干线运输
extend: 'Ext.data.Model',
idProperty: 'SheetCode',
fields: [
{ name: 'SheetCode', type: 'string' },
{ name: 'PreArrivalDate', type: 'string' },
],
associations: [{
type: 'hasMany',
model: 'CW_CARGOmb',
name:'Items',
associationKey:'Items'
}]
});
Ext.define('CW_CARGOmb', {
extend: 'Ext.data.Model',
//idProperty: 'GID',
fields: [
{ name: 'ProductName', type: 'string' },
{ name: 'DeliveryQuantity', type: 'string' }
]
});
Ext.define('MsWl_LK_MCHeadmb', {
extend: 'Ext.data.Model',
idProperty: 'ID',
fields: [
{ name: 'ID', type: 'string' },
{ name: 'SheetCode', type: 'string' },
{ name: 'SupplierWareHouse', type: 'string' },
{ name: 'SupplierWareHouseName', type: 'string' },
{ name: 'State', type: 'string' },
{ name: 'StateName', type: 'string' },
{ name: 'PreArrivalDate', type: 'string' },
{ name: 'PreDepartDate', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'PcBillType', type: 'string' },
{ name: 'PcBillType_Ref', type: 'string' }
]
});
Ext.define('MsWl_LK_MCCargomb', {
extend: 'Ext.data.Model',
idProperty: 'ID',
fields: [
{ name: 'ID', type: 'string' },
{ name: 'SheetCode', type: 'string' },
{ name: 'SheetCode_Parent', type: 'string' },
{ name: 'SEQUENCE', type: 'string' },
{ name: 'PC_BILLNO', type: 'string' },
{ name: 'POINT_GID', type: 'string' },
{ name: 'CARGOINFO_GID', type: 'string' },
{ name: 'PalletCount', type: 'string' },
{ name: 'CargoCount', type: 'string' },
{ name: 'CargoCount_Make', type: 'string' },
{ name: 'CargoCount_Do', type: 'string' },
{ name: 'WEIGHT', type: 'string' },
{ name: 'Remark', type: 'string' },
{ name: 'StateName', type: 'string' },
{ name: 'SignInQuantity', type: 'string' },
{ name: 'POINT_NAME', type: 'string' },
{ name: 'CARGO_NAME', type: 'string' }
]
});