123456789101112131415161718192021222324252627282930313233343536 |
- define(function (require) {
- return function (context) {
- return {
- xtype: 'widget',
- dialogId: 'selectDocSku',
- title: '产品检索',
- width: 800,
- height: 450,
- grid: {
- xtype: 'grid',
- url: demoApi('/getSkuInfo'),
- queryParams: { query: context.query, ownerId: context.ownerId },
- idField: 'skuId',
- columns: [[
- { field: 'skuId', hidden: true },
- { field: 'allowExceRece', hidden: true },
- { field: 'exceRecePerc', hidden: true },
- { field: 'skuCode', title: '产品编号', width: 100, },
- { field: 'skuName', title: '产品名称', width: 150, },
- { field: 'logogram', title: '助记码', width: 100, },
- { field: 'skuDesc', title: '产品描述', width: 150, },
- { field: 'manufacturer', title: '生产厂家', width: 150, },
- { field: 'packName', title: '包装名称', width: 100, },
- { field: 'defCustomerPack', title: '默认收货单位', hidden: true },
- { field: 'packUnit', title: '收货单位', width: 80 },
- { field: 'planLocatCode', title: '计划库位', width: 120, hidden: true, },
- { field: 'packId', title: 'packId', hidden: true },
- { field: 'packMeasspec', title: 'packMeasspec', hidden: true },
- { field: 'packCode', title: 'packCode', hidden: true },
- { field: 'zpackMeasspec', title: 'zpackMeasspec', hidden: true }
- ]]
- }
- };
- };
- });
|