|  |  |  | 
|---|
|  |  |  | 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: '规格'} | 
|---|
|  |  |  | ,{field: 'model', align: 'center',title: '型号'} | 
|---|
|  |  |  | ,{field: 'cstmr', align: 'center',title: '客户'} | 
|---|
|  |  |  | ,{field: 'specs', 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: '开始列'} | 
|---|
|  |  |  | ,{field: 'bayEnd', align: 'center',title: '结束列'} | 
|---|
|  |  |  | ,{field: 'levBeg', align: 'center',title: '开始层'} | 
|---|
|  |  |  | ,{field: 'levEnd', align: 'center',title: '结束层'} | 
|---|
|  |  |  | ,{field: 'limit', align: 'center',title: '上限'} | 
|---|
|  |  |  | ,{field: 'limit', align: 'center',title: '上限', hide: true} | 
|---|
|  |  |  | ,{field: 'status$', align: 'center',title: '状态', hide: true} | 
|---|
|  |  |  | ,{field: 'createBy$', align: 'center',title: '添加人员', hide: true} | 
|---|
|  |  |  | ,{field: 'createTime$', align: 'center',title: '添加时间', hide: true} | 
|---|
|  |  |  | 
|---|
|  |  |  | ,{field: 'updateTime$', align: 'center',title: '修改时间', hide: true} | 
|---|
|  |  |  | ,{field: 'memo', align: 'center',title: '备注', hide: true} | 
|---|
|  |  |  | ,{field: 'mixed$', align: 'center',title: '混载'} | 
|---|
|  |  |  | ,{field: 'keepGo$', align: 'center',title: '继续搜索'} | 
|---|
|  |  |  | // ,{field: 'keepGo$', align: 'center',title: '继续搜索'} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:120} | 
|---|
|  |  |  | ]], | 
|---|
|  |  |  | 
|---|
|  |  |  | 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", | 
|---|