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.
|
|
|
|
Ext.namespace('Shipping');
|
|
|
|
|
|
|
|
|
|
Shipping.MsCrmClientVisitIndexPlan = function (config) {
|
|
|
|
|
Ext.applyIf(this, config);
|
|
|
|
|
this.initUIComponents();
|
|
|
|
|
window.Shipping.MsCrmClientVisitIndexPlan.superclass.constructor.call(this);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Ext.extend(Shipping.MsCrmClientVisitIndexPlan, Ext.Panel, {
|
|
|
|
|
ParentWin: null,
|
|
|
|
|
OpStatus: 'add',
|
|
|
|
|
StoreList: null,
|
|
|
|
|
EditRecord: null,
|
|
|
|
|
region: 'north',
|
|
|
|
|
salefee: '',
|
|
|
|
|
|
|
|
|
|
initUIComponents: function () {
|
|
|
|
|
|
|
|
|
|
this.panelVisitIndex = new Shipping.MsCrmClientVisitIndex({
|
|
|
|
|
title: '拜访记录',
|
|
|
|
|
layout: "border",
|
|
|
|
|
region: 'north',
|
|
|
|
|
height:300,
|
|
|
|
|
//anchor: '100% 50%',
|
|
|
|
|
frame: true,
|
|
|
|
|
split: true
|
|
|
|
|
});
|
|
|
|
|
this.panelVisitPlanIndex = new Shipping.MsCrmClientVisitPlanIndex({
|
|
|
|
|
title: '拜访计划',
|
|
|
|
|
layout: "border",
|
|
|
|
|
region: 'north',
|
|
|
|
|
height: 300,
|
|
|
|
|
// anchor: '100% 50%',
|
|
|
|
|
frame: true,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
this.panelAll = new Ext.Panel({
|
|
|
|
|
layout: "border",
|
|
|
|
|
split: true,
|
|
|
|
|
//width: 600,
|
|
|
|
|
//region: 'east',
|
|
|
|
|
items: [
|
|
|
|
|
this.panelVisitIndex, this.panelVisitPlanIndex
|
|
|
|
|
]
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function LoadData(custid) {
|
|
|
|
|
this.panelVisitIndex.LoadData(custid);
|
|
|
|
|
this.panelVisitPlanIndex.LoadData(custid);
|
|
|
|
|
}
|
|
|
|
|
Ext.apply(this, {
|
|
|
|
|
items: [this.panelAll]
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|