Update mrp.py

直接新建生产单的时候出错
Merge pull request #1 from likaiyuan/master

Update mrp.py