|  |  |  | 
|---|
|  |  |  | ,{field: 'hisLev', align: 'center',title: '历史层', hide: true} | 
|---|
|  |  |  | ,{field: 'idleLoc', align: 'center',title: '暂存库位'} | 
|---|
|  |  |  | ,{field: 'steErr', align: 'center',title: '错误码'} | 
|---|
|  |  |  | ,{field: 'chargeLine', align: 'center',title: '最低电量%'} | 
|---|
|  |  |  | ,{field: 'pakMk', align: 'center',title: '标记', hide: true} | 
|---|
|  |  |  | // ,{field: 'status$', align: 'center',title: '状态'} | 
|---|
|  |  |  | // ,{field: 'createBy$', align: 'center',title: '添加人员'} | 
|---|
|  |  |  | 
|---|
|  |  |  | layDateRender(mData); | 
|---|
|  |  |  | form.val('detail', mData); | 
|---|
|  |  |  | form.on('submit(editSubmit)', function (data) { | 
|---|
|  |  |  | if (!isEmpty(data.idleLoc)) { | 
|---|
|  |  |  | if (data.idleLoc) { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (!isEmpty(data.field.idleLoc)) { | 
|---|
|  |  |  | if (data.field.idleLoc.length !== 7) { | 
|---|
|  |  |  | layer.msg("暂存库存不合法", {icon: 2}); | 
|---|
|  |  |  | return false; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | var loadIndex = layer.load(2); | 
|---|