WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBillLEdit.html
@@ -1361,7 +1361,7 @@
                                shift: 2,
                                area: ['80%', '80%'],
                                maxmin: true,
                                content: ['../../PublicPage/PartInformation.html', 'yes'],
                                content: ['../../../views/Baseset/基础资料/Gy_MaterialList.html', 'yes'],
                                btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -1394,8 +1394,17 @@
                                        option.data[rowIndex + i].HDesignLife = 0;
                                        option.data[rowIndex + i].HLeaveLife = 0;
                                        option.data[rowIndex + i].HQty = 1;
                                        option.data[rowIndex + i].HMoney = 0;
                                        //根据物料的 ç‰©æ–™å…¬å¼ è®¡ç®— é‡é‡
                                        var HWeight = $("#HWeight").val();
                                        var HWaterQty = $("#HWaterQty").val();
                                        if (option.data[rowIndex + i].HMaterRuleType == "染料") {
                                            option.data[rowIndex + i].HQty = option.data[rowIndex + i].HRate * HWeight;
                                        } else if (option.data[rowIndex + i].HMaterRuleType == "助剂") {
                                            option.data[rowIndex + i].HQty = option.data[rowIndex + i].HRate * HWaterQty;
                                        }
                                    }
                                    table.render(option);