| | |
| | | HBatchNo = result.list[0].HBatchNo; |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | for (let i = 0; i < result.list.length; i++) { |
| | | result.list[i].HQty = result.list[i].HQty.toString().match(/^\d+(?:\.\d{0,2})?/)[0] //ä¿çå°æ°ç¹å两ä½å°æ° |
| | | result.list[i].HQty = result.list[i].HQty.toString().match(/^\d+(?:\.\d{0,2})?/)[0] //ä¿çå°æ°ç¹å两ä½å°æ° |
| | | if (result.list[i].HMinQty != 0) { |
| | | result.list[i].HBQty = Math.ceil(result.list[i].HQty / result.list[i].HMinQty) |
| | | } |
| | | } |
| | | |
| | | BatchNoArray = result.list; //è·åæ¹å·ï¼ç¨æ¥ç»æ¹æ¬¡æé®åè½ä¸çæ¹å·èµå¼ |