#
wang..123
2022-03-15 75666e8866ad319bddd787ff2cc9aea1d6a80f84
#
2个文件已修改
12 ■■■■ 已修改文件
src/main/java/com/zy/common/service/erp/ErpService.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/outStockDan/outStockDan.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/service/erp/ErpService.java
@@ -455,7 +455,15 @@
                    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);
                        }
src/main/webapp/static/js/outStockDan/outStockDan.js
@@ -13,7 +13,7 @@
        , {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}