| | |
| | | ,{field: 'workshop', align: 'center',title: '生产车间',hide:true,edit:true} |
| | | ,{field: 'line', align: 'center',title: '生产线',hide:true,edit:true} |
| | | ,{field: 'weightAnfme', align: 'center',title: '剩余重量(KG)',edit:true,totalRow:true} |
| | | ,{field: 'qtyAnfme', align: 'center',title: '待出库重量(KG)',hide:true} |
| | | ,{field: 'qtyAnfme', align: 'center',title: '待出库重量(KG)',hide:true,edit:true} |
| | | ,{field: 'status', align: 'center',title: '状态', templet: setState ,edit:true} |
| | | ,{field: 'stockFreeze', align: 'center',title: '库存冻结', templet: '#stockFreezeTpl'} |
| | | ,{field: 'stockFreezeBy', align: 'center',title: '操作人员',hide:true} |
| | |
| | | |
| | | for(var i=0; i<data.length; i++){ |
| | | if(data[i].LAY_CHECKED){ |
| | | if(data[i].status === "暂入库" || data[i].status === "待入库" || data[i].status === "全部出库"|| data[i].weightAnfme <= data[i].qtyAnfme){ |
| | | if(data[i].status === "暂入库" || data[i].status === "待入库" || data[i].status === "全部出库"|| data[i].weightAnfme < data[i].qtyAnfme){ |
| | | layer.msg("选中的明细还未入库或者已全部出库或者没有剩余可出重量,请重新选择"); |
| | | return; |
| | | } |
| | |
| | | layer.msg("选中的明细中含有多种牌号,请重新选择"); |
| | | return; |
| | | } |
| | | if (data[i].zpalletType == null && data[i].packageType == null && data[i].massState == null) { |
| | | layer.msg("质量指标未上传"); |
| | | return; |
| | | } |
| | | // if(data[i].stockFreeze === 0){ |
| | | // layer.msg("选中的明细中含有冻结的库存,请解冻后操作"); |
| | | // return; |