| | |
| | | |
| | | curSampleData = obj.data; |
| | | if(!curCheckData.checkTime){ |
| | | curCheckData.checkTime = dateFtt("yyyy-MM-dd HH:mm:ss", new Date()); |
| | | curCheckData.checkTime = dateFtt("yyyy-MM-dd hh:mm:ss", new Date()); |
| | | } |
| | | curCheckData.checkUser = checkUser; |
| | | if (curCheckData.checkStatus == "NONE") { |
| | |
| | | layer.alert("请确认化验结果!!"); |
| | | return; |
| | | } |
| | | if (!curCheckData.depotId) { |
| | | layer.alert("请选择装卸仓库!!"); |
| | | return; |
| | | } |
| | | if (!curCheckData.foodVariety) { |
| | | layer.alert("请确认粮食品种!!"); |
| | | return; |
| | | } |
| | | if (!curCheckData.foodYear) { |
| | | layer.alert("请确认粮食年份!!"); |
| | | return; |
| | | } |
| | | if (!curCheckData.foodLevel) { |
| | |
| | | layer.alert("请确认粮食定价,如不考虑定价,请填写0.0"); |
| | | return; |
| | | } |
| | | |
| | | curCheckData.checkItems = curCheckItems; |
| | | |
| | | var index = layer.load(); |