|
|
@@ -34,18 +34,25 @@ Ext.define('saas.view.main.Navigation', {
|
|
|
formType:'purchase-purchaseOut-formpanel',
|
|
|
queryType: 'purchase-purchaseOut-querypanel'
|
|
|
},{
|
|
|
- id: 'form1',
|
|
|
- text: '测试-采购单明细界面',
|
|
|
- formType: 'test-order-formpanel'
|
|
|
- }, {
|
|
|
- id: 'myform',
|
|
|
- text: '测试-明细界面',
|
|
|
- formType: 'test-myform-formpanel'
|
|
|
- }, {
|
|
|
- id: 'myquerytest',
|
|
|
- text: '测试-采购单查询界面',
|
|
|
- queryType: 'test-query-querypanel',
|
|
|
- }]
|
|
|
+ id: 'inquiry',
|
|
|
+ text: '采购询价单',
|
|
|
+ formType:'purchase-inquiry-formpanel',
|
|
|
+ queryType: 'purchase-inquiry-querypanel'
|
|
|
+ }
|
|
|
+ // ,{
|
|
|
+ // id: 'form1',
|
|
|
+ // text: '测试-采购单明细界面',
|
|
|
+ // formType: 'test-order-formpanel'
|
|
|
+ // }, {
|
|
|
+ // id: 'myform',
|
|
|
+ // text: '测试-明细界面',
|
|
|
+ // formType: 'test-myform-formpanel'
|
|
|
+ // }, {
|
|
|
+ // id: 'myquerytest',
|
|
|
+ // text: '测试-采购单查询界面',
|
|
|
+ // queryType: 'test-query-querypanel',
|
|
|
+ // }
|
|
|
+ ]
|
|
|
}, {
|
|
|
text: '报表',
|
|
|
items: [{
|
|
|
@@ -57,6 +64,210 @@ Ext.define('saas.view.main.Navigation', {
|
|
|
}, {
|
|
|
text: '销售',
|
|
|
iconCls: 'x-fa fa-shopping-cart',
|
|
|
+ items: [{
|
|
|
+ text: '制单',
|
|
|
+ items: [{
|
|
|
+ id: 'sale',
|
|
|
+ text: '销售订单',
|
|
|
+ formType:'sale-sale-formpanel',
|
|
|
+ queryType: 'sale-sale-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'saleOut',
|
|
|
+ text: '销售出货单',
|
|
|
+ formType:'sale-saleOut-formpanel',
|
|
|
+ queryType: 'sale-saleOut-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'saleIn',
|
|
|
+ text: '销售退货单',
|
|
|
+ formType:'sale-saleIn-formpanel',
|
|
|
+ queryType: 'sale-saleIn-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'saleToPur',
|
|
|
+ text: '以销定购',
|
|
|
+ formType:'sale-saleToPur-formpanel',
|
|
|
+ queryType: 'sale-saleToPur-querypanel'
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ text: '报表',
|
|
|
+ items: [{
|
|
|
+ text: '销售明细表'
|
|
|
+ },{
|
|
|
+ text: '销售收款一览表'
|
|
|
+ },{
|
|
|
+ text: '销售利润表'
|
|
|
+ }]
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ text: '库存',
|
|
|
+ iconCls: 'x-fa fa-shopping-cart',
|
|
|
+ items: [{
|
|
|
+ text: '制单',
|
|
|
+ items: [{
|
|
|
+ id: 'appropriationInOut',
|
|
|
+ text: '调拨单',
|
|
|
+ formType:'stock-appropriationInOut-formpanel',
|
|
|
+ queryType: 'stock-appropriationInOut-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'make',
|
|
|
+ text: '制造单',
|
|
|
+ formType:'stock-make-formpanel',
|
|
|
+ queryType: 'stock-make-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'otherIn',
|
|
|
+ text: '其它入库单',
|
|
|
+ formType:'stock-otherIn-formpanel',
|
|
|
+ queryType: 'stock-otherIn-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'otherOut',
|
|
|
+ text: '其它出库单',
|
|
|
+ formType:'stock-otherOut-formpanel',
|
|
|
+ queryType: 'stock-otherOut-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'inventory',
|
|
|
+ text: '盘点单',
|
|
|
+ formType:'stock-inventory-formpanel',
|
|
|
+ queryType: 'stock-inventory-querypanel'
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ text: '报表',
|
|
|
+ items: [{
|
|
|
+ text: '物料出入库明细表'
|
|
|
+ },{
|
|
|
+ text: '物料收发汇总表'
|
|
|
+ },{
|
|
|
+ text: '物料库存数量金额表'
|
|
|
+ }]
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ text: '资金',
|
|
|
+ iconCls: 'x-fa fa-shopping-cart',
|
|
|
+ items: [{
|
|
|
+ text: '制单',
|
|
|
+ items: [{
|
|
|
+ id: 'payBalance',
|
|
|
+ text: '付款单',
|
|
|
+ formType:'money-payBalance-formpanel',
|
|
|
+ queryType: 'money-payBalance-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'recBbalance',
|
|
|
+ text: '收款单',
|
|
|
+ formType:'money-recBbalance-formpanel',
|
|
|
+ queryType: 'money-recBbalance-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'verification',
|
|
|
+ text: '核销单',
|
|
|
+ formType:'money-verification-formpanel',
|
|
|
+ queryType: 'money-verification-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'othReceipts',
|
|
|
+ text: '其它收支单',
|
|
|
+ formType:'money-othReceipts-formpanel',
|
|
|
+ queryType: 'money-othReceipts-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'fundTransfer',
|
|
|
+ text: '资金转存',
|
|
|
+ formType:'money-fundTransfer-formpanel',
|
|
|
+ queryType: 'money-fundTransfer-querypanel'
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ text: '报表',
|
|
|
+ items: [{
|
|
|
+ text: '供应商对账单'
|
|
|
+ },{
|
|
|
+ text: '应付账款明细表'
|
|
|
+ },{
|
|
|
+ text: '客户对账单'
|
|
|
+ },{
|
|
|
+ text: '应收款明细表'
|
|
|
+ },{
|
|
|
+ text: '资金账户余额表'
|
|
|
+ }]
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ text: '资料',
|
|
|
+ iconCls: 'x-fa fa-shopping-cart',
|
|
|
+ items: [{
|
|
|
+ text: '基础资料',
|
|
|
+ items: [{
|
|
|
+ id: 'vendor',
|
|
|
+ text: '供应商资料',
|
|
|
+ formType:'document-vendor-formpanel',
|
|
|
+ queryType: 'document-vendor-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'customer',
|
|
|
+ text: '客户资料',
|
|
|
+ formType:'document-customer-formpanel',
|
|
|
+ queryType: 'document-customer-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'product',
|
|
|
+ text: '物料资料',
|
|
|
+ formType:'document-product-formpanel',
|
|
|
+ queryType: 'document-product-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'warehouse',
|
|
|
+ text: '仓库资料',
|
|
|
+ formType:'document-warehouse-formpanel',
|
|
|
+ queryType: 'document-warehouse-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'bom',
|
|
|
+ text: 'BOM资料',
|
|
|
+ formType:'document-bom-formpanel',
|
|
|
+ queryType: 'document-bom-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'moneyAccount',
|
|
|
+ text: '资金账户',
|
|
|
+ formType:'document-moneyAccount-formpanel',
|
|
|
+ queryType: 'document-moneyAccount-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'employee',
|
|
|
+ text: '人员资料',
|
|
|
+ formType:'document-employee-formpanel',
|
|
|
+ queryType: 'document-employee-querypanel'
|
|
|
+ }]
|
|
|
+ }, {
|
|
|
+ text: '辅助资料',
|
|
|
+ items: [{
|
|
|
+ id: 'vendorType',
|
|
|
+ text: '供应商类型',
|
|
|
+ formType:'document-vendorType-formpanel',
|
|
|
+ queryType: 'document-vendorType-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'purcAddress',
|
|
|
+ text: '采购交货地址',
|
|
|
+ formType:'document-purcAddress-formpanel',
|
|
|
+ queryType: 'document-purcAddress-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'customerType',
|
|
|
+ text: '客户类型',
|
|
|
+ formType:'document-customerType-formpanel',
|
|
|
+ queryType: 'document-customerType-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'unit',
|
|
|
+ text: '计量单位',
|
|
|
+ formType:'document-unit-formpanel',
|
|
|
+ queryType: 'document-unit-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'productType',
|
|
|
+ text: '物料类型',
|
|
|
+ formType:'document-productType-formpanel',
|
|
|
+ queryType: 'document-productType-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'productBrand',
|
|
|
+ text: '物料品牌',
|
|
|
+ formType:'document-productBrand-formpanel',
|
|
|
+ queryType: 'document-productBrand-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'moneyinoutType',
|
|
|
+ text: '收支类别',
|
|
|
+ formType:'document-moneyinoutType-formpanel',
|
|
|
+ queryType: 'document-moneyinoutType-querypanel'
|
|
|
+ },{
|
|
|
+ id: 'role',
|
|
|
+ text: '用户角色',
|
|
|
+ formType:'document-role-formpanel',
|
|
|
+ queryType: 'document-role-querypanel'
|
|
|
+ }]
|
|
|
+ }]
|
|
|
}],
|
|
|
}),
|
|
|
tpl : new Ext.XTemplate('<ul class="x-navlist">',
|