|  |  | 
 |  |  |         toolbar: '#toolbar', | 
 |  |  |         cellMinWidth: 50, | 
 |  |  |         height: 'full-120', | 
 |  |  |         where:{cstmr : 0}, | 
 |  |  |         cols: [[ | 
 |  |  |             {type: 'checkbox'} | 
 |  |  |             // ,{field: 'id', align: 'center',title: 'ID'} | 
 |  |  |             ,{field: 'matnr', align: 'center',title: '商品编号'} | 
 |  |  |             ,{field: 'specs', align: 'center',title: '规格', hide: true} | 
 |  |  |             ,{field: 'model', align: 'center',title: '型号', hide: true} | 
 |  |  |             ,{field: 'model', align: 'center',title: '通用型号', hide: true} | 
 |  |  |             ,{field: 'cstmr', align: 'center',title: '客户', hide: true} | 
 |  |  |             ,{field: 'batch', align: 'center',title: '批号'} | 
 |  |  |             ,{field: 'other', align: 'center',title: '其他', hide: true} | 
 |  |  |             ,{field: 'other', align: 'center',title: '库区'} | 
 |  |  |             ,{field: 'rowBeg', align: 'center',title: '开始排'} | 
 |  |  |             ,{field: 'rowEnd', align: 'center',title: '结束排'} | 
 |  |  |             ,{field: 'bayBeg', align: 'center',title: '开始列'} | 
 |  |  | 
 |  |  |                 layDateRender(mData); | 
 |  |  |                 form.val('detail', mData); | 
 |  |  |                 form.on('submit(editSubmit)', function (data) { | 
 |  |  |                     data.field.cstmr = 0; | 
 |  |  |                     var loadIndex = layer.load(2); | 
 |  |  |                     $.ajax({ | 
 |  |  |                         url: baseUrl+"/locRule/"+(mData?'update':'add')+"/auth", |