{"action":"created","issue":{"url":"https://api.github.com/repos/kingofhawks/yycoin/issues/25","labels_url":"https://api.github.com/repos/kingofhawks/yycoin/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/kingofhawks/yycoin/issues/25/comments","events_url":"https://api.github.com/repos/kingofhawks/yycoin/issues/25/events","html_url":"https://github.com/kingofhawks/yycoin/issues/25","id":55729466,"number":25,"title":"自动拣配功能需求","user":{"login":"kingofhawks","id":45868,"avatar_url":"https://avatars.githubusercontent.com/u/45868?v=3","gravatar_id":"","url":"https://api.github.com/users/kingofhawks","html_url":"https://github.com/kingofhawks","followers_url":"https://api.github.com/users/kingofhawks/followers","following_url":"https://api.github.com/users/kingofhawks/following{/other_user}","gists_url":"https://api.github.com/users/kingofhawks/gists{/gist_id}","starred_url":"https://api.github.com/users/kingofhawks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingofhawks/subscriptions","organizations_url":"https://api.github.com/users/kingofhawks/orgs","repos_url":"https://api.github.com/users/kingofhawks/repos","events_url":"https://api.github.com/users/kingofhawks/events{/privacy}","received_events_url":"https://api.github.com/users/kingofhawks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kingofhawks/yycoin/labels/%E7%89%A9%E6%B5%81","name":"物流","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T08:54:53Z","updated_at":"2015-01-29T06:04:15Z","closed_at":null,"body":"一．\t概述\r\n为了提高拣配效率，减少人工判断带来的失误，现需开发自动拣配功能，实现根据输入的批次数量自动拣配\r\n\r\n二．\t功能\r\n1.\t在“商品拣配”中增加“自动拣配数量”按钮\r\n2.\t点击“自动拣配数量”，输入需自动拣配的批次数量\r\n3.\t根据以下规则自动拣配指定的批次数量\r\n\t发货方式为“自提”类的CK单拣配在一个批次里\r\n\t状态为“紧急”的CK单在一个批次里，不能和非紧急的混在一个批次里\r\n\t仓库地点相同的在一个批次里\r\n\t一个批次里的商品总数量不能大于50，如一张CK单的数量超过50，单独为一个批次\r\n\t同一事业部的CK单在同一批次里\r\n\t在以上前提条件下，按发票号排序进行批次打包\r\n4. 如果根据规则打包的批次数量小于输入的批次数量，以系统规划数量为准，可以认为此次任务结束，否则按输入的批次数量生成批次单，余下CK单仍保持原状态不做处理\r\n"},"comment":{"url":"https://api.github.com/repos/kingofhawks/yycoin/issues/comments/71973579","html_url":"https://github.com/kingofhawks/yycoin/issues/25#issuecomment-71973579","issue_url":"https://api.github.com/repos/kingofhawks/yycoin/issues/25","id":71973579,"user":{"login":"kingofhawks","id":45868,"avatar_url":"https://avatars.githubusercontent.com/u/45868?v=3","gravatar_id":"","url":"https://api.github.com/users/kingofhawks","html_url":"https://github.com/kingofhawks","followers_url":"https://api.github.com/users/kingofhawks/followers","following_url":"https://api.github.com/users/kingofhawks/following{/other_user}","gists_url":"https://api.github.com/users/kingofhawks/gists{/gist_id}","starred_url":"https://api.github.com/users/kingofhawks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingofhawks/subscriptions","organizations_url":"https://api.github.com/users/kingofhawks/orgs","repos_url":"https://api.github.com/users/kingofhawks/repos","events_url":"https://api.github.com/users/kingofhawks/events{/privacy}","received_events_url":"https://api.github.com/users/kingofhawks/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T06:04:15Z","updated_at":"2015-01-29T06:04:15Z","body":"昨天发你的自动拣配里漏写了一个拣配次序，紧急的最优先，在设置拣配数量界面再加上个产品字段，输入了产品，就优先拣含此产品的CK单打包"}}