| | |
| | | sql = "select * from OutStockbillEntry where 1=1 and FInterID = {1,number,#}"; |
| | | sql = MessageFormat.format(sql, Fnumber, FInterID); |
| | | List<OutStockBillEntry> select1 = erpSqlServer.select(sql, OutStockBillEntry.class); |
| | | if(select1.size()<=1){ |
| | | |
| | | boolean flag = true; |
| | | for(OutStockBillEntry outStockBillEntry1 : select1){ |
| | | if (outStockBillEntry1.getFAuxCommitQty().compareTo(outStockBillEntry1.getFQty()) == -1) { |
| | | flag = false; |
| | | } |
| | | } |
| | | |
| | | if(flag){ |
| | | if (!completeCPakOut(FBillNo) ) { |
| | | log.error("{}出库单标记完成失败", FBillNo); |
| | | } |
| | |
| | | , {field: 'fmodel', align: 'center', title: '规格', width: 200} |
| | | , {field: 'fentryID', align: 'center', title: '分录号', width: 80} |
| | | , {field: 'forderInterID', align: 'center', title: '单据编号', hide: true} |
| | | , {field: 'fauxQty', align: 'center', title: '数量', width: 100} |
| | | , {field: 'fauxQty', align: 'center', title: '可出数量', width: 100} |
| | | // , {field: 'fcommitQty', align: 'center', title: '发货数量'} |
| | | , {field: 'fauxPrice', align: 'center', title: '单价', width: 100} |
| | | , {field: 'fdate', align: 'center', title: '日期', hide: true} |